feat: publish downloadable wakeword trainer source
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "JR Wakeword commercial source lock",
|
||||
"type": "object",
|
||||
"required": ["schema_version", "run_kind", "sources"],
|
||||
"properties": {
|
||||
"schema_version": {"const": 1},
|
||||
"run_kind": {"enum": ["commercial", "quarantined_smoke"]},
|
||||
"sources": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["source_id", "source_kind", "purpose", "partition", "original_publisher", "version", "revision", "license", "attribution", "files"],
|
||||
"properties": {
|
||||
"source_id": {"type": "string", "pattern": "^[a-z0-9][a-z0-9._-]{0,127}$"},
|
||||
"source_kind": {"type": "string", "minLength": 1},
|
||||
"purpose": {"enum": ["positive", "adversarial_negative", "near_miss", "general_negative_speech", "background", "rir"]},
|
||||
"partition": {"enum": ["train", "validation", "calibration", "release_test"]},
|
||||
"original_publisher": {"type": "object", "required": ["name", "url"]},
|
||||
"version": {"type": "string", "minLength": 1},
|
||||
"revision": {"type": "string", "minLength": 1},
|
||||
"license": {"type": "object", "required": ["spdx_id", "terms_url", "captured_text_path", "captured_text_sha256"]},
|
||||
"attribution": {"type": "string", "minLength": 1},
|
||||
"commercial": {"type": "object"},
|
||||
"files": {"type": "array", "minItems": 1}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user