{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ubicloud/main/json-schema/ubicloud-ssh-public-key-update-schema.json",
  "title": "SshPublicKeyUpdate",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ubicloud-openapi.yml#/components/schemas/SshPublicKeyUpdate",
  "anyOf": [
    {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "public_key": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "name"
      ]
    },
    {
      "type": "object",
      "properties": {
        "public_key": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "public_key"
      ]
    }
  ]
}