Compare commits
5 Commits
v3.0.3-alp
...
v3.0.3-alp
| Author | SHA1 | Date | |
|---|---|---|---|
| a7fe008fee | |||
| 6cfc12b538 | |||
| 53ce528d56 | |||
| 25c1793df3 | |||
| 48f1a31378 |
@@ -36,6 +36,12 @@
|
|||||||
"description": "The TOC operating the service",
|
"description": "The TOC operating the service",
|
||||||
"minLength": 2,
|
"minLength": 2,
|
||||||
"maxLength": 2
|
"maxLength": 2
|
||||||
|
},
|
||||||
|
"ct": {
|
||||||
|
"type": "boolean",
|
||||||
|
"title": "Cancelled Throughout",
|
||||||
|
"name": "Cancelled Throughout",
|
||||||
|
"description": "Whether the train is cancelled throughout"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -128,23 +128,6 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"r": {
|
|
||||||
"type": "string",
|
|
||||||
"title": "RID",
|
|
||||||
"description": "The RID of the service",
|
|
||||||
"maxLength": 16
|
|
||||||
},
|
|
||||||
"u": {
|
|
||||||
"title": "UID",
|
|
||||||
"description": "The UID of the service",
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"s": {
|
|
||||||
"title": "SSD",
|
|
||||||
"description": "The SSD of the service",
|
|
||||||
"type": "string",
|
|
||||||
"format": "date"
|
|
||||||
},
|
|
||||||
"h": {
|
"h": {
|
||||||
"title": "train_id",
|
"title": "train_id",
|
||||||
"description": "Headcode",
|
"description": "Headcode",
|
||||||
@@ -166,7 +149,7 @@
|
|||||||
},
|
},
|
||||||
"cr": {
|
"cr": {
|
||||||
"title": "Cancel Reason",
|
"title": "Cancel Reason",
|
||||||
"type": "integer"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"cl": {
|
"cl": {
|
||||||
"title": "Cancel Location",
|
"title": "Cancel Location",
|
||||||
@@ -180,7 +163,7 @@
|
|||||||
},
|
},
|
||||||
"dr": {
|
"dr": {
|
||||||
"title": "Delay Reason",
|
"title": "Delay Reason",
|
||||||
"type": "integer"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"dl": {
|
"dl": {
|
||||||
"title": "Delay Location",
|
"title": "Delay Location",
|
||||||
@@ -208,7 +191,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["r", "s", "h", "t", "ip", "ic"]
|
"required": ["h", "t", "ip", "ic"]
|
||||||
},
|
},
|
||||||
"locations": {
|
"locations": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@@ -218,7 +201,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pis": {
|
"pis": {
|
||||||
"$ref": "./schemas/api/pis-object.json"
|
"description": "PIS data for the service (if available)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user