{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/audivo-dev/json-schema/audivo-dev-api-key-create-request-schema.json",
  "title": "ApiKeyCreateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/audivo-dev-api-keys-api-openapi.yml#/components/schemas/ApiKeyCreateRequest",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "label"
  ],
  "properties": {
    "label": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "pattern": "^[^\\r\\n]{1,100}$"
    },
    "mode": {
      "$ref": "#/$defs/ApiKeyMode",
      "default": "live"
    }
  },
  "$defs": {
    "ApiKeyMode": {
      "type": "string",
      "enum": [
        "live",
        "test"
      ]
    }
  }
}