{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/intencheck-com/json-schema/intencheck-com-api-key-out-schema.json",
  "title": "ApiKeyOut",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/intencheck-com-openapi.json#/components/schemas/ApiKeyOut",
  "properties": {
    "id": {
      "type": "integer",
      "title": "Id"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "key_prefix": {
      "type": "string",
      "title": "Key Prefix"
    },
    "project_key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Project Key"
    },
    "scopes_json": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scopes Json"
    },
    "is_active": {
      "type": "boolean",
      "title": "Is Active"
    },
    "rate_limit": {
      "type": "integer",
      "title": "Rate Limit"
    },
    "monthly_quota": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Monthly Quota"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "last_used_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Used At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "name",
    "key_prefix",
    "is_active",
    "rate_limit",
    "created_at"
  ]
}