Message: Batch certificate of analysis

Files

File Type

Download

File Type

Download

JSON Schema

BatchCertificateOfAnalysis.json

API Spec (conformant to OpenAPI Spec)

BatchCertificateOfAnalysis.yml

XML Schema

BatchCertificateOfAnalysis.xsd

JSON Schema

{ "$schema" : "http://json-schema.org/draft-04/schema#", "required" : [ "batchCertificateOfAnalysis" ], "additionalProperties" : false, "properties" : { "batchCertificateOfAnalysis" : { "type" : "object", "additionalProperties" : false, "properties" : { "batchCertificateOfAnalysisHeader" : { "type" : "object", "additionalProperties" : false, "properties" : { "documentDateTime" : { "$ref" : "#/definitions/dateTime" }, "description" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } }, "note" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } }, "batch" : { "type" : "object", "additionalProperties" : false, "properties" : { "manufacturerItemIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } } } }, "supplierItemIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } } } }, "manufacturingParty" : { "type" : "object", "additionalProperties" : false, "properties" : { "name" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } }, "location" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "address" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "name" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } }, "addressLine" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } }, "cityName" : { "$ref" : "#/definitions/string" }, "countryCode" : { "$ref" : "#/definitions/token" }, "postalCode" : { "$ref" : "#/definitions/normalizedString" } } } } } } } } } } }, "manufactureDateTime" : { "$ref" : "#/definitions/dateTime" }, "supplierParty" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } }, "name" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } }, "location" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "address" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "addressLine" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } }, "buildingNumber" : { "$ref" : "#/definitions/string" }, "streetName" : { "$ref" : "#/definitions/string" }, "floor" : { "$ref" : "#/definitions/string" }, "unit" : { "$ref" : "#/definitions/string" }, "cityName" : { "$ref" : "#/definitions/string" }, "countryCode" : { "$ref" : "#/definitions/token" }, "postalCode" : { "$ref" : "#/definitions/normalizedString" } } } } } } } } }, "manufacturingParty" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } }, "name" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } }, "location" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "address" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } }, "name" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } }, "addressLine" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } }, "buildingNumber" : { "$ref" : "#/definitions/string" }, "streetName" : { "$ref" : "#/definitions/string" }, "floor" : { "$ref" : "#/definitions/string" }, "unit" : { "$ref" : "#/definitions/string" }, "cityName" : { "$ref" : "#/definitions/string" }, "countryCode" : { "$ref" : "#/definitions/token" }, "postalCode" : { "$ref" : "#/definitions/normalizedString" } } } } } } } } } } }, "batchCertificateOfAnalysisLine" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "lineNumberId" : { "$ref" : "#/definitions/normalizedString" }, "description" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } }, "note" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } }, "status" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "code" : { "$ref" : "#/definitions/normalizedString" }, "description" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } }, "reasonCode" : { "$ref" : "#/definitions/normalizedString" }, "reason" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } } } } }, "classification" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "codes" : { "type" : "object", "required" : [ "code" ], "additionalProperties" : false, "properties" : { "code" : { "type" : "array", "minItems" : 1, "items" : { "$ref" : "#/definitions/normalizedString" } } } }, "description" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } }, "note" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } } } } }, "originatorParty" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } }, "dunsid" : { "$ref" : "#/definitions/normalizedString" }, "cageid" : { "$ref" : "#/definitions/normalizedString" }, "name" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } }, "location" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "address" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "addressLine" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } }, "buildingNumber" : { "$ref" : "#/definitions/string" }, "buildingName" : { "$ref" : "#/definitions/string" }, "streetName" : { "$ref" : "#/definitions/string" }, "cityName" : { "oneOf" : [ { "type" : "null" }, { "$ref" : "#/definitions/string" } ] }, "countryCode" : { "$ref" : "#/definitions/token" }, "postalCode" : { "$ref" : "#/definitions/normalizedString" } } } }, "contact" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "personName" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "formattedName" : { "$ref" : "#/definitions/string" } } } } } } } } } }, "contact" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { } } } } }, "sampledDateTime" : { "$ref" : "#/definitions/dateTime" }, "testResult" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } }, "testDetail" : { "type" : "object", "additionalProperties" : false, "properties" : { "testMethodValue" : { "type" : "array", "items" : { "type" : "object", "required" : [ "content", "name" ], "additionalProperties" : false, "properties" : { "content" : { "$ref" : "#/definitions/string" }, "name" : { "$ref" : "#/definitions/string" } } } }, "acceptableValue" : { "type" : "array", "items" : { "type" : "object", "required" : [ "content", "name" ], "additionalProperties" : false, "properties" : { "content" : { "$ref" : "#/definitions/string" }, "name" : { "$ref" : "#/definitions/string" } } } }, "testSampleQuantity" : { "$ref" : "#/definitions/decimal" }, "inspectionParty" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } }, "dunsid" : { "$ref" : "#/definitions/normalizedString" }, "cageid" : { "$ref" : "#/definitions/normalizedString" }, "name" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } } } } } } }, "results" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { } } }, "effectiveTimePeriod" : { "type" : "object", "additionalProperties" : false, "properties" : { } } } } } } } } } } }, "definitions" : { "dateTime" : { "type" : "string", "format" : "date-time" }, "string" : { "type" : "string" }, "normalizedString" : { "type" : "string" }, "token" : { "type" : "string" }, "decimal" : { "type" : "number" } } }

