{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/coincover/main/json-schema/coincover-post-v1-partner-keys-request-schema.json",
  "title": "PostV1PartnerKeysRequest",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/coincover-openapi-generated.yml#/components/schemas/PostV1PartnerKeysRequest",
  "type": "object",
  "properties": {
    "user_identifier": {
      "type": "string"
    },
    "key_type": {
      "type": "string",
      "description": "e.g. rsa4096"
    },
    "key_environment": {
      "type": "string",
      "description": "`HOT` or `COLD`"
    },
    "organisation": {
      "type": "object",
      "description": "Customer context"
    },
    "organisation.customer_id": {
      "type": "string"
    },
    "organisation.customer_name": {
      "type": "string"
    },
    "package": {
      "type": "object",
      "description": "Package context"
    },
    "package.package_id": {
      "type": "string"
    },
    "package.package_name": {
      "type": "string"
    },
    "sign_with": {
      "type": "array",
      "description": "Array of field names to bind in the signature"
    }
  },
  "required": [
    "user_identifier",
    "key_type",
    "key_environment",
    "organisation",
    "organisation.customer_id",
    "organisation.customer_name",
    "package",
    "package.package_id",
    "package.package_name"
  ]
}