Properties
| Name | Type | Description |
|---|---|---|
| id | object | |
| slug | string | The brand's handle, unique in the organization; `samva:brand/ |
| name | string | |
| isDefault | boolean | Whether bare `samva:brand` and domains without a brand resolve to this brand. |
| css | string | Brand theme CSS: `@theme` variables, one dark-mode `@theme` of colors, and `@font-face` rules with https WOFF2 sources. |
| assets | object | |
| footer | object | |
| digest | string | SHA-256 of the brand's css, assets and footer. A publication built against a different digest predates the brand's current content. |
| createdAt | string | |
| updatedAt | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/samva-dev/json-schema/samva-dev-brand-schema.json",
"title": "Brand",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/samva-dev-brands-api-openapi.yml#/components/schemas/Brand",
"type": "object",
"properties": {
"id": {
"$ref": "#/$defs/BrandId"
},
"slug": {
"type": "string",
"pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$",
"description": "The brand's handle, unique in the organization; `samva:brand/<slug>` names it."
},
"name": {
"type": "string"
},
"isDefault": {
"type": "boolean",
"description": "Whether bare `samva:brand` and domains without a brand resolve to this brand."
},
"css": {
"type": "string",
"description": "Brand theme CSS: `@theme` variables, one dark-mode `@theme` of colors, and `@font-face` rules with https WOFF2 sources."
},
"assets": {
"$ref": "#/$defs/BrandAssets"
},
"footer": {
"$ref": "#/$defs/BrandFooter"
},
"digest": {
"type": "string",
"description": "SHA-256 of the brand's css, assets and footer. A publication built against a different digest predates the brand's current content."
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
},
"required": [
"id",
"slug",
"name",
"isDefault",
"css",
"assets",
"footer",
"digest",
"createdAt",
"updatedAt"
],
"additionalProperties": false,
"$defs": {
"BrandAddress": {
"type": "object",
"properties": {
"street1": {
"type": "string",
"minLength": 1
},
"street2": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"city": {
"type": "string",
"minLength": 1
},
"region": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"country": {
"type": "string",
"minLength": 1
}
},
"required": [
"street1",
"city",
"region",
"postalCode",
"country"
],
"additionalProperties": false
},
"BrandAssets": {
"type": "object",
"properties": {
"logoUrl": {
"anyOf": [
{
"type": "string",
"maxLength": 2048,
"pattern": "^https:\\/\\/[^\\s]+$",
"x-samva-string-checks": [
{
"id": "effect/schema/isMaxLength",
"payload": {
"maxLength": 2048
}
}
]
},
{
"type": "null"
}
]
},
"logoDarkUrl": {
"anyOf": [
{
"type": "string",
"maxLength": 2048,
"pattern": "^https:\\/\\/[^\\s]+$",
"x-samva-string-checks": [
{
"id": "effect/schema/isMaxLength",
"payload": {
"maxLength": 2048
}
}
]
},
{
"type": "null"
}
]
},
"iconUrl": {
"anyOf": [
{
"type": "string",
"maxLength": 2048,
"pattern": "^https:\\/\\/[^\\s]+$",
"x-samva-string-checks": [
{
"id": "effect/schema/isMaxLength",
"payload": {
"maxLength": 2048
}
}
]
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"BrandFooter": {
"type": "object",
"properties": {
"companyName": {
"anyOf": [
{
"type": "string",
"maxLength": 255,
"x-samva-string-checks": [
{
"id": "effect/schema/isMaxLength",
"payload": {
"maxLength": 255
}
}
]
},
{
"type": "null"
}
]
},
"websiteUrl": {
"anyOf": [
{
"type": "string",
"maxLength": 2048,
"pattern": "^https:\\/\\/[^\\s]+$",
"x-samva-string-checks": [
{
"id": "effect/schema/isMaxLength",
"payload": {
"maxLength": 2048
}
}
]
},
{
"type": "null"
}
]
},
"address": {
"anyOf": [
{
"$ref": "#/$defs/BrandAddress"
},
{
"type": "null"
}
]
},
"socialLinks": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/BrandSocialLink"
},
"maxItems": 12
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"BrandId": {
"type": "string",
"pattern": "^brand_[0-9a-hjkmnp-tv-z]{16,24}$",
"x-samva-brand": "BrandId"
},
"BrandSocialLink": {
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"x-samva-string-checks": [
{
"id": "effect/schema/isMaxLength",
"payload": {
"maxLength": 64
}
}
]
},
"url": {
"type": "string",
"maxLength": 2048,
"pattern": "^https:\\/\\/[^\\s]+$",
"x-samva-string-checks": [
{
"id": "effect/schema/isMaxLength",
"payload": {
"maxLength": 2048
}
}
]
}
},
"required": [
"label",
"url"
],
"additionalProperties": false
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/samva-dev-brand"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.