-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding json schemas from go-witness to the docs --------- Signed-off-by: chaosinthecrd <[email protected]> Signed-off-by: John Kjell <[email protected]> Co-authored-by: John Kjell <[email protected]>
- Loading branch information
1 parent
d866f90
commit 8e1f2fc
Showing
41 changed files
with
7,937 additions
and
36 deletions.
There are no files selected for viewing
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
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
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
This file was deleted.
Oops, something went wrong.
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,97 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$ref": "#/$defs/Attestor", | ||
"$defs": { | ||
"Attestor": { | ||
"properties": { | ||
"devpayProductCodes": { | ||
"items": { | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"marketplaceProductCodes": { | ||
"items": { | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"availabilityZone": { | ||
"type": "string" | ||
}, | ||
"privateIp": { | ||
"type": "string" | ||
}, | ||
"version": { | ||
"type": "string" | ||
}, | ||
"region": { | ||
"type": "string" | ||
}, | ||
"instanceId": { | ||
"type": "string" | ||
}, | ||
"billingProducts": { | ||
"items": { | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
}, | ||
"instanceType": { | ||
"type": "string" | ||
}, | ||
"accountId": { | ||
"type": "string" | ||
}, | ||
"pendingTime": { | ||
"type": "string", | ||
"format": "date-time" | ||
}, | ||
"imageId": { | ||
"type": "string" | ||
}, | ||
"kernelId": { | ||
"type": "string" | ||
}, | ||
"ramdiskId": { | ||
"type": "string" | ||
}, | ||
"architecture": { | ||
"type": "string" | ||
}, | ||
"rawiid": { | ||
"type": "string" | ||
}, | ||
"rawsig": { | ||
"type": "string" | ||
}, | ||
"publickey": { | ||
"type": "string" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"type": "object", | ||
"required": [ | ||
"devpayProductCodes", | ||
"marketplaceProductCodes", | ||
"availabilityZone", | ||
"privateIp", | ||
"version", | ||
"region", | ||
"instanceId", | ||
"billingProducts", | ||
"instanceType", | ||
"accountId", | ||
"pendingTime", | ||
"imageId", | ||
"kernelId", | ||
"ramdiskId", | ||
"architecture", | ||
"rawiid", | ||
"rawsig", | ||
"publickey" | ||
] | ||
} | ||
} | ||
} | ||
|
Oops, something went wrong.