{
  "$id": "https://trvis.t0r.dev/json/v1/train.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": true,
  "properties": {
    "AffectDate": {
      "type": "string"
    },
    "AffixContent": {
      "type": "string"
    },
    "AffixContentType": {
      "type": "integer"
    },
    "ETrainTimetableContent": {
      "type": "string"
    },
    "ETrainTimetableContentType": {
      "type": "integer"
    },
    "HasETrainTimetable": {
      "type": "boolean"
    },
    "Name": {
      "minLength": 1,
      "type": "string"
    },
    "Remarks": {
      "type": "string"
    },
    "Trains": {
      "items": {
        "$ref": "/json/v1/train.schema.json"
      },
      "minItems": 0,
      "type": "array"
    }
  },
  "required": [
    "Name",
    "Trains"
  ],
  "type": "object"
}