Skip to content

Commit

Permalink
fixes json formatting (#39)
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Griffin <[email protected]>
  • Loading branch information
m00sey authored Jan 5, 2024
1 parent 5525998 commit afe4ee8
Showing 1 changed file with 50 additions and 92 deletions.
142 changes: 50 additions & 92 deletions spec/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -577,8 +577,7 @@ The following schema supports a compact variant:
"description": "Example JSON Schema Public ACDC.",
"credentialType": "PublicACDCExample",
"type": "object",
"required":
[
"required": [
"v",
"d",
"i",
Expand All @@ -588,221 +587,180 @@ The following schema supports a compact variant:
"e",
"r"
],
"properties":
{
"v":
{
"properties": {
"v": {
"description": "ACDC version string",
"type": "string"
},
"d":
{
"description": "ACDC SAID",
"d": {
"description": "ACDC SAID",
"type": "string"
},
"i":
{
"i": {
"description": "Issuer AID",
"type": "string"
},
"ri":
{
"ri": {
"description": "credential status registry AID",
"type": "string"
},
"s":
{
"s": {
"description": "schema section",
"oneOf":
[
"oneOf": [
{
"description": "schema section SAID",
"type": "string"
},
{
"description": "schema detail",
"type": "object"
},
}
]
},
"a":
{
"a": {
"description": "attribute section",
"oneOf":
[
"oneOf": [
{
"description": "attribute section SAID",
"type": "string"
},
{
"description": "attribute detail",
"type": "object",
"required":
[
"required": [
"d",
"i",
"score",
"name"
],
"properties":
{
"d":
{
"properties": {
"d": {
"description": "attribute section SAID",
"type": "string"
},
"i":
{
"i": {
"description": "Issuee AID",
"type": "string"
},
"score":
{
"score": {
"description": "test score",
"type": "integer"
},
"name":
{
"name": {
"description": "test taker full name",
"type": "string"
}
},
"additionalProperties": false,
"additionalProperties": false
}
]
},
"e":
{
"e": {
"description": "edge section",
"oneOf":
[
"oneOf": [
{
"description": "edge section SAID",
"type": "string"
},
{
"description": "edge detail",
"type": "object",
"required":
[
"required": [
"d",
"boss"
],
"properties":
{
"d":
{
"properties": {
"d": {
"description": "edge section SAID",
"type": "string"
},
"boss":
{
"boss": {
"description": "boss edge",
"type": "object",
"required":
[
"required": [
"d",
"n",
's',
"s",
"w"
],
"properties":
{
"d":
{
"properties": {
"d": {
"description": "edge SAID",
"type": "string"
},
"n":
{
"n": {
"description": "far node SAID",
"type": "string"
},
"s":
{
"s": {
"description": "far node schema SAID",
"type": "string",
"const": ""EiheqcywJcnjtJtQIYPvAu6DZAIl3MORH3dCdoFOLe71"
"const": "EiheqcywJcnjtJtQIYPvAu6DZAIl3MORH3dCdoFOLe71"
},
"w":
{
"w": {
"description": "edge weight",
"type": "string"
}
},
"additionalProperties": false
},
}
},
"additionalProperties": false
}
]
},
"r":
{
"r": {
"description": "rule section",
"oneOf":
[
"oneOf": [
{
"description": "rule section SAID",
"type": "string"
},
{
"description": "rule detail",
"type": "object",
"required":
[
"required": [
"d",
"warrantyDisclaimer",
"liabilityDisclaimer"
],
"properties":
{
"d":
{
"properties": {
"d": {
"description": "edge section SAID",
"type": "string"
},
"warrantyDisclaimer":
{
"warrantyDisclaimer": {
"description": "warranty disclaimer clause",
"type": "object",
"required":
[
"required": [
"d",
"l"
],
"properties":
{
"d":
{
"properties": {
"d": {
"description": "clause SAID",
"type": "string"
},
"l":
{
"l": {
"description": "legal language",
"type": "string"
}
},
"additionalProperties": false
},
"liabilityDisclaimer":
{
"liabilityDisclaimer": {
"description": "liability disclaimer clause",
"type": "object",
"required":
[
"required": [
"d",
"l"
],
"properties":
{
"d":
{
"properties": {
"d": {
"description": "clause SAID",
"type": "string"
},
"l":
{
"l": {
"description": "legal language",
"type": "string"
}
Expand Down

0 comments on commit afe4ee8

Please sign in to comment.