{
	"id": "HealthInsurancePlan.json",
	"title": "Health Insurance Plan",
	"description": "A US-style health insurance plan, including PPOs, EPOs, and HMOs.",
	"media": {"type": "application/json;profile=http://schema.org/HealthInsurancePlan"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "Intangible.json"}],
	"type": "object",
	"properties": {
		"benefitsSummaryUrl": {
			"type": "string",
			"format": "uri"
		},
		"contactPoint": {"$ref": "ContactPoint.json#/definitions/possibleRefArray"},
		"healthPlanDrugOption": {
			"oneOf": [
				{"$ref": "#/definitions/healthPlanDrugOption"},
				{
					"type": "array",
					"items": {"$ref": "#/definitions/healthPlanDrugOption"}
				}
			]
		},
		"healthPlanDrugTier": {"$ref": "#/definitions/healthPlanDrugTier"},
		"healthPlanId": {"$ref": "#/definitions/healthPlanId"},
		"healthPlanMarketingUrl": {
			"type": "string",
			"format": "uri"
		},
		"includesHealthPlanFormulary": {
			"oneOf": [
				{"$ref": "HealthPlanFormulary.json#/definitions/possibleRef"},
				{
					"type": "array",
					"items": {"$ref": "HealthPlanFormulary.json#/definitions/possibleRef"}
				}
			]
		},
		"includesHealthPlanNetwork": {
			"oneOf": [
				{"$ref": "HealthPlanNetwork.json#/definitions/possibleRef"},
				{
					"type": "array",
					"items": {"$ref": "HealthPlanNetwork.json#/definitions/possibleRef"}
				}
			]
		},
		"usesHealthPlanIdStandard": {"$ref": "#/definitions/usesHealthPlanIdStandard"}
	},
	"links": [
		{
			"rel": "http://schema.org/benefitsSummaryUrl",
			"href": "{+benefitsSummaryUrl}"
		},
		{
			"rel": "http://schema.org/healthPlanMarketingUrl",
			"href": "{+healthPlanMarketingUrl}"
		}
	],
	"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": "{+$}"
					}]
				}
			]
		},
		"healthPlanDrugOption": {
			"title": "Health Plan Drug Option",
			"description": "TODO.",
			"type": "string"
		},
		"healthPlanDrugTier": {
			"title": "Health Plan Drug Tier",
			"description": "The tier(s) of drugs offered by this formulary or insurance plan.",
			"type": "string"
		},
		"healthPlanId": {
			"title": "Health Plan Id",
			"description": "The 14-character, HIOS-generated Plan ID number. (Plan IDs must be unique, even across different markets.)",
			"type": "string"
		},
		"usesHealthPlanIdStandard": {
			"title": "Uses Health Plan Id Standard",
			"description": "The standard for interpreting thePlan ID. The preferred is \"HIOS\". See the Centers for Medicare & Medicaid Services for more details.",
			"anyOf": [
				{"type": "string"},
				{
					"type": "string",
					"format": "uri"
				}
			]
		}
	}
}