Skip to main content
Brand info schema of Restaurant card

Properties

  • banner (object)
    • url (string) - Banner URL
  • description (string) - maxLength: 100 - Brand description
  • title (string) - maxLength: 50 - Brand title
  • logo (object)
    • url (string) - Logo URL

Used in Categories

This component is used in the following categories:

Schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "definitions": {},
  "title": "Brand info schema",
  "description": "Brand info schema of Restaurant card",
  "type": "object",
  "properties": {
    "banner": {
      "type": "object",
      "required": [],
      "additionalProperties": false,
      "properties": {
        "url": {
          "type": "string",
          "description": "Banner URL",
          "anyOf": [
            {
              "pattern": "^(https?://.*\\.(png|jpeg|jpg|svg|gif|PNG|JPEG|JPG|SVG|GIF))$"
            },
            {
              "const": ""
            }
          ]
        }
      }
    },
    "description": {
      "type": "string",
      "description": "Brand description",
      "maxLength": 100
    },
    "title": {
      "type": "string",
      "description": "Brand title",
      "maxLength": 50
    },
    "logo": {
      "type": "object",
      "required": [],
      "additionalProperties": false,
      "properties": {
        "url": {
          "type": "string",
          "description": "Logo URL",
          "anyOf": [
            {
              "pattern": "^(https?://.*\\.(png|jpeg|jpg|svg|gif|PNG|JPEG|JPG|SVG|GIF))$"
            },
            {
              "const": ""
            }
          ]
        }
      }
    }
  }
}