Klineo/Docs
Open app ↗

API schemas

PersistedProjectControlChallenge

All API schemas

object — Additional properties rejected

Field Required at this level Type Description and constraints
schemaVersion Yes Constant persisted-project-control-challenge-v1 —
challenge Yes object Additional properties rejected
challenge.organizationId Yes string Pattern: ^[a-zA-Z0-9][a-zA-Z0-9:_-]{2,159}$
challenge.projectId Yes string Pattern: ^[a-zA-Z0-9][a-zA-Z0-9:_-]{2,159}$
challenge.projectResourceVersion Yes string Pattern: ^0x[0-9a-f]{64}$
challenge.chainId Yes integer Maximum: 9007199254740991; Exclusive minimum: 0
challenge.genesisHash Yes string Pattern: ^0x[0-9a-f]{64}$
challenge.token Yes string Pattern: ^0x[0-9a-f]{40}$
challenge.schemaVersion Yes Constant project-control-challenge-v1 —
challenge.actorId Yes string Pattern: ^[a-zA-Z0-9][a-zA-Z0-9:_-]{2,159}$
challenge.controller Yes string Pattern: ^0x[0-9a-f]{40}$
challenge.custodyAccount Yes string Pattern: ^0x[0-9a-f]{40}$
challenge.attestationHash Yes string Pattern: ^0x[0-9a-f]{64}$
challenge.nonce Yes string Pattern: ^0x[0-9a-f]{64}$
challenge.audience Yes string Pattern: ^[a-zA-Z0-9][a-zA-Z0-9:_-]{2,159}$
challenge.deployment Yes string Pattern: ^[a-zA-Z0-9][a-zA-Z0-9:_-]{2,159}$
challenge.purpose Yes Constant PROJECT_TREASURY_READ_ACCESS_ONLY —
challenge.issuedAt Yes integer Minimum: 0; Maximum: 9007199254740991
challenge.expiresAt Yes integer Minimum: 0; Maximum: 9007199254740991
identity Yes object Additional properties rejected
identity.payload Yes object Additional properties rejected
identity.payload.organizationId Yes string Pattern: ^[a-zA-Z0-9][a-zA-Z0-9:_-]{2,159}$
identity.payload.projectId Yes string Pattern: ^[a-zA-Z0-9][a-zA-Z0-9:_-]{2,159}$
identity.payload.projectResourceVersion Yes string Pattern: ^0x[0-9a-f]{64}$
identity.payload.chainId Yes integer Maximum: 9007199254740991; Exclusive minimum: 0
identity.payload.genesisHash Yes string Pattern: ^0x[0-9a-f]{64}$
identity.payload.token Yes string Pattern: ^0x[0-9a-f]{40}$
identity.payload.schemaVersion Yes Constant project-identity-attestation-v1 —
identity.payload.publisher Yes object Additional properties rejected
identity.payload.publisher.id Yes string Pattern: ^[a-zA-Z0-9][a-zA-Z0-9:_-]{2,159}$
identity.payload.publisher.resourceVersion Yes string Pattern: ^0x[0-9a-f]{64}$
identity.payload.controller Yes string Pattern: ^0x[0-9a-f]{40}$
identity.payload.issuedAt Yes integer Minimum: 0; Maximum: 9007199254740991
identity.payload.expiresAt Yes integer Minimum: 0; Maximum: 9007199254740991
identity.payloadHash Yes string Pattern: ^0x[0-9a-f]{64}$
identity.signature Yes string Pattern: ^[A-Za-z0-9+/]{86}==$
anchor Yes object Additional properties rejected
anchor.chainId Yes integer Maximum: 9007199254740991; Exclusive minimum: 0
anchor.genesisHash Yes string Pattern: ^0x[0-9a-f]{64}$
anchor.blockNumber Yes string Pattern: ^(0|[1-9][0-9]{0,77})$
anchor.blockHash Yes string Pattern: ^0x[0-9a-f]{64}$
anchor.finality Yes Constant FINALIZED —
resourceVersion Yes string Pattern: ^0x[0-9a-f]{64}$
recordedAt Yes string Format: date-time; Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$

Nested required fields apply when their parent object or matching union branch is present. Named types link to their complete schema.

Exact definition: #/components/schemas/PersistedProjectControlChallenge in the OpenAPI contract.