Download audio.schema.json from danielrosehill/Audio-Data-Dictionary: direct link, hf CLI and curl.
- Browser
- Download file 13.9 kB
-
https://huggingface.co/datasets/danielrosehill/Audio-Data-Dictionary/resolve/main/audio.schema.json
- Command line
-
hf download hf://datasets/danielrosehill/Audio-Data-Dictionary/audio.schema.json
-
curl -L -o audio.schema.json https://huggingface.co/datasets/danielrosehill/Audio-Data-Dictionary/resolve/main/audio.schema.json
13.9 kB
| { | |
| "$schema": "https://json-schema.org/draft/2020-12/schema", | |
| "$id": "https://huggingface.co/datasets/Hebrish/Example-Audio-Sentences/raw/main/audio.schema.json", | |
| "title": "Hebrish audio dataset row (standard of 2026-11-06)", | |
| "description": "Metadata of one take in a Hebrish audio dataset. The parquet also carries an `audio` column (struct<bytes: binary, path: string>), required in parquet and not listed here because metadata jsonl exports drop it. Source of truth: ASR-Training docs/dataset-format-standard.md.", | |
| "type": "object", | |
| "required": [ | |
| "id", | |
| "text", | |
| "duration_s", | |
| "sample_rate", | |
| "bit_depth", | |
| "audio_format", | |
| "categories", | |
| "target_terms", | |
| "prompt_id", | |
| "prompt_source", | |
| "mode", | |
| "speaker", | |
| "speaker_id", | |
| "speaker_gender", | |
| "contributor", | |
| "recorded_at", | |
| "device", | |
| "microphone", | |
| "environment", | |
| "transcript_status", | |
| "pronunciation", | |
| "sentence_id" | |
| ], | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "description": "Take id <UTC timestamp>_<6 chars>, e.g. 20261104T221604Z_d9mx46." | |
| }, | |
| "text": { | |
| "type": "string", | |
| "description": "Written form, the ASR target: digits, symbols. May be empty only while transcript_status is pending." | |
| }, | |
| "duration_s": { | |
| "type": "number", | |
| "description": "Seconds of audio." | |
| }, | |
| "sample_rate": { | |
| "type": "integer", | |
| "description": "48000 / 24 from 2026-10-22; legacy 16000 / 16." | |
| }, | |
| "bit_depth": { | |
| "type": "integer", | |
| "description": "48000 / 24 from 2026-10-22; legacy 16000 / 16." | |
| }, | |
| "audio_format": { | |
| "enum": [ | |
| "flac", | |
| "wav" | |
| ], | |
| "description": "flac from 2026-10-22; legacy wav." | |
| }, | |
| "categories": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| }, | |
| "description": "Category tags of the take, e.g. tech, code_switch, target_word." | |
| }, | |
| "target_terms": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| }, | |
| "description": "Terms the sentence exists to teach." | |
| }, | |
| "prompt_id": { | |
| "type": "string", | |
| "description": "Id of the prompt in the bank (p_..., pw_..., a task prompt id)." | |
| }, | |
| "prompt_source": { | |
| "type": "string", | |
| "description": "Where the prompt came from, e.g. on-demand, generated:<model>, queue:<site>." | |
| }, | |
| "mode": { | |
| "type": "string", | |
| "description": "Recording mode in the app, e.g. bank, free." | |
| }, | |
| "device": { | |
| "type": "string", | |
| "description": "The phone or computer." | |
| }, | |
| "microphone": { | |
| "type": "string", | |
| "description": "`internal`, or the microphone's name." | |
| }, | |
| "environment": { | |
| "type": "string", | |
| "description": "Room acoustics label, e.g. quiet-indoor." | |
| }, | |
| "speaker": { | |
| "type": "string", | |
| "description": "Speaker's full name; training reads only Daniel Rosehill." | |
| }, | |
| "speaker_gender": { | |
| "type": "string", | |
| "description": "Gender recorded for the speaker, or `unknown`." | |
| }, | |
| "contributor": { | |
| "type": "string", | |
| "description": "Display name of the signed-in person who recorded it. Never an email." | |
| }, | |
| "speaker_id": { | |
| "type": "string", | |
| "description": "Permanent random 4-digit speaker id (Hebrish/Speakers), as a string.", | |
| "pattern": "^[0-9]{4}$" | |
| }, | |
| "recorded_at": { | |
| "type": "string", | |
| "description": "UTC ISO 8601 timestamp." | |
| }, | |
| "transcript_status": { | |
| "enum": [ | |
| "script", | |
| "pending", | |
| "reviewed" | |
| ], | |
| "description": "script = read from the card; pending = free speech awaiting a transcript." | |
| }, | |
| "pronunciation": { | |
| "type": "array", | |
| "description": "Reading guide: one object per term whose reading is unclear. [] by default. Not a record of how a take was said (that is hebrew_pronunciation / pronunciation_variants).", | |
| "items": { | |
| "type": "object", | |
| "required": [ | |
| "term", | |
| "say", | |
| "status" | |
| ], | |
| "additionalProperties": false, | |
| "properties": { | |
| "term": { | |
| "type": "string", | |
| "minLength": 1, | |
| "description": "The term as it is spelled in text." | |
| }, | |
| "say": { | |
| "type": "string", | |
| "pattern": "^[A-Za-z' ]+(-[A-Za-z' ]+)*$", | |
| "description": "Stress respelling as in the Recorder's pron-variants.json: syllables joined by hyphens, stressed syllable in CAPITALS, e.g. par-KAY." | |
| }, | |
| "note": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Optional: why, or which reading is meant." | |
| }, | |
| "status": { | |
| "enum": [ | |
| "unreviewed", | |
| "ai-reviewed", | |
| "human-reviewed" | |
| ] | |
| } | |
| } | |
| } | |
| }, | |
| "text_he": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "`text` with the Hebrew target terms in Hebrew script, for models with a Hebrew vocabulary." | |
| }, | |
| "text_full": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Full-fidelity target when it differs from text; null otherwise." | |
| }, | |
| "spoken_text": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Exactly what was read." | |
| }, | |
| "task": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "The app task, or null." | |
| }, | |
| "topic": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Subject of free speech or a queue sentence." | |
| }, | |
| "style": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Delivery style." | |
| }, | |
| "style_instruction": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "The reading cue shown." | |
| }, | |
| "prompt_origin": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Takes: `manual`, `dataset` or `generated`, derived from `prompt_source` and changed with it. Never set by hand." | |
| }, | |
| "prompt_kind": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "The task's own kind for the prompt (e.g. neighbourhood, llm)." | |
| }, | |
| "prompt_note": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Task note on the prompt." | |
| }, | |
| "prompt_set": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "The prompt set or chapter." | |
| }, | |
| "term_language": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Origin language of the prompt's main term." | |
| }, | |
| "paragraph_text": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Paragraph tasks: the passage with its paragraph breaks; `text` is flat." | |
| }, | |
| "verbatim_text": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Verbatim wording, for tasks where it differs from the target." | |
| }, | |
| "aside_text": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "The aside inserted in the sentence, for aside tasks." | |
| }, | |
| "aside_position": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Where the aside sits in the sentence." | |
| }, | |
| "noise_level": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "`low`, `medium`, `high`, or null." | |
| }, | |
| "notes": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Free note on the take. Blank in public reference rows." | |
| }, | |
| "model_hypothesis": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "What the model wrote for the take." | |
| }, | |
| "asr_model": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "The model and revision that wrote it." | |
| }, | |
| "hebrew_pronunciation": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "How a Hebrew term WAS said in this take (a record of the take, not a guide). Not the same as pronunciation." | |
| }, | |
| "variant_spelling": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Tradition of those spellings: `israeli`, `ashkenazi`, `mixed`, or null." | |
| }, | |
| "imported_from": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Dataset the take was imported from." | |
| }, | |
| "original_text": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Text before editing. Sentences: the upstream text of a `mined-edited` row." | |
| }, | |
| "text_before_normalization": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "The transcript before spelling normalization." | |
| }, | |
| "source_prompt_id": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "For a reused prompt, the id of the prompt it was made from; null otherwise." | |
| }, | |
| "capture_mode": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Recording mode: ASR, TTS and so on." | |
| }, | |
| "tts_split": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "The TTS prompt's own split; null = same as the ASR split." | |
| }, | |
| "session_id": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "The app session the take was recorded in." | |
| }, | |
| "room_tone_id": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Room tone recorded in the same session and room." | |
| }, | |
| "room": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Room at home; null when away or not set." | |
| }, | |
| "location": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "`home` or `away`." | |
| }, | |
| "location_name": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Place name for away takes. Blank unless the take is meant to carry it." | |
| }, | |
| "location_note": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Free note on the place. Blank in public reference rows." | |
| }, | |
| "priority_word": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "The priority word the take was served for, in its correct form; null otherwise." | |
| }, | |
| "extra": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "JSON text holding columns not in the typed schema (mic_name, activity, pronunciation_variants, ...)." | |
| }, | |
| "source_url": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "Web page the sentence was written from or mined from." | |
| }, | |
| "ui_note": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "The reading instruction shown on the card." | |
| }, | |
| "conditions": { | |
| "type": [ | |
| "array", | |
| "null" | |
| ], | |
| "items": { | |
| "type": "string" | |
| }, | |
| "description": "Recording conditions ticked for the session." | |
| }, | |
| "noise_flags": { | |
| "type": [ | |
| "array", | |
| "null" | |
| ], | |
| "items": { | |
| "type": "string" | |
| }, | |
| "description": "Noise flags ticked for this clip." | |
| }, | |
| "variant_groups": { | |
| "type": [ | |
| "array", | |
| "null" | |
| ], | |
| "items": { | |
| "type": "string" | |
| }, | |
| "description": "Ashkenazi / Israeli spelling-variant groups present in `text`." | |
| }, | |
| "background_speech_languages": { | |
| "type": [ | |
| "array", | |
| "null" | |
| ], | |
| "items": { | |
| "type": "string" | |
| }, | |
| "description": "Languages heard in the background." | |
| }, | |
| "prompt_categories": { | |
| "type": [ | |
| "array", | |
| "null" | |
| ], | |
| "items": { | |
| "type": "string" | |
| }, | |
| "description": "Categories of the source prompt. A list (live subsets store a string)." | |
| }, | |
| "edited": { | |
| "type": [ | |
| "boolean", | |
| "null" | |
| ], | |
| "description": "True when the speaker corrected the transcript away from the prompt." | |
| }, | |
| "clipped": { | |
| "type": "boolean", | |
| "description": "A sample reached 0.99 of full scale." | |
| }, | |
| "tts_eligible": { | |
| "type": [ | |
| "boolean", | |
| "null" | |
| ], | |
| "description": "Whether the take may train a voice model." | |
| }, | |
| "browser_processing": { | |
| "type": "boolean", | |
| "description": "The browser applied echo cancellation, noise suppression or gain control." | |
| }, | |
| "has_digits": { | |
| "type": "boolean", | |
| "description": "`text` contains a digit (TTS selections)." | |
| }, | |
| "fallback_ok": { | |
| "type": [ | |
| "boolean", | |
| "null" | |
| ], | |
| "description": "With text_full: whether text is still a correct transcript. A bool (live subsets store a string)." | |
| }, | |
| "written_form_uncertain": { | |
| "type": [ | |
| "boolean", | |
| "null" | |
| ], | |
| "description": "The written form was a judgement call." | |
| }, | |
| "native_rate": { | |
| "type": [ | |
| "integer", | |
| "null" | |
| ], | |
| "description": "Rate the app captured at, before any resampling." | |
| }, | |
| "clipped_samples": { | |
| "type": [ | |
| "integer", | |
| "null" | |
| ], | |
| "description": "Number of clipped samples." | |
| }, | |
| "lead_trim_s": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ], | |
| "description": "Leading silence cut at capture." | |
| }, | |
| "peak_dbfs": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ], | |
| "description": "Peak level of the take, dBFS." | |
| }, | |
| "floor_dbfs": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ], | |
| "description": "Noise floor, dBFS." | |
| }, | |
| "speech_dbfs": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ], | |
| "description": "Speech level, dBFS." | |
| }, | |
| "snr_db": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ], | |
| "description": "Speech-to-noise ratio, dB." | |
| }, | |
| "edge_head_dbfs": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ], | |
| "description": "Level at the start of the take, dBFS." | |
| }, | |
| "edge_tail_dbfs": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ], | |
| "description": "Level at the end of the take, dBFS." | |
| }, | |
| "location_accuracy_m": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ], | |
| "description": "GPS accuracy in metres, a **number**." | |
| }, | |
| "latitude": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ], | |
| "description": "Decimal degrees as a number, only for away places, null otherwise. Live subsets store a string." | |
| }, | |
| "longitude": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ], | |
| "description": "Decimal degrees as a number, only for away places, null otherwise. Live subsets store a string." | |
| }, | |
| "pronunciation_variants": { | |
| "type": [ | |
| "array", | |
| "null" | |
| ], | |
| "description": "How a registry term WAS said in this take: [{term, variant, category}].", | |
| "items": { | |
| "type": "object", | |
| "required": [ | |
| "term", | |
| "variant" | |
| ], | |
| "properties": { | |
| "term": { | |
| "type": "string" | |
| }, | |
| "variant": { | |
| "type": "string" | |
| }, | |
| "category": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| } | |
| } | |
| } | |
| }, | |
| "sentence_id": { | |
| "type": "string", | |
| "pattern": "^p_[0-9a-f]{10}$", | |
| "description": "The row's id in this dataset's sentences tab" | |
| } | |
| } | |
| } | |