Skip to content

Commit

Permalink
fix(core): plugin schema
Browse files Browse the repository at this point in the history
  • Loading branch information
simonas-notcat committed Apr 20, 2022
1 parent da30132 commit e5a48ad
Showing 1 changed file with 47 additions and 43 deletions.
90 changes: 47 additions & 43 deletions packages/core/plugin.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
"items": {
"$ref": "#/components/schemas/VerificationMethod"
},
"deprecated": ""
"deprecated": true
}
},
"required": [
Expand All @@ -174,48 +174,7 @@
"type": "string"
},
"publicKeyJwk": {
"type": "object",
"properties": {
"alg": {
"type": "string"
},
"crv": {
"type": "string"
},
"e": {
"type": "string"
},
"ext": {
"type": "boolean"
},
"key_ops": {
"type": "array",
"items": {
"type": "string"
}
},
"kid": {
"type": "string"
},
"kty": {
"type": "string"
},
"n": {
"type": "string"
},
"use": {
"type": "string"
},
"x": {
"type": "string"
},
"y": {
"type": "string"
}
},
"required": [
"kty"
]
"$ref": "#/components/schemas/JsonWebKey"
},
"publicKeyHex": {
"type": "string"
Expand All @@ -236,6 +195,51 @@
"controller"
]
},
"JsonWebKey": {
"type": "object",
"properties": {
"alg": {
"type": "string"
},
"crv": {
"type": "string"
},
"e": {
"type": "string"
},
"ext": {
"type": "boolean"
},
"key_ops": {
"type": "array",
"items": {
"type": "string"
}
},
"kid": {
"type": "string"
},
"kty": {
"type": "string"
},
"n": {
"type": "string"
},
"use": {
"type": "string"
},
"x": {
"type": "string"
},
"y": {
"type": "string"
}
},
"required": [
"kty"
],
"description": "Encapsulates a JSON web key type that includes only the public properties that can be used in DID documents.\n\nThe private properties are intentionally omitted to discourage the use (and accidental disclosure) of private keys in DID documents."
},
"ServiceEndpoint": {
"type": "object",
"properties": {
Expand Down

0 comments on commit e5a48ad

Please sign in to comment.