API Spec

--- openapi: "3.0.3" info: title: "" description: "" contact: name: "" url: "" email: "example@example.org" version: "" x-oagis-release: "10.8.3" x-oagis-release-date: "2022-09-30" x-oagis-license: "" paths: /biopharmaceutical/batch-certificate-of-analysis: summary: "" description: "" get: summary: "" description: "" tags: - "Batch Certificate Of Analysis" parameters: - name: "id" in: "query" description: "" required: false schema: type: "integer" responses: "200": description: "" content: application/json: schema: $ref: "#/components/schemas/batchCertificateOfAnalysis" post: summary: "" description: "" tags: - "Batch Certificate Of Analysis" requestBody: description: "" content: application/json: schema: $ref: "#/components/schemas/batchCertificateOfAnalysis" responses: "200": description: "" content: application/json: {} components: schemas: batchCertificateOfAnalysis: x-oagis-bie-guid: "oagis-id-5f076b0e24ac4e3a9e5afd347f2db1a4" x-oagis-bie-date-time: "2022-10-26T15:51:54+0000" x-oagis-bie-version: "" required: - "batchCertificateOfAnalysis" additionalProperties: false properties: batchCertificateOfAnalysis: type: "object" additionalProperties: false properties: batchCertificateOfAnalysisHeader: type: "object" additionalProperties: false properties: documentDateTime: type: "string" format: "date-time" description: type: "array" items: type: "string" note: type: "array" items: type: "string" batch: type: "object" additionalProperties: false properties: manufacturerItemIdentification: type: "object" additionalProperties: false properties: id: type: "array" items: type: "string" format: "normalizedString" supplierItemIdentification: type: "object" additionalProperties: false properties: id: type: "array" items: type: "string" format: "normalizedString" manufacturingParty: type: "object" additionalProperties: false properties: name: type: "array" items: type: "string" location: type: "array" items: type: "object" additionalProperties: false properties: address: type: "array" items: type: "object" additionalProperties: false properties: name: type: "array" items: type: "string" addressLine: type: "array" items: type: "string" cityName: type: "string" countryCode: type: "string" format: "token" postalCode: type: "string" format: "normalizedString" manufactureDateTime: type: "string" format: "date-time" supplierParty: type: "object" additionalProperties: false properties: id: type: "array" items: type: "string" format: "normalizedString" name: type: "array" items: type: "string" location: type: "array" items: type: "object" additionalProperties: false properties: address: type: "array" items: type: "object" additionalProperties: false properties: addressLine: type: "array" items: type: "string" buildingNumber: type: "string" streetName: type: "string" floor: type: "string" unit: type: "string" cityName: type: "string" countryCode: type: "string" format: "token" postalCode: type: "string" format: "normalizedString" manufacturingParty: type: "object" additionalProperties: false properties: id: type: "array" items: type: "string" format: "normalizedString" name: type: "array" items: type: "string" location: type: "array" items: type: "object" additionalProperties: false properties: address: type: "array" items: type: "object" additionalProperties: false properties: id: type: "array" items: type: "string" format: "normalizedString" name: type: "array" items: type: "string" addressLine: type: "array" items: type: "string" buildingNumber: type: "string" streetName: type: "string" floor: type: "string" unit: type: "string" cityName: type: "string" countryCode: type: "string" format: "token" postalCode: type: "string" format: "normalizedString" batchCertificateOfAnalysisLine: type: "array" items: type: "object" additionalProperties: false properties: lineNumberId: type: "string" format: "normalizedString" description: type: "array" items: type: "string" note: type: "array" items: type: "string" status: type: "array" items: type: "object" additionalProperties: false properties: code: type: "string" format: "normalizedString" description: type: "array" items: type: "string" reasonCode: type: "string" format: "normalizedString" reason: type: "array" items: type: "string" classification: type: "array" items: type: "object" additionalProperties: false properties: codes: type: "object" required: - "code" additionalProperties: false properties: code: type: "array" minItems: 1 items: type: "string" format: "normalizedString" description: type: "array" items: type: "string" note: type: "array" items: type: "string" originatorParty: type: "object" additionalProperties: false properties: id: type: "array" items: type: "string" format: "normalizedString" dunsid: type: "string" format: "normalizedString" cageid: type: "string" format: "normalizedString" name: type: "array" items: type: "string" location: type: "array" items: type: "object" additionalProperties: false properties: address: type: "array" items: type: "object" additionalProperties: false properties: addressLine: type: "array" items: type: "string" buildingNumber: type: "string" buildingName: type: "string" streetName: type: "string" cityName: oneOf: - nullable: true - type: "string" countryCode: type: "string" format: "token" postalCode: type: "string" format: "normalizedString" contact: type: "array" items: type: "object" additionalProperties: false properties: personName: type: "array" items: type: "object" additionalProperties: false properties: formattedName: type: "string" contact: type: "array" items: type: "object" additionalProperties: false properties: {} sampledDateTime: type: "string" format: "date-time" testResult: type: "array" items: type: "object" additionalProperties: false properties: id: type: "array" items: type: "string" format: "normalizedString" testDetail: type: "object" additionalProperties: false properties: testMethodValue: type: "array" items: type: "object" required: - "content" - "name" additionalProperties: false properties: content: type: "string" name: type: "string" acceptableValue: type: "array" items: type: "object" required: - "content" - "name" additionalProperties: false properties: content: type: "string" name: type: "string" testSampleQuantity: type: "number" inspectionParty: type: "array" items: type: "object" additionalProperties: false properties: id: type: "array" items: type: "string" format: "normalizedString" dunsid: type: "string" format: "normalizedString" cageid: type: "string" format: "normalizedString" name: type: "array" items: type: "string" results: type: "array" items: type: "object" additionalProperties: false properties: {} effectiveTimePeriod: type: "object" additionalProperties: false properties: {}

