UNPKG

@datamodels/identity-accounts-web

Version:

DataModel implementation of the **Also Known As** schema and definition specified in [CIP-23](https://github.com/ceramicnetwork/CIP/blob/main/CIPs/CIP-23/CIP-23.md).

59 lines (58 loc) 1.18 kB
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "title": "AlsoKnownAs", "properties": { "accounts": { "type": "array", "items": { "$ref": "#/definitions/Account" } } }, "additionalProperties": false, "required": ["accounts"], "definitions": { "Attestation": { "type": "object", "properties": { "did-jwt": { "type": "string", "maxLength": 1000 }, "did-jwt-vc": { "type": "string", "maxLength": 1000 } } }, "Account": { "type": "object", "properties": { "protocol": { "type": "string", "maxLength": 50 }, "host": { "type": "string", "maxLength": 150 }, "id": { "type": "string", "maxLength": 450 }, "claim": { "type": "string", "maxLength": 450 }, "attestations": { "type": "array", "items": { "$ref": "#/definitions/Attestation" } } }, "required": ["protocol", "id"] } } }