CIPs
CIPs copied to clipboard
Discussion Crypto Accounts Definition
Discussion for CIP-21. See PR for up to date spec: https://github.com/ceramicnetwork/CIP/pull/67
The schema for this is a bit tricky. There is a regex that matches the key and the value of the map:
{
"$schema": "http://json-schema.org/draft-06/schema#",
"$ref": "#/definitions/AccountLinks",
"definitions": {
"AccountLinks": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9]{1,63}@[-a-zA-Z0-9]{3,16}:[-a-zA-Z0-9]{1,47}": {
"type": "string",
"pattern": "^ceramic:\/\/.+"
}
},
"additionalProperties": false,
"title": "AccountLinks"
}
}
}