{
	"id": "Legislation.json",
	"title": "Legislation",
	"description": "A legal document such as an act, decree, bill, etc. (enforceable or not) or a component of a legal act (like an article).",
	"media": {"type": "application/json;profile=http://schema.org/Legislation"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "CreativeWork.json"}],
	"type": "object",
	"properties": {
		"legislationApplies": {
			"oneOf": [
				{"$ref": "Legislation.json#/definitions/possibleRef"},
				{
					"type": "array",
					"items": {"$ref": "Legislation.json#/definitions/possibleRef"}
				}
			]
		},
		"legislationChanges": {
			"oneOf": [
				{"$ref": "Legislation.json#/definitions/possibleRef"},
				{
					"type": "array",
					"items": {"$ref": "Legislation.json#/definitions/possibleRef"}
				}
			]
		},
		"legislationConsolidates": {
			"oneOf": [
				{"$ref": "Legislation.json#/definitions/possibleRef"},
				{
					"type": "array",
					"items": {"$ref": "Legislation.json#/definitions/possibleRef"}
				}
			]
		},
		"legislationDate": {"$ref": "#/definitions/legislationDate"},
		"legislationDateVersion": {"$ref": "#/definitions/legislationDateVersion"},
		"legislationIdentifier": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/legislationIdentifier"}
				},
				{"$ref": "#/definitions/legislationIdentifier"}
			]
		},
		"legislationJurisdiction": {"$ref": "#/definitions/legislationJurisdiction"},
		"legislationLegalForce": {
			"oneOf": [
				{"$ref": "LegalForceStatus.json#/definitions/possibleRef"},
				{
					"type": "array",
					"items": {"$ref": "LegalForceStatus.json#/definitions/possibleRef"}
				}
			]
		},
		"legislationPassedBy": {"$ref": "#/definitions/legislationPassedBy"},
		"legislationResponsible": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/legislationResponsible"}
				},
				{"$ref": "#/definitions/legislationResponsible"}
			]
		},
		"legislationTransposes": {
			"oneOf": [
				{"$ref": "Legislation.json#/definitions/possibleRef"},
				{
					"type": "array",
					"items": {"$ref": "Legislation.json#/definitions/possibleRef"}
				}
			]
		},
		"legislationType": {"$ref": "#/definitions/legislationType"}
	},
	"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": "{+$}"
					}]
				}
			]
		},
		"legislationDate": {
			"title": "Legislation Date",
			"description": "The date of adoption or signature of the legislation. This is the date at which the text is officially aknowledged to be a legislation, even though it might not even be published or in force.",
			"type": "string",
			"format": "date"
		},
		"legislationDateVersion": {
			"title": "Legislation Date Version",
			"description": "The point-in-time at which the provided description of the legislation is valid (e.g. : when looking at the law on the 2016-04-07 (= dateVersion), I get the consolidation of 2015-04-12 of the \"National Insurance Contributions Act 2015\")",
			"type": "string",
			"format": "date"
		},
		"legislationIdentifier": {
			"title": "Legislation Identifier",
			"description": "An identifier for the legislation. This can be either a string-based identifier, like the CELEX at EU level or the NOR in France, or a web-based, URL/URI identifier, like an ELI (European Legislation Identifier) or an URN-Lex.",
			"anyOf": [
				{"type": "string"},
				{
					"type": "string",
					"format": "uri"
				}
			]
		},
		"legislationJurisdiction": {
			"title": "Legislation Jurisdiction",
			"description": "The jurisdiction from which the legislation originates.",
			"anyOf": [{"$ref": "AdministrativeArea.json#/definitions/possibleRef"}, {"type": "string"}]
		},
		"legislationPassedBy": {
			"title": "Legislation Passed by",
			"description": "The person or organization that originally passed or made the law : typically parliament (for primary legislation) or government (for secondary legislation). This indicates the \"legal author\" of the law, as opposed to its physical author.",
			"anyOf": [{"$ref": "Organization.json#/definitions/possibleRef"}, {"$ref": "Person.json#/definitions/possibleRef"}]
		},
		"legislationResponsible": {
			"title": "Legislation Responsible",
			"description": "An individual or organization that has some kind of responsibility for the legislation. Typically the ministry who is/was in charge of elaborating the legislation, or the adressee for potential questions about the legislation once it is published.",
			"anyOf": [{"$ref": "Organization.json#/definitions/possibleRef"}, {"$ref": "Person.json#/definitions/possibleRef"}]
		},
		"legislationType": {
			"title": "Legislation Type",
			"description": "The type of the legislation. Examples of values are \"law\", \"act\", \"directive\", \"decree\", \"regulation\", \"statutory instrument\", \"loi organique\", \"règlement grand-ducal\", etc., depending on the country.",
			"anyOf": [{"$ref": "CategoryCode.json#/definitions/possibleRef"}, {"type": "string"}]
		}
	}
}