Skip to content

Introspection Identity Details Schema Endpoint

The identity details schema introspection endpoint returns JSON Schema for the identity details contract exposed by your configured identity details provider.

GET /.cratis/identity-details/schema

Arc always maps this endpoint.

The endpoint returns a JSON Schema document generated from the runtime identity details type:

  • If your provider implements IProvideIdentityDetails<TDetails>, Arc generates schema for TDetails.
  • If your provider only implements non-generic IProvideIdentityDetails, Arc generates schema for object.
  • If no identity details provider is configured, Arc returns an empty schema object ({}).
  • Discover the identity details shape at runtime without hardcoding provider types.
  • Drive client-side tooling that validates or renders identity details data.
  • Keep integration tests and diagnostics aligned with the active identity provider contract.