Atlassian · Schema

ContentBody

CodeCollaborationPlatformProductivitySoftware Development

Properties

Name Type Description
value string
representation string
embeddedContent array
webresource object
mediaToken object
_expandable object
_links object
View JSON Schema on GitHub

JSON Schema

atlassian-contentbody-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ContentBody",
  "title": "ContentBody",
  "required": [
    "representation",
    "value"
  ],
  "type": "object",
  "properties": {
    "value": {
      "type": "string",
      "example": "example_value"
    },
    "representation": {
      "type": "string",
      "enum": [
        "view",
        "export_view",
        "styled_view",
        "storage",
        "editor",
        "editor2",
        "anonymous_export_view",
        "wiki",
        "atlas_doc_format",
        "raw"
      ],
      "example": "view"
    },
    "embeddedContent": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/EmbeddedContent"
      },
      "example": []
    },
    "webresource": {
      "$ref": "#/components/schemas/WebResourceDependencies"
    },
    "mediaToken": {
      "type": "object",
      "properties": {
        "collectionIds": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "contentId": {
          "type": "string"
        },
        "expiryDateTime": {
          "type": "string"
        },
        "fileIds": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "token": {
          "type": "string"
        }
      },
      "example": "example_value"
    },
    "_expandable": {
      "type": "object",
      "properties": {
        "content": {
          "type": "string"
        },
        "embeddedContent": {
          "type": "string"
        },
        "webresource": {
          "type": "string"
        },
        "mediaToken": {
          "type": "string"
        }
      },
      "example": "example_value"
    },
    "_links": {
      "$ref": "#/components/schemas/GenericLinks"
    }
  }
}