Background-Conversations / audio.schema.json
danielrosehill's picture
Build 1 clip(s) from data/background-conversations/clips.json
23b67fb verified
Raw History Blame Contribute Delete
10.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"
},
"microphone": {
"type": "string"
},
"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"
},
"contributor": {
"type": "string"
},
"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, derived from the Recorder's registry recorder/app/public/data/pronunciation.json (recorder/scripts/pronunciation.py). [] 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: syllables joined by hyphens, stressed syllable in CAPITALS, e.g. ah-ka-MOL. For an Israeli brand, place or institution, how it is said in Israel."
},
"note": {
"type": [
"string",
"null"
],
"description": "Optional: why, or which reading is meant."
},
"status": {
"enum": [
"unreviewed",
"ai-reviewed",
"human-reviewed"
]
},
"say_en": {
"type": [
"string",
"null"
],
"pattern": "^[A-Za-z' ]+(-[A-Za-z' ]+)*$",
"description": "Optional: the usual reading in English-speaking countries when it differs from `say` (NYOO-ro-fen)."
},
"hebrew": {
"type": [
"string",
"null"
],
"description": "Optional: the Hebrew-script spelling, the evidence for the reading (for drugs, as in the Ministry of Health registry). Never part of a transcript."
}
}
}
},
"text_he": {
"type": [
"string",
"null"
]
},
"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"
]
},
"topic": {
"type": [
"string",
"null"
]
},
"style": {
"type": [
"string",
"null"
]
},
"style_instruction": {
"type": [
"string",
"null"
]
},
"prompt_origin": {
"type": [
"string",
"null"
]
},
"prompt_kind": {
"type": [
"string",
"null"
]
},
"prompt_note": {
"type": [
"string",
"null"
]
},
"prompt_set": {
"type": [
"string",
"null"
]
},
"term_language": {
"type": [
"string",
"null"
]
},
"paragraph_text": {
"type": [
"string",
"null"
]
},
"verbatim_text": {
"type": [
"string",
"null"
]
},
"aside_text": {
"type": [
"string",
"null"
]
},
"aside_position": {
"type": [
"string",
"null"
]
},
"noise_level": {
"type": [
"string",
"null"
]
},
"notes": {
"type": [
"string",
"null"
],
"description": "Free note on the take. Blank in public reference rows."
},
"model_hypothesis": {
"type": [
"string",
"null"
]
},
"asr_model": {
"type": [
"string",
"null"
]
},
"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"
]
},
"imported_from": {
"type": [
"string",
"null"
]
},
"original_text": {
"type": [
"string",
"null"
]
},
"text_before_normalization": {
"type": [
"string",
"null"
]
},
"source_prompt_id": {
"type": [
"string",
"null"
]
},
"capture_mode": {
"type": [
"string",
"null"
]
},
"tts_split": {
"type": [
"string",
"null"
]
},
"session_id": {
"type": [
"string",
"null"
]
},
"room_tone_id": {
"type": [
"string",
"null"
]
},
"room": {
"type": [
"string",
"null"
]
},
"location": {
"type": [
"string",
"null"
]
},
"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"
]
},
"extra": {
"type": [
"string",
"null"
],
"description": "JSON text holding columns not in the typed schema (mic_name, activity, pronunciation_variants, ...)."
},
"source_url": {
"type": [
"string",
"null"
]
},
"ui_note": {
"type": [
"string",
"null"
]
},
"conditions": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"noise_flags": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"variant_groups": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"background_speech_languages": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"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"
]
},
"clipped": {
"type": "boolean"
},
"tts_eligible": {
"type": [
"boolean",
"null"
]
},
"browser_processing": {
"type": "boolean"
},
"has_digits": {
"type": "boolean"
},
"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"
]
},
"native_rate": {
"type": [
"integer",
"null"
]
},
"clipped_samples": {
"type": [
"integer",
"null"
]
},
"lead_trim_s": {
"type": [
"number",
"null"
]
},
"peak_dbfs": {
"type": [
"number",
"null"
]
},
"floor_dbfs": {
"type": [
"number",
"null"
]
},
"speech_dbfs": {
"type": [
"number",
"null"
]
},
"snr_db": {
"type": [
"number",
"null"
]
},
"edge_head_dbfs": {
"type": [
"number",
"null"
]
},
"edge_tail_dbfs": {
"type": [
"number",
"null"
]
},
"location_accuracy_m": {
"type": [
"number",
"null"
]
},
"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"
}
}
}