{
	"id": "DietarySupplement.json",
	"title": "Dietary Supplement",
	"description": "A product taken by mouth that contains a dietary ingredient intended to supplement the diet. Dietary ingredients may include vitamins, minerals, herbs or other botanicals, amino acids, and substances such as enzymes, organ tissues, glandulars and metabolites.",
	"media": {"type": "application/json;profile=http://schema.org/DietarySupplement"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "MedicalEntity.json"}, {"$ref": "Substance.json"}],
	"type": "object",
	"properties": {
		"activeIngredient": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/activeIngredient"}
				},
				{"$ref": "#/definitions/activeIngredient"}
			]
		},
		"background": {"$ref": "#/definitions/background"},
		"isProprietary": {"$ref": "#/definitions/isProprietary"},
		"legalStatus": {"$ref": "#/definitions/legalStatus"},
		"manufacturer": {"$ref": "Organization.json#/definitions/possibleRef"},
		"maximumIntake": {"$ref": "MaximumDoseSchedule.json#/definitions/possibleRef"},
		"mechanismOfAction": {"$ref": "#/definitions/mechanismOfAction"},
		"nonProprietaryName": {"$ref": "#/definitions/nonProprietaryName"},
		"proprietaryName": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/proprietaryName"}
				},
				{"$ref": "#/definitions/proprietaryName"}
			]
		},
		"recommendedIntake": {"$ref": "RecommendedDoseSchedule.json#/definitions/possibleRefArray"},
		"safetyConsideration": {"$ref": "#/definitions/safetyConsideration"},
		"targetPopulation": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/targetPopulation"}
				},
				{"$ref": "#/definitions/targetPopulation"}
			]
		}
	},
	"definitions": {
		"activeIngredient": {
			"title": "Active Ingredient",
			"description": "An active ingredient, typically chemical compounds and/or biologic substances.",
			"type": "string"
		},
		"array": {
			"type": "array",
			"items": {"$ref": "#"}
		},
		"background": {
			"title": "Background",
			"description": "Descriptive information establishing a historical perspective on the supplement. May include the rationale for the name, the population where the supplement first came to prominence, etc.",
			"type": "string"
		},
		"isProprietary": {
			"title": "Is Proprietary",
			"description": "True if this item's name is a proprietary/brand name (vs. generic name).",
			"type": "boolean"
		},
		"legalStatus": {
			"title": "Legal Status",
			"description": "The drug or supplement's legal status, including any controlled substance schedules that apply.",
			"anyOf": [{"$ref": "DrugLegalStatus.json#/definitions/possibleRef"}, {"$ref": "MedicalEnumeration.json#/definitions/possibleRef"}, {"type": "string"}]
		},
		"mechanismOfAction": {
			"title": "Mechanism of Action",
			"description": "The specific biochemical interaction through which this drug or supplement produces its pharmacological effect.",
			"type": "string"
		},
		"nonProprietaryName": {
			"title": "Non Proprietary Name",
			"description": "The generic name of this drug or supplement.",
			"type": "string"
		},
		"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": "{+$}"
					}]
				}
			]
		},
		"proprietaryName": {
			"title": "Proprietary Name",
			"description": "Proprietary name given to the diet plan, typically by its originator or creator.",
			"type": "string"
		},
		"safetyConsideration": {
			"title": "Safety Consideration",
			"description": "Any potential safety concern associated with the supplement. May include interactions with other drugs and foods, pregnancy, breastfeeding, known adverse reactions, and documented efficacy of the supplement.",
			"type": "string"
		},
		"targetPopulation": {
			"title": "Target Population",
			"description": "Characteristics of the population for which this is intended, or which typically uses it, e.g. 'adults'.",
			"type": "string"
		}
	}
}