Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discussion Crypto Accounts Definition #44

Open
michaelsena opened this issue Jun 15, 2020 · 1 comment
Open

Discussion Crypto Accounts Definition #44

michaelsena opened this issue Jun 15, 2020 · 1 comment
Assignees

Comments

@michaelsena
Copy link
Member

michaelsena commented Jun 15, 2020

Discussion for CIP-21.
See PR for up to date spec: #67

@michaelsena michaelsena changed the title RFC: Identity Claims Document Crypto Accounts Document Jun 30, 2020
This was referenced Jun 30, 2020
@michaelsena michaelsena changed the title Crypto Accounts Document Crypto Accounts Directory Jul 6, 2020
@oed
Copy link
Member

oed commented Jul 14, 2020

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"
    }
  }
}

@michaelsena michaelsena changed the title Crypto Accounts Directory Crypto Account Links Jul 22, 2020
@oed oed changed the title Crypto Account Links Discussion Crypto Accounts Definition Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants