changedOutput schema / properties / result / anyOf
Previous value: -[
- {
- "description": "Stato in tempo reale completo di un treno con relative fermate (andamentoTreno).",
- "properties": {
- "arrivato": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "True se giunto a destinazione finale"
- },
- "categoria": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Sigla categoria"
- },
- "categoriaDescrizione": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Descrizione categoria"
- },
- "circolante": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "True se in viaggio"
- },
- "codiceCliente": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Codice dell'impresa ferroviaria"
- },
- "compNumeroTreno": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Etichetta completa del treno"
- },
- "compOraUltimoRilevamento": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Orario ultimo rilevamento HH:MM"
- },
- "compOrarioArrivo": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Orario arrivo HH:MM"
- },
- "compOrarioPartenza": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Orario partenza HH:MM"
- },
- "compRitardo": {
- "anyOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Testo del ritardo multilingua"
- },
- "compRitardoAndamento": {
- "anyOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Descrizione estesa ritardo multilingua"
- },
- "dataPartenzaTreno": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Data di partenza (mezzanotte ms)"
- },
- "dataPartenzaTrenoAsDate": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Data di partenza YYYY-MM-DD"
- },
- "destinazione": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Nome stazione di destinazione"
- },
- "fermate": {
- "description": "Lista ordinata delle fermate commerciali con orari e binari",
- "items": {
- "description": "Singola fermata lungo l'itinerario del treno.",
- "properties": {
- "actualFermataType": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Stato fermata: 1=effettuata/regolare, 0=non ancora arrivato, 2=non prevista, 3=soppressa"
- },
- "arrivoReale": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Orario reale di arrivo in millisecondi"
- },
- "arrivo_teorico": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Orario teorico di arrivo in millisecondi"
- },
- "binarioEffettivoArrivoDescrizione": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Binario effettivo di arrivo"
- },
- "binarioEffettivoPartenzaDescrizione": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Binario effettivo di partenza"
- },
- "binarioProgrammatoArrivoDescrizione": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Binario programmato di arrivo"
- },
- "binarioProgrammatoPartenzaDescrizione": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Binario programmato di partenza"
- },
- "effettiva": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Orario effettivo in millisecondi (se rilevato)"
- },
- "id": {
- "description": "Codice stazione (es. S01700)",
- "type": "string"
- },
- "partenzaReale": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Orario reale di partenza in millisecondi"
- },
- "partenza_teorica": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Orario teorico di partenza in millisecondi"
- },
- "programmata": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Orario programmato in millisecondi"
- },
- "progressivo": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Numero progressivo fermata nell'itinerario"
- },
- "ritardo": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Ritardo complessivo alla fermata in minuti"
- },
- "ritardoArrivo": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Ritardo in arrivo in minuti"
- },
- "ritardoPartenza": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Ritardo in partenza in minuti"
- },
- "stazione": {
- "description": "Nome della stazione",
- "type": "string"
- },
- "tipoFermata": {
- "description": "'P' per Partenza/Origine, 'F' per Fermata intermedia, 'A' per Arrivo/Destinazione",
- "type": "string"
- },
- "visualizzaPrevista": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Flag visualizzazione orario previsto"
- }
- },
- "required": [
- "stazione",
- "id",
- "tipoFermata"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "fermateSoppresse": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": true,
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Eventuali fermate soppresse"
- },
- "idDestinazione": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Codice stazione di destinazione"
- },
- "idOrigine": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Codice stazione di origine"
- },
- "impresaFerroviaria": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Nome dell'impresa ferroviaria"
- },
- "inStazione": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "True se fermo in stazione"
- },
- "nonPartito": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "True se non ancora partito"
- },
- "numeroTreno": {
- "description": "Numero del treno",
- "type": "integer"
- },
- "oraUltimoRilevamento": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Orario ultimo rilevamento in ms"
- },
- "orarioArrivo": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Orario programmato di arrivo a destinazione"
- },
- "orarioPartenza": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Orario programmato di partenza dall'origine"
- },
- "origine": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Nome stazione di origine"
- },
- "provvedimento": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "0=regolare, 1=soppresso, 2=parzialmente soppresso, 3=deviato"
- },
- "riprogrammazione": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Stato riprogrammazione"
- },
- "ritardo": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Ritardo attuale in minuti"
- },
- "statoDescrizione": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Descrizione testuale dello stato di circolazione"
- },
- "stazioneUltimoRilevamento": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Stazione/posto di movimento dell'ultimo rilevamento"
- },
- "subTitle": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Sottotitolo o note su soppressioni parziali"
- },
- "tipoTreno": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Codice tipo treno (es. PG regolare, ST soppresso, PP/SI/SF)"
- }
- },
- "required": [
- "numeroTreno"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "description": "Stato in tempo reale completo di un treno con relative fermate (andamentoTreno).",
+ "properties": {
+ "arrivato": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "True se giunto a destinazione finale"
+ },
+ "categoria": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Sigla categoria"
+ },
+ "categoriaDescrizione": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Descrizione categoria"
+ },
+ "circolante": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "True se in viaggio"
+ },
+ "codiceCliente": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Codice dell'impresa ferroviaria"
+ },
+ "compNumeroTreno": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Etichetta completa del treno"
+ },
+ "compOraUltimoRilevamento": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Orario ultimo rilevamento HH:MM"
+ },
+ "compOrarioArrivo": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Orario arrivo HH:MM"
+ },
+ "compOrarioPartenza": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Orario partenza HH:MM"
+ },
+ "compRitardo": {
+ "anyOf": [
+ {
+ "items": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Testo del ritardo multilingua (elementi possono essere null)"
+ },
+ "compRitardoAndamento": {
+ "anyOf": [
+ {
+ "items": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Descrizione estesa ritardo multilingua (elementi possono essere null)"
+ },
+ "dataPartenzaTreno": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Data di partenza (mezzanotte ms)"
+ },
+ "dataPartenzaTrenoAsDate": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Data di partenza YYYY-MM-DD"
+ },
+ "destinazione": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Nome stazione di destinazione"
+ },
+ "fermate": {
+ "description": "Lista ordinata delle fermate commerciali con orari e binari",
+ "items": {
+ "description": "Singola fermata lungo l'itinerario del treno.",
+ "properties": {
+ "actualFermataType": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Stato fermata: 1=effettuata/regolare, 0=non ancora arrivato, 2=non prevista, 3=soppressa"
+ },
+ "arrivoReale": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Orario reale di arrivo in millisecondi"
+ },
+ "arrivo_teorico": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Orario teorico di arrivo in millisecondi"
+ },
+ "binarioEffettivoArrivoDescrizione": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Binario effettivo di arrivo"
+ },
+ "binarioEffettivoPartenzaDescrizione": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Binario effettivo di partenza"
+ },
+ "binarioProgrammatoArrivoDescrizione": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Binario programmato di arrivo"
+ },
+ "binarioProgrammatoPartenzaDescrizione": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Binario programmato di partenza"
+ },
+ "effettiva": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Orario effettivo in millisecondi (se rilevato)"
+ },
+ "id": {
+ "description": "Codice stazione (es. S01700)",
+ "type": "string"
+ },
+ "partenzaReale": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Orario reale di partenza in millisecondi"
+ },
+ "partenza_teorica": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Orario teorico di partenza in millisecondi"
+ },
+ "programmata": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Orario programmato in millisecondi"
+ },
+ "progressivo": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Numero progressivo fermata nell'itinerario"
+ },
+ "ritardo": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Ritardo complessivo alla fermata in minuti"
+ },
+ "ritardoArrivo": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Ritardo in arrivo in minuti"
+ },
+ "ritardoPartenza": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Ritardo in partenza in minuti"
+ },
+ "stazione": {
+ "description": "Nome della stazione",
+ "type": "string"
+ },
+ "tipoFermata": {
+ "description": "'P' per Partenza/Origine, 'F' per Fermata intermedia, 'A' per Arrivo/Destinazione",
+ "type": "string"
+ },
+ "visualizzaPrevista": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Flag visualizzazione orario previsto"
+ }
+ },
+ "required": [
+ "stazione",
+ "id",
+ "tipoFermata"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "fermateSoppresse": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Eventuali fermate soppresse"
+ },
+ "idDestinazione": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Codice stazione di destinazione"
+ },
+ "idOrigine": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Codice stazione di origine"
+ },
+ "impresaFerroviaria": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Nome dell'impresa ferroviaria"
+ },
+ "inStazione": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "True se fermo in stazione"
+ },
+ "nonPartito": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "True se non ancora partito"
+ },
+ "numeroTreno": {
+ "description": "Numero del treno",
+ "type": "integer"
+ },
+ "oraUltimoRilevamento": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Orario ultimo rilevamento in ms"
+ },
+ "orarioArrivo": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Orario programmato di arrivo a destinazione"
+ },
+ "orarioPartenza": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Orario programmato di partenza dall'origine"
+ },
+ "origine": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Nome stazione di origine"
+ },
+ "provvedimento": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "0=regolare, 1=soppresso, 2=parzialmente soppresso, 3=deviato"
+ },
+ "riprogrammazione": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Stato riprogrammazione"
+ },
+ "ritardo": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Ritardo attuale in minuti"
+ },
+ "statoDescrizione": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Descrizione testuale dello stato di circolazione"
+ },
+ "stazioneUltimoRilevamento": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Stazione/posto di movimento dell'ultimo rilevamento"
+ },
+ "subTitle": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Sottotitolo o note su soppressioni parziali"
+ },
+ "tipoTreno": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Codice tipo treno (es. PG regolare, ST soppresso, PP/SI/SF)"
+ }
+ },
+ "required": [
+ "numeroTreno"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]