54 lines
1.5 KiB
JSON
54 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "schema:Brand",
|
|
"title": "Brand",
|
|
"description": "A brand is a name used by an organization or business person for labeling a product, product group, or similar.",
|
|
"type": "object",
|
|
"allOf": [
|
|
{
|
|
"description": "A utility class that serves as the umbrella for a number of 'intangible' things such as quantities, structured values, etc.",
|
|
"$ref": "schema:Intangible"
|
|
}
|
|
],
|
|
"properties": {
|
|
"aggregateRating": {
|
|
"description": "The overall rating, based on a collection of reviews or ratings, of the item.",
|
|
"$ref": "schema:AggregateRating"
|
|
},
|
|
"logo": {
|
|
"description": "An associated logo.",
|
|
"oneOf": [
|
|
{
|
|
"anyOf": [
|
|
{ "type": "string", "format": "uri" },
|
|
{ "$ref": "schema:ImageObject" }
|
|
]
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"anyOf": [
|
|
{ "type": "string", "format": "uri" },
|
|
{ "$ref": "schema:ImageObject" }
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"review": {
|
|
"description": "A review of the item.",
|
|
"oneOf": [
|
|
{ "$ref": "schema:Review" },
|
|
{ "type": "array", "items": { "$ref": "schema:Review" } }
|
|
]
|
|
},
|
|
"slogan": {
|
|
"description": "A slogan or motto associated with the item.",
|
|
"oneOf": [
|
|
{ "type": "string" },
|
|
{ "type": "array", "items": { "type": "string" } }
|
|
]
|
|
}
|
|
}
|
|
}
|