{
    "namespace": "org.test",
    "type": "record",
    "name": "all_type_schema",
    "doc": "All supported avro types and property variations",
    "fields": [
        {"name": "pk0", "type": "string"},
        {"name": "pk1", "type": "string"},
        {"name": "pk2", "type": "string"},
        {"name": "stringset_string", "type": ["string", "null"], "mutex": false },
        {"name": "string_string", "type": ["string", "null"], "mutex": true },
        {"name": "stringtq_string","type": ["string", "null"], "quantum": "YMD"},
        {"name": "stringset_bytes", "type": ["bytes", "null"], "mutex": false},
        {"name": "string_bytes", "type": ["bytes", "null"] , "mutex": true },
        {"name": "stringsettq_bytes", "type": ["bytes", "null"], "quantum": "YMD"},
        {"name": "stringset_stringarray", "type": [{"type": "array", "items": "string"}, "null"]},
        {"name": "stringtq_stringarray", "type": [{"type": "array", "items": {"type": "string", "quantum": "YMD"}}, "null"]},
        {"name": "stringset_bytesarray", "type": [{"type": "array", "items": "string"}, "null"]},
        {"name": "stringtq_bytesarray", "type": [{"type": "array", "items": {"type": "bytes", "quantum": "YMD"}}, "null"]},
        {"name": "idset_long", "type": ["long", "null"], "mutex": false, "fieldType": "id"},
        {"name": "id_long", "type": ["long", "null"], "mutex": true, "fieldType": "id"},
        {"name": "idtq_long", "type": ["long", "null"], "quantum": "YMD", "fieldType": "id"},
        {"name": "idset_int", "type": ["int", "null"], "mutex": false, "fieldType": "id"},
        {"name": "id_int", "type": ["int", "null"], "mutex": true, "fieldType": "id"},
        {"name": "idsettq_int", "type": ["int", "null"], "quantum": "YMD", "fieldType": "id"},
        {"name": "idset_longarray", "type": [{"type": "array", "items": "long"}, "null"], "fieldType": "id"},
        {"name": "idtq_longarray", "type": [{"type": "array", "items": {"type": "long", "quantum": "YMD"}}, "null"], "fieldType": "id"},
        {"name": "idset_intarray", "type": [{"type": "array", "items": "int"}, "null"]},
        {"name": "int_long", "type": ["long", "null"], "fieldType": "int"},
        {"name": "int_int", "type": ["int", "null"], "fieldType": "int"},
        {"name": "decimal_bytes", "type": ["bytes", "null"], "fieldType": "decimal", "scale": 2},
        {"name": "decimal_float", "type": ["float", "null"], "fieldType": "decimal", "scale": 2},
        {"name": "decimal_double", "type": ["double", "null"], "fieldType": "decimal", "scale": 2},
        {"name": "dateint_bytes_ts", "type": ["bytes", "null"], "fieldType": "dateInt", "layout": "2006-01-02 15:04:05", "unit": "s", "epoch": "1970-01-01 00:00:00"},
        {"name": "recordtime_bytes_ts", "type": ["bytes", "null"], "fieldType": "recordTime", "layout": "2006-01-02 15:04:05", "unit": "s"},
        {"name": "recordtime_bytes_int", "type": ["bytes", "null"], "fieldType": "recordTime", "layout": "2006-01-02 15:04:05", "unit": "s"},
        {"name": "bool_bool", "type": ["boolean", "null"]},
        {"name": "timestamp_bytes_ts", "type": ["bytes", "null"], "fieldType": "timestamp", "layout": "2006-01-02 15:04:05", "epoch": "1970-01-01 00:00:00"},
        {"name": "timestamp_bytes_int", "type": ["bytes", "null"], "fieldType": "timestamp", "unit": "s", "layout": "2006-01-02 15:04:05", "epoch": "1970-01-01 00:00:00"}
    ]
}
