{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/5arz-com/json-schema/5arz-com-credential-schema.json",
  "title": "Credential",
  "description": "A Proof-of-Human credential response.",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/5arz-com-api-openapi.json#/components/schemas/Credential",
  "type": "object",
  "properties": {
    "pohf_jwt": {
      "type": "string",
      "description": "ES256-signed compact JWT. Verify against the public JWKS."
    },
    "verified": {
      "type": "boolean"
    },
    "quality": {
      "type": "number",
      "description": "0–1 human-attention quality score"
    },
    "credentialId": {
      "type": "string"
    },
    "sd_jwt_vc": {
      "type": "string",
      "description": "The same claims as an IETF SD-JWT VC (header typ `dc+sd-jwt`, serialization ends with `~`). Verify with any SD-JWT VC library against the issuer metadata at https://5arz.com/.well-known/jwt-vc-issuer. Carries `status.status_list` for revocation and `cnf.jwk` when `holderJwk` was supplied."
    },
    "sd_jwt_vc_hint": {
      "type": "string",
      "description": "Human-readable pointer to the standards and key locations."
    },
    "sd_jwt_vc_error": {
      "type": "string",
      "description": "Present only if the standard form could not be produced; the legacy credential is still valid."
    }
  }
}