{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/okareo/json-schema/okareo-create-api-key-response-schema.json",
  "title": "CreateApiKeyResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/okareo-auth-api-keys-api-openapi.yml#/components/schemas/CreateApiKeyResponse",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "key": {
      "type": "string",
      "title": "Key"
    },
    "key_prefix": {
      "type": "string",
      "title": "Key Prefix"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "created_at": {
      "type": "string",
      "title": "Created At"
    },
    "expires_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expires At"
    },
    "source": {
      "type": "string",
      "const": "okareo",
      "title": "Source"
    }
  },
  "type": "object",
  "required": [
    "id",
    "key",
    "key_prefix",
    "description",
    "created_at",
    "expires_at",
    "source"
  ]
}