Atlassian · Schema

ContentRestriction

CodeCollaborationPlatformProductivitySoftware Development

Properties

Name Type Description
operation string
restrictions object
content object
_expandable object
_links object
View JSON Schema on GitHub

JSON Schema

atlassian-contentrestriction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ContentRestriction",
  "title": "ContentRestriction",
  "required": [
    "_expandable",
    "_links",
    "operation"
  ],
  "type": "object",
  "properties": {
    "operation": {
      "type": "string",
      "enum": [
        "administer",
        "copy",
        "create",
        "delete",
        "export",
        "move",
        "purge",
        "purge_version",
        "read",
        "restore",
        "update",
        "use"
      ],
      "example": "administer"
    },
    "restrictions": {
      "type": "object",
      "properties": {
        "user": {
          "$ref": "#/components/schemas/UserArray"
        },
        "group": {
          "$ref": "#/components/schemas/GroupArray"
        },
        "_expandable": {
          "type": "object",
          "properties": {
            "user": {
              "type": "string"
            },
            "group": {
              "type": "string"
            }
          }
        }
      },
      "example": "example_value"
    },
    "content": {
      "$ref": "#/components/schemas/Content"
    },
    "_expandable": {
      "type": "object",
      "properties": {
        "restrictions": {
          "type": "string"
        },
        "content": {
          "type": "string"
        }
      },
      "example": "example_value"
    },
    "_links": {
      "$ref": "#/components/schemas/GenericLinks"
    }
  }
}