{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sap-fieldglass/json-schema/sap-fieldglass-result-confirmation-schema.json",
  "title": "ResultConfirmation",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sap-fieldglass-results-api-openapi.yml#/components/schemas/ResultConfirmation",
  "type": "object",
  "properties": {
    "HEADER": {
      "type": "object",
      "properties": {
        "AppVersion": {
          "type": "string",
          "description": "App version"
        },
        "OSUAStr": {
          "type": "string",
          "description": "Description"
        },
        "NumRecs": {
          "type": "integer",
          "description": "Number of records"
        },
        "Status": {
          "type": "string",
          "description": "Status"
        },
        "Details": {
          "type": "string",
          "description": "Details"
        }
      }
    },
    "backgroundReportPackage": {
      "type": "object",
      "properties": {
        "providerReferenceId": {
          "type": "string",
          "description": "Background check order ID"
        },
        "orderStatus": {
          "type": "string",
          "description": "Overall order status"
        },
        "resultStatus": {
          "type": "string",
          "description": "Overall result status"
        },
        "dateOrderReceived": {
          "type": "string",
          "description": "Date order received"
        },
        "dateOrderCompleted": {
          "type": "string",
          "description": "Verification date"
        },
        "screenings": {
          "type": "array",
          "description": "Details about individual screenings",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "description": "Source name"
              },
              "description": {
                "type": "string",
                "description": "Source detail"
              },
              "type": {
                "type": "string",
                "description": "Test name"
              },
              "screeningStatus": {
                "type": "string",
                "description": "Screening status"
              },
              "screeningResultStatus": {
                "type": "string",
                "description": "Screening result status"
              },
              "dateOrderReceived": {
                "type": "string",
                "description": "Verification date"
              }
            }
          }
        }
      }
    }
  }
}