{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kvartiry-phuket-com/json-schema/kvartiry-phuket-com-article-list-schema.json",
  "title": "ArticleList",
  "x-generated": "2026-11-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kvartiry-phuket-com-openapi.yml#/components/schemas/ArticleList",
  "type": "object",
  "required": [
    "articles",
    "attribution"
  ],
  "properties": {
    "count": {
      "type": "integer"
    },
    "articles": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ArticleSummary"
      }
    },
    "attribution": {
      "$ref": "#/$defs/Attribution"
    }
  },
  "$defs": {
    "ArticleSummary": {
      "type": "object",
      "properties": {
        "slug": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "title": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "category": {
          "type": "string"
        },
        "date_published": {
          "type": [
            "string",
            "null"
          ],
          "format": "date"
        },
        "date_modified": {
          "type": "string",
          "format": "date"
        },
        "markdown_url": {
          "type": "string",
          "format": "uri"
        },
        "api_url": {
          "type": "string",
          "format": "uri"
        },
        "sections": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "faq_questions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "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"
        }
      }
    }
  }
}