{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/certifyos/main/json-schema/certifyos-get-monitoring-pipeline-runs-response-schema.json",
  "title": "GetMonitoringPipelineRunsResponse",
  "description": "Response containing a paginated list of monitoring pipeline runs",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/certifyos-monitoringworkflow-api-openapi.yml#/components/schemas/GetMonitoringPipelineRunsResponse",
  "type": "object",
  "properties": {
    "totalCount": {
      "type": "integer",
      "format": "int64",
      "description": "Total count of pipeline runs matching the filter criteria"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "databankSubjectId": {
            "type": "string"
          },
          "caqhRequestMetaData": {
            "$ref": "#/$defs/JsonNode"
          },
          "npdbRequestMetaData": {
            "$ref": "#/$defs/JsonNode"
          },
          "monitoringWorkflowId": {
            "type": "string"
          },
          "dataPipelineRequestId": {
            "type": "string"
          },
          "createdAt": {
            "$ref": "#/$defs/Date"
          },
          "createdBy": {
            "type": "string"
          },
          "updatedAt": {
            "$ref": "#/$defs/Date"
          },
          "updatedBy": {
            "type": "string"
          },
          "createdByName": {
            "type": "string"
          },
          "updatedByName": {
            "type": "string"
          },
          "pipelineName": {
            "type": "string"
          },
          "stepStatus": {
            "type": "string"
          },
          "stepName": {
            "type": "string"
          },
          "dataPipelineRequestCreatedAt": {
            "$ref": "#/$defs/Date"
          },
          "dataPipelineRequestStepLastCreatedAt": {
            "$ref": "#/$defs/Date"
          },
          "dataPipelineRequestSteps": {
            "$ref": "#/$defs/JsonNode"
          }
        }
      },
      "description": "Array of monitoring pipeline run records"
    },
    "links": {
      "$ref": "#/$defs/PageLinks1",
      "type": "object",
      "description": "Pagination links for navigation"
    }
  },
  "$defs": {
    "Date": {
      "type": "string",
      "format": "date"
    },
    "JsonNode": {
      "type": "object",
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "valueNode": {
          "type": "boolean"
        },
        "containerNode": {
          "type": "boolean"
        },
        "missingNode": {
          "type": "boolean"
        },
        "array": {
          "type": "boolean"
        },
        "object": {
          "type": "boolean"
        },
        "nodeType": {
          "$ref": "#/$defs/JsonNodeType"
        },
        "pojo": {
          "type": "boolean"
        },
        "number": {
          "type": "boolean"
        },
        "integralNumber": {
          "type": "boolean"
        },
        "floatingPointNumber": {
          "type": "boolean"
        },
        "short": {
          "type": "boolean"
        },
        "int": {
          "type": "boolean"
        },
        "long": {
          "type": "boolean"
        },
        "float": {
          "type": "boolean"
        },
        "double": {
          "type": "boolean"
        },
        "bigDecimal": {
          "type": "boolean"
        },
        "bigInteger": {
          "type": "boolean"
        },
        "textual": {
          "type": "boolean"
        },
        "boolean": {
          "type": "boolean"
        },
        "null": {
          "type": "boolean"
        },
        "binary": {
          "type": "boolean"
        }
      }
    },
    "JsonNodeType": {
      "type": "string",
      "enum": [
        "ARRAY",
        "BINARY",
        "BOOLEAN",
        "MISSING",
        "NULL",
        "NUMBER",
        "OBJECT",
        "POJO",
        "STRING"
      ]
    },
    "PageLinks1": {
      "type": "object",
      "properties": {
        "self": {
          "type": "string"
        },
        "next": {
          "type": "string"
        },
        "prev": {
          "type": "string"
        }
      }
    }
  }
}