artifact-grader-audit / schema-source.json
hashmortar's picture
Publish Artifact Grader Audit v0.1 dataset
53d6966 verified
Raw History Blame Contribute Delete
1.26 kB
{
"$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
}