{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/justidea-agency/json-schema/justidea-agency-page-content-schema.json",
  "title": "PageContent",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/justidea-agency-openapi.yml#/components/schemas/PageContent",
  "type": "object",
  "required": [
    "url",
    "markdownUrl",
    "markdown",
    "truncated"
  ],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri"
    },
    "markdownUrl": {
      "type": "string",
      "format": "uri"
    },
    "title": {
      "type": "string"
    },
    "lang": {
      "type": "string",
      "enum": [
        "pl",
        "en"
      ]
    },
    "type": {
      "type": "string",
      "enum": [
        "services_index",
        "service_area",
        "service",
        "city_page",
        "pricing",
        "case_studies",
        "event",
        "blog",
        "company"
      ]
    },
    "markdown": {
      "type": "string",
      "description": "Page content as Markdown."
    },
    "truncated": {
      "type": "boolean",
      "description": "True when the page was longer than 80000 characters and was cut."
    }
  }
}