{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asap-cool/json-schema/asap-cool-create-request-schema.json",
  "title": "CreateRequest",
  "description": "Body of `POST /v1/api-keys`.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asap-cool-api-keys-api-openapi.yml#/components/schemas/CreateRequest",
  "type": "object",
  "required": [
    "label"
  ],
  "properties": {
    "label": {
      "type": "string",
      "description": "Human label shown in the SPA list."
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Wire-format scopes to grant (e.g. `[\"contacts:read\"]`)."
    }
  }
}