Atlassian · Schema

ssh_key

CodeCollaborationPlatformProductivitySoftware Development
View JSON Schema on GitHub

JSON Schema

atlassian-ssh-key-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ssh_key",
  "title": "ssh_key",
  "allOf": [
    {
      "$ref": "#/components/schemas/object"
    },
    {
      "type": "object",
      "title": "SSH Key",
      "description": "Base type for representing SSH public keys.",
      "properties": {
        "uuid": {
          "type": "string",
          "description": "The SSH key's immutable ID."
        },
        "key": {
          "type": "string",
          "description": "The SSH public key value in OpenSSH format."
        },
        "comment": {
          "type": "string",
          "description": "The comment parsed from the SSH key (if present)"
        },
        "label": {
          "type": "string",
          "description": "The user-defined label for the SSH key"
        },
        "created_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
        }
      },
      "additionalProperties": true
    }
  ]
}