{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/esyurl-fyi/json-schema/esyurl-fyi-agent-registration-schema.json",
  "title": "AgentRegistration",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/esyurl-fyi-auth-api-openapi.yml#/components/schemas/AgentRegistration",
  "type": "object",
  "properties": {
    "registration_id": {
      "type": "string"
    },
    "registration_type": {
      "const": "anonymous"
    },
    "identity_assertion": {
      "type": "string",
      "description": "Service-signed JWT; exchange it at /oauth2/token"
    },
    "assertion_expires": {
      "type": "string",
      "format": "date-time"
    },
    "pre_claim_scopes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "claim_url": {
      "type": "string",
      "description": "Only when the claim ceremony is available"
    },
    "claim_token": {
      "type": "string",
      "description": "Returned once"
    },
    "claim_token_expires": {
      "type": "string",
      "format": "date-time"
    },
    "post_claim_scopes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "tenant_id": {
      "type": "string"
    }
  }
}