cic-schema/cic.in.json

32 lines
531 B
JSON
Raw Normal View History

2023-03-05 10:59:41 +01:00
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "sha256:",
"title": "CIC core metadata container",
"type": "object",
"properties": {
"targets": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(0x)?[a-fA-F0-9]{40}"
}
},
2023-03-05 11:33:40 +01:00
"txs": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(0x)?[a-fA-F0-9]{64}"
}
},
2023-03-05 10:59:41 +01:00
"attachments": {
"type": "array",
"items": {
"$ref": "/mime"
}
}
},
2023-03-05 11:33:40 +01:00
"required": ["targets", "attachments", "txs"]
2023-03-05 10:59:41 +01:00
}