{ "description": "Schema for FreshAir Release Note Files", "definitions": { "condition": { "description": "A locally evaluated expression that is used to filter items.", "additionalProperties": false, "type": "object", "properties": { "key": { "description": "The key to use to obtain the local value", "type": "string" }, "comparison": { "description": "The comparison type to use. By default the comparison is 'gte'", "enum": [ "gt", "eq", "lt", "gte", "lte", "ne"] }, "value": { "description": "The expected value", "type": "string" } } }, "feature": { "description": "A user facing feature that the release enables. The value is a key that identifies this feature. This key will be used to lookup an image, a localized title string, and a localized description string", "type": "string" }, "release": { "description": "An externally published version of the application", "additionalProperties": false, "type": "object", "properties": { "version": { "description": "The version for this release. This is the value of CFBundleShortVersionString on iOS, and ", "type": "string" }, "features": { "description": "A list of user facing features that have been added to the release", "type": "array", "items": { "$ref": "#/definitions/feature", "required": ["key"] }, "minItems": 1 }, "conditions": { "description": "A condition that must be true for the release to be valid", "type": "array", "items": { "$ref": "#/definitions/condition", "required": ["key", "value"] }, "minItems": 1 } } } }, "additionalProperties": false, "type": "object", "properties": { "minimumVersion": { "description": "The minimum supported version", "type": "string", }, "upgradeURL": { "description": "The URL to open when an upgrade is requested", "type": "string", "pattern": "://" }, "releases": { "description": "A list release objects", "type": "array", "items": { "$ref": "#/definitions/release", "required": ["version", "features"] }, "minItems": 1 } } }