TDLS-AI v0.1 · Annex A
The vendor declaration schema, 0.3.0
The schema answers at the address in its $id, byte for byte as published at the venue:
https://datalicensingstandard.org/schema/0.3.0/tdls-ai-vendor-declaration.schema.json
| File | What it is | SHA-256 |
|---|---|---|
| tdls-ai-vendor-declaration.schema.json | The vendor declaration schema (JSON Schema 2020-12), version 0.3.0 | 7abafb0f17069c25e3576fc80aba148976a4f061f21af1f0a91d973cc81653ba |
| example-declaration.json | An example declaration | 5fb0cdc4fe3ce1873d83be3566b96d5bd892c70302e93e4fec18d6374c4f0071 |
| validate.py | The validator, with the converter for a record in the form of OASIS Data Provenance Metadata Version 1.0, Committee Specification Draft 01 | d284243608edd1ce4be6e2a3f8627a6185e17eef0bfe2e77547df990c33b39d6 |
| crosswalk-0.3.0.json | The crosswalk of Annex A, machine-readable | edd3995f5f400eb55a570be690797c6d4de8fd1cead145b17b7e5abf603737cc |
| LICENSE | The MIT License of the schema, the example, the validator and the crosswalk file | 2b1697b25ab3821896a73fe0aef12cb7b697e6807181eacbacc62fbd90ce06ca |
The text that defines the fields is Annex A. To validate a declaration, from a folder holding these files:
python3 -m venv .venv
.venv/bin/pip install jsonschema rfc3339-validator
.venv/bin/python validate.py tdls-ai-vendor-declaration.schema.json example-declaration.json
The last command prints valid: example-declaration.json conforms to TDLS-AI Vendor Declaration (The Data Licensing Standard for AI, v0.1) (https://datalicensingstandard.org/schema/0.3.0/tdls-ai-vendor-declaration.schema.json). A declaration that validates has the right fields; validation scores nothing.