{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/s1-dev/json-schema/s1-dev-usage-response-schema.json",
  "title": "UsageResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/s1-dev-account-api-openapi.yml#/components/schemas/UsageResponse",
  "type": "object",
  "required": [
    "usage",
    "credential_type"
  ],
  "properties": {
    "usage": {
      "type": "integer",
      "minimum": 0
    },
    "user_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "credential_type": {
      "type": "string",
      "enum": [
        "api_key",
        "oauth"
      ]
    },
    "client_id": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}