{
	"id": "Question.json",
	"title": "Question",
	"description": "A specific question - e.g. from a user seeking answers online, or collected in a Frequently Asked Questions (FAQ) document.",
	"media": {"type": "application/json;profile=http://schema.org/Question"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "CreativeWork.json"}],
	"type": "object",
	"properties": {
		"acceptedAnswer": {"$ref": "#/definitions/acceptedAnswer"},
		"answerCount": {"$ref": "#/definitions/answerCount"},
		"downvoteCount": {"$ref": "#/definitions/downvoteCount"},
		"suggestedAnswer": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/suggestedAnswer"}
				},
				{"$ref": "#/definitions/suggestedAnswer"}
			]
		},
		"upvoteCount": {"$ref": "#/definitions/upvoteCount"}
	},
	"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": "{+$}"
					}]
				}
			]
		},
		"acceptedAnswer": {
			"title": "Accepted Answer",
			"description": "The answer(s) that has been accepted as best, typically on a Question/Answer site. Sites vary in their selection mechanisms, e.g. drawing on community opinion and/or the view of the Question author.",
			"anyOf": [{"$ref": "Answer.json#/definitions/possibleRef"}, {"$ref": "ItemList.json#/definitions/possibleRef"}]
		},
		"answerCount": {
			"title": "Answer Count",
			"description": "The number of answers this question has received.",
			"type": "integer"
		},
		"downvoteCount": {
			"title": "Downvote Count",
			"description": "The number of downvotes this question, answer or comment has received from the community.",
			"type": "integer"
		},
		"suggestedAnswer": {
			"title": "Suggested Answer",
			"description": "An answer (possibly one of several, possibly incorrect) to a Question, e.g. on a Question/Answer site.",
			"anyOf": [{"$ref": "Answer.json#/definitions/possibleRef"}, {"$ref": "ItemList.json#/definitions/possibleRef"}]
		},
		"upvoteCount": {
			"title": "Upvote Count",
			"description": "The number of upvotes this question, answer or comment has received from the community.",
			"type": "integer"
		}
	}
}