{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/atlassian/json-schema/atlassian-content-property-array-schema.json",
  "title": "ContentPropertyArray",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/atlassian-content-properties-api-openapi.yml#/components/schemas/ContentPropertyArray",
  "required": [
    "_links",
    "limit",
    "results",
    "size",
    "start"
  ],
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ContentProperty"
      }
    },
    "start": {
      "type": "integer",
      "format": "int32"
    },
    "limit": {
      "type": "integer",
      "format": "int32"
    },
    "size": {
      "type": "integer",
      "format": "int32"
    },
    "_links": {
      "$ref": "#/$defs/GenericLinks"
    }
  },
  "$defs": {
    "ContentProperty": {
      "required": [
        "_links",
        "id",
        "key",
        "value"
      ],
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "id": {
          "type": "string"
        },
        "key": {
          "type": "string"
        },
        "value": {
          "oneOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "boolean"
            },
            {
              "type": "object",
              "additionalProperties": true,
              "properties": {}
            },
            {
              "type": "string"
            }
          ],
          "description": "The value of the content property. This can be empty or a complex object."
        },
        "version": {
          "required": [
            "message",
            "minorEdit",
            "number",
            "when"
          ],
          "type": "object",
          "additionalProperties": true,
          "properties": {
            "when": {
              "type": "string",
              "format": "date-time"
            },
            "message": {
              "type": "string"
            },
            "number": {
              "type": "integer",
              "format": "int32"
            },
            "minorEdit": {
              "type": "boolean"
            },
            "contentTypeModified": {
              "type": "boolean",
              "description": "True if content type is modifed in this version (e.g. page to blog)"
            }
          }
        },
        "_links": {
          "$ref": "#/$defs/GenericLinks"
        },
        "_expandable": {
          "type": "object",
          "properties": {
            "content": {
              "type": "string"
            },
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      }
    },
    "GenericLinks": {
      "type": "object",
      "additionalProperties": {
        "oneOf": [
          {
            "type": "object",
            "additionalProperties": true
          },
          {
            "type": "string"
          }
        ]
      }
    }
  }
}