Files
crosscode-platform/packages/contracts/schemas/import-begin-reply.json
T
joshuaandClaude Opus 5.5 08fef930c1 contracts 1.8.0: crosscode.identity-request/1 (import and people.* calls to Accounts)
Product -> Accounts requests at /api/accounts/v1/requests, signed with the
link secret: import.begin/batch/finish/abort for moving a product's users
in (EVENTS-3.0-PLAN §4), people.* for product admins (§8). sealLinkValue /
openLinkValue seal password hashes and TOTP secrets with a key derived
from the link secret; importIdsHash for the final check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 13:33:15 +02:00

32 lines
730 B
JSON

{
"$id": "https://c-git.crosscode.co.za/joshua/crosscode-platform/raw/branch/main/packages/contracts/schemas/import-begin-reply.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"schema": {
"type": "string",
"const": "crosscode.identity-request/1"
},
"noticesTaken": {
"type": "boolean"
},
"accountsNoticeVersions": {
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"accountsVersion": {
"type": "string"
}
},
"required": [
"schema",
"noticesTaken",
"accountsNoticeVersions",
"accountsVersion"
]
}