{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/gs1-epcis/EpcisQueryDocument",
	"title": "EpcisQueryDocument",
	"description": "EPCIS 2.0 QueryDocument used to submit queries to an EPCIS repository.",
	"type": "object",
	"properties": {
		"@context": {
			"$ref": "https://schema.twindev.org/gs1-epcis/EpcisContextType",
			"description": "The"
		},
		"id": {
			"type": "string",
			"description": "The JSON-LD document id."
		},
		"type": {
			"const": "EPCISQueryDocument",
			"description": "JSON-LD Type."
		},
		"schemaVersion": {
			"type": "string",
			"description": "Schema version."
		},
		"creationDate": {
			"type": "string",
			"description": "Creation Date."
		},
		"epcisBody": {
			"$ref": "https://schema.twindev.org/gs1-epcis/EpcisQueryDocumentBody",
			"description": "The EPCIS Body."
		}
	},
	"required": ["@context", "type", "epcisBody"]
}
