Atlassian · Schema

ContentMetadata

Metadata object for page, blogpost, comment content

CodeCollaborationPlatformProductivitySoftware Development

Properties

Name Type Description
currentuser object
properties object
frontend object
labels object
View JSON Schema on GitHub

JSON Schema

atlassian-contentmetadata-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ContentMetadata",
  "title": "ContentMetadata",
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "currentuser": {
      "type": "object",
      "properties": {
        "favourited": {
          "type": "object",
          "properties": {
            "isFavourite": {
              "type": "boolean"
            },
            "favouritedDate": {
              "type": "string",
              "format": "date-time"
            }
          }
        },
        "lastmodified": {
          "type": "object",
          "properties": {
            "version": {
              "$ref": "#/components/schemas/Version"
            },
            "friendlyLastModified": {
              "type": "string"
            }
          }
        },
        "lastcontributed": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string"
            },
            "when": {
              "type": "string",
              "format": "date-time"
            }
          }
        },
        "viewed": {
          "type": "object",
          "properties": {
            "lastSeen": {
              "type": "string",
              "format": "date-time"
            },
            "friendlyLastSeen": {
              "type": "string"
            }
          }
        },
        "scheduled": {
          "type": "object"
        },
        "_expandable": {
          "type": "object",
          "properties": {
            "favourited": {
              "type": "string"
            },
            "lastmodified": {
              "type": "string"
            },
            "lastcontributed": {
              "type": "string"
            },
            "viewed": {
              "type": "string"
            },
            "scheduled": {
              "type": "string"
            }
          }
        }
      },
      "example": "example_value"
    },
    "properties": {
      "$ref": "#/components/schemas/GenericLinks"
    },
    "frontend": {
      "type": "object",
      "additionalProperties": true,
      "example": "example_value"
    },
    "labels": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/LabelArray"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/Label"
          }
        }
      ],
      "example": "example_value"
    }
  },
  "description": "Metadata object for page, blogpost, comment content"
}