{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/certifyos/main/json-schema/certifyos-monitoring-supporting-document-update-request-schema.json",
  "title": "Monitoring supporting documents",
  "description": "Supporting document data for PUT operations using replace-all pattern",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/certifyos-monitoringworkflow-api-openapi.yml#/components/schemas/MonitoringSupportingDocumentUpdateRequest",
  "type": "object",
  "required": [
    "fileUrl",
    "fileType",
    "originalFileName"
  ],
  "properties": {
    "fileUrl": {
      "type": "string",
      "pattern": "\\S",
      "description": "URL of the supporting document file"
    },
    "fileType": {
      "type": "string",
      "pattern": "\\S",
      "description": "Type of the supporting document"
    },
    "originalFileName": {
      "type": "string",
      "pattern": "\\S",
      "description": "Original name of the uploaded file"
    },
    "createdAt": {
      "type": "string",
      "description": "Date when the document was created"
    },
    "createdBy": {
      "type": "string",
      "description": "The user who created the record"
    },
    "state": {
      "type": "string",
      "description": "The state associated with the supporting document"
    },
    "expirationDate": {
      "type": "string",
      "description": "The expiration date of the supporting document"
    },
    "source": {
      "type": "string",
      "description": "The source of the supporting document"
    }
  }
}