{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/homechecker-com-au/json-schema/homechecker-com-au-guide-response-schema.json",
  "title": "GuideResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/homechecker-com-au-api-openapi.json#/components/schemas/GuideResponse",
  "type": "object",
  "required": [
    "guide"
  ],
  "properties": {
    "guide": {
      "$ref": "#/$defs/GuideDetail"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Cluster": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "id",
            "label",
            "chip",
            "blurb"
          ],
          "properties": {
            "id": {
              "type": "string"
            },
            "label": {
              "type": "string"
            },
            "chip": {
              "type": "string"
            },
            "blurb": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "GuideDetail": {
      "type": "object",
      "required": [
        "slug",
        "title",
        "question",
        "summary",
        "answer",
        "canonicalUrl",
        "referralUrl",
        "resourceUri",
        "jurisdiction",
        "cluster",
        "topics",
        "propertyTypes",
        "eras",
        "buyingStages",
        "updatedAt",
        "reviewedAt",
        "reviewDue",
        "wordCount",
        "readingTimeMin",
        "limitations",
        "sections",
        "faqs",
        "sources",
        "contentMarkdown"
      ],
      "properties": {
        "slug": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "question": {
          "type": "string"
        },
        "summary": {
          "type": "string"
        },
        "answer": {
          "type": "string"
        },
        "canonicalUrl": {
          "type": "string",
          "format": "uri"
        },
        "referralUrl": {
          "type": "string",
          "format": "uri"
        },
        "resourceUri": {
          "type": "string"
        },
        "jurisdiction": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "cluster": {
          "$ref": "#/$defs/Cluster"
        },
        "topics": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "propertyTypes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "eras": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "buyingStages": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "updatedAt": {
          "type": "string",
          "format": "date"
        },
        "reviewedAt": {
          "type": [
            "string",
            "null"
          ]
        },
        "reviewDue": {
          "type": [
            "string",
            "null"
          ]
        },
        "wordCount": {
          "type": "integer",
          "minimum": 1
        },
        "readingTimeMin": {
          "type": "integer",
          "minimum": 1
        },
        "limitations": {
          "type": [
            "string",
            "null"
          ]
        },
        "sections": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GuideSection"
          }
        },
        "faqs": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GuideFaq"
          }
        },
        "sources": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GuideSource"
          }
        },
        "contentMarkdown": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "GuideFaq": {
      "type": "object",
      "required": [
        "question",
        "answer"
      ],
      "properties": {
        "question": {
          "type": "string"
        },
        "answer": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "GuideSection": {
      "type": "object",
      "required": [
        "id",
        "heading",
        "markdown"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "heading": {
          "type": "string"
        },
        "markdown": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "GuideSource": {
      "type": "object",
      "required": [
        "title",
        "publisher",
        "url",
        "accessed"
      ],
      "properties": {
        "title": {
          "type": "string"
        },
        "publisher": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "accessed": {
          "type": "string",
          "format": "date"
        }
      },
      "additionalProperties": false
    }
  }
}