{
	"id": "DiagnosticLab.json",
	"title": "Diagnostic Lab",
	"description": "A medical laboratory that offers on-site or off-site diagnostic services.",
	"media": {"type": "application/json;profile=http://schema.org/DiagnosticLab"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "Organization.json"}, {"$ref": "MedicalOrganization.json"}],
	"type": "object",
	"properties": {"availableTest": {"$ref": "MedicalTest.json#/definitions/possibleRefArray"}},
	"definitions": {
		"array": {
			"type": "array",
			"items": {"$ref": "#"}
		},
		"possibleRef": {
			"oneOf": [
				{"$ref": "#"},
				{
					"type": "string",
					"format": "uri",
					"links": [{
						"rel": "full",
						"href": "{+$}"
					}]
				}
			]
		},
		"possibleRefArray": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/possibleRef"}
				},
				{
					"type": "string",
					"format": "uri",
					"links": [{
						"rel": "full",
						"href": "{+$}"
					}]
				}
			]
		}
	}
}