75 lines
2.0 KiB
JSON
75 lines
2.0 KiB
JSON
{
|
|
"$id": "https://idhub.pangea.org/vc_schemas/v1/workbench.json",
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"title": "DeviceSnapshot",
|
|
"description": "Snapshot create by workbench-script, software for discover hardware in one device.",
|
|
"name": [
|
|
{
|
|
"value": "Snapshot",
|
|
"lang": "en"
|
|
},
|
|
],
|
|
"type": "object",
|
|
"allOf": [
|
|
{
|
|
"$ref": "https://www.w3.org/2018/credentials/v1"
|
|
},
|
|
{
|
|
"properties": {
|
|
"credentialSubject": {
|
|
"description": "Define the properties of a digital device snapshot",
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"description": "Defines a hash of id token",
|
|
"type": "string",
|
|
"minLength": 36
|
|
},
|
|
"uuid": {
|
|
"description": "Defines a unique identifier of the snapshot",
|
|
"type": "string",
|
|
"minLength": 36
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"Snapshot"
|
|
],
|
|
"minLength": 1
|
|
},
|
|
"software": {
|
|
"description": "Name of software used.",
|
|
"type": "string",
|
|
"enum": [
|
|
"workbench-script"
|
|
],
|
|
"minLength": 1
|
|
},
|
|
"timestamp": {
|
|
"description": "Time when is make this snapshot.",
|
|
"type": "date-time"
|
|
},
|
|
"data": {
|
|
"description": "Device details discovery data.",
|
|
"type": "string",
|
|
},
|
|
"dataDeletion": {
|
|
"description": "Datas of erase disk process",
|
|
"type": "string",
|
|
"minLength": 0
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"uuid",
|
|
"type",
|
|
"software",
|
|
"timestamp",
|
|
"data"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|