File size: 1,264 Bytes
53d6966 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifact-grader-audit.local/schemas/source.schema.json",
"title": "Source",
"type": "object",
"properties": {
"schema_version": {
"type": "string",
"enum": [
"0.1"
]
},
"source_id": {
"type": "string",
"pattern": "^s_[a-f0-9]{16}$"
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"file": {
"type": "string",
"minLength": 1
},
"local_path": {
"type": "string",
"minLength": 1
},
"provenance_type": {
"type": "string",
"enum": [
"public_source_derivative",
"synthetic"
]
},
"source_url": {
"type": "string",
"minLength": 1
},
"revision": {
"type": "string",
"minLength": 1
},
"attribution": {
"type": "string",
"minLength": 1
},
"component_rights": {
"type": "string",
"minLength": 1
}
},
"required": [
"schema_version",
"source_id",
"sha256",
"file",
"local_path",
"provenance_type",
"source_url",
"revision",
"attribution",
"component_rights"
],
"additionalProperties": true
}
|