forked from WebOfTrust/vLEI
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from provenant-dev/xbrl-d6-schema
create xbrl attestation schema for D6 spec
- Loading branch information
Showing
1 changed file
with
144 additions
and
0 deletions.
There are no files selected for viewing
144 changes: 144 additions & 0 deletions
144
schema/acdc/verifiable-ixbrl-report-d6-attestation.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
{ | ||
"$id": "ECYorXkheU7YsXZkYLGtvBOxEZ6alS5H5FJRn0tgDXV0", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "iXBRL Data Value D6 Attestation", | ||
"description": "A data attestation against an iXBRL report, linked to either a vLEI OOR or vLEI ECR credential using Digital Signatures in XBRL(D6) specification", | ||
"credentialType": "iXBRLDataD6Attestation", | ||
"properties": { | ||
"v": { | ||
"type": "string" | ||
}, | ||
"d": { | ||
"type": "string" | ||
}, | ||
"i": { | ||
"type": "string" | ||
}, | ||
"ri": { | ||
"description": "credential status registry", | ||
"type": "string" | ||
}, | ||
"s": { | ||
"description": "schema SAID", | ||
"type": "string" | ||
}, | ||
"a": { | ||
"$id": "EEd2WYpNs53bICU9T86RPsoP5WO2BA0TjcAmt1PSSEjG", | ||
"description": "data block", | ||
"properties": { | ||
"d": { | ||
"type": "string" | ||
}, | ||
"dt": { | ||
"description": "Signed date-time", | ||
"format": "date-time", | ||
"type": "string" | ||
}, | ||
"rd": { | ||
"type": "string", | ||
"description": "Digest(SAID) of entire canonicalized iXBRL report." | ||
}, | ||
"target": { | ||
"type": "string", | ||
"description": "Path of signature target file in the report package. Target file points to iXBRL report, and optionally identifies a subset of that report that is the subject of the signature." | ||
}, | ||
"targetDigest": { | ||
"type": "string", | ||
"description": "A digest string containing a digest of the signature target file. A digest string is a string encapsulating a digest algorithm and digest value. A digest string MUST conform to the hash-expression rule of section 3.5 of Subresource Integrity." | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"d", | ||
"dt", | ||
"rd", | ||
"target", | ||
"targetDigest" | ||
], | ||
"type": "object" | ||
}, | ||
"e": { | ||
"oneOf": [ | ||
{ | ||
"$id": "EGdpNTt_v5NAIhzWZjisHE5oaYnoJVOC7iVFySw9eFKX", | ||
"description": "Chained vLEI OOR Credential", | ||
"properties": { | ||
"d": { | ||
"description": "SAID of edge block containing OOR Credential node", | ||
"type": "string" | ||
}, | ||
"oor": { | ||
"description": "node SAID of signer OOR credential", | ||
"properties": { | ||
"n": { | ||
"type": "string" | ||
}, | ||
"s": { | ||
"type": "string", | ||
"description": "SAID of required schema of the credential pointed to by this node", | ||
"const": "EBNaNu-M9P5cgrnfl2Fvymy4E_jvxxyjb70PRtiANlJy" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"n", | ||
"s" | ||
], | ||
"type": "object" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"d", | ||
"oor" | ||
], | ||
"type": "object" | ||
}, | ||
{ | ||
"$id": "EO2AOkCvsjm5RyQYAPpUZP96pbXlPGym57VemjxlOlMe", | ||
"description": "Chained vLEI ECR Credential", | ||
"properties": { | ||
"d": { | ||
"description": "SAID of edge block contai0ning ECR Credential node", | ||
"type": "string" | ||
}, | ||
"ecr": { | ||
"description": "node SAID of signer ECR credential", | ||
"properties": { | ||
"n": { | ||
"type": "string" | ||
}, | ||
"s": { | ||
"type": "string", | ||
"description": "SAID of required schema of the credential pointed to by this node", | ||
"const": "EEy9PkikFcANV1l7EHukCeXqrzT1hNZjGlUk7wuMO5jw" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"n", | ||
"s" | ||
], | ||
"type": "object" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"d", | ||
"ecr" | ||
], | ||
"type": "object" | ||
} | ||
] | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"i", | ||
"ri", | ||
"s", | ||
"d", | ||
"e" | ||
], | ||
"type": "object" | ||
} |