{
	"id": "Joint.json",
	"title": "Joint",
	"description": "The anatomical location at which two or more bones make contact.",
	"media": {"type": "application/json;profile=http://schema.org/Joint"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "MedicalEntity.json"}, {"$ref": "AnatomicalStructure.json"}],
	"type": "object",
	"properties": {
		"biomechnicalClass": {"$ref": "#/definitions/biomechnicalClass"},
		"functionalClass": {"$ref": "#/definitions/functionalClass"},
		"structuralClass": {"$ref": "#/definitions/structuralClass"}
	},
	"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": "{+$}"
					}]
				}
			]
		},
		"biomechnicalClass": {
			"title": "Biomechnical Class",
			"description": "The biomechanical properties of the bone.",
			"type": "string"
		},
		"functionalClass": {
			"title": "Functional Class",
			"description": "The degree of mobility the joint allows.",
			"anyOf": [{"$ref": "MedicalEntity.json#/definitions/possibleRef"}, {"type": "string"}]
		},
		"structuralClass": {
			"title": "Structural Class",
			"description": "The name given to how bone physically connects to each other.",
			"type": "string"
		}
	}
}