{
	"x-i18n-description": "rest-schema-desc-revision-compare",
	"required": [
		"from",
		"to",
		"diff"
	],
	"properties": {
		"from": {
			"type": "object",
			"x-i18n-description": "rest-param-desc-compare-from",
			"required": [
				"id",
				"slot_role",
				"sections"
			],
			"properties": {
				"id": {
					"type": "integer",
					"x-i18n-description": "rest-param-desc-compare-from-id"
				},
				"slot_role": {
					"type": "string",
					"x-i18n-description": "rest-param-desc-compare-from-slotrole"
				},
				"sections": {
					"type": "array",
					"x-i18n-description": "rest-param-desc-compare-from-sections",
					"items": {
						"type": "object",
						"required": [
							"level",
							"heading",
							"offset"
						],
						"properties": {
							"level": {
								"type": "integer",
								"x-i18n-description": "rest-param-desc-compare-from-section-level"
							},
							"heading": {
								"type": "string",
								"x-i18n-description": "rest-param-desc-compare-from-section-heading"
							},
							"offset": {
								"type": "integer",
								"x-i18n-description": "rest-param-desc-compare-from-section-offset"
							}
						}
					}
				}
			}
		},
		"to": {
			"type": "object",
			"x-i18n-description": "rest-param-desc-compare-to-desc",
			"required": [
				"id",
				"slot_role",
				"sections"
			],
			"properties": {
				"id": {
					"type": "integer",
					"x-i18n-description": "rest-param-desc-compare-to"
				},
				"slot_role": {
					"type": "string",
					"x-i18n-description": "rest-param-desc-compare-to-slotrole"
				},
				"sections": {
					"type": "array",
					"x-i18n-description": "rest-param-desc-compare-to-sections",
					"items": {
						"type": "object",
						"required": [
							"level",
							"heading",
							"offset"
						],
						"properties": {
							"level": {
								"type": "integer",
								"x-i18n-description": "rest-param-desc-compare-to-section-level"
							},
							"heading": {
								"type": "string",
								"x-i18n-description": "rest-param-desc-compare-to-section-heading"
							},
							"offset": {
								"type": "integer",
								"x-i18n-description": "rest-param-desc-compare-to-section-offset"
							}
						}
					}
				}
			}
		},
		"diff": {
			"type": "array",
			"x-i18n-description": "rest-param-desc-compare-diff",
			"items": {
				"type": "object"
			}
		}
	}
}
