{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/adadiamonds-com/json-schema/adadiamonds-com-showroom-list-schema.json",
  "title": "ShowroomList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adadiamonds-com-content-api-openapi.yml#/components/schemas/ShowroomList",
  "type": "object",
  "required": [
    "object",
    "data",
    "virtual_consultations"
  ],
  "properties": {
    "object": {
      "type": "string",
      "const": "list"
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Showroom"
      }
    },
    "virtual_consultations": {
      "$ref": "#/$defs/VirtualConsultations"
    }
  },
  "$defs": {
    "Showroom": {
      "type": "object",
      "required": [
        "name",
        "url",
        "streetAddress",
        "addressLocality",
        "addressRegion",
        "postalCode",
        "addressCountry",
        "telephone",
        "hours",
        "appointmentRequired"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "streetAddress": {
          "type": "string"
        },
        "addressLocality": {
          "type": "string"
        },
        "addressRegion": {
          "type": "string"
        },
        "postalCode": {
          "type": "string"
        },
        "addressCountry": {
          "type": "string"
        },
        "telephone": {
          "type": "string"
        },
        "hours": {
          "type": "string"
        },
        "appointmentRequired": {
          "type": "boolean"
        }
      }
    },
    "VirtualConsultations": {
      "type": "object",
      "properties": {
        "available": {
          "type": "boolean"
        },
        "description": {
          "type": "string"
        },
        "book_url": {
          "type": "string",
          "format": "uri"
        },
        "email": {
          "type": "string",
          "format": "email"
        },
        "telephone": {
          "type": "string"
        }
      }
    }
  }
}