Created
May 13, 2023 21:48
-
-
Save Slyracoon23/70b16f83ca56a7dbaae1c4887c7e13b3 to your computer and use it in GitHub Desktop.
PolygonID Json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"type": "object", | |
"$metadata": { | |
"uris": { | |
"jsonLdContext": "https://raw.githubusercontent.com/YourGithubAccount/your-repo/main/credential-schema/missio-data.jsonld", | |
"jsonSchema": "https://raw.githubusercontent.com/YourGithubAccount/your-repo/main/credential-schema/missio-data.json" | |
} | |
}, | |
"required": [ | |
"@context", | |
"id", | |
"type", | |
"issuanceDate", | |
"credentialSubject", | |
"credentialSchema", | |
"credentialStatus", | |
"issuer" | |
], | |
"properties": { | |
"@context": { | |
"type": ["string", "array", "object"] | |
}, | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": ["string", "array"], | |
"items": { | |
"type": "string" | |
} | |
}, | |
"issuer": { | |
"type": ["string", "object"], | |
"format": "uri", | |
"required": ["id"], | |
"properties": { | |
"id": { | |
"type": "string", | |
"format": "uri" | |
} | |
} | |
}, | |
"issuanceDate": { | |
"type": "string", | |
"format": "date-time" | |
}, | |
"credentialSubject": { | |
"type": "object", | |
"required": [ | |
"id", | |
"entryDate", | |
"summary", | |
"critical_analysis", | |
"evaluation_reason", | |
"score" | |
], | |
"properties": { | |
"id": { | |
"type": "string", | |
"format": "uri" | |
}, | |
"entryDate": { | |
"type": "string", | |
"format": "date" | |
}, | |
"summary": { | |
"type": "string" | |
}, | |
"critical_analysis": { | |
"type": "string" | |
}, | |
"evaluation_reason": { | |
"type": "string" | |
}, | |
"score": { | |
"type": "integer" | |
} | |
} | |
}, | |
"credentialSchema": { | |
"type": "object", | |
"required": ["id", "type"], | |
"properties": { | |
"id": { | |
"type": "string", | |
"format": "uri" | |
}, | |
"type": { | |
"type": "string" | |
} | |
} | |
}, | |
"credentialStatus": { | |
"type": "object", | |
"required": ["id", "type"], | |
"properties": { | |
"id": { | |
"type": "string", | |
"format": "uri" | |
}, | |
"type": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment