{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kvartiry-phuket-com/json-schema/kvartiry-phuket-com-document-schema.json",
  "title": "Document",
  "x-generated": "2026-11-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kvartiry-phuket-com-openapi.yml#/components/schemas/Document",
  "type": "object",
  "required": [
    "attribution"
  ],
  "properties": {
    "attribution": {
      "$ref": "#/$defs/Attribution"
    }
  },
  "$defs": {
    "Attribution": {
      "type": "object",
      "required": [
        "source",
        "source_url",
        "license",
        "required_credit_html",
        "reuse_policy"
      ],
      "properties": {
        "source": {
          "type": "string"
        },
        "source_url": {
          "type": "string",
          "format": "uri"
        },
        "title": {
          "type": "string"
        },
        "license": {
          "type": "string"
        },
        "license_url": {
          "type": "string",
          "format": "uri"
        },
        "terms_ru": {
          "type": "string"
        },
        "required_credit_html": {
          "type": "string"
        },
        "required_credit_text": {
          "type": "string"
        },
        "citation_request": {
          "type": "string"
        },
        "reuse_policy": {
          "type": "string",
          "format": "uri"
        },
        "photos": {
          "type": "string"
        },
        "photos_en": {
          "type": "string"
        }
      }
    }
  }
}