avro-schema-validator
Version:
A tool to infer AVRO schema's from JSON messages, and to validate it.
88 lines (87 loc) • 3.56 kB
JSON
{
"identifier": "KAR0-0306112239-SW",
"sender": "KARO@CLETS.DOJ.CA.GOV",
"sent": "2003-06-11T22:39:00-07:00",
"status": "Actual",
"msgType": "Alert",
"source": { "string": "SW" },
"scope": "Public",
"restriction": null,
"addresses": null,
"code": null,
"note": null,
"references": null,
"incidents": null,
"info": {
"array": [
{
"language": { "string": "en-US" },
"category": { "eu.driver.model.cap.Category": "Rescue" },
"event": "Child Abduction",
"responseType": null,
"urgency": "Immediate",
"severity": "Severe",
"certainty": "Likely",
"audience": null,
"eventCode": { "eu.driver.model.cap.ValueNamePair": { "valueName": "SAME", "value": "CAE" } },
"effective": null,
"onset": null,
"expires": null,
"senderName": { "string": "Los Angeles Police Dept - LAPD" },
"headline": { "string": "Amber Alert in Los Angeles County" },
"description": {
"string": "DATE/TIME: 06/11/03, 1915 HRS. VICTIM(S): KHAYRI DOE JR. M/B BLK/BRO 3'0\", 40 LBS. LIGHT COMPLEXION. DOB 06/24/01. WEARING RED SHORTS, WHITE T-SHIRT, W/BLUE COLLAR. LOCATION: 5721 DOE ST., LOS ANGELES, CA. SUSPECT(S): KHAYRI DOE SR. DOB 04/18/71 M/B, BLK HAIR, BRO EYE. VEHICLE: 81' BUICK 2-DR, BLUE (4XXX000)."
},
"instruction": null,
"web": null,
"contact": { "string": "DET. SMITH, 77TH DIV, LOS ANGELES POLICE DEPT-LAPD AT 213 485-2389" },
"parameter": null,
"resource": null,
"area": {
"eu.driver.model.cap.Area": {
"areaDesc": "Los Angeles County",
"polygon": null,
"circle": null,
"geocode": { "eu.driver.model.cap.ValueNamePair": { "valueName": "SAME", "value": "006037" } },
"altitude": null,
"ceiling": null
}
}
},
{
"language": { "string": "es-US" },
"category": { "eu.driver.model.cap.Category": "Rescue" },
"event": "Abducci�n de Ni�o",
"responseType": null,
"urgency": "Immediate",
"severity": "Severe",
"certainty": "Likely",
"audience": null,
"eventCode": { "eu.driver.model.cap.ValueNamePair": { "valueName": "SAME", "value": "CAE" } },
"effective": null,
"onset": null,
"expires": null,
"senderName": { "string": "Departamento de Polic�a de Los �ngeles - LAPD" },
"headline": { "string": "Alerta Amber en el condado de Los �ngeles" },
"description": {
"string": "DATE/TIME: 06/11/03, 1915 HORAS. V�CTIMAS: KHAYRI DOE JR. M/B BLK/BRO 3'0\", 40 LIBRAS. TEZ LIGERA. DOB 06/24/01. CORTOCIRCUITOS ROJOS QUE USAN, CAMISETA BLANCA, COLLAR DE W/BLUE. LOCALIZACI�N: 5721 DOE ST., LOS �NGELES. SOSPECHOSO: KHAYRI DOE ST. DOB 04/18/71 M/B, PELO DEL NEGRO, OJO DE BRO. VEH�CULO: 81' BUICK 2-DR, AZUL (4XXX000)"
},
"instruction": null,
"web": null,
"contact": { "string": "DET. SMITH, 77TH DIV, LOS ANGELES POLICE DEPT-LAPD AT 213 485-2389" },
"parameter": null,
"resource": null,
"area": {
"eu.driver.model.cap.Area": {
"areaDesc": "condado de Los �ngeles",
"polygon": null,
"circle": null,
"geocode": { "eu.driver.model.cap.ValueNamePair": { "valueName": "SAME", "value": "006037" } },
"altitude": null,
"ceiling": null
}
}
}
]
}
}