443 lines
11 KiB
JSON
443 lines
11 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$defs": {
|
|
"__schema0": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/$defs/__schema0"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"additionalProperties": {
|
|
"$ref": "#/$defs/__schema0"
|
|
},
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"type": "object"
|
|
}
|
|
]
|
|
},
|
|
"__schema1": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"additionalProperties": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"type": "object"
|
|
}
|
|
]
|
|
},
|
|
"__schema2": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/$defs/__schema2"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"additionalProperties": {
|
|
"$ref": "#/$defs/__schema2"
|
|
},
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"type": "object"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"anyOf": [
|
|
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"baselineDigest": {
|
|
"anyOf": [
|
|
{
|
|
"pattern": "^[a-f0-9]{64}$",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"compatibility": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"changes": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"after": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"before": {
|
|
"$ref": "#/$defs/__schema0"
|
|
},
|
|
"changeId": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"field": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"impact": {
|
|
"enum": [
|
|
"none",
|
|
"additive",
|
|
"behavior-change",
|
|
"breaking"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"registryId": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"rowName": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"changeId",
|
|
"registryId",
|
|
"rowName",
|
|
"field",
|
|
"kind",
|
|
"impact"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"impact": {
|
|
"enum": [
|
|
"not-evaluated",
|
|
"none",
|
|
"additive",
|
|
"behavior-change",
|
|
"breaking"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"impact",
|
|
"changes"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"currentDigest": {
|
|
"pattern": "^[a-f0-9]{64}$",
|
|
"type": "string"
|
|
},
|
|
"failures": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"maxItems": 0,
|
|
"type": "array"
|
|
},
|
|
"generatedAt": {
|
|
"format": "date-time",
|
|
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
|
|
"type": "string"
|
|
},
|
|
"registries": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"contract": {
|
|
"additionalProperties": {
|
|
"$ref": "#/$defs/__schema2"
|
|
},
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"type": "object"
|
|
},
|
|
"owner": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"registryId": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"rowCount": {
|
|
"maximum": 9007199254740991,
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
"rows": {
|
|
"additionalProperties": {
|
|
"$ref": "#/$defs/__schema2"
|
|
},
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"type": "object"
|
|
},
|
|
"source": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"registryId",
|
|
"owner",
|
|
"source",
|
|
"rowCount",
|
|
"contract",
|
|
"rows"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"maxItems": 11,
|
|
"minItems": 11,
|
|
"type": "array"
|
|
},
|
|
"schemaVersion": {
|
|
"const": 2,
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [
|
|
"schemaVersion",
|
|
"generatedAt",
|
|
"baselineDigest",
|
|
"currentDigest",
|
|
"compatibility",
|
|
"failures",
|
|
"registries"
|
|
],
|
|
"type": "object"
|
|
},
|
|
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"baselineDigest": {
|
|
"anyOf": [
|
|
{
|
|
"pattern": "^[a-f0-9]{64}$",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"compatibility": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"changes": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"after": {
|
|
"$ref": "#/$defs/__schema1"
|
|
},
|
|
"before": {
|
|
"$ref": "#/$defs/__schema0"
|
|
},
|
|
"changeId": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"field": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"impact": {
|
|
"enum": [
|
|
"none",
|
|
"additive",
|
|
"behavior-change",
|
|
"breaking"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"registryId": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"rowName": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"changeId",
|
|
"registryId",
|
|
"rowName",
|
|
"field",
|
|
"kind",
|
|
"impact"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"impact": {
|
|
"enum": [
|
|
"not-evaluated",
|
|
"none",
|
|
"additive",
|
|
"behavior-change",
|
|
"breaking"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"impact",
|
|
"changes"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"currentDigest": {
|
|
"pattern": "^[a-f0-9]{64}$",
|
|
"type": "string"
|
|
},
|
|
"failures": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"minItems": 1,
|
|
"type": "array"
|
|
},
|
|
"generatedAt": {
|
|
"format": "date-time",
|
|
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
|
|
"type": "string"
|
|
},
|
|
"registries": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"contract": {
|
|
"additionalProperties": {
|
|
"$ref": "#/$defs/__schema2"
|
|
},
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"type": "object"
|
|
},
|
|
"owner": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"registryId": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"rowCount": {
|
|
"maximum": 9007199254740991,
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
"rows": {
|
|
"additionalProperties": {
|
|
"$ref": "#/$defs/__schema2"
|
|
},
|
|
"propertyNames": {
|
|
"type": "string"
|
|
},
|
|
"type": "object"
|
|
},
|
|
"source": {
|
|
"minLength": 1,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"registryId",
|
|
"owner",
|
|
"source",
|
|
"rowCount",
|
|
"contract",
|
|
"rows"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"schemaVersion": {
|
|
"const": 2,
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [
|
|
"schemaVersion",
|
|
"generatedAt",
|
|
"baselineDigest",
|
|
"currentDigest",
|
|
"compatibility",
|
|
"failures",
|
|
"registries"
|
|
],
|
|
"type": "object"
|
|
}
|
|
]
|
|
}
|