| { |
| "$schema": "http://json-schema.org/draft-07/schema#", |
| "allOf": [ |
| { |
| "$ref": "common.json#/definitions/versioned_sdk_element" |
| }, |
| { |
| "properties": { |
| "data": { |
| "allOf": [ |
| { |
| "properties": { |
| "type": { |
| "allOf": [ |
| { |
| "$ref": "common.json#/definitions/kind" |
| }, |
| { |
| "enum": [ |
| "version_history" |
| ] |
| } |
| ] |
| } |
| } |
| }, |
| { |
| "$ref": "#/definitions/version_map" |
| } |
| ], |
| "required": [ |
| "versions", |
| "type", |
| "name" |
| ] |
| } |
| }, |
| "type": "object" |
| } |
| ], |
| "definitions": { |
| "version_map": { |
| "properties": { |
| "versions": { |
| "items": { |
| "$ref": "#/definitions/version" |
| }, |
| "type": "array" |
| } |
| }, |
| "type": "object" |
| }, |
| "version": { |
| "additionalProperties": false, |
| "properties": { |
| "abi_revision": { |
| "pattern": "^0x[0-9A-F]{16}$", |
| "type": "string" |
| }, |
| "api_level": { |
| "pattern": "^[1-9][0-9]*$", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| } |
| }, |
| "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-ef02ef45.json", |
| "title": "Schema for Fuchsia platform version history", |
| "type": "object" |
| } |