Skip to content
This repository was archived by the owner on Nov 7, 2023. It is now read-only.

Update readme #2

Merged
merged 1 commit into from
Nov 20, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 28 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,23 +80,34 @@ Continuous delivery will make new schemas go live instantly. It will use Github
## Changes to standards

The base schema: is the JSON Schema of the schemas. We made two changes to https://w3c-ccg.github.io/vc-json-schemas/schema/1.0/schema.json:
- Enable more DID networks in method. `id` pattern is `^did:+(\w+:)+\w+;id=[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12};version=d+.\d+$`, changes `\w+:` for `(\w+:)`.
- Made `required` property compliant. Changess
```json
{
"required": {
"type": "array",
"items": [ {
"type": "string" } ] } }
```
for
```json
{
"required": {
"type": "array",
"items": {
"type": "string" } } }
```

**Enable more DID networks in method**

`id` pattern is `^did:+(\w+:)+\w+;id=[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12};version=d+.\d+$`

Changes `\w+:` for `(\w+:)+`

**Made `required` property JSON Schema compliant**

Changes

```json
{
"required": {
"type": "array",
"items": [ {
"type": "string" } ] } }
```

for

```json
{
"required": {
"type": "array",
"items": {
"type": "string" } } }
```

## Drawbacks

Expand Down