{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Day",
  "required": [
    "dayId",
    "sessionId",
    "trainingId",
    "startTime"
  ],
  "properties": {
    "dayId": {
      "type": "string",
      "format": "uuid"
    },
    "sessionId": {
      "type": "string",
      "format": "uuid"
    },
    "trainingId": {
      "type": "string",
      "format": "uuid"
    },
    "startTime": {
      "type": "string",
      "format": "datetime"
    },
    "duration": {
      "description": "Duration in seconds",
      "type": "integer"
    },
    "location": {
      "type": "string"
    },
    "url": {
      "type": "string"
    }
  },
  "type": "object",
  "xml": {
    "name": "Day"
  }
}