{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ubicloud/main/json-schema/ubicloud-ssh-public-key-schema.json",
  "title": "SshPublicKey",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ubicloud-openapi.yml#/components/schemas/SshPublicKey",
  "type": "object",
  "properties": {
    "id": {
      "description": "ID of the SSH public key",
      "type": "string",
      "pattern": "^sk[0-9a-hj-km-np-tv-z]{24}$"
    },
    "name": {
      "description": "Name of the SSH public key",
      "type": "string"
    },
    "public_key": {
      "description": "SSH public key data",
      "type": "string"
    }
  },
  "additionalProperties": false,
  "required": [
    "id",
    "name"
  ]
}