Atlassian · Schema

deploy_key

CodeCollaborationPlatformProductivitySoftware Development
View JSON Schema on GitHub

JSON Schema

atlassian-deploy-key-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/deploy_key",
  "title": "deploy_key",
  "allOf": [
    {
      "$ref": "#/components/schemas/object"
    },
    {
      "type": "object",
      "title": "Deploy Key",
      "description": "Represents deploy key for a repository.",
      "properties": {
        "key": {
          "type": "string",
          "description": "The deploy key value."
        },
        "repository": {
          "$ref": "#/components/schemas/repository"
        },
        "comment": {
          "type": "string",
          "description": "The comment parsed from the deploy key (if present)"
        },
        "label": {
          "type": "string",
          "description": "The user-defined label for the deploy key"
        },
        "added_on": {
          "type": "string",
          "format": "date-time"
        },
        "last_used": {
          "type": "string",
          "format": "date-time"
        },
        "links": {
          "type": "object",
          "properties": {
            "self": {
              "type": "object",
              "title": "Link",
              "description": "A link to a resource related to this object.",
              "properties": {
                "href": {
                  "type": "string",
                  "format": "uri"
                },
                "name": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        },
        "owner": {
          "$ref": "#/components/schemas/account"
        }
      },
      "additionalProperties": true
    }
  ]
}