This is the structure of the YAML file itself. Note that only vocab and ontology are required, everything else is optional

interface RawVocab {
    class?: RawVocabEntry[];
    datatype?: RawVocabEntry[];
    individual?: RawVocabEntry[];
    json_ld?: JSON_LD;
    ontology: RawVocabEntry[];
    prefix?: RawVocabEntry[];
    property?: RawVocabEntry[];
    vocab: RawVocabEntry[];
}

Properties

class?: RawVocabEntry[]
datatype?: RawVocabEntry[]
individual?: RawVocabEntry[]
json_ld?: JSON_LD
ontology: RawVocabEntry[]
prefix?: RawVocabEntry[]
property?: RawVocabEntry[]
vocab: RawVocabEntry[]