{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/phala/json-schema/phala-ssh-key-create-request-schema.json",
  "title": "SshKeyCreateRequest",
  "description": "Request model for creating an SSH key.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/phala-ssh-keys-api-openapi.yml#/components/schemas/SshKeyCreateRequest",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "title": "Name",
      "description": "Human-readable name for the key"
    },
    "public_key": {
      "type": "string",
      "title": "Public Key",
      "description": "OpenSSH format public key"
    }
  },
  "type": "object",
  "required": [
    "name",
    "public_key"
  ]
}