XML Schema

<?xml version="1.0" encoding="UTF-8"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.openapplications.org/oagis/10" targetNamespace="http://www.openapplications.org/oagis/10" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xsd:element name="BatchCertificateOfAnalysis"> <xsd:complexType> <xsd:sequence> <xsd:element minOccurs="0" maxOccurs="1" name="BatchCertificateOfAnalysisHeader"> <xsd:complexType> <xsd:sequence> <xsd:element name="DocumentDateTime" minOccurs="0" maxOccurs="1" type="xsd:dateTime" /> <xsd:element name="Description" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> <xsd:element name="Note" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> <xsd:element minOccurs="0" maxOccurs="1" name="Batch"> <xsd:complexType> <xsd:sequence> <xsd:element minOccurs="0" maxOccurs="1" name="ManufacturerItemIdentification"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="1" name="SupplierItemIdentification"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="1" name="ManufacturingParty"> <xsd:complexType> <xsd:sequence> <xsd:element name="Name" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> <xsd:element minOccurs="0" maxOccurs="unbounded" name="Location"> <xsd:complexType> <xsd:sequence> <xsd:element minOccurs="0" maxOccurs="unbounded" name="Address"> <xsd:complexType> <xsd:sequence> <xsd:element name="Name" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> <xsd:element name="AddressLine" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> <xsd:element name="CityName" minOccurs="0" maxOccurs="1" type="xsd:string" /> <xsd:element name="CountryCode" minOccurs="0" maxOccurs="1" type="xsd:token" /> <xsd:element name="PostalCode" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="ManufactureDateTime" minOccurs="0" maxOccurs="1" type="xsd:dateTime" /> <xsd:element minOccurs="0" maxOccurs="1" name="SupplierParty"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> <xsd:element name="Name" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> <xsd:element minOccurs="0" maxOccurs="unbounded" name="Location"> <xsd:complexType> <xsd:sequence> <xsd:element minOccurs="0" maxOccurs="unbounded" name="Address"> <xsd:complexType> <xsd:sequence> <xsd:element name="AddressLine" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> <xsd:element name="BuildingNumber" minOccurs="0" maxOccurs="1" type="xsd:string" /> <xsd:element name="StreetName" minOccurs="0" maxOccurs="1" type="xsd:string" /> <xsd:element name="Floor" minOccurs="0" maxOccurs="1" type="xsd:string" /> <xsd:element name="Unit" minOccurs="0" maxOccurs="1" type="xsd:string" /> <xsd:element name="CityName" minOccurs="0" maxOccurs="1" type="xsd:string" /> <xsd:element name="CountryCode" minOccurs="0" maxOccurs="1" type="xsd:token" /> <xsd:element name="PostalCode" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="1" name="ManufacturingParty"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> <xsd:element name="Name" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> <xsd:element minOccurs="0" maxOccurs="unbounded" name="Location"> <xsd:complexType> <xsd:sequence> <xsd:element minOccurs="0" maxOccurs="unbounded" name="Address"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> <xsd:element name="Name" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> <xsd:element name="AddressLine" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> <xsd:element name="BuildingNumber" minOccurs="0" maxOccurs="1" type="xsd:string" /> <xsd:element name="StreetName" minOccurs="0" maxOccurs="1" type="xsd:string" /> <xsd:element name="Floor" minOccurs="0" maxOccurs="1" type="xsd:string" /> <xsd:element name="Unit" minOccurs="0" maxOccurs="1" type="xsd:string" /> <xsd:element name="CityName" minOccurs="0" maxOccurs="1" type="xsd:string" /> <xsd:element name="CountryCode" minOccurs="0" maxOccurs="1" type="xsd:token" /> <xsd:element name="PostalCode" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="unbounded" name="BatchCertificateOfAnalysisLine"> <xsd:complexType> <xsd:sequence> <xsd:element name="LineNumberID" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> <xsd:element name="Description" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> <xsd:element name="Note" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> <xsd:element minOccurs="0" maxOccurs="unbounded" name="Status"> <xsd:complexType> <xsd:sequence> <xsd:element name="Code" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> <xsd:element name="Description" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> <xsd:element name="ReasonCode" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> <xsd:element name="Reason" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="unbounded" name="Classification"> <xsd:complexType> <xsd:sequence> <xsd:element minOccurs="0" maxOccurs="1" name="Codes"> <xsd:complexType> <xsd:sequence> <xsd:element name="Code" minOccurs="1" maxOccurs="unbounded" type="xsd:normalizedString" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="Description" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> <xsd:element name="Note" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="1" name="OriginatorParty"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> <xsd:element name="DUNSID" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> <xsd:element name="CAGEID" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> <xsd:element name="Name" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> <xsd:element minOccurs="0" maxOccurs="unbounded" name="Location"> <xsd:complexType> <xsd:sequence> <xsd:element minOccurs="0" maxOccurs="unbounded" name="Address"> <xsd:complexType> <xsd:sequence> <xsd:element name="AddressLine" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> <xsd:element name="BuildingNumber" minOccurs="0" maxOccurs="1" type="xsd:string" /> <xsd:element name="BuildingName" minOccurs="0" maxOccurs="1" type="xsd:string" /> <xsd:element name="StreetName" minOccurs="0" maxOccurs="1" type="xsd:string" /> <xsd:element name="CityName" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:string" /> <xsd:element name="CountryCode" minOccurs="0" maxOccurs="1" type="xsd:token" /> <xsd:element name="PostalCode" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="unbounded" name="Contact"> <xsd:complexType> <xsd:sequence> <xsd:element minOccurs="0" maxOccurs="unbounded" name="PersonName"> <xsd:complexType> <xsd:sequence> <xsd:element name="FormattedName" minOccurs="0" maxOccurs="1" type="xsd:string" /> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="unbounded" name="Contact"> <xsd:complexType /> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="SampledDateTime" minOccurs="0" maxOccurs="1" type="xsd:dateTime" /> <xsd:element minOccurs="0" maxOccurs="unbounded" name="TestResult"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> <xsd:element minOccurs="0" maxOccurs="1" name="TestDetail"> <xsd:complexType> <xsd:sequence> <xsd:element name="TestMethodValue" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="xsd:string"> <xsd:attribute name="name" use="required" type="xsd:string" /> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> <xsd:element name="AcceptableValue" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="xsd:string"> <xsd:attribute name="name" use="required" type="xsd:string" /> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> <xsd:element name="TestSampleQuantity" minOccurs="0" maxOccurs="1" type="xsd:decimal" /> <xsd:element minOccurs="0" maxOccurs="unbounded" name="InspectionParty"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> <xsd:element name="DUNSID" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> <xsd:element name="CAGEID" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> <xsd:element name="Name" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="unbounded" name="Results"> <xsd:complexType /> </xsd:element> <xsd:element minOccurs="0" maxOccurs="1" name="EffectiveTimePeriod"> <xsd:complexType /> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema>

Â