{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/epa/refs/heads/main/json-structure/cam-monitor-plan-system-component-structure.json",
  "name": "SystemComponent",
  "description": "SystemComponent schema from Monitor Plan Management OpenAPI Specification",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "example": "12345"
    },
    "monitoringSystemRecordId": {
      "type": "string",
      "example": "12345"
    },
    "componentRecordId": {
      "type": "string",
      "example": "12345"
    },
    "beginDate": {
      "type": "datetime",
      "example": "2024-01-15T12:00:00Z"
    },
    "beginHour": {
      "type": "double",
      "example": 0.0
    },
    "endDate": {
      "type": "datetime",
      "example": "2024-01-15T12:00:00Z"
    },
    "endHour": {
      "type": "double",
      "example": 0.0
    },
    "userId": {
      "type": "string",
      "example": "12345"
    },
    "addDate": {
      "type": "datetime",
      "example": "2024-01-15T12:00:00Z"
    },
    "updateDate": {
      "type": "datetime",
      "example": "2024-01-15T12:00:00Z"
    },
    "component": {
      "$ref": "#/components/schemas/Component"
    },
    "system": {
      "$ref": "#/components/schemas/MonitorSystem"
    }
  },
  "required": [
    "id",
    "monitoringSystemRecordId",
    "componentRecordId",
    "beginDate",
    "beginHour",
    "endDate",
    "endHour",
    "userId",
    "addDate",
    "updateDate",
    "component",
    "system"
  ]
}