Atlassian · Schema

SpacePermissionCustomContent

This object represents a list of space permissions for custom content type for an individual user. Permissions consist of a subjects object and a list with at least one operation object.

CodeCollaborationPlatformProductivitySoftware Development

Properties

Name Type Description
subject object
operations array
View JSON Schema on GitHub

JSON Schema

atlassian-spacepermissioncustomcontent-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SpacePermissionCustomContent",
  "title": "SpacePermissionCustomContent",
  "required": [
    "operations",
    "subject"
  ],
  "type": "object",
  "properties": {
    "subject": {
      "$ref": "#/components/schemas/PermissionSubject"
    },
    "operations": {
      "type": "array",
      "items": {
        "required": [
          "access",
          "key",
          "target"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "The operation type",
            "enum": [
              "read",
              "create",
              "delete"
            ]
          },
          "target": {
            "type": "string",
            "description": "The custom content type"
          },
          "access": {
            "type": "boolean",
            "description": "Grant or restrict access"
          }
        }
      }
    }
  },
  "description": "This object represents a list of space permissions for custom content type for an individual user. Permissions consist of\na subjects object and a list with at least one operation object."
}