| { |
| "$schema": "http://json-schema.org/draft-07/schema#", |
| "$ref": "common.json#/definitions/versioned_sdk_element", |
| "properties": { |
| "data": { |
| "type": "object", |
| "properties": { |
| "type": { |
| "$ref": "common.json#/definitions/kind", |
| "enum": [ |
| "version_history" |
| ] |
| }, |
| "api_levels": { |
| "type": "object", |
| "additionalProperties": { |
| "$ref": "common.json#/definitions/api_level" |
| } |
| }, |
| "name": { |
| "type": "string" |
| } |
| }, |
| "required": [ |
| "type", |
| "api_levels", |
| "name" |
| ] |
| } |
| }, |
| "definitions": { |
| "api_level": { |
| "type": "object", |
| "additionalProperties": false, |
| "properties": { |
| "abi_revision": { |
| "type": "string", |
| "pattern": "^0x[0-9A-F]+$" |
| }, |
| "status": { |
| "type": "string", |
| "enum": [ |
| "supported", |
| "in-development", |
| "unsupported" |
| ] |
| } |
| }, |
| "patternProperties": { |
| "^[1-9][0-9]*$": {} |
| } |
| } |
| }, |
| "description": "Specifies the mapping between the supported API levels and ABI revisons. See https://fuchsia.dev/fuchsia-src/contribute/governance/rfcs/0002_platform_versioning for details.", |
| "id": "https://fuchsia.dev/schema/version_history.json", |
| "title": "Schema for Fuchsia platform version history" |
| } |