{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CheckoutKey",
  "title": "CheckoutKey",
  "type": "object",
  "properties": {
    "public_key": {
      "type": "string",
      "description": "The public SSH key"
    },
    "type": {
      "type": "string",
      "enum": [
        "deploy-key",
        "github-user-key"
      ],
      "description": "The type of checkout key"
    },
    "fingerprint": {
      "type": "string",
      "description": "The MD5 fingerprint of the key"
    },
    "preferred": {
      "type": "boolean",
      "description": "Whether this is the preferred key"
    },
    "login": {
      "type": "string",
      "description": "The login associated with the key"
    },
    "time": {
      "type": "string",
      "format": "date-time",
      "description": "When the key was created"
    }
  }
}