{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/atlassian/json-schema/atlassian-content-property-schema.json",
  "title": "ContentProperty",
  "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/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"
        }
      }
    }
  },
  "$defs": {
    "GenericLinks": {
      "type": "object",
      "additionalProperties": {
        "oneOf": [
          {
            "type": "object",
            "additionalProperties": true
          },
          {
            "type": "string"
          }
        ]
      }
    }
  }
}