{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/unece/UneceObservationResult",
	"title": "UneceObservationResult",
	"description": "A collection of diagnostic data, visual or technical, and processing data, performed on a sample.",
	"type": "object",
	"properties": {
		"@context": {
			"$ref": "https://schema.twindev.org/unece/UneceContextType",
			"description": "JSON-LD Context."
		},
		"type": {
			"const": "ObservationResult",
			"description": "JSON-LD Type."
		},
		"actualObservationEndDateTime": {
			"type": "string",
			"description": "The date, time, date time, or other date time value for the end of the observation for this sample observation result.",
			"format": "date-time"
		},
		"actualObservationStartDateTime": {
			"type": "string",
			"description": "The date, time, date time, or other date time value for the start of the observation for this sample observation result.",
			"format": "date-time"
		},
		"applicableMethod": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceSpecifiedMethod"
			},
			"description": "A specified method applicable to this sample observation result."
		},
		"attachedLaboratoryObservationNote": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceLaboratoryObservationNote"
			},
			"description": "A note attached to the laboratory observation results with additional observations and or conclusions."
		},
		"authorizationParty": {
			"$ref": "https://schema.twindev.org/unece/UneceLaboratoryObservationParty",
			"description": "The laboratory observation party who authorized this sample observation result."
		},
		"emergencyObservationIndicator": {
			"type": "boolean",
			"description": "The indication of whether or not the observation was an emergency observation for this sample observation result."
		},
		"expectedValueSpecifiedObservationResultCharacteristic": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceObservationResultCharacteristic"
			},
			"description": "An expected value for the characteristic, to be observed or measured according to the specified type of observation for\nthis sample observation result."
		},
		"generalCharacteristic": {
			"type": "string",
			"description": "The general characteristic, expressed as text, for this sample observation result, such as length, volume, density,\ntitre, sensitivity, conductivity."
		},
		"identifier": {
			"anyOf": [
				{
					"type": "string"
				},
				{
					"$ref": "https://schema.twindev.org/json-ld/JsonLdValueObject"
				}
			],
			"description": "The identifier for this sample observation result."
		},
		"interpretationResultApplicableParameter": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceObservationObjectiveParameter"
			},
			"description": "An applicable observation objective parameter of the interpretation result for this sample observation result."
		},
		"laboratoryAnalysisRequestSpecifiedReference": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceLaboratoryObservationReference"
			},
			"description": "A laboratory observation analysis request reference specified for this sample observation result."
		},
		"materialType": {
			"type": "string",
			"description": "The context material type of the observed sample, expressed as text, such as animal or blood."
		},
		"materialTypeCode": {
			"type": "string",
			"description": "The code specifying a material type for this sample observation result."
		},
		"maximumStandardValueSpecifiedObservationResultCharacteristic": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceObservationResultCharacteristic"
			},
			"description": "A maximum standard value of the values for the characteristic observed or measured by using the specified type of\nobservation for this sample observation result."
		},
		"minimumStandardValueSpecifiedObservationResultCharacteristic": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceObservationResultCharacteristic"
			},
			"description": "A minimum standard value of the values for the characteristic observed or measured by using the specified type of\nobservation for this sample observation result."
		},
		"observationDiscontinuationReason": {
			"type": "string",
			"description": "The observation discontinuation reason, expressed as text, for this sample observation result."
		},
		"observationDiscontinuationReasonCode": {
			"type": "string",
			"description": "The code specifying the observation discontinuation reason for this sample observation result."
		},
		"observationTimeFrame": {
			"type": "string",
			"description": "The observation time frame, expressed as text, for this sample observation result."
		},
		"observedValueSpecifiedObservationResultCharacteristic": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceObservationResultCharacteristic"
			},
			"description": "An observed value for the characteristic, acquired by observing or measuring according to the specified type of\nobservation for this sample observation result."
		},
		"outsourcedLaboratoryParty": {
			"$ref": "https://schema.twindev.org/unece/UneceLaboratoryObservationParty",
			"description": "The outsourced laboratory party who performed this sample observation result."
		},
		"outsourcedObservationIndicator": {
			"type": "boolean",
			"description": "The indication of whether or not the observation was an outsourced observation (performed by a third party)."
		},
		"shareableIndicator": {
			"type": "boolean",
			"description": "The indication of whether or not this sample observation result is shareable."
		},
		"specifiedLaboratoryObservationInstructions": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceLaboratoryObservationInstructions"
			},
			"description": "A set of laboratory observation instructions specified for this sample observation result."
		},
		"specifiedLaboratoryObservationReference": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceLaboratoryObservationReference"
			},
			"description": "A laboratory observation reference specified for this sample observation result."
		},
		"usedMethod": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceLaboratoryObservationAnalysisMethod"
			},
			"description": "A laboratory observation analysis method used for this sample observation result."
		}
	},
	"required": ["type", "identifier"]
}
