{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/xtiles-app/json-schema/xtiles-app-planner-content-response-schema.json",
  "title": "PlannerContentResponse",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/xtiles-app-openapi.json#/components/schemas/PlannerContentResponse",
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string"
    },
    "view_id": {
      "type": "string"
    },
    "page_exists": {
      "type": "boolean"
    },
    "title": {
      "type": "string"
    },
    "period": {
      "type": "string",
      "enum": [
        "YEAR",
        "QUARTER",
        "MONTH",
        "WEEK",
        "DAY"
      ]
    },
    "date_range": {
      "$ref": "#/$defs/DateRange"
    },
    "content": {
      "$ref": "#/$defs/ContentBody"
    },
    "template": {
      "$ref": "#/$defs/PlannerTemplateInfo"
    }
  },
  "$defs": {
    "ContentBody": {
      "type": "object",
      "properties": {
        "format": {
          "type": "string"
        },
        "body": {
          "type": "string"
        }
      }
    },
    "DateRange": {
      "type": "object",
      "properties": {
        "start": {
          "type": "string",
          "format": "date"
        },
        "end": {
          "type": "string",
          "format": "date"
        }
      }
    },
    "PlannerTemplateInfo": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "title": {
          "type": "string"
        }
      }
    }
  }
}