Download schema-source.json from hashmortar/artifact-grader-audit: direct link, hf CLI and curl.
- Browser
- Download file 1.26 kB
-
https://huggingface.co/datasets/hashmortar/artifact-grader-audit/resolve/main/schema-source.json
- Command line
-
hf download hf://datasets/hashmortar/artifact-grader-audit/schema-source.json
-
curl -L -o schema-source.json https://huggingface.co/datasets/hashmortar/artifact-grader-audit/resolve/main/schema-source.json
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 | |
| } | |