repository
stringclasses
528 values
commit
stringlengths
40
40
commitDate
timestamp[s]
path
stringlengths
11
149
repoStars
int64
5
94.9k
repoLastFetched
stringclasses
528 values
content
stringlengths
48
736k
license
stringclasses
14 values
language
stringclasses
7 values
center-for-threat-informed-defense/attack-flow
901099d8f5133587974264bf36e8bbe3819c1122
2022-08-09T20:04:22
stix/attack-flow-schema-2.0.0.json
512
2024-05-28T03:30:05.859353Z
{ "$defs": { "attack-action": { "description": "An ``attack-action`` object represents the execution of a particular technique, i.e. a discrete unit of adverary behavior.", "properties": { "description": { "description": "A description of the adversary behavior.", "type": "string" }, "effect_refs": { "description": "When an effect is an ``attack-action``, that means successful execution of this action enables execution of the following action. When an effect is an ``attack-state``, that means the state exists after this action executes successfully.", "items": { "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/identifier.json", "xRefType": [ "attack-action", "attack-state" ] }, "minItems": 1, "type": "array" }, "technique_id": { "description": "A technique identifier or shortname that may reference an authoritative collection of techniques, e.g. ATT&CK.", "type": "string" }, "technique_name": { "description": "The name of the technique.", "type": "string" }, "technique_ref": { "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/identifier.json", "description": "A reference to the technique's STIX representation." } }, "required": [ "technique_name" ], "type": "object" }, "attack-flow": { "description": "An ``attack-flow`` object represents the Attack Flow overall. It provides metadata for name and description; it provides starting points for the flow of actions; and it is an object that can be referenced from other STIX objects.", "properties": { "description": { "description": "A description of the overall Attack Flow.", "type": "string" }, "name": { "description": "The name of the Attack Flow.", "type": "string" }, "scope": { "description": "Indicates what type of behavior the Attack Flow describes: a specific incident, a campaign, etc.", "enum": [ "incident", "campaign", "threat-actor", "malware", "other" ], "type": "string" }, "start_refs": { "description": "A list of objects that start the flow.", "items": { "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/identifier.json", "xRefType": [ "attack-action", "attack-state" ] }, "minItems": 1, "type": "array" } }, "required": [ "name", "start_refs", "scope" ], "type": "object" }, "attack-operator": { "description": "An ``attack-operator`` object aggregates multiple effects into a single effect using boolean logic.", "properties": { "effect_refs": { "description": "When an effect is an ``attack-action``, that means this operator evaluating to ``true`` enables execution of the following action. When an effect is an ``attack-state``, that means the state exists when this operator evaluates to ``true``.", "items": { "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/identifier.json", "xRefType": [ "attack-action", "attack-state" ] }, "minItems": 1, "type": "array" }, "operator": { "description": "The logical operator to apply to the input effects.", "enum": [ "AND", "OR" ], "type": "string" } }, "required": [ "operator" ], "type": "object" }, "attack-state": { "description": "An ``attack-state`` object represents some state (i.e. outcome, condition, effect, etc.) that results from successful execution of a technique.", "properties": { "description": { "description": "A description of the state that results from successful execution of a technique.", "type": "string" }, "effect_refs": { "description": "When an effect is an ``attack-action``, that means when this states exists, it enables execution of the following action. When an effect is an ``attack-state``, that means the following state exists when this state exists.", "items": { "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/identifier.json", "xRefType": [ "attack-action", "attack-state" ] }, "minItems": 1, "type": "array" } }, "required": [ "description" ], "type": "object" } }, "$id": "https://center-for-threat-informed-defense.github.io/attack-flow/schema/attack-flow-schema-2.0.0.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$comment": "All Attack Flow SDOs implement the required common properties.", "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/core.json" }, { "$comment": "Attack Flow SDOs must reference the extension definition.", "properties": { "extensions": { "properties": { "extension-definition--fb9c968a-745b-4ade-9b25-c324172197f4": { "properties": { "extension_type": { "const": "new-sdo", "type": "string" } }, "required": [ "extension_type" ], "type": "object" } }, "required": [ "extension-definition--fb9c968a-745b-4ade-9b25-c324172197f4" ], "type": "object" } }, "required": [ "extensions" ], "type": "object" }, { "$comment": "Link to the Attack Flow SDO subschemas based on object type.", "else": { "else": { "else": { "else": true, "if": { "properties": { "type": { "const": "attack-operator", "type": "string" } }, "type": "object" }, "then": { "$ref": "#/$defs/attack-operator" } }, "if": { "properties": { "type": { "const": "attack-state", "type": "string" } }, "type": "object" }, "then": { "$ref": "#/$defs/attack-state" } }, "if": { "properties": { "type": { "const": "attack-action", "type": "string" } }, "type": "object" }, "then": { "$ref": "#/$defs/attack-action" } }, "if": { "properties": { "type": { "const": "attack-flow", "type": "string" } }, "type": "object" }, "then": { "$ref": "#/$defs/attack-flow" } } ], "description": "This schema is the normative definition of the STIX 2.1 extension `extension-definition--fb9c968a-745b-4ade-9b25-c324172197f4`. It extends STIX with additional STIX Data Objects (SDOs) and SDO properties to implement Attack Flow concepts, i.e. generalized graphs of adversary behaviors.", "title": "Attack Flow STIX 2.1 Extension", "type": "object" }
Apache-2.0
en
center-for-threat-informed-defense/attack-flow
b30c21b746082a56c75f51705c27d378a0983864
2022-08-09T14:24:56
stix/attack-flow-schema-2.0.0.json
512
2024-05-28T03:30:05.859353Z
{ "$defs": { "attack-action": { "description": "An ``attack-action`` object represents the execution of a particular technique, i.e. a discrete unit of adverary behavior.", "properties": { "description": { "description": "A description of the adversary behavior.", "type": "string" }, "effect_refs": { "description": "A list of ``attack-action`` objects that are enabled when this technique is executed successfully or ``attack-state`` objects that become true when this technique is executed successfully.", "items": { "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/identifier.json", "xRefType": [ "attack-action", "attack-state" ] }, "minItems": 1, "type": "array" }, "technique_id": { "description": "A technique identifier or shortname that may reference an authoritative collection of techniques, e.g. ATT&CK.", "type": "string" }, "technique_name": { "description": "The name of the technique.", "type": "string" }, "technique_ref": { "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/identifier.json", "description": "A reference to the technique's STIX representation." } }, "required": [ "technique_name" ], "type": "object" }, "attack-flow": { "description": "An ``attack-flow`` object represents the Attack Flow overall. It provides metadata for name and description; it provides starting points for the flow of actions; and it is an object that can be referenced from other STIX objects.", "properties": { "description": { "description": "A description of the overall Attack Flow.", "type": "string" }, "name": { "description": "The name of the Attack Flow.", "type": "string" }, "scope": { "description": "Indicates what type of behavior the Attack Flow describes: a specific incident, a campaign, etc.", "enum": [ "incident", "campaign", "threat-actor", "malware", "other" ], "type": "string" }, "start_refs": { "description": "A list of ``attack-action`` or ``attack-state`` objects that start the flow.", "items": { "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/identifier.json", "xRefType": [ "attack-action", "attack-state" ] }, "minItems": 1, "type": "array" } }, "required": [ "name", "start_refs", "scope" ], "type": "object" }, "attack-operator": { "description": "An ``attack-operator`` object aggregates multiple effects into a single effect using boolean logic.", "properties": { "effect_refs": { "description": "A list of ``attack-action`` objects that are enabled when this operator evaluates to true or ``attack-state`` objects that become true when this operator evaluates to true.", "items": { "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/identifier.json", "xRefType": [ "attack-action", "attack-state" ] }, "minItems": 1, "type": "array" }, "operator": { "description": "The logical operator to apply to the input effects.", "enum": [ "AND", "OR" ], "type": "string" } }, "required": [ "operator" ], "type": "object" }, "attack-state": { "description": "An ``attack-state`` object represents some state (i.e. outcome, condition, effect, etc.) that results from successful execution of a technique.", "properties": { "description": { "description": "A description of the state that results from successful execution of a technique.", "type": "string" }, "effect_refs": { "description": "A list of ``attack-action`` objects that are enabled when this state is true or ``attack-state`` objects that become true when this state is true.", "items": { "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/identifier.json", "xRefType": [ "attack-action", "attack-state" ] }, "minItems": 1, "type": "array" } }, "required": [ "description" ], "type": "object" } }, "$id": "https://center-for-threat-informed-defense.github.io/attack-flow/schema/attack-flow-schema-2.0.0.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$comment": "All Attack Flow SDOs implement the required common properties.", "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/core.json" }, { "$comment": "Attack Flow SDOs must reference the extension definition.", "properties": { "extensions": { "properties": { "extension-definition--fb9c968a-745b-4ade-9b25-c324172197f4": { "properties": { "extension_type": { "const": "new-sdo", "type": "string" } }, "required": [ "extension_type" ], "type": "object" } }, "required": [ "extension-definition--fb9c968a-745b-4ade-9b25-c324172197f4" ], "type": "object" } }, "required": [ "extensions" ], "type": "object" }, { "$comment": "Link to the Attack Flow SDO subschemas based on object type.", "else": { "else": { "else": { "else": true, "if": { "properties": { "type": { "const": "attack-operator", "type": "string" } }, "type": "object" }, "then": { "$ref": "#/$defs/attack-operator" } }, "if": { "properties": { "type": { "const": "attack-state", "type": "string" } }, "type": "object" }, "then": { "$ref": "#/$defs/attack-state" } }, "if": { "properties": { "type": { "const": "attack-action", "type": "string" } }, "type": "object" }, "then": { "$ref": "#/$defs/attack-action" } }, "if": { "properties": { "type": { "const": "attack-flow", "type": "string" } }, "type": "object" }, "then": { "$ref": "#/$defs/attack-flow" } } ], "description": "This schema is the normative definition of the STIX 2.1 extension `extension-definition--fb9c968a-745b-4ade-9b25-c324172197f4`. It extends STIX with additional STIX Data Objects (SDOs) and SDO properties to implement Attack Flow concepts, i.e. generalized graphs of adversary behaviors.", "title": "Attack Flow STIX 2.1 Extension", "type": "object" }
Apache-2.0
en
center-for-threat-informed-defense/attack-flow
cbf0d8170a9db7291b3a8444186125d707a8ef72
2022-09-12T17:36:57
stix/attack-flow-schema-2.0.0.json
512
2024-05-28T03:30:05.859353Z
{ "$defs": { "attack-action": { "description": "An ``attack-action`` object represents the execution of a particular technique, i.e. a discrete unit of adverary behavior.", "properties": { "asset_refs": { "description": "The assets involved in this action, i.e. where this action modifies or depends on the state of the asset.", "items": { "allOf": [ { "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/identifier.json" }, { "pattern": "^(attack-asset)--" } ] }, "minItems": 1, "type": "array" }, "command_ref": { "allOf": [ { "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/identifier.json" }, { "pattern": "^process--" } ], "description": "Describe tools or commands executed by the attacker by referring to a STIX Process object, which can represent commands, environment variables, process image, etc." }, "description": { "description": "A description of the adversary behavior, e.g. what they did, how they did it, and why. This field may contain prose as well as technical information, but consider using ``command_ref`` for providing technical details about technique execution.", "type": "string" }, "effect_refs": { "description": "The potential effects that result from executing this action. (See: :ref:`effects`.)", "items": { "allOf": [ { "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/identifier.json" }, { "pattern": "^(attack-action|attack-operator|attack-condition)--" } ] }, "minItems": 1, "type": "array" }, "spec_version": { "const": "2.1", "description": "The version **MUST** be ``2.1``.", "type": "string" }, "technique_id": { "description": "A technique identifier or shortname that may reference an authoritative collection of techniques, e.g. ATT&CK.", "type": "string" }, "technique_name": { "description": "The name of the technique.", "type": "string" }, "technique_ref": { "allOf": [ { "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/identifier.json" }, { "pattern": "^attack-pattern--" } ], "description": "A reference to the technique's STIX representation." }, "type": { "const": "attack-action", "description": "The type **MUST** be ``attack-action``.", "type": "string" } }, "required": [ "type", "spec_version", "technique_name" ], "type": "object", "x-exampleObject": "attack-action--37345417-3ee0-4e11-b421-1d4be68e6f15" }, "attack-asset": { "description": "An asset is any object that is the subject or target of an action. Assets can be technical assets (such as machines and data) or non-technical assets such as people and physical systems. Actions typically either modify or depend upon the *state* of an asset in some way.\n\nNote that assets are not applicable in all contexts. For example, public threat reports may not include enough detail to represent the assets in a flow, or the flow might represent aggregate behavior (at the campaign or actor level) for which it does not make sense to specify an asset. Assets should be used to add context to a flow when the underlying intelligence contains sufficient detail to do so.", "properties": { "description": { "description": "A description of the asset.", "type": "string" }, "name": { "description": "An name for the asset.", "type": "string" }, "object_ref": { "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/identifier.json", "description": "A reference to any STIX data object (i.e. SDO) or observable (i.e. SCO) that contains structured data about this asset." }, "spec_version": { "const": "2.1", "description": "The version **MUST** be ``2.1``.", "type": "string" }, "type": { "const": "attack-asset", "description": "The type **MUST** be ``attack-asset``.", "type": "string" } }, "required": [ "type", "spec_version", "name" ], "type": "object", "x-exampleObject": "attack-asset--f7edf4aa-29ec-47aa-b4f6-c42dfbe2ac20" }, "attack-condition": { "description": "An ``attack-condition`` object represents some possible condition, outcome, or state that could occur. Conditions can be used to split flows based on the success or failure of an action, or to provide further description of an action's results.", "properties": { "description": { "description": "The condition that is evaluated, usually based on the success or failure of the preceding action.", "type": "string" }, "on_false_refs": { "description": "When the condition is ``false``, the flow continues to these objects. (If there are no objects, then the flow halts at this node.)", "items": { "allOf": [ { "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/identifier.json" }, { "pattern": "^(attack-action|attack-operator|attack-condition)--" } ] }, "minItems": 1, "type": "array" }, "on_true_refs": { "description": "When the condition is ``true``, the flow continues to these objects.", "items": { "allOf": [ { "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/identifier.json" }, { "pattern": "^(attack-action|attack-operator|attack-condition)--" } ] }, "minItems": 1, "type": "array" }, "pattern": { "description": "*(This is an experimental feature.)* The detection pattern for this condition may be expressed as a STIX Pattern or another appropriate language such as SNORT, YARA, etc.", "type": "string" }, "pattern_type": { "description": "*(This is an experimental feature.)* The pattern langauge used in this condition. The value for this property should come from the STIX ``pattern-type-ov`` open vocabulary.", "type": "string" }, "pattern_version": { "description": "*(This is an experimental feature.)* The version of the pattern language used for the data in the ``pattern`` property. For the STIX Pattern language, the default value is determined by the ``spec_version`` of the condition object.", "type": "string" }, "spec_version": { "const": "2.1", "description": "The version **MUST** be ``2.1``.", "type": "string" }, "type": { "const": "attack-condition", "description": "The type **MUST** be ``attack-condition``.", "type": "string" } }, "required": [ "type", "spec_version", "description" ], "type": "object", "x-exampleObject": "attack-condition--7e809f5b-319a-4b3f-82fe-e4dc09af5088" }, "attack-flow": { "description": "Every Attack Flow document **MUST** contain exactly one ``attack-flow`` object. It provides metadata for name and description, starting points for the flow of actions, and can be referenced from other STIX objects.", "properties": { "description": { "description": "A description of the overall Attack Flow.", "type": "string" }, "name": { "description": "The name of the Attack Flow.", "type": "string" }, "scope": { "description": "Indicates what type of behavior the Attack Flow describes: a specific incident, a campaign, etc.", "enum": [ "incident", "campaign", "threat-actor", "malware", "other" ], "type": "string" }, "spec_version": { "const": "2.1", "description": "The version **MUST** be ``2.1``.", "type": "string" }, "start_refs": { "description": "A list of objects that start the flow.", "items": { "allOf": [ { "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/identifier.json" }, { "pattern": "^(attack-action|attack-condition)--" } ] }, "minItems": 1, "type": "array" }, "type": { "const": "attack-flow", "description": "The type **MUST** be ``attack-flow``.", "type": "string" } }, "required": [ "type", "spec_version", "name", "start_refs", "scope" ], "type": "object", "x-exampleObject": "attack-flow--e9ec3a4b-f787-4e81-a3d9-4cfe017ebc2f" }, "attack-operator": { "description": "An ``attack-operator`` object joins multiple attack paths together using boolean logic.", "properties": { "effect_refs": { "description": "The effects, outcomes, or states that result when this operator evaluates to ``true``. If the operator evaluates to ``false``, then the flow halts. (See: :ref:`effects`.)", "items": { "allOf": [ { "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/identifier.json" }, { "pattern": "^(attack-action|attack-operator|attack-condition)--" } ] }, "minItems": 1, "type": "array" }, "operator": { "description": "The logical operator to apply to the input effects.", "enum": [ "AND", "OR" ], "type": "string" }, "spec_version": { "const": "2.1", "description": "The version **MUST** be ``2.1``.", "type": "string" }, "type": { "const": "attack-operator", "description": "The type **MUST** be ``attack-operator``.", "type": "string" } }, "required": [ "type", "spec_version", "operator" ], "type": "object", "x-exampleObject": "attack-operator--609d7adf-a3d2-44e8-82de-4b30e3fb97be" } }, "$id": "https://center-for-threat-informed-defense.github.io/attack-flow/schema/attack-flow-schema-2.0.0.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ { "$comment": "All Attack Flow SDOs implement the required common properties.", "$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/core.json" }, { "$comment": "Attack Flow SDOs must reference the extension definition.", "properties": { "extensions": { "properties": { "extension-definition--fb9c968a-745b-4ade-9b25-c324172197f4": { "properties": { "extension_type": { "const": "new-sdo", "type": "string" } }, "required": [ "extension_type" ], "type": "object" } }, "required": [ "extension-definition--fb9c968a-745b-4ade-9b25-c324172197f4" ], "type": "object" } }, "required": [ "extensions" ], "type": "object" }, { "$comment": "Link to the Attack Flow SDO subschemas based on object type. Note: this nested if-else construction is difficult to maintain. We weighed several different structures here, e.g. using a oneOf, but selected this structure because it produces better validation messages than a oneOf and make it easy to forward-reference the Attack Flow SDO subschemas from the main Attack Flow schema.", "else": { "else": { "else": { "else": { "else": true, "if": { "properties": { "type": { "const": "attack-asset", "type": "string" } }, "type": "object" }, "then": { "$ref": "#/$defs/attack-asset" } }, "if": { "properties": { "type": { "const": "attack-operator", "type": "string" } }, "type": "object" }, "then": { "$ref": "#/$defs/attack-operator" } }, "if": { "properties": { "type": { "const": "attack-condition", "type": "string" } }, "type": "object" }, "then": { "$ref": "#/$defs/attack-condition" } }, "if": { "properties": { "type": { "const": "attack-action", "type": "string" } }, "type": "object" }, "then": { "$ref": "#/$defs/attack-action" } }, "if": { "properties": { "type": { "const": "attack-flow", "type": "string" } }, "type": "object" }, "then": { "$ref": "#/$defs/attack-flow" } } ], "description": "This schema is the normative definition of the STIX 2.1 extension `extension-definition--fb9c968a-745b-4ade-9b25-c324172197f4`. It extends STIX with additional STIX Data Objects (SDOs) that model Attack Flow concepts.", "title": "Attack Flow STIX 2.1 Extension", "type": "object", "unevaluatedProperties": false }
Apache-2.0
en
google/flatbuffers
4b870aca98eca22c56faa3245ada7014752f7b2c
2019-09-05T17:22:04
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "MyGame_Example2_Monster": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "additionalProperties": false, "properties": { "distance": { "type": "number" }, "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_AnyAmbiguousAliases": { "enum": [ "NONE", "M1", "M2", "M3" ], "type": "string" }, "MyGame_Example_AnyUniqueAliases": { "enum": [ "NONE", "M", "TS", "M2" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "additionalProperties": false, "description": " an example documentation comment: monster object", "properties": { "any_ambiguous": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" } ] }, "any_ambiguous_type": { "$ref": "#/definitions/MyGame_Example_AnyAmbiguousAliases" }, "any_unique": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "any_unique_type": { "$ref": "#/definitions/MyGame_Example_AnyUniqueAliases" }, "co_owning_reference": { "type": "number" }, "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "type": "number" }, "type": "array" }, "friendly": { "type": "boolean" }, "hp": { "type": "number" }, "inventory": { "items": { "type": "number" }, "type": "array" }, "mana": { "type": "number" }, "name": { "type": "string" }, "non_owning_reference": { "type": "number" }, "parent_namespace_test": { "$ref": "#/definitions/MyGame_InParentNamespace" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "signed_enum": { "$ref": "#/definitions/MyGame_Example_Race" }, "single_weak_reference": { "type": "number" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "type": "number" }, "testhashs32_fnv1a": { "type": "number" }, "testhashs64_fnv1": { "type": "number" }, "testhashs64_fnv1a": { "type": "number" }, "testhashu32_fnv1": { "type": "number" }, "testhashu32_fnv1a": { "type": "number" }, "testhashu64_fnv1": { "type": "number" }, "testhashu64_fnv1a": { "type": "number" }, "testnestedflatbuffer": { "items": { "type": "number" }, "type": "array" }, "vector_of_co_owning_references": { "items": { "type": "number" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_enums": { "$ref": "#/definitions/MyGame_Example_Color" }, "vector_of_longs": { "items": { "type": "number" }, "type": "array" }, "vector_of_non_owning_references": { "items": { "type": "number" }, "type": "array" }, "vector_of_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_strong_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_weak_references": { "items": { "type": "number" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Race": { "enum": [ "None", "Human", "Dwarf", "Elf" ], "type": "string" }, "MyGame_Example_Referrable": { "additionalProperties": false, "properties": { "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Stat": { "additionalProperties": false, "properties": { "count": { "type": "number" }, "id": { "type": "string" }, "val": { "type": "number" } }, "type": "object" }, "MyGame_Example_Test": { "additionalProperties": false, "properties": { "a": { "type": "number" }, "b": { "type": "number" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "additionalProperties": false, "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_TypeAliases": { "additionalProperties": false, "properties": { "f32": { "type": "number" }, "f64": { "type": "number" }, "i16": { "type": "number" }, "i32": { "type": "number" }, "i64": { "type": "number" }, "i8": { "type": "number" }, "u16": { "type": "number" }, "u32": { "type": "number" }, "u64": { "type": "number" }, "u8": { "type": "number" }, "v8": { "items": { "type": "number" }, "type": "array" }, "vf64": { "items": { "type": "number" }, "type": "array" } }, "type": "object" }, "MyGame_Example_Vec3": { "additionalProperties": false, "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_InParentNamespace": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "additionalProperties": false, "properties": { "a": { "type": "number" } }, "type": "object" }, "TableA": { "additionalProperties": false, "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
980a6d66d38e3267c601dfa2d33901dfcca73feb
2018-11-05T22:33:36
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "MyGame_Example2_Monster": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "additionalProperties": false, "properties": { "distance": { "type": "number" }, "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_AnyAmbiguousAliases": { "enum": [ "NONE", "M1", "M2", "M3" ], "type": "string" }, "MyGame_Example_AnyUniqueAliases": { "enum": [ "NONE", "M", "T", "M2" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "additionalProperties": false, "description": " an example documentation comment: monster object", "properties": { "any_ambiguous": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" } ] }, "any_ambiguous_type": { "$ref": "#/definitions/MyGame_Example_AnyAmbiguousAliases" }, "any_unique": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "any_unique_type": { "$ref": "#/definitions/MyGame_Example_AnyUniqueAliases" }, "co_owning_reference": { "type": "number" }, "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "type": "number" }, "type": "array" }, "friendly": { "type": "boolean" }, "hp": { "type": "number" }, "inventory": { "items": { "type": "number" }, "type": "array" }, "mana": { "type": "number" }, "name": { "type": "string" }, "non_owning_reference": { "type": "number" }, "parent_namespace_test": { "$ref": "#/definitions/MyGame_InParentNamespace" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "single_weak_reference": { "type": "number" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "type": "number" }, "testhashs32_fnv1a": { "type": "number" }, "testhashs64_fnv1": { "type": "number" }, "testhashs64_fnv1a": { "type": "number" }, "testhashu32_fnv1": { "type": "number" }, "testhashu32_fnv1a": { "type": "number" }, "testhashu64_fnv1": { "type": "number" }, "testhashu64_fnv1a": { "type": "number" }, "testnestedflatbuffer": { "items": { "type": "number" }, "type": "array" }, "vector_of_co_owning_references": { "items": { "type": "number" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_enums": { "$ref": "#/definitions/MyGame_Example_Color" }, "vector_of_longs": { "items": { "type": "number" }, "type": "array" }, "vector_of_non_owning_references": { "items": { "type": "number" }, "type": "array" }, "vector_of_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_strong_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_weak_references": { "items": { "type": "number" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Referrable": { "additionalProperties": false, "properties": { "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Stat": { "additionalProperties": false, "properties": { "count": { "type": "number" }, "id": { "type": "string" }, "val": { "type": "number" } }, "type": "object" }, "MyGame_Example_Test": { "additionalProperties": false, "properties": { "a": { "type": "number" }, "b": { "type": "number" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "additionalProperties": false, "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_TypeAliases": { "additionalProperties": false, "properties": { "f32": { "type": "number" }, "f64": { "type": "number" }, "i16": { "type": "number" }, "i32": { "type": "number" }, "i64": { "type": "number" }, "i8": { "type": "number" }, "u16": { "type": "number" }, "u32": { "type": "number" }, "u64": { "type": "number" }, "u8": { "type": "number" }, "v8": { "items": { "type": "number" }, "type": "array" }, "vf64": { "items": { "type": "number" }, "type": "array" } }, "type": "object" }, "MyGame_Example_Vec3": { "additionalProperties": false, "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_InParentNamespace": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "additionalProperties": false, "properties": { "a": { "type": "number" } }, "type": "object" }, "TableA": { "additionalProperties": false, "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
39c8a19ce27194f7f27de578dfaee7a09f353541
2022-02-03T07:44:43
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "https://json-schema.org/draft/2019-09/schema", "definitions": { "MyGame_Example2_Monster": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "additionalProperties": false, "properties": { "distance": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "id": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_AnyAmbiguousAliases": { "enum": [ "NONE", "M1", "M2", "M3" ], "type": "string" }, "MyGame_Example_AnyUniqueAliases": { "enum": [ "NONE", "M", "TS", "M2" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "additionalProperties": false, "description": "an example documentation comment: \"monster object\"", "properties": { "any_ambiguous": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" } ] }, "any_ambiguous_type": { "$ref": "#/definitions/MyGame_Example_AnyAmbiguousAliases" }, "any_unique": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "any_unique_type": { "$ref": "#/definitions/MyGame_Example_AnyUniqueAliases" }, "co_owning_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "friendly": { "deprecated": true, "type": "boolean" }, "hp": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "inventory": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "mana": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "name": { "type": "string" }, "native_inline": { "$ref": "#/definitions/MyGame_Example_Test" }, "non_owning_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "parent_namespace_test": { "$ref": "#/definitions/MyGame_InParentNamespace" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "scalar_key_sorted_tables": { "items": { "$ref": "#/definitions/MyGame_Example_Stat" }, "type": "array" }, "signed_enum": { "$ref": "#/definitions/MyGame_Example_Race" }, "single_weak_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "description": "an example documentation comment: this will end up in the generated code\nmultiline too", "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "testhashs32_fnv1a": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "testhashs64_fnv1": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "testhashs64_fnv1a": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "testhashu32_fnv1": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "testhashu32_fnv1a": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "testhashu64_fnv1": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "testhashu64_fnv1a": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "testnestedflatbuffer": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "testrequirednestedflatbuffer": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_co_owning_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_enums": { "items": { "$ref": "#/definitions/MyGame_Example_Color" }, "type": "array" }, "vector_of_longs": { "items": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "type": "array" }, "vector_of_non_owning_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_strong_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_weak_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Race": { "enum": [ "None", "Human", "Dwarf", "Elf" ], "type": "string" }, "MyGame_Example_Referrable": { "additionalProperties": false, "properties": { "id": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" } }, "type": "object" }, "MyGame_Example_Stat": { "additionalProperties": false, "properties": { "count": { "maximum": 65535, "minimum": 0, "type": "integer" }, "id": { "type": "string" }, "val": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" } }, "type": "object" }, "MyGame_Example_StructOfStructs": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/MyGame_Example_Ability" }, "b": { "$ref": "#/definitions/MyGame_Example_Test" }, "c": { "$ref": "#/definitions/MyGame_Example_Ability" } }, "type": "object" }, "MyGame_Example_Test": { "additionalProperties": false, "properties": { "a": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "b": { "maximum": 127, "minimum": -128, "type": "integer" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "additionalProperties": false, "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_TypeAliases": { "additionalProperties": false, "properties": { "f32": { "type": "number" }, "f64": { "type": "number" }, "i16": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "i32": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "i64": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "i8": { "maximum": 127, "minimum": -128, "type": "integer" }, "u16": { "maximum": 65535, "minimum": 0, "type": "integer" }, "u32": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "u64": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "u8": { "maximum": 255, "minimum": 0, "type": "integer" }, "v8": { "items": { "maximum": 127, "minimum": -128, "type": "integer" }, "type": "array" }, "vf64": { "items": { "type": "number" }, "type": "array" } }, "type": "object" }, "MyGame_Example_Vec3": { "additionalProperties": false, "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_InParentNamespace": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "additionalProperties": false, "properties": { "a": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" } }, "type": "object" }, "TableA": { "additionalProperties": false, "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
e635141d5bc66f056c90bcc9da5fdd766610492f
2019-06-17T22:15:13
tests/arrays_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_ArrayTable", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "MyGame_Example_ArrayStruct": { "additionalProperties": false, "properties": { "a": { "type": "number" }, "b": { "items": { "type": "number" }, "maxItems": 15, "minItems": 15, "type": "array" }, "c": { "type": "number" }, "d": { "items": { "$ref": "#/definitions/MyGame_Example_NestedStruct" }, "maxItems": 2, "minItems": 2, "type": "array" } }, "type": "object" }, "MyGame_Example_ArrayTable": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/MyGame_Example_ArrayStruct" } }, "type": "object" }, "MyGame_Example_NestedStruct": { "additionalProperties": false, "properties": { "a": { "items": { "type": "number" }, "maxItems": 2, "minItems": 2, "type": "array" }, "b": { "$ref": "#/definitions/MyGame_Example_TestEnum" }, "c": { "$ref": "#/definitions/MyGame_Example_TestEnum", "maxItems": 2, "minItems": 2 } }, "type": "object" }, "MyGame_Example_TestEnum": { "enum": [ "A", "B", "C" ], "type": "string" } } }
Apache-2.0
en
google/flatbuffers
4525c91be30ddb9befe15e3a5bb96f1b7914030e
2019-08-23T17:46:47
tests/arrays_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_ArrayTable", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "MyGame_Example_ArrayStruct": { "additionalProperties": false, "properties": { "a": { "type": "number" }, "b": { "items": { "type": "number" }, "maxItems": 15, "minItems": 15, "type": "array" }, "c": { "type": "number" }, "d": { "items": { "$ref": "#/definitions/MyGame_Example_NestedStruct" }, "maxItems": 2, "minItems": 2, "type": "array" }, "e": { "type": "number" }, "f": { "items": { "type": "number" }, "maxItems": 2, "minItems": 2, "type": "array" } }, "type": "object" }, "MyGame_Example_ArrayTable": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/MyGame_Example_ArrayStruct" } }, "type": "object" }, "MyGame_Example_NestedStruct": { "additionalProperties": false, "properties": { "a": { "items": { "type": "number" }, "maxItems": 2, "minItems": 2, "type": "array" }, "b": { "$ref": "#/definitions/MyGame_Example_TestEnum" }, "c": { "$ref": "#/definitions/MyGame_Example_TestEnum", "maxItems": 2, "minItems": 2 }, "d": { "items": { "type": "number" }, "maxItems": 2, "minItems": 2, "type": "array" } }, "type": "object" }, "MyGame_Example_TestEnum": { "enum": [ "A", "B", "C" ], "type": "string" } } }
Apache-2.0
en
google/flatbuffers
91fe9ba93f3bfe31d08bc7b3fa6c7e96a49af44a
2018-11-01T19:51:25
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "MyGame_Example2_Monster": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "additionalProperties": false, "properties": { "distance": { "type": "number" }, "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_AnyAmbiguousAliases": { "enum": [ "NONE", "M1", "M2", "M3" ], "type": "string" }, "MyGame_Example_AnyUniqueAliases": { "enum": [ "NONE", "M", "T", "M2" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "additionalProperties": false, "description": " an example documentation comment: monster object", "properties": { "any_ambiguous": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" } ] }, "any_ambiguous_type": { "$ref": "#/definitions/MyGame_Example_AnyAmbiguousAliases" }, "any_unique": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "any_unique_type": { "$ref": "#/definitions/MyGame_Example_AnyUniqueAliases" }, "co_owning_reference": { "type": "number" }, "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "type": "number" }, "type": "array" }, "friendly": { "type": "boolean" }, "hp": { "type": "number" }, "inventory": { "items": { "type": "number" }, "type": "array" }, "mana": { "type": "number" }, "name": { "type": "string" }, "non_owning_reference": { "type": "number" }, "parent_namespace_test": { "$ref": "#/definitions/MyGame_InParentNamespace" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "single_weak_reference": { "type": "number" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "type": "number" }, "testhashs32_fnv1a": { "type": "number" }, "testhashs64_fnv1": { "type": "number" }, "testhashs64_fnv1a": { "type": "number" }, "testhashu32_fnv1": { "type": "number" }, "testhashu32_fnv1a": { "type": "number" }, "testhashu64_fnv1": { "type": "number" }, "testhashu64_fnv1a": { "type": "number" }, "testnestedflatbuffer": { "items": { "type": "number" }, "type": "array" }, "vector_of_co_owning_references": { "items": { "type": "number" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_longs": { "items": { "type": "number" }, "type": "array" }, "vector_of_non_owning_references": { "items": { "type": "number" }, "type": "array" }, "vector_of_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_strong_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_weak_references": { "items": { "type": "number" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Referrable": { "additionalProperties": false, "properties": { "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Stat": { "additionalProperties": false, "properties": { "count": { "type": "number" }, "id": { "type": "string" }, "val": { "type": "number" } }, "type": "object" }, "MyGame_Example_Test": { "additionalProperties": false, "properties": { "a": { "type": "number" }, "b": { "type": "number" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "additionalProperties": false, "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_TypeAliases": { "additionalProperties": false, "properties": { "f32": { "type": "number" }, "f64": { "type": "number" }, "i16": { "type": "number" }, "i32": { "type": "number" }, "i64": { "type": "number" }, "i8": { "type": "number" }, "u16": { "type": "number" }, "u32": { "type": "number" }, "u64": { "type": "number" }, "u8": { "type": "number" }, "v8": { "items": { "type": "number" }, "type": "array" }, "vf64": { "items": { "type": "number" }, "type": "array" } }, "type": "object" }, "MyGame_Example_Vec3": { "additionalProperties": false, "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_InParentNamespace": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "additionalProperties": false, "properties": { "a": { "type": "number" } }, "type": "object" }, "TableA": { "additionalProperties": false, "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
e635141d5bc66f056c90bcc9da5fdd766610492f
2019-06-17T22:15:13
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "MyGame_Example2_Monster": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "additionalProperties": false, "properties": { "distance": { "type": "number" }, "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_AnyAmbiguousAliases": { "enum": [ "NONE", "M1", "M2", "M3" ], "type": "string" }, "MyGame_Example_AnyUniqueAliases": { "enum": [ "NONE", "M", "TS", "M2" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "additionalProperties": false, "description": " an example documentation comment: monster object", "properties": { "any_ambiguous": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" } ] }, "any_ambiguous_type": { "$ref": "#/definitions/MyGame_Example_AnyAmbiguousAliases" }, "any_unique": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "any_unique_type": { "$ref": "#/definitions/MyGame_Example_AnyUniqueAliases" }, "co_owning_reference": { "type": "number" }, "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "type": "number" }, "type": "array" }, "friendly": { "type": "boolean" }, "hp": { "type": "number" }, "inventory": { "items": { "type": "number" }, "type": "array" }, "mana": { "type": "number" }, "name": { "type": "string" }, "non_owning_reference": { "type": "number" }, "parent_namespace_test": { "$ref": "#/definitions/MyGame_InParentNamespace" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "single_weak_reference": { "type": "number" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "type": "number" }, "testhashs32_fnv1a": { "type": "number" }, "testhashs64_fnv1": { "type": "number" }, "testhashs64_fnv1a": { "type": "number" }, "testhashu32_fnv1": { "type": "number" }, "testhashu32_fnv1a": { "type": "number" }, "testhashu64_fnv1": { "type": "number" }, "testhashu64_fnv1a": { "type": "number" }, "testnestedflatbuffer": { "items": { "type": "number" }, "type": "array" }, "vector_of_co_owning_references": { "items": { "type": "number" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_enums": { "$ref": "#/definitions/MyGame_Example_Color" }, "vector_of_longs": { "items": { "type": "number" }, "type": "array" }, "vector_of_non_owning_references": { "items": { "type": "number" }, "type": "array" }, "vector_of_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_strong_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_weak_references": { "items": { "type": "number" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Referrable": { "additionalProperties": false, "properties": { "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Stat": { "additionalProperties": false, "properties": { "count": { "type": "number" }, "id": { "type": "string" }, "val": { "type": "number" } }, "type": "object" }, "MyGame_Example_Test": { "additionalProperties": false, "properties": { "a": { "type": "number" }, "b": { "type": "number" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "additionalProperties": false, "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_TypeAliases": { "additionalProperties": false, "properties": { "f32": { "type": "number" }, "f64": { "type": "number" }, "i16": { "type": "number" }, "i32": { "type": "number" }, "i64": { "type": "number" }, "i8": { "type": "number" }, "u16": { "type": "number" }, "u32": { "type": "number" }, "u64": { "type": "number" }, "u8": { "type": "number" }, "v8": { "items": { "type": "number" }, "type": "array" }, "vf64": { "items": { "type": "number" }, "type": "array" } }, "type": "object" }, "MyGame_Example_Vec3": { "additionalProperties": false, "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_InParentNamespace": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "additionalProperties": false, "properties": { "a": { "type": "number" } }, "type": "object" }, "TableA": { "additionalProperties": false, "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
0f83367f57861a55907691b51db4b2d4177c6296
2021-02-10T19:45:34
tests/arrays_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_ArrayTable", "$schema": "https://json-schema.org/draft/2019-09/schema", "definitions": { "MyGame_Example_ArrayStruct": { "additionalProperties": false, "properties": { "a": { "type": "number" }, "b": { "items": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "maxItems": 15, "minItems": 15, "type": "array" }, "c": { "maximum": 127, "minimum": -128, "type": "integer" }, "d": { "items": { "$ref": "#/definitions/MyGame_Example_NestedStruct" }, "maxItems": 2, "minItems": 2, "type": "array" }, "e": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "f": { "items": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "maxItems": 2, "minItems": 2, "type": "array" } }, "type": "object" }, "MyGame_Example_ArrayTable": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/MyGame_Example_ArrayStruct" } }, "type": "object" }, "MyGame_Example_NestedStruct": { "additionalProperties": false, "properties": { "a": { "items": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "maxItems": 2, "minItems": 2, "type": "array" }, "b": { "$ref": "#/definitions/MyGame_Example_TestEnum" }, "c": { "items": { "$ref": "#/definitions/MyGame_Example_TestEnum" }, "maxItems": 2, "minItems": 2, "type": "array" }, "d": { "items": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "maxItems": 2, "minItems": 2, "type": "array" } }, "type": "object" }, "MyGame_Example_TestEnum": { "enum": [ "A", "B", "C" ], "type": "string" } } }
Apache-2.0
en
google/flatbuffers
160e8f2fdc9d5989e652709fae3fac0bd9aaed14
2018-10-30T00:40:19
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "MyGame_Example2_Monster": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "additionalProperties": false, "properties": { "distance": { "type": "number" }, "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "additionalProperties": false, "description": " an example documentation comment: monster object", "properties": { "co_owning_reference": { "type": "number" }, "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "type": "number" }, "type": "array" }, "friendly": { "type": "boolean" }, "hp": { "type": "number" }, "inventory": { "items": { "type": "number" }, "type": "array" }, "mana": { "type": "number" }, "name": { "type": "string" }, "non_owning_reference": { "type": "number" }, "parent_namespace_test": { "$ref": "#/definitions/MyGame_InParentNamespace" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "single_weak_reference": { "type": "number" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "type": "number" }, "testhashs32_fnv1a": { "type": "number" }, "testhashs64_fnv1": { "type": "number" }, "testhashs64_fnv1a": { "type": "number" }, "testhashu32_fnv1": { "type": "number" }, "testhashu32_fnv1a": { "type": "number" }, "testhashu64_fnv1": { "type": "number" }, "testhashu64_fnv1a": { "type": "number" }, "testnestedflatbuffer": { "items": { "type": "number" }, "type": "array" }, "vector_of_co_owning_references": { "items": { "type": "number" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_longs": { "items": { "type": "number" }, "type": "array" }, "vector_of_non_owning_references": { "items": { "type": "number" }, "type": "array" }, "vector_of_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_strong_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_weak_references": { "items": { "type": "number" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Referrable": { "additionalProperties": false, "properties": { "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Stat": { "additionalProperties": false, "properties": { "count": { "type": "number" }, "id": { "type": "string" }, "val": { "type": "number" } }, "type": "object" }, "MyGame_Example_Test": { "additionalProperties": false, "properties": { "a": { "type": "number" }, "b": { "type": "number" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "additionalProperties": false, "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_TypeAliases": { "additionalProperties": false, "properties": { "f32": { "type": "number" }, "f64": { "type": "number" }, "i16": { "type": "number" }, "i32": { "type": "number" }, "i64": { "type": "number" }, "i8": { "type": "number" }, "u16": { "type": "number" }, "u32": { "type": "number" }, "u64": { "type": "number" }, "u8": { "type": "number" }, "v8": { "items": { "type": "number" }, "type": "array" }, "vf64": { "items": { "type": "number" }, "type": "array" } }, "type": "object" }, "MyGame_Example_Vec3": { "additionalProperties": false, "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_InParentNamespace": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "additionalProperties": false, "properties": { "a": { "type": "number" } }, "type": "object" }, "TableA": { "additionalProperties": false, "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
f064a6cc60b0978509280002f93dcb9d08a543d8
2017-07-24T21:19:49
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "MyGame_Example2_Monster": { "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "properties": { "distance": { "type": "number" }, "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "description": " an example documentation comment: monster object", "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "type": "number" }, "type": "array" }, "friendly": { "type": "boolean" }, "hp": { "type": "number" }, "inventory": { "items": { "type": "number" }, "type": "array" }, "mana": { "type": "number" }, "name": { "type": "string" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "type": "number" }, "testhashs32_fnv1a": { "type": "number" }, "testhashs64_fnv1": { "type": "number" }, "testhashs64_fnv1a": { "type": "number" }, "testhashu32_fnv1": { "type": "number" }, "testhashu32_fnv1a": { "type": "number" }, "testhashu64_fnv1": { "type": "number" }, "testhashu64_fnv1a": { "type": "number" }, "testnestedflatbuffer": { "items": { "type": "number" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Stat": { "properties": { "count": { "type": "number" }, "id": { "type": "string" }, "val": { "type": "number" } }, "type": "object" }, "MyGame_Example_Test": { "properties": { "a": { "type": "number" }, "b": { "type": "number" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_Vec3": { "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "properties": {}, "type": "object" }, "TableA": { "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
6942704f2b4ce42aa64f371e4937f410437faf13
2020-07-16T20:49:42
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "https://json-schema.org/draft/2019-09/schema", "definitions": { "MyGame_Example2_Monster": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "additionalProperties": false, "properties": { "distance": { "type": "number" }, "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_AnyAmbiguousAliases": { "enum": [ "NONE", "M1", "M2", "M3" ], "type": "string" }, "MyGame_Example_AnyUniqueAliases": { "enum": [ "NONE", "M", "TS", "M2" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "additionalProperties": false, "description": " an example documentation comment: \"monster object\"", "properties": { "any_ambiguous": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" } ] }, "any_ambiguous_type": { "$ref": "#/definitions/MyGame_Example_AnyAmbiguousAliases" }, "any_unique": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "any_unique_type": { "$ref": "#/definitions/MyGame_Example_AnyUniqueAliases" }, "co_owning_reference": { "type": "number" }, "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "type": "number" }, "type": "array" }, "friendly": { "deprecated": true, "type": "boolean" }, "hp": { "type": "number" }, "inventory": { "items": { "type": "number" }, "type": "array" }, "mana": { "type": "number" }, "name": { "type": "string" }, "non_owning_reference": { "type": "number" }, "parent_namespace_test": { "$ref": "#/definitions/MyGame_InParentNamespace" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "signed_enum": { "$ref": "#/definitions/MyGame_Example_Race" }, "single_weak_reference": { "type": "number" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "type": "number" }, "testhashs32_fnv1a": { "type": "number" }, "testhashs64_fnv1": { "type": "number" }, "testhashs64_fnv1a": { "type": "number" }, "testhashu32_fnv1": { "type": "number" }, "testhashu32_fnv1a": { "type": "number" }, "testhashu64_fnv1": { "type": "number" }, "testhashu64_fnv1a": { "type": "number" }, "testnestedflatbuffer": { "items": { "type": "number" }, "type": "array" }, "vector_of_co_owning_references": { "items": { "type": "number" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_enums": { "$ref": "#/definitions/MyGame_Example_Color" }, "vector_of_longs": { "items": { "type": "number" }, "type": "array" }, "vector_of_non_owning_references": { "items": { "type": "number" }, "type": "array" }, "vector_of_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_strong_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_weak_references": { "items": { "type": "number" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Race": { "enum": [ "None", "Human", "Dwarf", "Elf" ], "type": "string" }, "MyGame_Example_Referrable": { "additionalProperties": false, "properties": { "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Stat": { "additionalProperties": false, "properties": { "count": { "type": "number" }, "id": { "type": "string" }, "val": { "type": "number" } }, "type": "object" }, "MyGame_Example_Test": { "additionalProperties": false, "properties": { "a": { "type": "number" }, "b": { "type": "number" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "additionalProperties": false, "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_TypeAliases": { "additionalProperties": false, "properties": { "f32": { "type": "number" }, "f64": { "type": "number" }, "i16": { "type": "number" }, "i32": { "type": "number" }, "i64": { "type": "number" }, "i8": { "type": "number" }, "u16": { "type": "number" }, "u32": { "type": "number" }, "u64": { "type": "number" }, "u8": { "type": "number" }, "v8": { "items": { "type": "number" }, "type": "array" }, "vf64": { "items": { "type": "number" }, "type": "array" } }, "type": "object" }, "MyGame_Example_Vec3": { "additionalProperties": false, "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_InParentNamespace": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "additionalProperties": false, "properties": { "a": { "type": "number" } }, "type": "object" }, "TableA": { "additionalProperties": false, "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
bb736091f336de070d0fdee4ad06fe0fc9c8b3dd
2017-08-31T15:56:04
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "MyGame_Example2_Monster": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "additionalProperties": false, "properties": { "distance": { "type": "number" }, "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "additionalProperties": false, "description": " an example documentation comment: monster object", "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "type": "number" }, "type": "array" }, "friendly": { "type": "boolean" }, "hp": { "type": "number" }, "inventory": { "items": { "type": "number" }, "type": "array" }, "mana": { "type": "number" }, "name": { "type": "string" }, "parent_namespace_test": { "$ref": "#/definitions/MyGame_InParentNamespace" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "type": "number" }, "testhashs32_fnv1a": { "type": "number" }, "testhashs64_fnv1": { "type": "number" }, "testhashs64_fnv1a": { "type": "number" }, "testhashu32_fnv1": { "type": "number" }, "testhashu32_fnv1a": { "type": "number" }, "testhashu64_fnv1": { "type": "number" }, "testhashu64_fnv1a": { "type": "number" }, "testnestedflatbuffer": { "items": { "type": "number" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_longs": { "items": { "type": "number" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Stat": { "additionalProperties": false, "properties": { "count": { "type": "number" }, "id": { "type": "string" }, "val": { "type": "number" } }, "type": "object" }, "MyGame_Example_Test": { "additionalProperties": false, "properties": { "a": { "type": "number" }, "b": { "type": "number" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "additionalProperties": false, "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_TypeAliases": { "additionalProperties": false, "properties": { "f32": { "type": "number" }, "f64": { "type": "number" }, "i16": { "type": "number" }, "i32": { "type": "number" }, "i64": { "type": "number" }, "i8": { "type": "number" }, "u16": { "type": "number" }, "u32": { "type": "number" }, "u64": { "type": "number" }, "u8": { "type": "number" }, "v8": { "items": { "type": "number" }, "type": "array" }, "vf64": { "items": { "type": "number" }, "type": "array" } }, "type": "object" }, "MyGame_Example_Vec3": { "additionalProperties": false, "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_InParentNamespace": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "additionalProperties": false, "properties": {}, "type": "object" }, "TableA": { "additionalProperties": false, "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
9ed13230448ad337e127c376028c8d55bacb2008
2022-03-05T05:57:48
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "https://json-schema.org/draft/2019-09/schema", "definitions": { "MyGame_Example2_Monster": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "additionalProperties": false, "properties": { "distance": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "id": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_AnyAmbiguousAliases": { "enum": [ "NONE", "M1", "M2", "M3" ], "type": "string" }, "MyGame_Example_AnyUniqueAliases": { "enum": [ "NONE", "M", "TS", "M2" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_LongEnum": { "enum": [ "LongOne", "LongTwo", "LongBig" ], "type": "string" }, "MyGame_Example_Monster": { "additionalProperties": false, "description": "an example documentation comment: \"monster object\"", "properties": { "any_ambiguous": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" } ] }, "any_ambiguous_type": { "$ref": "#/definitions/MyGame_Example_AnyAmbiguousAliases" }, "any_unique": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "any_unique_type": { "$ref": "#/definitions/MyGame_Example_AnyUniqueAliases" }, "co_owning_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "friendly": { "deprecated": true, "type": "boolean" }, "hp": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "inventory": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "long_enum_non_enum_default": { "$ref": "#/definitions/MyGame_Example_LongEnum" }, "long_enum_normal_default": { "$ref": "#/definitions/MyGame_Example_LongEnum" }, "mana": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "name": { "type": "string" }, "native_inline": { "$ref": "#/definitions/MyGame_Example_Test" }, "non_owning_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "parent_namespace_test": { "$ref": "#/definitions/MyGame_InParentNamespace" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "scalar_key_sorted_tables": { "items": { "$ref": "#/definitions/MyGame_Example_Stat" }, "type": "array" }, "signed_enum": { "$ref": "#/definitions/MyGame_Example_Race" }, "single_weak_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "description": "an example documentation comment: this will end up in the generated code\nmultiline too", "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "testhashs32_fnv1a": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "testhashs64_fnv1": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "testhashs64_fnv1a": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "testhashu32_fnv1": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "testhashu32_fnv1a": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "testhashu64_fnv1": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "testhashu64_fnv1a": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "testnestedflatbuffer": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "testrequirednestedflatbuffer": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_co_owning_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_enums": { "items": { "$ref": "#/definitions/MyGame_Example_Color" }, "type": "array" }, "vector_of_longs": { "items": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "type": "array" }, "vector_of_non_owning_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_strong_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_weak_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Race": { "enum": [ "None", "Human", "Dwarf", "Elf" ], "type": "string" }, "MyGame_Example_Referrable": { "additionalProperties": false, "properties": { "id": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" } }, "type": "object" }, "MyGame_Example_Stat": { "additionalProperties": false, "properties": { "count": { "maximum": 65535, "minimum": 0, "type": "integer" }, "id": { "type": "string" }, "val": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" } }, "type": "object" }, "MyGame_Example_StructOfStructs": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/MyGame_Example_Ability" }, "b": { "$ref": "#/definitions/MyGame_Example_Test" }, "c": { "$ref": "#/definitions/MyGame_Example_Ability" } }, "type": "object" }, "MyGame_Example_Test": { "additionalProperties": false, "properties": { "a": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "b": { "maximum": 127, "minimum": -128, "type": "integer" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "additionalProperties": false, "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_TypeAliases": { "additionalProperties": false, "properties": { "f32": { "type": "number" }, "f64": { "type": "number" }, "i16": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "i32": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "i64": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "i8": { "maximum": 127, "minimum": -128, "type": "integer" }, "u16": { "maximum": 65535, "minimum": 0, "type": "integer" }, "u32": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "u64": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "u8": { "maximum": 255, "minimum": 0, "type": "integer" }, "v8": { "items": { "maximum": 127, "minimum": -128, "type": "integer" }, "type": "array" }, "vf64": { "items": { "type": "number" }, "type": "array" } }, "type": "object" }, "MyGame_Example_Vec3": { "additionalProperties": false, "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_InParentNamespace": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "additionalProperties": false, "properties": { "a": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" } }, "type": "object" }, "TableA": { "additionalProperties": false, "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
a8923222033763f1a74f836c656af19d9f620378
2017-07-20T18:01:00
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "MyGame_Example2_Monster": { "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "properties": { "distance": { "type": "number" }, "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "description": " an example documentation comment: monster object", "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "type": "number" }, "type": "array" }, "friendly": { "type": "boolean" }, "hp": { "type": "number" }, "inventory": { "items": { "type": "number" }, "type": "array" }, "mana": { "type": "number" }, "name": { "type": "string" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "type": "number" }, "testhashs32_fnv1a": { "type": "number" }, "testhashs64_fnv1": { "type": "number" }, "testhashs64_fnv1a": { "type": "number" }, "testhashu32_fnv1": { "type": "number" }, "testhashu32_fnv1a": { "type": "number" }, "testhashu64_fnv1": { "type": "number" }, "testhashu64_fnv1a": { "type": "number" }, "testnestedflatbuffer": { "items": { "type": "number" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Stat": { "properties": { "count": { "type": "number" }, "id": { "type": "string" }, "val": { "type": "number" } }, "type": "object" }, "MyGame_Example_Test": { "properties": { "a": { "type": "number" }, "b": { "type": "number" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_Vec3": { "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "properties": {}, "type": "object" }, "TableA": { "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
321a1c9dc0bb2205feb1bb9fd079546403aa852f
2017-08-24T20:39:45
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "MyGame_Example2_Monster": { "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "properties": { "distance": { "type": "number" }, "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "description": " an example documentation comment: monster object", "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "type": "number" }, "type": "array" }, "friendly": { "type": "boolean" }, "hp": { "type": "number" }, "inventory": { "items": { "type": "number" }, "type": "array" }, "mana": { "type": "number" }, "name": { "type": "string" }, "parent_namespace_test": { "$ref": "#/definitions/MyGame_InParentNamespace" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "type": "number" }, "testhashs32_fnv1a": { "type": "number" }, "testhashs64_fnv1": { "type": "number" }, "testhashs64_fnv1a": { "type": "number" }, "testhashu32_fnv1": { "type": "number" }, "testhashu32_fnv1a": { "type": "number" }, "testhashu64_fnv1": { "type": "number" }, "testhashu64_fnv1a": { "type": "number" }, "testnestedflatbuffer": { "items": { "type": "number" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_longs": { "items": { "type": "number" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Stat": { "properties": { "count": { "type": "number" }, "id": { "type": "string" }, "val": { "type": "number" } }, "type": "object" }, "MyGame_Example_Test": { "properties": { "a": { "type": "number" }, "b": { "type": "number" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_TypeAliases": { "properties": { "f32": { "type": "number" }, "f64": { "type": "number" }, "i16": { "type": "number" }, "i32": { "type": "number" }, "i64": { "type": "number" }, "i8": { "type": "number" }, "u16": { "type": "number" }, "u32": { "type": "number" }, "u64": { "type": "number" }, "u8": { "type": "number" }, "v8": { "items": { "type": "number" }, "type": "array" }, "vf64": { "items": { "type": "number" }, "type": "array" } }, "type": "object" }, "MyGame_Example_Vec3": { "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_InParentNamespace": { "properties": {}, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "properties": {}, "type": "object" }, "TableA": { "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
8aa8b9139eb330f27816a5b8b5bbef402fbe3632
2022-11-08T18:59:46
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "https://json-schema.org/draft/2019-09/schema", "definitions": { "MyGame_Example2_Monster": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "additionalProperties": false, "properties": { "distance": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "id": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_AnyAmbiguousAliases": { "enum": [ "NONE", "M1", "M2", "M3" ], "type": "string" }, "MyGame_Example_AnyUniqueAliases": { "enum": [ "NONE", "M", "TS", "M2" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_LongEnum": { "enum": [ "LongOne", "LongTwo", "LongBig" ], "type": "string" }, "MyGame_Example_Monster": { "additionalProperties": false, "description": "an example documentation comment: \"monster object\"", "properties": { "any_ambiguous": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" } ] }, "any_ambiguous_type": { "$ref": "#/definitions/MyGame_Example_AnyAmbiguousAliases" }, "any_unique": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "any_unique_type": { "$ref": "#/definitions/MyGame_Example_AnyUniqueAliases" }, "co_owning_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "double_inf_default": { "type": "number" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "friendly": { "deprecated": true, "type": "boolean" }, "hp": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "inf_default": { "type": "number" }, "infinity_default": { "type": "number" }, "inventory": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "long_enum_non_enum_default": { "$ref": "#/definitions/MyGame_Example_LongEnum" }, "long_enum_normal_default": { "$ref": "#/definitions/MyGame_Example_LongEnum" }, "mana": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "name": { "type": "string" }, "nan_default": { "type": "number" }, "native_inline": { "$ref": "#/definitions/MyGame_Example_Test" }, "negative_inf_default": { "type": "number" }, "negative_infinity_default": { "type": "number" }, "non_owning_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "parent_namespace_test": { "$ref": "#/definitions/MyGame_InParentNamespace" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "positive_inf_default": { "type": "number" }, "positive_infinity_default": { "type": "number" }, "scalar_key_sorted_tables": { "items": { "$ref": "#/definitions/MyGame_Example_Stat" }, "type": "array" }, "signed_enum": { "$ref": "#/definitions/MyGame_Example_Race" }, "single_weak_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "description": "an example documentation comment: this will end up in the generated code\nmultiline too", "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "testhashs32_fnv1a": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "testhashs64_fnv1": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "testhashs64_fnv1a": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "testhashu32_fnv1": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "testhashu32_fnv1a": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "testhashu64_fnv1": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "testhashu64_fnv1a": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "testnestedflatbuffer": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "testrequirednestedflatbuffer": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_co_owning_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_enums": { "items": { "$ref": "#/definitions/MyGame_Example_Color" }, "type": "array" }, "vector_of_longs": { "items": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "type": "array" }, "vector_of_non_owning_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_strong_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_weak_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Race": { "enum": [ "None", "Human", "Dwarf", "Elf" ], "type": "string" }, "MyGame_Example_Referrable": { "additionalProperties": false, "properties": { "id": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" } }, "type": "object" }, "MyGame_Example_Stat": { "additionalProperties": false, "properties": { "count": { "maximum": 65535, "minimum": 0, "type": "integer" }, "id": { "type": "string" }, "val": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" } }, "type": "object" }, "MyGame_Example_StructOfStructs": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/MyGame_Example_Ability" }, "b": { "$ref": "#/definitions/MyGame_Example_Test" }, "c": { "$ref": "#/definitions/MyGame_Example_Ability" } }, "type": "object" }, "MyGame_Example_StructOfStructsOfStructs": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/MyGame_Example_StructOfStructs" } }, "type": "object" }, "MyGame_Example_Test": { "additionalProperties": false, "properties": { "a": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "b": { "maximum": 127, "minimum": -128, "type": "integer" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "additionalProperties": false, "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_TypeAliases": { "additionalProperties": false, "properties": { "f32": { "type": "number" }, "f64": { "type": "number" }, "i16": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "i32": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "i64": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "i8": { "maximum": 127, "minimum": -128, "type": "integer" }, "u16": { "maximum": 65535, "minimum": 0, "type": "integer" }, "u32": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "u64": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "u8": { "maximum": 255, "minimum": 0, "type": "integer" }, "v8": { "items": { "maximum": 127, "minimum": -128, "type": "integer" }, "type": "array" }, "vf64": { "items": { "type": "number" }, "type": "array" } }, "type": "object" }, "MyGame_Example_Vec3": { "additionalProperties": false, "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_InParentNamespace": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "additionalProperties": false, "properties": { "a": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" } }, "type": "object" }, "TableA": { "additionalProperties": false, "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
0f83367f57861a55907691b51db4b2d4177c6296
2021-02-10T19:45:34
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "https://json-schema.org/draft/2019-09/schema", "definitions": { "MyGame_Example2_Monster": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "additionalProperties": false, "properties": { "distance": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "id": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_AnyAmbiguousAliases": { "enum": [ "NONE", "M1", "M2", "M3" ], "type": "string" }, "MyGame_Example_AnyUniqueAliases": { "enum": [ "NONE", "M", "TS", "M2" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "additionalProperties": false, "description": " an example documentation comment: \"monster object\"", "properties": { "any_ambiguous": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" } ] }, "any_ambiguous_type": { "$ref": "#/definitions/MyGame_Example_AnyAmbiguousAliases" }, "any_unique": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "any_unique_type": { "$ref": "#/definitions/MyGame_Example_AnyUniqueAliases" }, "co_owning_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "friendly": { "deprecated": true, "type": "boolean" }, "hp": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "inventory": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "mana": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "name": { "type": "string" }, "non_owning_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "parent_namespace_test": { "$ref": "#/definitions/MyGame_InParentNamespace" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "scalar_key_sorted_tables": { "items": { "$ref": "#/definitions/MyGame_Example_Stat" }, "type": "array" }, "signed_enum": { "$ref": "#/definitions/MyGame_Example_Race" }, "single_weak_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "testhashs32_fnv1a": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "testhashs64_fnv1": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "testhashs64_fnv1a": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "testhashu32_fnv1": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "testhashu32_fnv1a": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "testhashu64_fnv1": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "testhashu64_fnv1a": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "testnestedflatbuffer": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "testrequirednestedflatbuffer": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_co_owning_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_enums": { "items": { "$ref": "#/definitions/MyGame_Example_Color" }, "type": "array" }, "vector_of_longs": { "items": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "type": "array" }, "vector_of_non_owning_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_strong_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_weak_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Race": { "enum": [ "None", "Human", "Dwarf", "Elf" ], "type": "string" }, "MyGame_Example_Referrable": { "additionalProperties": false, "properties": { "id": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" } }, "type": "object" }, "MyGame_Example_Stat": { "additionalProperties": false, "properties": { "count": { "maximum": 65535, "minimum": 0, "type": "integer" }, "id": { "type": "string" }, "val": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" } }, "type": "object" }, "MyGame_Example_Test": { "additionalProperties": false, "properties": { "a": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "b": { "maximum": 127, "minimum": -128, "type": "integer" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "additionalProperties": false, "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_TypeAliases": { "additionalProperties": false, "properties": { "f32": { "type": "number" }, "f64": { "type": "number" }, "i16": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "i32": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "i64": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "i8": { "maximum": 127, "minimum": -128, "type": "integer" }, "u16": { "maximum": 65535, "minimum": 0, "type": "integer" }, "u32": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "u64": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "u8": { "maximum": 255, "minimum": 0, "type": "integer" }, "v8": { "items": { "maximum": 127, "minimum": -128, "type": "integer" }, "type": "array" }, "vf64": { "items": { "type": "number" }, "type": "array" } }, "type": "object" }, "MyGame_Example_Vec3": { "additionalProperties": false, "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_InParentNamespace": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "additionalProperties": false, "properties": { "a": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" } }, "type": "object" }, "TableA": { "additionalProperties": false, "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
f2b3705c2c62c40afdef96f73f0aeaf32b4c8e0e
2017-08-02T15:07:43
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "MyGame_Example2_Monster": { "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "properties": { "distance": { "type": "number" }, "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "description": " an example documentation comment: monster object", "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "type": "number" }, "type": "array" }, "friendly": { "type": "boolean" }, "hp": { "type": "number" }, "inventory": { "items": { "type": "number" }, "type": "array" }, "mana": { "type": "number" }, "name": { "type": "string" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "type": "number" }, "testhashs32_fnv1a": { "type": "number" }, "testhashs64_fnv1": { "type": "number" }, "testhashs64_fnv1a": { "type": "number" }, "testhashu32_fnv1": { "type": "number" }, "testhashu32_fnv1a": { "type": "number" }, "testhashu64_fnv1": { "type": "number" }, "testhashu64_fnv1a": { "type": "number" }, "testnestedflatbuffer": { "items": { "type": "number" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_longs": { "items": { "type": "number" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Stat": { "properties": { "count": { "type": "number" }, "id": { "type": "string" }, "val": { "type": "number" } }, "type": "object" }, "MyGame_Example_Test": { "properties": { "a": { "type": "number" }, "b": { "type": "number" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_TypeAliases": { "properties": { "f32": { "type": "number" }, "f64": { "type": "number" }, "i16": { "type": "number" }, "i32": { "type": "number" }, "i64": { "type": "number" }, "i8": { "type": "number" }, "u16": { "type": "number" }, "u32": { "type": "number" }, "u64": { "type": "number" }, "u8": { "type": "number" }, "v8": { "items": { "type": "number" }, "type": "array" }, "vf64": { "items": { "type": "number" }, "type": "array" } }, "type": "object" }, "MyGame_Example_Vec3": { "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "properties": {}, "type": "object" }, "TableA": { "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
0e3fdd0eeac998974179fd48874a2d98dbf9af83
2020-03-12T19:10:30
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "MyGame_Example2_Monster": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "additionalProperties": false, "properties": { "distance": { "type": "number" }, "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_AnyAmbiguousAliases": { "enum": [ "NONE", "M1", "M2", "M3" ], "type": "string" }, "MyGame_Example_AnyUniqueAliases": { "enum": [ "NONE", "M", "TS", "M2" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "additionalProperties": false, "description": " an example documentation comment: \"monster object\"", "properties": { "any_ambiguous": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" } ] }, "any_ambiguous_type": { "$ref": "#/definitions/MyGame_Example_AnyAmbiguousAliases" }, "any_unique": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "any_unique_type": { "$ref": "#/definitions/MyGame_Example_AnyUniqueAliases" }, "co_owning_reference": { "type": "number" }, "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "type": "number" }, "type": "array" }, "friendly": { "type": "boolean" }, "hp": { "type": "number" }, "inventory": { "items": { "type": "number" }, "type": "array" }, "mana": { "type": "number" }, "name": { "type": "string" }, "non_owning_reference": { "type": "number" }, "parent_namespace_test": { "$ref": "#/definitions/MyGame_InParentNamespace" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "signed_enum": { "$ref": "#/definitions/MyGame_Example_Race" }, "single_weak_reference": { "type": "number" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "type": "number" }, "testhashs32_fnv1a": { "type": "number" }, "testhashs64_fnv1": { "type": "number" }, "testhashs64_fnv1a": { "type": "number" }, "testhashu32_fnv1": { "type": "number" }, "testhashu32_fnv1a": { "type": "number" }, "testhashu64_fnv1": { "type": "number" }, "testhashu64_fnv1a": { "type": "number" }, "testnestedflatbuffer": { "items": { "type": "number" }, "type": "array" }, "vector_of_co_owning_references": { "items": { "type": "number" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_enums": { "$ref": "#/definitions/MyGame_Example_Color" }, "vector_of_longs": { "items": { "type": "number" }, "type": "array" }, "vector_of_non_owning_references": { "items": { "type": "number" }, "type": "array" }, "vector_of_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_strong_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_weak_references": { "items": { "type": "number" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Race": { "enum": [ "None", "Human", "Dwarf", "Elf" ], "type": "string" }, "MyGame_Example_Referrable": { "additionalProperties": false, "properties": { "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Stat": { "additionalProperties": false, "properties": { "count": { "type": "number" }, "id": { "type": "string" }, "val": { "type": "number" } }, "type": "object" }, "MyGame_Example_Test": { "additionalProperties": false, "properties": { "a": { "type": "number" }, "b": { "type": "number" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "additionalProperties": false, "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_TypeAliases": { "additionalProperties": false, "properties": { "f32": { "type": "number" }, "f64": { "type": "number" }, "i16": { "type": "number" }, "i32": { "type": "number" }, "i64": { "type": "number" }, "i8": { "type": "number" }, "u16": { "type": "number" }, "u32": { "type": "number" }, "u64": { "type": "number" }, "u8": { "type": "number" }, "v8": { "items": { "type": "number" }, "type": "array" }, "vf64": { "items": { "type": "number" }, "type": "array" } }, "type": "object" }, "MyGame_Example_Vec3": { "additionalProperties": false, "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_InParentNamespace": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "additionalProperties": false, "properties": { "a": { "type": "number" } }, "type": "object" }, "TableA": { "additionalProperties": false, "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
9d92fd92e1809624ae5313b015f6ca66f234acf6
2019-05-30T23:02:57
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "MyGame_Example2_Monster": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "additionalProperties": false, "properties": { "distance": { "type": "number" }, "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_AnyAmbiguousAliases": { "enum": [ "NONE", "M1", "M2", "M3" ], "type": "string" }, "MyGame_Example_AnyUniqueAliases": { "enum": [ "NONE", "M", "TS", "M2" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "additionalProperties": false, "description": " an example documentation comment: monster object", "properties": { "any_ambiguous": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" } ] }, "any_ambiguous_type": { "$ref": "#/definitions/MyGame_Example_AnyAmbiguousAliases" }, "any_unique": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "any_unique_type": { "$ref": "#/definitions/MyGame_Example_AnyUniqueAliases" }, "co_owning_reference": { "type": "number" }, "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "type": "number" }, "type": "array" }, "friendly": { "type": "boolean" }, "hp": { "type": "number" }, "inventory": { "items": { "type": "number" }, "type": "array" }, "mana": { "type": "number" }, "name": { "type": "string" }, "non_owning_reference": { "type": "number" }, "parent_namespace_test": { "$ref": "#/definitions/MyGame_InParentNamespace" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "single_weak_reference": { "type": "number" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "type": "number" }, "testhashs32_fnv1a": { "type": "number" }, "testhashs64_fnv1": { "type": "number" }, "testhashs64_fnv1a": { "type": "number" }, "testhashu32_fnv1": { "type": "number" }, "testhashu32_fnv1a": { "type": "number" }, "testhashu64_fnv1": { "type": "number" }, "testhashu64_fnv1a": { "type": "number" }, "testnestedflatbuffer": { "items": { "type": "number" }, "type": "array" }, "vector_of_co_owning_references": { "items": { "type": "number" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_enums": { "$ref": "#/definitions/MyGame_Example_Color" }, "vector_of_longs": { "items": { "type": "number" }, "type": "array" }, "vector_of_non_owning_references": { "items": { "type": "number" }, "type": "array" }, "vector_of_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_strong_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_weak_references": { "items": { "type": "number" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Referrable": { "additionalProperties": false, "properties": { "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Stat": { "additionalProperties": false, "properties": { "count": { "type": "number" }, "id": { "type": "string" }, "val": { "type": "number" } }, "type": "object" }, "MyGame_Example_Test": { "additionalProperties": false, "properties": { "a": { "type": "number" }, "b": { "type": "number" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "additionalProperties": false, "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_TypeAliases": { "additionalProperties": false, "properties": { "f32": { "type": "number" }, "f64": { "type": "number" }, "i16": { "type": "number" }, "i32": { "type": "number" }, "i64": { "type": "number" }, "i8": { "type": "number" }, "u16": { "type": "number" }, "u32": { "type": "number" }, "u64": { "type": "number" }, "u8": { "type": "number" }, "v8": { "items": { "type": "number" }, "type": "array" }, "vf64": { "items": { "type": "number" }, "type": "array" } }, "type": "object" }, "MyGame_Example_Vec3": { "additionalProperties": false, "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_InParentNamespace": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "additionalProperties": false, "properties": { "a": { "type": "number" } }, "type": "object" }, "TableA": { "additionalProperties": false, "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
c8db1ca5d43b74418eb32a57bf1cb6208a655ece
2021-06-21T18:42:07
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "https://json-schema.org/draft/2019-09/schema", "definitions": { "MyGame_Example2_Monster": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "additionalProperties": false, "properties": { "distance": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "id": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_AnyAmbiguousAliases": { "enum": [ "NONE", "M1", "M2", "M3" ], "type": "string" }, "MyGame_Example_AnyUniqueAliases": { "enum": [ "NONE", "M", "TS", "M2" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "additionalProperties": false, "description": "an example documentation comment: \"monster object\"", "properties": { "any_ambiguous": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" } ] }, "any_ambiguous_type": { "$ref": "#/definitions/MyGame_Example_AnyAmbiguousAliases" }, "any_unique": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "any_unique_type": { "$ref": "#/definitions/MyGame_Example_AnyUniqueAliases" }, "co_owning_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "friendly": { "deprecated": true, "type": "boolean" }, "hp": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "inventory": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "mana": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "name": { "type": "string" }, "non_owning_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "parent_namespace_test": { "$ref": "#/definitions/MyGame_InParentNamespace" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "scalar_key_sorted_tables": { "items": { "$ref": "#/definitions/MyGame_Example_Stat" }, "type": "array" }, "signed_enum": { "$ref": "#/definitions/MyGame_Example_Race" }, "single_weak_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "description": "an example documentation comment: this will end up in the generated code\nmultiline too", "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "testhashs32_fnv1a": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "testhashs64_fnv1": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "testhashs64_fnv1a": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "testhashu32_fnv1": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "testhashu32_fnv1a": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "testhashu64_fnv1": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "testhashu64_fnv1a": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "testnestedflatbuffer": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "testrequirednestedflatbuffer": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_co_owning_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_enums": { "items": { "$ref": "#/definitions/MyGame_Example_Color" }, "type": "array" }, "vector_of_longs": { "items": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "type": "array" }, "vector_of_non_owning_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_strong_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_weak_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Race": { "enum": [ "None", "Human", "Dwarf", "Elf" ], "type": "string" }, "MyGame_Example_Referrable": { "additionalProperties": false, "properties": { "id": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" } }, "type": "object" }, "MyGame_Example_Stat": { "additionalProperties": false, "properties": { "count": { "maximum": 65535, "minimum": 0, "type": "integer" }, "id": { "type": "string" }, "val": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" } }, "type": "object" }, "MyGame_Example_StructOfStructs": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/MyGame_Example_Ability" }, "b": { "$ref": "#/definitions/MyGame_Example_Test" }, "c": { "$ref": "#/definitions/MyGame_Example_Ability" } }, "type": "object" }, "MyGame_Example_Test": { "additionalProperties": false, "properties": { "a": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "b": { "maximum": 127, "minimum": -128, "type": "integer" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "additionalProperties": false, "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_TypeAliases": { "additionalProperties": false, "properties": { "f32": { "type": "number" }, "f64": { "type": "number" }, "i16": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "i32": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "i64": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "i8": { "maximum": 127, "minimum": -128, "type": "integer" }, "u16": { "maximum": 65535, "minimum": 0, "type": "integer" }, "u32": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "u64": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "u8": { "maximum": 255, "minimum": 0, "type": "integer" }, "v8": { "items": { "maximum": 127, "minimum": -128, "type": "integer" }, "type": "array" }, "vf64": { "items": { "type": "number" }, "type": "array" } }, "type": "object" }, "MyGame_Example_Vec3": { "additionalProperties": false, "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_InParentNamespace": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "additionalProperties": false, "properties": { "a": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" } }, "type": "object" }, "TableA": { "additionalProperties": false, "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
9ce98dd77da56070dfaea00f4350a71121bd0180
2018-03-05T16:40:55
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "MyGame_Example2_Monster": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "additionalProperties": false, "properties": { "distance": { "type": "number" }, "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "additionalProperties": false, "description": " an example documentation comment: monster object", "properties": { "co_owning_reference": { "type": "number" }, "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "type": "number" }, "type": "array" }, "friendly": { "type": "boolean" }, "hp": { "type": "number" }, "inventory": { "items": { "type": "number" }, "type": "array" }, "mana": { "type": "number" }, "name": { "type": "string" }, "non_owning_reference": { "type": "number" }, "parent_namespace_test": { "$ref": "#/definitions/MyGame_InParentNamespace" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "single_weak_reference": { "type": "number" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "type": "number" }, "testhashs32_fnv1a": { "type": "number" }, "testhashs64_fnv1": { "type": "number" }, "testhashs64_fnv1a": { "type": "number" }, "testhashu32_fnv1": { "type": "number" }, "testhashu32_fnv1a": { "type": "number" }, "testhashu64_fnv1": { "type": "number" }, "testhashu64_fnv1a": { "type": "number" }, "testnestedflatbuffer": { "items": { "type": "number" }, "type": "array" }, "vector_of_co_owning_references": { "items": { "type": "number" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_longs": { "items": { "type": "number" }, "type": "array" }, "vector_of_non_owning_references": { "items": { "type": "number" }, "type": "array" }, "vector_of_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_strong_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_weak_references": { "items": { "type": "number" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Referrable": { "additionalProperties": false, "properties": { "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Stat": { "additionalProperties": false, "properties": { "count": { "type": "number" }, "id": { "type": "string" }, "val": { "type": "number" } }, "type": "object" }, "MyGame_Example_Test": { "additionalProperties": false, "properties": { "a": { "type": "number" }, "b": { "type": "number" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "additionalProperties": false, "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_TypeAliases": { "additionalProperties": false, "properties": { "f32": { "type": "number" }, "f64": { "type": "number" }, "i16": { "type": "number" }, "i32": { "type": "number" }, "i64": { "type": "number" }, "i8": { "type": "number" }, "u16": { "type": "number" }, "u32": { "type": "number" }, "u64": { "type": "number" }, "u8": { "type": "number" }, "v8": { "items": { "type": "number" }, "type": "array" }, "vf64": { "items": { "type": "number" }, "type": "array" } }, "type": "object" }, "MyGame_Example_Vec3": { "additionalProperties": false, "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_InParentNamespace": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "additionalProperties": false, "properties": {}, "type": "object" }, "TableA": { "additionalProperties": false, "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
2ad408697f282b20dcb214f826b11cf12b4e5c82
2022-03-24T04:40:11
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "https://json-schema.org/draft/2019-09/schema", "definitions": { "MyGame_Example2_Monster": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "additionalProperties": false, "properties": { "distance": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "id": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_AnyAmbiguousAliases": { "enum": [ "NONE", "M1", "M2", "M3" ], "type": "string" }, "MyGame_Example_AnyUniqueAliases": { "enum": [ "NONE", "M", "TS", "M2" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_LongEnum": { "enum": [ "LongOne", "LongTwo", "LongBig" ], "type": "string" }, "MyGame_Example_Monster": { "additionalProperties": false, "description": "an example documentation comment: \"monster object\"", "properties": { "any_ambiguous": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" } ] }, "any_ambiguous_type": { "$ref": "#/definitions/MyGame_Example_AnyAmbiguousAliases" }, "any_unique": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "any_unique_type": { "$ref": "#/definitions/MyGame_Example_AnyUniqueAliases" }, "co_owning_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "friendly": { "deprecated": true, "type": "boolean" }, "hp": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "inventory": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "long_enum_non_enum_default": { "$ref": "#/definitions/MyGame_Example_LongEnum" }, "long_enum_normal_default": { "$ref": "#/definitions/MyGame_Example_LongEnum" }, "mana": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "name": { "type": "string" }, "native_inline": { "$ref": "#/definitions/MyGame_Example_Test" }, "non_owning_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "parent_namespace_test": { "$ref": "#/definitions/MyGame_InParentNamespace" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "scalar_key_sorted_tables": { "items": { "$ref": "#/definitions/MyGame_Example_Stat" }, "type": "array" }, "signed_enum": { "$ref": "#/definitions/MyGame_Example_Race" }, "single_weak_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "description": "an example documentation comment: this will end up in the generated code\nmultiline too", "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "testhashs32_fnv1a": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "testhashs64_fnv1": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "testhashs64_fnv1a": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "testhashu32_fnv1": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "testhashu32_fnv1a": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "testhashu64_fnv1": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "testhashu64_fnv1a": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "testnestedflatbuffer": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "testrequirednestedflatbuffer": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_co_owning_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_enums": { "items": { "$ref": "#/definitions/MyGame_Example_Color" }, "type": "array" }, "vector_of_longs": { "items": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "type": "array" }, "vector_of_non_owning_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_strong_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_weak_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Race": { "enum": [ "None", "Human", "Dwarf", "Elf" ], "type": "string" }, "MyGame_Example_Referrable": { "additionalProperties": false, "properties": { "id": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" } }, "type": "object" }, "MyGame_Example_Stat": { "additionalProperties": false, "properties": { "count": { "maximum": 65535, "minimum": 0, "type": "integer" }, "id": { "type": "string" }, "val": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" } }, "type": "object" }, "MyGame_Example_StructOfStructs": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/MyGame_Example_Ability" }, "b": { "$ref": "#/definitions/MyGame_Example_Test" }, "c": { "$ref": "#/definitions/MyGame_Example_Ability" } }, "type": "object" }, "MyGame_Example_StructOfStructsOfStructs": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/MyGame_Example_StructOfStructs" } }, "type": "object" }, "MyGame_Example_Test": { "additionalProperties": false, "properties": { "a": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "b": { "maximum": 127, "minimum": -128, "type": "integer" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "additionalProperties": false, "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_TypeAliases": { "additionalProperties": false, "properties": { "f32": { "type": "number" }, "f64": { "type": "number" }, "i16": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "i32": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "i64": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "i8": { "maximum": 127, "minimum": -128, "type": "integer" }, "u16": { "maximum": 65535, "minimum": 0, "type": "integer" }, "u32": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "u64": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "u8": { "maximum": 255, "minimum": 0, "type": "integer" }, "v8": { "items": { "maximum": 127, "minimum": -128, "type": "integer" }, "type": "array" }, "vf64": { "items": { "type": "number" }, "type": "array" } }, "type": "object" }, "MyGame_Example_Vec3": { "additionalProperties": false, "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_InParentNamespace": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "additionalProperties": false, "properties": { "a": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" } }, "type": "object" }, "TableA": { "additionalProperties": false, "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
59e26017cbdc75be0c658e37b630ecd8db26d897
2018-02-22T19:04:26
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "MyGame_Example2_Monster": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "additionalProperties": false, "properties": { "distance": { "type": "number" }, "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "additionalProperties": false, "description": " an example documentation comment: monster object", "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "type": "number" }, "type": "array" }, "friendly": { "type": "boolean" }, "hp": { "type": "number" }, "inventory": { "items": { "type": "number" }, "type": "array" }, "mana": { "type": "number" }, "name": { "type": "string" }, "parent_namespace_test": { "$ref": "#/definitions/MyGame_InParentNamespace" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "single_weak_reference": { "type": "number" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "type": "number" }, "testhashs32_fnv1a": { "type": "number" }, "testhashs64_fnv1": { "type": "number" }, "testhashs64_fnv1a": { "type": "number" }, "testhashu32_fnv1": { "type": "number" }, "testhashu32_fnv1a": { "type": "number" }, "testhashu64_fnv1": { "type": "number" }, "testhashu64_fnv1a": { "type": "number" }, "testnestedflatbuffer": { "items": { "type": "number" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_longs": { "items": { "type": "number" }, "type": "array" }, "vector_of_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_weak_references": { "items": { "type": "number" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Referrable": { "additionalProperties": false, "properties": { "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Stat": { "additionalProperties": false, "properties": { "count": { "type": "number" }, "id": { "type": "string" }, "val": { "type": "number" } }, "type": "object" }, "MyGame_Example_Test": { "additionalProperties": false, "properties": { "a": { "type": "number" }, "b": { "type": "number" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "additionalProperties": false, "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_TypeAliases": { "additionalProperties": false, "properties": { "f32": { "type": "number" }, "f64": { "type": "number" }, "i16": { "type": "number" }, "i32": { "type": "number" }, "i64": { "type": "number" }, "i8": { "type": "number" }, "u16": { "type": "number" }, "u32": { "type": "number" }, "u64": { "type": "number" }, "u8": { "type": "number" }, "v8": { "items": { "type": "number" }, "type": "array" }, "vf64": { "items": { "type": "number" }, "type": "array" } }, "type": "object" }, "MyGame_Example_Vec3": { "additionalProperties": false, "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_InParentNamespace": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "additionalProperties": false, "properties": {}, "type": "object" }, "TableA": { "additionalProperties": false, "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
6942704f2b4ce42aa64f371e4937f410437faf13
2020-07-16T20:49:42
tests/arrays_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_ArrayTable", "$schema": "https://json-schema.org/draft/2019-09/schema", "definitions": { "MyGame_Example_ArrayStruct": { "additionalProperties": false, "properties": { "a": { "type": "number" }, "b": { "items": { "type": "number" }, "maxItems": 15, "minItems": 15, "type": "array" }, "c": { "type": "number" }, "d": { "items": { "$ref": "#/definitions/MyGame_Example_NestedStruct" }, "maxItems": 2, "minItems": 2, "type": "array" }, "e": { "type": "number" }, "f": { "items": { "type": "number" }, "maxItems": 2, "minItems": 2, "type": "array" } }, "type": "object" }, "MyGame_Example_ArrayTable": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/MyGame_Example_ArrayStruct" } }, "type": "object" }, "MyGame_Example_NestedStruct": { "additionalProperties": false, "properties": { "a": { "items": { "type": "number" }, "maxItems": 2, "minItems": 2, "type": "array" }, "b": { "$ref": "#/definitions/MyGame_Example_TestEnum" }, "c": { "$ref": "#/definitions/MyGame_Example_TestEnum", "maxItems": 2, "minItems": 2 }, "d": { "items": { "type": "number" }, "maxItems": 2, "minItems": 2, "type": "array" } }, "type": "object" }, "MyGame_Example_TestEnum": { "enum": [ "A", "B", "C" ], "type": "string" } } }
Apache-2.0
en
google/flatbuffers
4133a39df80546ff5269894a3961c7069fcd45d0
2021-03-29T23:56:45
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "https://json-schema.org/draft/2019-09/schema", "definitions": { "MyGame_Example2_Monster": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "additionalProperties": false, "properties": { "distance": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "id": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_AnyAmbiguousAliases": { "enum": [ "NONE", "M1", "M2", "M3" ], "type": "string" }, "MyGame_Example_AnyUniqueAliases": { "enum": [ "NONE", "M", "TS", "M2" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "additionalProperties": false, "description": " an example documentation comment: \"monster object\"", "properties": { "any_ambiguous": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_Monster" } ] }, "any_ambiguous_type": { "$ref": "#/definitions/MyGame_Example_AnyAmbiguousAliases" }, "any_unique": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "any_unique_type": { "$ref": "#/definitions/MyGame_Example_AnyUniqueAliases" }, "co_owning_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "friendly": { "deprecated": true, "type": "boolean" }, "hp": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "inventory": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "mana": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "name": { "type": "string" }, "non_owning_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "parent_namespace_test": { "$ref": "#/definitions/MyGame_InParentNamespace" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "scalar_key_sorted_tables": { "items": { "$ref": "#/definitions/MyGame_Example_Stat" }, "type": "array" }, "signed_enum": { "$ref": "#/definitions/MyGame_Example_Race" }, "single_weak_reference": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "testhashs32_fnv1a": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "testhashs64_fnv1": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "testhashs64_fnv1a": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "testhashu32_fnv1": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "testhashu32_fnv1a": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "testhashu64_fnv1": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "testhashu64_fnv1a": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "testnestedflatbuffer": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "testrequirednestedflatbuffer": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_co_owning_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_enums": { "items": { "$ref": "#/definitions/MyGame_Example_Color" }, "type": "array" }, "vector_of_longs": { "items": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "type": "array" }, "vector_of_non_owning_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" }, "vector_of_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_strong_referrables": { "items": { "$ref": "#/definitions/MyGame_Example_Referrable" }, "type": "array" }, "vector_of_weak_references": { "items": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Race": { "enum": [ "None", "Human", "Dwarf", "Elf" ], "type": "string" }, "MyGame_Example_Referrable": { "additionalProperties": false, "properties": { "id": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" } }, "type": "object" }, "MyGame_Example_Stat": { "additionalProperties": false, "properties": { "count": { "maximum": 65535, "minimum": 0, "type": "integer" }, "id": { "type": "string" }, "val": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" } }, "type": "object" }, "MyGame_Example_StructOfStructs": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/MyGame_Example_Ability" }, "b": { "$ref": "#/definitions/MyGame_Example_Test" }, "c": { "$ref": "#/definitions/MyGame_Example_Ability" } }, "type": "object" }, "MyGame_Example_Test": { "additionalProperties": false, "properties": { "a": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "b": { "maximum": 127, "minimum": -128, "type": "integer" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "additionalProperties": false, "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_TypeAliases": { "additionalProperties": false, "properties": { "f32": { "type": "number" }, "f64": { "type": "number" }, "i16": { "maximum": 32767, "minimum": -32768, "type": "integer" }, "i32": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" }, "i64": { "maximum": 9223372036854775807, "minimum": -9223372036854775808, "type": "integer" }, "i8": { "maximum": 127, "minimum": -128, "type": "integer" }, "u16": { "maximum": 65535, "minimum": 0, "type": "integer" }, "u32": { "maximum": 4294967295, "minimum": 0, "type": "integer" }, "u64": { "maximum": 18446744073709551615, "minimum": 0, "type": "integer" }, "u8": { "maximum": 255, "minimum": 0, "type": "integer" }, "v8": { "items": { "maximum": 127, "minimum": -128, "type": "integer" }, "type": "array" }, "vf64": { "items": { "type": "number" }, "type": "array" } }, "type": "object" }, "MyGame_Example_Vec3": { "additionalProperties": false, "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_InParentNamespace": { "additionalProperties": false, "properties": {}, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "additionalProperties": false, "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "additionalProperties": false, "properties": { "a": { "maximum": 2147483647, "minimum": -2147483648, "type": "integer" } }, "type": "object" }, "TableA": { "additionalProperties": false, "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
3282a84e3068d2ff0ded5a683ceea0806da21ed6
2017-08-01T15:34:00
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "MyGame_Example2_Monster": { "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "properties": { "distance": { "type": "number" }, "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "description": " an example documentation comment: monster object", "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "type": "number" }, "type": "array" }, "friendly": { "type": "boolean" }, "hp": { "type": "number" }, "inventory": { "items": { "type": "number" }, "type": "array" }, "mana": { "type": "number" }, "name": { "type": "string" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test5": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "type": "number" }, "testhashs32_fnv1a": { "type": "number" }, "testhashs64_fnv1": { "type": "number" }, "testhashs64_fnv1a": { "type": "number" }, "testhashu32_fnv1": { "type": "number" }, "testhashu32_fnv1a": { "type": "number" }, "testhashu64_fnv1": { "type": "number" }, "testhashu64_fnv1a": { "type": "number" }, "testnestedflatbuffer": { "items": { "type": "number" }, "type": "array" }, "vector_of_doubles": { "items": { "type": "number" }, "type": "array" }, "vector_of_longs": { "items": { "type": "number" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Stat": { "properties": { "count": { "type": "number" }, "id": { "type": "string" }, "val": { "type": "number" } }, "type": "object" }, "MyGame_Example_Test": { "properties": { "a": { "type": "number" }, "b": { "type": "number" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_Vec3": { "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_TableB": { "properties": { "a": { "$ref": "#/definitions/TableA" } }, "type": "object" }, "MyGame_OtherNameSpace_Unused": { "properties": {}, "type": "object" }, "TableA": { "properties": { "b": { "$ref": "#/definitions/MyGame_OtherNameSpace_TableB" } }, "type": "object" } } }
Apache-2.0
en
google/flatbuffers
f20204180dbf58a53dcaf7929f0f996930d40bf3
2017-07-10T15:05:59
tests/monster_test.schema.json
22,184
2024-05-29T17:04:30.946523Z
{ "$ref": "#/definitions/MyGame_Example_Monster", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "MyGame_Example2_Monster": { "properties": {}, "type": "object" }, "MyGame_Example_Ability": { "properties": { "distance": { "type": "number" }, "id": { "type": "number" } }, "type": "object" }, "MyGame_Example_Any": { "enum": [ "NONE", "Monster", "TestSimpleTableWithEnum", "MyGame_Example2_Monster" ], "type": "string" }, "MyGame_Example_Color": { "enum": [ "Red", "Green", "Blue" ], "type": "string" }, "MyGame_Example_Monster": { "description": " an example documentation comment: monster object", "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" }, "enemy": { "$ref": "#/definitions/MyGame_Example_Monster" }, "flex": { "items": { "type": "number" }, "type": "array" }, "friendly": { "type": "boolean" }, "hp": { "type": "number" }, "inventory": { "items": { "type": "number" }, "type": "array" }, "mana": { "type": "number" }, "name": { "type": "string" }, "pos": { "$ref": "#/definitions/MyGame_Example_Vec3" }, "test": { "anyOf": [ { "$ref": "#/definitions/MyGame_Example_Monster" }, { "$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum" }, { "$ref": "#/definitions/MyGame_Example2_Monster" } ] }, "test4": { "items": { "$ref": "#/definitions/MyGame_Example_Test" }, "type": "array" }, "test_type": { "$ref": "#/definitions/MyGame_Example_Any" }, "testarrayofbools": { "items": { "type": "boolean" }, "type": "array" }, "testarrayofsortedstruct": { "items": { "$ref": "#/definitions/MyGame_Example_Ability" }, "type": "array" }, "testarrayofstring": { "items": { "type": "string" }, "type": "array" }, "testarrayofstring2": { "items": { "type": "string" }, "type": "array" }, "testarrayoftables": { "items": { "$ref": "#/definitions/MyGame_Example_Monster" }, "type": "array" }, "testbool": { "type": "boolean" }, "testempty": { "$ref": "#/definitions/MyGame_Example_Stat" }, "testf": { "type": "number" }, "testf2": { "type": "number" }, "testf3": { "type": "number" }, "testhashs32_fnv1": { "type": "number" }, "testhashs32_fnv1a": { "type": "number" }, "testhashs64_fnv1": { "type": "number" }, "testhashs64_fnv1a": { "type": "number" }, "testhashu32_fnv1": { "type": "number" }, "testhashu32_fnv1a": { "type": "number" }, "testhashu64_fnv1": { "type": "number" }, "testhashu64_fnv1a": { "type": "number" }, "testnestedflatbuffer": { "items": { "type": "number" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "MyGame_Example_Stat": { "properties": { "count": { "type": "number" }, "id": { "type": "string" }, "val": { "type": "number" } }, "type": "object" }, "MyGame_Example_Test": { "properties": { "a": { "type": "number" }, "b": { "type": "number" } }, "type": "object" }, "MyGame_Example_TestSimpleTableWithEnum": { "properties": { "color": { "$ref": "#/definitions/MyGame_Example_Color" } }, "type": "object" }, "MyGame_Example_Vec3": { "properties": { "test1": { "type": "number" }, "test2": { "$ref": "#/definitions/MyGame_Example_Color" }, "test3": { "$ref": "#/definitions/MyGame_Example_Test" }, "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "type": "object" }, "MyGame_OtherNameSpace_FromInclude": { "enum": [ "IncludeVal" ], "type": "string" }, "MyGame_OtherNameSpace_Unused": { "properties": {}, "type": "object" } } }
Apache-2.0
en
google/ground-platform
4eb5d11838c7cb4a54a1152944e12f1346b7fa41
2024-02-26T14:25:25
schema/src/submission-data-object.json
196
2024-05-27T10:16:53.338898Z
{ "$id": "submission-data-object.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": { "oneOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" }, { "type": "number" }, { "$ref": "geo-point-object.json" } ] }, "title": "SubmissionDataObject", "type": "object" }
Apache-2.0
en
google/ground-platform
4eb5d11838c7cb4a54a1152944e12f1346b7fa41
2024-02-26T14:25:25
schema/src/loi-document.json
196
2024-05-27T10:16:53.338898Z
{ "$id": "loi-document.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "customId": { "type": "string" }, "geometry": { "$ref": "geometry-object.json" }, "jobId": { "type": "string" }, "properties": { "additionalProperties": { "type": [ "number", "string" ] }, "type": "object" }, "submissionCount": { "type": "integer" } }, "required": [ "jobId", "geometry" ], "title": "LoiDocument", "type": "object" }
Apache-2.0
en
google/ground-platform
4eb5d11838c7cb4a54a1152944e12f1346b7fa41
2024-02-26T14:25:25
schema/src/submission-document.json
196
2024-05-27T10:16:53.338898Z
{ "$id": "submission-document.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "created": { "$ref": "audit-info-object.json" }, "properties": { "jobId": { "type": "string" }, "loiId": { "type": "string" }, "results": { "$ref": "submission-data-object.json", "x-kt-type": "SubmissionDataObject" } }, "required": [ "jobId", "loiId" ], "title": "SubmissionDocument", "type": "object", "updated": { "$ref": "audit-info-object.json" } }
Apache-2.0
en
google/ground-platform
4eb5d11838c7cb4a54a1152944e12f1346b7fa41
2024-02-26T14:25:25
schema/src/geometry-object.json
196
2024-05-27T10:16:53.338898Z
{ "$id": "geometry-object.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "oneOf": [ { "$ref": "point-object.json" }, { "$ref": "polygon-object.json" }, { "$ref": "multi-polygon-object.json" } ], "title": "GeometryObject", "unevaluatedProperties": false }
Apache-2.0
en
google/ground-platform
4eb5d11838c7cb4a54a1152944e12f1346b7fa41
2024-02-26T14:25:25
schema/src/point-object.json
196
2024-05-27T10:16:53.338898Z
{ "$id": "point-object.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "coordinates": { "$ref": "geo-point-object.json" }, "type": { "const": "Point", "default": "Point" } }, "required": [ "type", "coordinates" ], "title": "PointObject" }
Apache-2.0
en
google/ground-platform
4eb5d11838c7cb4a54a1152944e12f1346b7fa41
2024-02-26T14:25:25
schema/src/polygon-object.json
196
2024-05-27T10:16:53.338898Z
{ "$id": "polygon-object.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "coordinates": { "$ref": "polygon-coordinates-array.json" }, "type": { "const": "Polygon", "default": "Polygon" } }, "required": [ "type", "coordinates" ], "title": "PolygonObject", "type": "object" }
Apache-2.0
en
google/ground-platform
4eb5d11838c7cb4a54a1152944e12f1346b7fa41
2024-02-26T14:25:25
schema/src/audit-info-object.json
196
2024-05-27T10:16:53.338898Z
{ "$id": "audit-info-object.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "clientTimestamp": { "format": "datetime", "type": "string" }, "serverTimestamp": { "format": "datetime", "type": "string" }, "user": { "additionalProperties": false, "properties": { "displayName": { "type": "string" }, "email": { "type": "string" } }, "required": [ "displayName", "email" ], "type": "object" } }, "required": [ "type", "coordinates" ], "title": "AuditInfoObject", "type": "object" }
Apache-2.0
en
google/ground-platform
4eb5d11838c7cb4a54a1152944e12f1346b7fa41
2024-02-26T14:25:25
schema/src/polygon-coordinates-array.json
196
2024-05-27T10:16:53.338898Z
{ "$id": "polygon-coordinates-array.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "items": { "$comment": "Element 0 represents a polygon shell, remaining elements represent holes.", "items": { "$ref": "geo-point-object.json" }, "minItems": 3, "type": "array" }, "minItems": 1, "title": "PolygonCoordinatesArray", "type": "array" }
Apache-2.0
en
google/ground-platform
4eb5d11838c7cb4a54a1152944e12f1346b7fa41
2024-02-26T14:25:25
schema/src/geo-point-object.json
196
2024-05-27T10:16:53.338898Z
{ "$comment": "A pair of web mercator coordinates, represented as a GeoPoint in Firebase.", "$id": "geo-point-object.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "latitude": { "type": "number" }, "longitude": { "type": "number" } }, "required": [ "latitude", "longitude" ], "title": "GeoPointObject", "type": "object", "x-kt-type": "GeoPoint" }
Apache-2.0
en
google/ground-platform
4eb5d11838c7cb4a54a1152944e12f1346b7fa41
2024-02-26T14:25:25
schema/src/multi-polygon-object.json
196
2024-05-27T10:16:53.338898Z
{ "$id": "multi-polygon-object.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "coordinates": { "items": { "$ref": "polygon-coordinates-array.json" }, "minItems": 1, "type": "array" }, "type": { "const": "MultiPolygon", "default": "MultiPolygon" } }, "required": [ "type", "coordinates" ], "title": "MultiPolygonObject", "type": "object" }
Apache-2.0
en
google/skia-buildbot
388742d5e25b8b2bea906bc09f9997d32c1d15d6
2024-04-08T19:53:51
perf/go/config/validate/instanceConfigSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "AnomalyConfig": { "additionalProperties": false, "properties": { "settling_time": { "$ref": "#/$defs/DurationAsString" } }, "type": "object" }, "AuthConfig": { "additionalProperties": false, "properties": { "email_regex": { "type": "string" }, "header_name": { "type": "string" } }, "required": [ "header_name" ], "type": "object" }, "CacheConfig": { "additionalProperties": false, "properties": { "memcached_servers": { "items": { "type": "string" }, "type": "array" }, "namespace": { "type": "string" } }, "required": [ "memcached_servers", "namespace" ], "type": "object" }, "DataStoreConfig": { "additionalProperties": false, "properties": { "cache": { "$ref": "#/$defs/CacheConfig" }, "connection_string": { "type": "string" }, "datastore_type": { "type": "string" }, "enable_follower_reads": { "type": "boolean" }, "tile_size": { "type": "integer" } }, "required": [ "datastore_type", "connection_string", "tile_size" ], "type": "object" }, "DurationAsString": { "description": "A golang time.Duration serialized as a string.", "title": "Duration", "type": "string" }, "Favorites": { "additionalProperties": false, "properties": { "sections": { "items": { "$ref": "#/$defs/FavoritesSectionConfig" }, "type": "array" } }, "required": [ "sections" ], "type": "object" }, "FavoritesSectionConfig": { "additionalProperties": false, "properties": { "links": { "items": { "$ref": "#/$defs/FavoritesSectionLinkConfig" }, "type": "array" }, "name": { "type": "string" } }, "required": [ "name", "links" ], "type": "object" }, "FavoritesSectionLinkConfig": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "href": { "type": "string" }, "text": { "type": "string" } }, "required": [ "text", "href", "description" ], "type": "object" }, "GitRepoConfig": { "additionalProperties": false, "properties": { "commit_number_regex": { "type": "string" }, "commit_url": { "type": "string" }, "debounce_commit_url": { "type": "boolean" }, "dir": { "type": "string" }, "file_change_marker": { "type": "string" }, "git_auth_type": { "type": "string" }, "provider": { "type": "string" }, "start_commit": { "type": "string" }, "url": { "type": "string" } }, "required": [ "provider", "url", "dir" ], "type": "object" }, "IngestionConfig": { "additionalProperties": false, "properties": { "branches": { "items": { "type": "string" }, "type": "array" }, "file_ingestion_pubsub_topic_name": { "type": "string" }, "source_config": { "$ref": "#/$defs/SourceConfig" } }, "required": [ "source_config", "branches", "file_ingestion_pubsub_topic_name" ], "type": "object" }, "InstanceConfig": { "additionalProperties": false, "properties": { "URL": { "type": "string" }, "allowed_hosts": { "items": { "type": "string" }, "type": "array" }, "anomaly_config": { "$ref": "#/$defs/AnomalyConfig" }, "auth_config": { "$ref": "#/$defs/AuthConfig" }, "backend_host_url": { "type": "string" }, "bug_host_url": { "type": "string" }, "chat_url": { "type": "string" }, "contact": { "type": "string" }, "data_store_config": { "$ref": "#/$defs/DataStoreConfig" }, "favorites": { "$ref": "#/$defs/Favorites" }, "feedback_url": { "type": "string" }, "fetch_chrome_perf_anomalies": { "type": "boolean" }, "filter_parent_traces": { "type": "boolean" }, "ga_measurement_id": { "type": "string" }, "git_repo_config": { "$ref": "#/$defs/GitRepoConfig" }, "help_url_override": { "type": "string" }, "ingestion_config": { "$ref": "#/$defs/IngestionConfig" }, "invalid_param_char_regex": { "type": "string" }, "need_alert_action": { "type": "boolean" }, "notify_config": { "$ref": "#/$defs/NotifyConfig" }, "query_config": { "$ref": "#/$defs/QueryConfig" }, "trace_format": { "type": "string" }, "trace_sample_proportion": { "type": "number" } }, "required": [ "URL", "contact", "data_store_config", "ingestion_config", "git_repo_config", "notify_config" ], "type": "object" }, "NotifyConfig": { "additionalProperties": false, "properties": { "body": { "items": { "type": "string" }, "type": "array" }, "culprit_body": { "items": { "type": "string" }, "type": "array" }, "culprit_subject": { "type": "string" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "missing_body": { "items": { "type": "string" }, "type": "array" }, "missing_subject": { "type": "string" }, "notifications": { "type": "string" }, "subject": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "QueryConfig": { "additionalProperties": false, "properties": { "default_param_selections": { "patternProperties": { ".*": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "default_url_values": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "include_params": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "SourceConfig": { "additionalProperties": false, "properties": { "accept_if_name_matches": { "type": "string" }, "dl_subscription": { "type": "string" }, "dl_topic": { "type": "string" }, "project": { "type": "string" }, "reject_if_name_matches": { "type": "string" }, "source_type": { "type": "string" }, "sources": { "items": { "type": "string" }, "type": "array" }, "subscription": { "type": "string" }, "topic": { "type": "string" } }, "required": [ "source_type", "project", "topic", "subscription", "sources" ], "type": "object" } }, "$id": "https://go.skia.org/infra/perf/go/config/instance-config", "$ref": "#/$defs/InstanceConfig", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
google/skia-buildbot
1d89c1163341e873185ed824140521cf2c51c202
2023-10-10T20:39:27
perf/go/config/validate/instanceConfigSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "AnomalyConfig": { "additionalProperties": false, "properties": { "settling_time": { "$ref": "#/$defs/DurationAsString" } }, "type": "object" }, "AuthConfig": { "additionalProperties": false, "properties": { "email_regex": { "type": "string" }, "header_name": { "type": "string" } }, "required": [ "header_name" ], "type": "object" }, "CacheConfig": { "additionalProperties": false, "properties": { "memcached_servers": { "items": { "type": "string" }, "type": "array" }, "namespace": { "type": "string" } }, "required": [ "memcached_servers", "namespace" ], "type": "object" }, "DataStoreConfig": { "additionalProperties": false, "properties": { "cache": { "$ref": "#/$defs/CacheConfig" }, "connection_string": { "type": "string" }, "datastore_type": { "type": "string" }, "enable_follower_reads": { "type": "boolean" }, "tile_size": { "type": "integer" } }, "required": [ "datastore_type", "connection_string", "tile_size" ], "type": "object" }, "DurationAsString": { "description": "A golang time.Duration serialized as a string.", "title": "Duration", "type": "string" }, "Favorites": { "additionalProperties": false, "properties": { "sections": { "items": { "$ref": "#/$defs/FavoritesSectionConfig" }, "type": "array" } }, "required": [ "sections" ], "type": "object" }, "FavoritesSectionConfig": { "additionalProperties": false, "properties": { "links": { "items": { "$ref": "#/$defs/FavoritesSectionLinkConfig" }, "type": "array" }, "name": { "type": "string" } }, "required": [ "name", "links" ], "type": "object" }, "FavoritesSectionLinkConfig": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "href": { "type": "string" }, "text": { "type": "string" } }, "required": [ "text", "href", "description" ], "type": "object" }, "GitRepoConfig": { "additionalProperties": false, "properties": { "commit_number_regex": { "type": "string" }, "commit_url": { "type": "string" }, "debounce_commit_url": { "type": "boolean" }, "dir": { "type": "string" }, "file_change_marker": { "type": "string" }, "git_auth_type": { "type": "string" }, "provider": { "type": "string" }, "start_commit": { "type": "string" }, "url": { "type": "string" } }, "required": [ "provider", "url", "dir" ], "type": "object" }, "IngestionConfig": { "additionalProperties": false, "properties": { "branches": { "items": { "type": "string" }, "type": "array" }, "file_ingestion_pubsub_topic_name": { "type": "string" }, "source_config": { "$ref": "#/$defs/SourceConfig" } }, "required": [ "source_config", "branches", "file_ingestion_pubsub_topic_name" ], "type": "object" }, "InstanceConfig": { "additionalProperties": false, "properties": { "URL": { "type": "string" }, "allowed_hosts": { "items": { "type": "string" }, "type": "array" }, "anomaly_config": { "$ref": "#/$defs/AnomalyConfig" }, "auth_config": { "$ref": "#/$defs/AuthConfig" }, "chat_url": { "type": "string" }, "contact": { "type": "string" }, "data_store_config": { "$ref": "#/$defs/DataStoreConfig" }, "favorites": { "$ref": "#/$defs/Favorites" }, "feedback_url": { "type": "string" }, "fetch_chrome_perf_anomalies": { "type": "boolean" }, "filter_parent_traces": { "type": "boolean" }, "git_repo_config": { "$ref": "#/$defs/GitRepoConfig" }, "ingestion_config": { "$ref": "#/$defs/IngestionConfig" }, "invalid_param_char_regex": { "type": "string" }, "notify_config": { "$ref": "#/$defs/NotifyConfig" }, "trace_sample_proportion": { "type": "number" } }, "required": [ "URL", "contact", "data_store_config", "ingestion_config", "git_repo_config", "notify_config" ], "type": "object" }, "NotifyConfig": { "additionalProperties": false, "properties": { "body": { "items": { "type": "string" }, "type": "array" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "missing_body": { "items": { "type": "string" }, "type": "array" }, "missing_subject": { "type": "string" }, "notifications": { "type": "string" }, "subject": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "SourceConfig": { "additionalProperties": false, "properties": { "accept_if_name_matches": { "type": "string" }, "dl_subscription": { "type": "string" }, "dl_topic": { "type": "string" }, "project": { "type": "string" }, "reject_if_name_matches": { "type": "string" }, "source_type": { "type": "string" }, "sources": { "items": { "type": "string" }, "type": "array" }, "subscription": { "type": "string" }, "topic": { "type": "string" } }, "required": [ "source_type", "project", "topic", "subscription", "sources" ], "type": "object" } }, "$id": "https://go.skia.org/infra/perf/go/config/instance-config", "$ref": "#/$defs/InstanceConfig", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
google/skia-buildbot
850628c036e0f0974363f4b873d3a60d55ddd1b5
2021-07-07T17:59:41
proberk/go/types/probesSchema.json
131
2024-05-29T18:06:11.228882Z
{ "definitions": { "Probe": { "additionalProperties": false, "properties": { "authenticated": { "type": "boolean" }, "body": { "type": "string" }, "expected": { "items": { "type": "integer" }, "type": "array" }, "method": { "type": "string" }, "mimetype": { "type": "string" }, "note": { "type": "string" }, "responsetest": { "type": "string" }, "urls": { "items": { "type": "string" }, "type": "array" } }, "required": [ "urls", "method", "expected", "mimetype" ], "type": "object" } }, "patternProperties": { ".*": { "$ref": "#/definitions/Probe", "$schema": "http://json-schema.org/draft-04/schema#" } }, "type": "object" }
BSD-3-Clause
en
google/skia-buildbot
a1de1b956587112bf61ca8e573705bc7d268844e
2024-03-25T20:09:45
perf/go/config/validate/instanceConfigSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "AnomalyConfig": { "additionalProperties": false, "properties": { "settling_time": { "$ref": "#/$defs/DurationAsString" } }, "type": "object" }, "AuthConfig": { "additionalProperties": false, "properties": { "email_regex": { "type": "string" }, "header_name": { "type": "string" } }, "required": [ "header_name" ], "type": "object" }, "CacheConfig": { "additionalProperties": false, "properties": { "memcached_servers": { "items": { "type": "string" }, "type": "array" }, "namespace": { "type": "string" } }, "required": [ "memcached_servers", "namespace" ], "type": "object" }, "DataStoreConfig": { "additionalProperties": false, "properties": { "cache": { "$ref": "#/$defs/CacheConfig" }, "connection_string": { "type": "string" }, "datastore_type": { "type": "string" }, "enable_follower_reads": { "type": "boolean" }, "tile_size": { "type": "integer" } }, "required": [ "datastore_type", "connection_string", "tile_size" ], "type": "object" }, "DurationAsString": { "description": "A golang time.Duration serialized as a string.", "title": "Duration", "type": "string" }, "Favorites": { "additionalProperties": false, "properties": { "sections": { "items": { "$ref": "#/$defs/FavoritesSectionConfig" }, "type": "array" } }, "required": [ "sections" ], "type": "object" }, "FavoritesSectionConfig": { "additionalProperties": false, "properties": { "links": { "items": { "$ref": "#/$defs/FavoritesSectionLinkConfig" }, "type": "array" }, "name": { "type": "string" } }, "required": [ "name", "links" ], "type": "object" }, "FavoritesSectionLinkConfig": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "href": { "type": "string" }, "text": { "type": "string" } }, "required": [ "text", "href", "description" ], "type": "object" }, "GitRepoConfig": { "additionalProperties": false, "properties": { "commit_number_regex": { "type": "string" }, "commit_url": { "type": "string" }, "debounce_commit_url": { "type": "boolean" }, "dir": { "type": "string" }, "file_change_marker": { "type": "string" }, "git_auth_type": { "type": "string" }, "provider": { "type": "string" }, "start_commit": { "type": "string" }, "url": { "type": "string" } }, "required": [ "provider", "url", "dir" ], "type": "object" }, "IngestionConfig": { "additionalProperties": false, "properties": { "branches": { "items": { "type": "string" }, "type": "array" }, "file_ingestion_pubsub_topic_name": { "type": "string" }, "source_config": { "$ref": "#/$defs/SourceConfig" } }, "required": [ "source_config", "branches", "file_ingestion_pubsub_topic_name" ], "type": "object" }, "InstanceConfig": { "additionalProperties": false, "properties": { "URL": { "type": "string" }, "allowed_hosts": { "items": { "type": "string" }, "type": "array" }, "anomaly_config": { "$ref": "#/$defs/AnomalyConfig" }, "auth_config": { "$ref": "#/$defs/AuthConfig" }, "backend_host_url": { "type": "string" }, "bug_host_url": { "type": "string" }, "chat_url": { "type": "string" }, "contact": { "type": "string" }, "data_store_config": { "$ref": "#/$defs/DataStoreConfig" }, "favorites": { "$ref": "#/$defs/Favorites" }, "feedback_url": { "type": "string" }, "fetch_chrome_perf_anomalies": { "type": "boolean" }, "filter_parent_traces": { "type": "boolean" }, "ga_measurement_id": { "type": "string" }, "git_repo_config": { "$ref": "#/$defs/GitRepoConfig" }, "help_url_override": { "type": "string" }, "ingestion_config": { "$ref": "#/$defs/IngestionConfig" }, "invalid_param_char_regex": { "type": "string" }, "need_alert_action": { "type": "boolean" }, "notify_config": { "$ref": "#/$defs/NotifyConfig" }, "query_config": { "$ref": "#/$defs/QueryConfig" }, "trace_format": { "type": "string" }, "trace_sample_proportion": { "type": "number" } }, "required": [ "URL", "contact", "data_store_config", "ingestion_config", "git_repo_config", "notify_config" ], "type": "object" }, "NotifyConfig": { "additionalProperties": false, "properties": { "body": { "items": { "type": "string" }, "type": "array" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "missing_body": { "items": { "type": "string" }, "type": "array" }, "missing_subject": { "type": "string" }, "notifications": { "type": "string" }, "subject": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "QueryConfig": { "additionalProperties": false, "properties": { "default_param_selections": { "patternProperties": { ".*": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "default_url_values": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "include_params": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "SourceConfig": { "additionalProperties": false, "properties": { "accept_if_name_matches": { "type": "string" }, "dl_subscription": { "type": "string" }, "dl_topic": { "type": "string" }, "project": { "type": "string" }, "reject_if_name_matches": { "type": "string" }, "source_type": { "type": "string" }, "sources": { "items": { "type": "string" }, "type": "array" }, "subscription": { "type": "string" }, "topic": { "type": "string" } }, "required": [ "source_type", "project", "topic", "subscription", "sources" ], "type": "object" } }, "$id": "https://go.skia.org/infra/perf/go/config/instance-config", "$ref": "#/$defs/InstanceConfig", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
google/skia-buildbot
7456bed4cecf1a39e0380bfe8be45d0a8878becb
2024-03-12T23:41:57
perf/go/config/validate/instanceConfigSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "AnomalyConfig": { "additionalProperties": false, "properties": { "settling_time": { "$ref": "#/$defs/DurationAsString" } }, "type": "object" }, "AuthConfig": { "additionalProperties": false, "properties": { "email_regex": { "type": "string" }, "header_name": { "type": "string" } }, "required": [ "header_name" ], "type": "object" }, "CacheConfig": { "additionalProperties": false, "properties": { "memcached_servers": { "items": { "type": "string" }, "type": "array" }, "namespace": { "type": "string" } }, "required": [ "memcached_servers", "namespace" ], "type": "object" }, "DataStoreConfig": { "additionalProperties": false, "properties": { "cache": { "$ref": "#/$defs/CacheConfig" }, "connection_string": { "type": "string" }, "datastore_type": { "type": "string" }, "enable_follower_reads": { "type": "boolean" }, "tile_size": { "type": "integer" } }, "required": [ "datastore_type", "connection_string", "tile_size" ], "type": "object" }, "DurationAsString": { "description": "A golang time.Duration serialized as a string.", "title": "Duration", "type": "string" }, "Favorites": { "additionalProperties": false, "properties": { "sections": { "items": { "$ref": "#/$defs/FavoritesSectionConfig" }, "type": "array" } }, "required": [ "sections" ], "type": "object" }, "FavoritesSectionConfig": { "additionalProperties": false, "properties": { "links": { "items": { "$ref": "#/$defs/FavoritesSectionLinkConfig" }, "type": "array" }, "name": { "type": "string" } }, "required": [ "name", "links" ], "type": "object" }, "FavoritesSectionLinkConfig": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "href": { "type": "string" }, "text": { "type": "string" } }, "required": [ "text", "href", "description" ], "type": "object" }, "GitRepoConfig": { "additionalProperties": false, "properties": { "commit_number_regex": { "type": "string" }, "commit_url": { "type": "string" }, "debounce_commit_url": { "type": "boolean" }, "dir": { "type": "string" }, "file_change_marker": { "type": "string" }, "git_auth_type": { "type": "string" }, "provider": { "type": "string" }, "start_commit": { "type": "string" }, "url": { "type": "string" } }, "required": [ "provider", "url", "dir" ], "type": "object" }, "IngestionConfig": { "additionalProperties": false, "properties": { "branches": { "items": { "type": "string" }, "type": "array" }, "file_ingestion_pubsub_topic_name": { "type": "string" }, "source_config": { "$ref": "#/$defs/SourceConfig" } }, "required": [ "source_config", "branches", "file_ingestion_pubsub_topic_name" ], "type": "object" }, "InstanceConfig": { "additionalProperties": false, "properties": { "URL": { "type": "string" }, "allowed_hosts": { "items": { "type": "string" }, "type": "array" }, "anomaly_config": { "$ref": "#/$defs/AnomalyConfig" }, "auth_config": { "$ref": "#/$defs/AuthConfig" }, "bug_host_url": { "type": "string" }, "chat_url": { "type": "string" }, "contact": { "type": "string" }, "data_store_config": { "$ref": "#/$defs/DataStoreConfig" }, "favorites": { "$ref": "#/$defs/Favorites" }, "feedback_url": { "type": "string" }, "fetch_chrome_perf_anomalies": { "type": "boolean" }, "filter_parent_traces": { "type": "boolean" }, "ga_measurement_id": { "type": "string" }, "git_repo_config": { "$ref": "#/$defs/GitRepoConfig" }, "help_url_override": { "type": "string" }, "ingestion_config": { "$ref": "#/$defs/IngestionConfig" }, "invalid_param_char_regex": { "type": "string" }, "need_alert_action": { "type": "boolean" }, "notify_config": { "$ref": "#/$defs/NotifyConfig" }, "query_config": { "$ref": "#/$defs/QueryConfig" }, "trace_format": { "type": "string" }, "trace_sample_proportion": { "type": "number" } }, "required": [ "URL", "contact", "data_store_config", "ingestion_config", "git_repo_config", "notify_config" ], "type": "object" }, "NotifyConfig": { "additionalProperties": false, "properties": { "body": { "items": { "type": "string" }, "type": "array" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "missing_body": { "items": { "type": "string" }, "type": "array" }, "missing_subject": { "type": "string" }, "notifications": { "type": "string" }, "subject": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "QueryConfig": { "additionalProperties": false, "properties": { "default_param_selections": { "patternProperties": { ".*": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "default_url_values": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "include_params": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "SourceConfig": { "additionalProperties": false, "properties": { "accept_if_name_matches": { "type": "string" }, "dl_subscription": { "type": "string" }, "dl_topic": { "type": "string" }, "project": { "type": "string" }, "reject_if_name_matches": { "type": "string" }, "source_type": { "type": "string" }, "sources": { "items": { "type": "string" }, "type": "array" }, "subscription": { "type": "string" }, "topic": { "type": "string" } }, "required": [ "source_type", "project", "topic", "subscription", "sources" ], "type": "object" } }, "$id": "https://go.skia.org/infra/perf/go/config/instance-config", "$ref": "#/$defs/InstanceConfig", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
google/skia-buildbot
fd810f3d94c539fa36a896958aaddff637ce1226
2023-12-19T00:04:26
perf/go/config/validate/instanceConfigSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "AnomalyConfig": { "additionalProperties": false, "properties": { "settling_time": { "$ref": "#/$defs/DurationAsString" } }, "type": "object" }, "AuthConfig": { "additionalProperties": false, "properties": { "email_regex": { "type": "string" }, "header_name": { "type": "string" } }, "required": [ "header_name" ], "type": "object" }, "CacheConfig": { "additionalProperties": false, "properties": { "memcached_servers": { "items": { "type": "string" }, "type": "array" }, "namespace": { "type": "string" } }, "required": [ "memcached_servers", "namespace" ], "type": "object" }, "DataStoreConfig": { "additionalProperties": false, "properties": { "cache": { "$ref": "#/$defs/CacheConfig" }, "connection_string": { "type": "string" }, "datastore_type": { "type": "string" }, "enable_follower_reads": { "type": "boolean" }, "tile_size": { "type": "integer" } }, "required": [ "datastore_type", "connection_string", "tile_size" ], "type": "object" }, "DurationAsString": { "description": "A golang time.Duration serialized as a string.", "title": "Duration", "type": "string" }, "Favorites": { "additionalProperties": false, "properties": { "sections": { "items": { "$ref": "#/$defs/FavoritesSectionConfig" }, "type": "array" } }, "required": [ "sections" ], "type": "object" }, "FavoritesSectionConfig": { "additionalProperties": false, "properties": { "links": { "items": { "$ref": "#/$defs/FavoritesSectionLinkConfig" }, "type": "array" }, "name": { "type": "string" } }, "required": [ "name", "links" ], "type": "object" }, "FavoritesSectionLinkConfig": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "href": { "type": "string" }, "text": { "type": "string" } }, "required": [ "text", "href", "description" ], "type": "object" }, "GitRepoConfig": { "additionalProperties": false, "properties": { "commit_number_regex": { "type": "string" }, "commit_url": { "type": "string" }, "debounce_commit_url": { "type": "boolean" }, "dir": { "type": "string" }, "file_change_marker": { "type": "string" }, "git_auth_type": { "type": "string" }, "provider": { "type": "string" }, "start_commit": { "type": "string" }, "url": { "type": "string" } }, "required": [ "provider", "url", "dir" ], "type": "object" }, "IngestionConfig": { "additionalProperties": false, "properties": { "branches": { "items": { "type": "string" }, "type": "array" }, "file_ingestion_pubsub_topic_name": { "type": "string" }, "source_config": { "$ref": "#/$defs/SourceConfig" } }, "required": [ "source_config", "branches", "file_ingestion_pubsub_topic_name" ], "type": "object" }, "InstanceConfig": { "additionalProperties": false, "properties": { "URL": { "type": "string" }, "allowed_hosts": { "items": { "type": "string" }, "type": "array" }, "anomaly_config": { "$ref": "#/$defs/AnomalyConfig" }, "auth_config": { "$ref": "#/$defs/AuthConfig" }, "chat_url": { "type": "string" }, "contact": { "type": "string" }, "data_store_config": { "$ref": "#/$defs/DataStoreConfig" }, "favorites": { "$ref": "#/$defs/Favorites" }, "feedback_url": { "type": "string" }, "fetch_chrome_perf_anomalies": { "type": "boolean" }, "filter_parent_traces": { "type": "boolean" }, "ga_measurement_id": { "type": "string" }, "git_repo_config": { "$ref": "#/$defs/GitRepoConfig" }, "help_url_override": { "type": "string" }, "ingestion_config": { "$ref": "#/$defs/IngestionConfig" }, "invalid_param_char_regex": { "type": "string" }, "notify_config": { "$ref": "#/$defs/NotifyConfig" }, "query_config": { "$ref": "#/$defs/QueryConfig" }, "trace_format": { "type": "string" }, "trace_sample_proportion": { "type": "number" } }, "required": [ "URL", "contact", "data_store_config", "ingestion_config", "git_repo_config", "notify_config" ], "type": "object" }, "NotifyConfig": { "additionalProperties": false, "properties": { "body": { "items": { "type": "string" }, "type": "array" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "missing_body": { "items": { "type": "string" }, "type": "array" }, "missing_subject": { "type": "string" }, "notifications": { "type": "string" }, "subject": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "QueryConfig": { "additionalProperties": false, "properties": { "chrome_param_map": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "default_param_selections": { "patternProperties": { ".*": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "default_url_values": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "ignore_params": { "items": { "type": "string" }, "type": "array" }, "include_params": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "SourceConfig": { "additionalProperties": false, "properties": { "accept_if_name_matches": { "type": "string" }, "dl_subscription": { "type": "string" }, "dl_topic": { "type": "string" }, "project": { "type": "string" }, "reject_if_name_matches": { "type": "string" }, "source_type": { "type": "string" }, "sources": { "items": { "type": "string" }, "type": "array" }, "subscription": { "type": "string" }, "topic": { "type": "string" } }, "required": [ "source_type", "project", "topic", "subscription", "sources" ], "type": "object" } }, "$id": "https://go.skia.org/infra/perf/go/config/instance-config", "$ref": "#/$defs/InstanceConfig", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
google/skia-buildbot
1565797d107bd22bdb5f6f7bf9be2c2dab3cd62e
2023-10-24T19:59:36
perf/go/config/validate/instanceConfigSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "AnomalyConfig": { "additionalProperties": false, "properties": { "settling_time": { "$ref": "#/$defs/DurationAsString" } }, "type": "object" }, "AuthConfig": { "additionalProperties": false, "properties": { "email_regex": { "type": "string" }, "header_name": { "type": "string" } }, "required": [ "header_name" ], "type": "object" }, "CacheConfig": { "additionalProperties": false, "properties": { "memcached_servers": { "items": { "type": "string" }, "type": "array" }, "namespace": { "type": "string" } }, "required": [ "memcached_servers", "namespace" ], "type": "object" }, "DataStoreConfig": { "additionalProperties": false, "properties": { "cache": { "$ref": "#/$defs/CacheConfig" }, "connection_string": { "type": "string" }, "datastore_type": { "type": "string" }, "enable_follower_reads": { "type": "boolean" }, "tile_size": { "type": "integer" } }, "required": [ "datastore_type", "connection_string", "tile_size" ], "type": "object" }, "DurationAsString": { "description": "A golang time.Duration serialized as a string.", "title": "Duration", "type": "string" }, "Favorites": { "additionalProperties": false, "properties": { "sections": { "items": { "$ref": "#/$defs/FavoritesSectionConfig" }, "type": "array" } }, "required": [ "sections" ], "type": "object" }, "FavoritesSectionConfig": { "additionalProperties": false, "properties": { "links": { "items": { "$ref": "#/$defs/FavoritesSectionLinkConfig" }, "type": "array" }, "name": { "type": "string" } }, "required": [ "name", "links" ], "type": "object" }, "FavoritesSectionLinkConfig": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "href": { "type": "string" }, "text": { "type": "string" } }, "required": [ "text", "href", "description" ], "type": "object" }, "GitRepoConfig": { "additionalProperties": false, "properties": { "commit_number_regex": { "type": "string" }, "commit_url": { "type": "string" }, "debounce_commit_url": { "type": "boolean" }, "dir": { "type": "string" }, "file_change_marker": { "type": "string" }, "git_auth_type": { "type": "string" }, "provider": { "type": "string" }, "start_commit": { "type": "string" }, "url": { "type": "string" } }, "required": [ "provider", "url", "dir" ], "type": "object" }, "IngestionConfig": { "additionalProperties": false, "properties": { "branches": { "items": { "type": "string" }, "type": "array" }, "file_ingestion_pubsub_topic_name": { "type": "string" }, "source_config": { "$ref": "#/$defs/SourceConfig" } }, "required": [ "source_config", "branches", "file_ingestion_pubsub_topic_name" ], "type": "object" }, "InstanceConfig": { "additionalProperties": false, "properties": { "URL": { "type": "string" }, "allowed_hosts": { "items": { "type": "string" }, "type": "array" }, "anomaly_config": { "$ref": "#/$defs/AnomalyConfig" }, "auth_config": { "$ref": "#/$defs/AuthConfig" }, "chat_url": { "type": "string" }, "contact": { "type": "string" }, "data_store_config": { "$ref": "#/$defs/DataStoreConfig" }, "favorites": { "$ref": "#/$defs/Favorites" }, "feedback_url": { "type": "string" }, "fetch_chrome_perf_anomalies": { "type": "boolean" }, "filter_parent_traces": { "type": "boolean" }, "git_repo_config": { "$ref": "#/$defs/GitRepoConfig" }, "help_url_override": { "type": "string" }, "ingestion_config": { "$ref": "#/$defs/IngestionConfig" }, "invalid_param_char_regex": { "type": "string" }, "notify_config": { "$ref": "#/$defs/NotifyConfig" }, "query_config": { "$ref": "#/$defs/QueryConfig" }, "trace_format": { "type": "string" }, "trace_sample_proportion": { "type": "number" } }, "required": [ "URL", "contact", "data_store_config", "ingestion_config", "git_repo_config", "notify_config" ], "type": "object" }, "NotifyConfig": { "additionalProperties": false, "properties": { "body": { "items": { "type": "string" }, "type": "array" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "missing_body": { "items": { "type": "string" }, "type": "array" }, "missing_subject": { "type": "string" }, "notifications": { "type": "string" }, "subject": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "QueryConfig": { "additionalProperties": false, "properties": { "default_param_selections": { "patternProperties": { ".*": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "default_url_values": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "include_params": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "SourceConfig": { "additionalProperties": false, "properties": { "accept_if_name_matches": { "type": "string" }, "dl_subscription": { "type": "string" }, "dl_topic": { "type": "string" }, "project": { "type": "string" }, "reject_if_name_matches": { "type": "string" }, "source_type": { "type": "string" }, "sources": { "items": { "type": "string" }, "type": "array" }, "subscription": { "type": "string" }, "topic": { "type": "string" } }, "required": [ "source_type", "project", "topic", "subscription", "sources" ], "type": "object" } }, "$id": "https://go.skia.org/infra/perf/go/config/instance-config", "$ref": "#/$defs/InstanceConfig", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
google/skia-buildbot
07afc72c35f09680c6e5ee8c0ff177c4b3826dd5
2023-08-22T22:59:14
proberk/go/types/probesSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "Probe": { "additionalProperties": false, "properties": { "authenticated": { "type": "boolean" }, "body": { "type": "string" }, "expected": { "items": { "type": "integer" }, "type": "array" }, "method": { "type": "string" }, "mimetype": { "type": "string" }, "note": { "type": "string" }, "responsetest": { "type": "string" }, "urls": { "items": { "type": "string" }, "type": "array" } }, "required": [ "urls", "method", "expected", "mimetype" ], "type": "object" }, "Probes": { "patternProperties": { ".*": { "$ref": "#/$defs/Probe" } }, "type": "object" } }, "$id": "https://go.skia.org/infra/proberk/go/types/probes", "$ref": "#/$defs/Probes", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
google/skia-buildbot
07afc72c35f09680c6e5ee8c0ff177c4b3826dd5
2023-08-22T22:59:14
perf/go/ingest/format/formatSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "Format": { "additionalProperties": false, "properties": { "git_hash": { "type": "string" }, "issue": { "type": "string" }, "key": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "links": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "patchset": { "type": "string" }, "results": { "items": { "$ref": "#/$defs/Result" }, "type": "array" }, "version": { "type": "integer" } }, "required": [ "version", "git_hash", "results" ], "type": "object" }, "Result": { "additionalProperties": false, "properties": { "key": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "measurement": { "type": "number" }, "measurements": { "patternProperties": { ".*": { "items": { "$ref": "#/$defs/SingleMeasurement" }, "type": "array" } }, "type": "object" } }, "required": [ "key" ], "type": "object" }, "SingleMeasurement": { "additionalProperties": false, "properties": { "measurement": { "type": "number" }, "value": { "type": "string" } }, "required": [ "value", "measurement" ], "type": "object" } }, "$id": "https://go.skia.org/infra/perf/go/ingest/format/format", "$ref": "#/$defs/Format", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
google/skia-buildbot
f7bed2cbd5814a8f55d722780d0e237681b1f57c
2024-01-31T18:32:07
perf/go/config/validate/instanceConfigSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "AnomalyConfig": { "additionalProperties": false, "properties": { "settling_time": { "$ref": "#/$defs/DurationAsString" } }, "type": "object" }, "AuthConfig": { "additionalProperties": false, "properties": { "email_regex": { "type": "string" }, "header_name": { "type": "string" } }, "required": [ "header_name" ], "type": "object" }, "CacheConfig": { "additionalProperties": false, "properties": { "memcached_servers": { "items": { "type": "string" }, "type": "array" }, "namespace": { "type": "string" } }, "required": [ "memcached_servers", "namespace" ], "type": "object" }, "DataStoreConfig": { "additionalProperties": false, "properties": { "cache": { "$ref": "#/$defs/CacheConfig" }, "connection_string": { "type": "string" }, "datastore_type": { "type": "string" }, "enable_follower_reads": { "type": "boolean" }, "tile_size": { "type": "integer" } }, "required": [ "datastore_type", "connection_string", "tile_size" ], "type": "object" }, "DurationAsString": { "description": "A golang time.Duration serialized as a string.", "title": "Duration", "type": "string" }, "Favorites": { "additionalProperties": false, "properties": { "sections": { "items": { "$ref": "#/$defs/FavoritesSectionConfig" }, "type": "array" } }, "required": [ "sections" ], "type": "object" }, "FavoritesSectionConfig": { "additionalProperties": false, "properties": { "links": { "items": { "$ref": "#/$defs/FavoritesSectionLinkConfig" }, "type": "array" }, "name": { "type": "string" } }, "required": [ "name", "links" ], "type": "object" }, "FavoritesSectionLinkConfig": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "href": { "type": "string" }, "text": { "type": "string" } }, "required": [ "text", "href", "description" ], "type": "object" }, "GitRepoConfig": { "additionalProperties": false, "properties": { "commit_number_regex": { "type": "string" }, "commit_url": { "type": "string" }, "debounce_commit_url": { "type": "boolean" }, "dir": { "type": "string" }, "file_change_marker": { "type": "string" }, "git_auth_type": { "type": "string" }, "provider": { "type": "string" }, "start_commit": { "type": "string" }, "url": { "type": "string" } }, "required": [ "provider", "url", "dir" ], "type": "object" }, "IngestionConfig": { "additionalProperties": false, "properties": { "branches": { "items": { "type": "string" }, "type": "array" }, "file_ingestion_pubsub_topic_name": { "type": "string" }, "source_config": { "$ref": "#/$defs/SourceConfig" } }, "required": [ "source_config", "branches", "file_ingestion_pubsub_topic_name" ], "type": "object" }, "InstanceConfig": { "additionalProperties": false, "properties": { "URL": { "type": "string" }, "allowed_hosts": { "items": { "type": "string" }, "type": "array" }, "anomaly_config": { "$ref": "#/$defs/AnomalyConfig" }, "auth_config": { "$ref": "#/$defs/AuthConfig" }, "chat_url": { "type": "string" }, "contact": { "type": "string" }, "data_store_config": { "$ref": "#/$defs/DataStoreConfig" }, "favorites": { "$ref": "#/$defs/Favorites" }, "feedback_url": { "type": "string" }, "fetch_chrome_perf_anomalies": { "type": "boolean" }, "filter_parent_traces": { "type": "boolean" }, "ga_measurement_id": { "type": "string" }, "git_repo_config": { "$ref": "#/$defs/GitRepoConfig" }, "help_url_override": { "type": "string" }, "ingestion_config": { "$ref": "#/$defs/IngestionConfig" }, "invalid_param_char_regex": { "type": "string" }, "notify_config": { "$ref": "#/$defs/NotifyConfig" }, "query_config": { "$ref": "#/$defs/QueryConfig" }, "trace_format": { "type": "string" }, "trace_sample_proportion": { "type": "number" } }, "required": [ "URL", "contact", "data_store_config", "ingestion_config", "git_repo_config", "notify_config" ], "type": "object" }, "NotifyConfig": { "additionalProperties": false, "properties": { "body": { "items": { "type": "string" }, "type": "array" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "missing_body": { "items": { "type": "string" }, "type": "array" }, "missing_subject": { "type": "string" }, "notifications": { "type": "string" }, "subject": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "QueryConfig": { "additionalProperties": false, "properties": { "default_param_selections": { "patternProperties": { ".*": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "default_url_values": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "include_params": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "SourceConfig": { "additionalProperties": false, "properties": { "accept_if_name_matches": { "type": "string" }, "dl_subscription": { "type": "string" }, "dl_topic": { "type": "string" }, "project": { "type": "string" }, "reject_if_name_matches": { "type": "string" }, "source_type": { "type": "string" }, "sources": { "items": { "type": "string" }, "type": "array" }, "subscription": { "type": "string" }, "topic": { "type": "string" } }, "required": [ "source_type", "project", "topic", "subscription", "sources" ], "type": "object" } }, "$id": "https://go.skia.org/infra/perf/go/config/instance-config", "$ref": "#/$defs/InstanceConfig", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
google/skia-buildbot
1be259fc7d0859ae8efee1d0e5263630c196576f
2024-04-24T18:25:38
perf/go/config/validate/instanceConfigSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "AnomalyConfig": { "additionalProperties": false, "properties": { "settling_time": { "$ref": "#/$defs/DurationAsString" } }, "type": "object" }, "AuthConfig": { "additionalProperties": false, "properties": { "email_regex": { "type": "string" }, "header_name": { "type": "string" } }, "required": [ "header_name" ], "type": "object" }, "CacheConfig": { "additionalProperties": false, "properties": { "memcached_servers": { "items": { "type": "string" }, "type": "array" }, "namespace": { "type": "string" } }, "required": [ "memcached_servers", "namespace" ], "type": "object" }, "CulpritNotifyConfig": { "additionalProperties": false, "properties": { "culprit_body": { "items": { "type": "string" }, "type": "array" }, "culprit_subject": { "type": "string" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "notifications": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "DataStoreConfig": { "additionalProperties": false, "properties": { "cache": { "$ref": "#/$defs/CacheConfig" }, "connection_string": { "type": "string" }, "datastore_type": { "type": "string" }, "enable_follower_reads": { "type": "boolean" }, "tile_size": { "type": "integer" } }, "required": [ "datastore_type", "connection_string", "tile_size" ], "type": "object" }, "DurationAsString": { "description": "A golang time.Duration serialized as a string.", "title": "Duration", "type": "string" }, "Favorites": { "additionalProperties": false, "properties": { "sections": { "items": { "$ref": "#/$defs/FavoritesSectionConfig" }, "type": "array" } }, "required": [ "sections" ], "type": "object" }, "FavoritesSectionConfig": { "additionalProperties": false, "properties": { "links": { "items": { "$ref": "#/$defs/FavoritesSectionLinkConfig" }, "type": "array" }, "name": { "type": "string" } }, "required": [ "name", "links" ], "type": "object" }, "FavoritesSectionLinkConfig": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "href": { "type": "string" }, "text": { "type": "string" } }, "required": [ "text", "href", "description" ], "type": "object" }, "GitRepoConfig": { "additionalProperties": false, "properties": { "commit_number_regex": { "type": "string" }, "commit_url": { "type": "string" }, "debounce_commit_url": { "type": "boolean" }, "dir": { "type": "string" }, "file_change_marker": { "type": "string" }, "git_auth_type": { "type": "string" }, "provider": { "type": "string" }, "start_commit": { "type": "string" }, "url": { "type": "string" } }, "required": [ "provider", "url", "dir" ], "type": "object" }, "IngestionConfig": { "additionalProperties": false, "properties": { "branches": { "items": { "type": "string" }, "type": "array" }, "file_ingestion_pubsub_topic_name": { "type": "string" }, "source_config": { "$ref": "#/$defs/SourceConfig" } }, "required": [ "source_config", "branches", "file_ingestion_pubsub_topic_name" ], "type": "object" }, "InstanceConfig": { "additionalProperties": false, "properties": { "URL": { "type": "string" }, "allowed_hosts": { "items": { "type": "string" }, "type": "array" }, "anomaly_config": { "$ref": "#/$defs/AnomalyConfig" }, "auth_config": { "$ref": "#/$defs/AuthConfig" }, "backend_host_url": { "type": "string" }, "bug_host_url": { "type": "string" }, "chat_url": { "type": "string" }, "contact": { "type": "string" }, "culprit_notify_config": { "$ref": "#/$defs/CulpritNotifyConfig" }, "data_store_config": { "$ref": "#/$defs/DataStoreConfig" }, "favorites": { "$ref": "#/$defs/Favorites" }, "feedback_url": { "type": "string" }, "fetch_chrome_perf_anomalies": { "type": "boolean" }, "filter_parent_traces": { "type": "boolean" }, "ga_measurement_id": { "type": "string" }, "git_repo_config": { "$ref": "#/$defs/GitRepoConfig" }, "help_url_override": { "type": "string" }, "ingestion_config": { "$ref": "#/$defs/IngestionConfig" }, "invalid_param_char_regex": { "type": "string" }, "need_alert_action": { "type": "boolean" }, "notify_config": { "$ref": "#/$defs/NotifyConfig" }, "query_config": { "$ref": "#/$defs/QueryConfig" }, "trace_format": { "type": "string" }, "trace_sample_proportion": { "type": "number" } }, "required": [ "URL", "contact", "data_store_config", "ingestion_config", "git_repo_config", "notify_config" ], "type": "object" }, "NotifyConfig": { "additionalProperties": false, "properties": { "body": { "items": { "type": "string" }, "type": "array" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "missing_body": { "items": { "type": "string" }, "type": "array" }, "missing_subject": { "type": "string" }, "notifications": { "type": "string" }, "subject": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "QueryConfig": { "additionalProperties": false, "properties": { "default_param_selections": { "patternProperties": { ".*": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "default_url_values": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "include_params": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "SourceConfig": { "additionalProperties": false, "properties": { "accept_if_name_matches": { "type": "string" }, "dl_subscription": { "type": "string" }, "dl_topic": { "type": "string" }, "project": { "type": "string" }, "reject_if_name_matches": { "type": "string" }, "source_type": { "type": "string" }, "sources": { "items": { "type": "string" }, "type": "array" }, "subscription": { "type": "string" }, "topic": { "type": "string" } }, "required": [ "source_type", "project", "topic", "subscription", "sources" ], "type": "object" } }, "$id": "https://go.skia.org/infra/perf/go/config/instance-config", "$ref": "#/$defs/InstanceConfig", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
google/skia-buildbot
02d3e09b9439be2d852b28b4adacd6696eef0abf
2024-03-12T22:18:22
perf/go/config/validate/instanceConfigSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "AnomalyConfig": { "additionalProperties": false, "properties": { "settling_time": { "$ref": "#/$defs/DurationAsString" } }, "type": "object" }, "AuthConfig": { "additionalProperties": false, "properties": { "email_regex": { "type": "string" }, "header_name": { "type": "string" } }, "required": [ "header_name" ], "type": "object" }, "CacheConfig": { "additionalProperties": false, "properties": { "memcached_servers": { "items": { "type": "string" }, "type": "array" }, "namespace": { "type": "string" } }, "required": [ "memcached_servers", "namespace" ], "type": "object" }, "DataStoreConfig": { "additionalProperties": false, "properties": { "cache": { "$ref": "#/$defs/CacheConfig" }, "connection_string": { "type": "string" }, "datastore_type": { "type": "string" }, "enable_follower_reads": { "type": "boolean" }, "tile_size": { "type": "integer" } }, "required": [ "datastore_type", "connection_string", "tile_size" ], "type": "object" }, "DurationAsString": { "description": "A golang time.Duration serialized as a string.", "title": "Duration", "type": "string" }, "Favorites": { "additionalProperties": false, "properties": { "sections": { "items": { "$ref": "#/$defs/FavoritesSectionConfig" }, "type": "array" } }, "required": [ "sections" ], "type": "object" }, "FavoritesSectionConfig": { "additionalProperties": false, "properties": { "links": { "items": { "$ref": "#/$defs/FavoritesSectionLinkConfig" }, "type": "array" }, "name": { "type": "string" } }, "required": [ "name", "links" ], "type": "object" }, "FavoritesSectionLinkConfig": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "href": { "type": "string" }, "text": { "type": "string" } }, "required": [ "text", "href", "description" ], "type": "object" }, "GitRepoConfig": { "additionalProperties": false, "properties": { "commit_number_regex": { "type": "string" }, "commit_url": { "type": "string" }, "debounce_commit_url": { "type": "boolean" }, "dir": { "type": "string" }, "file_change_marker": { "type": "string" }, "git_auth_type": { "type": "string" }, "provider": { "type": "string" }, "start_commit": { "type": "string" }, "url": { "type": "string" } }, "required": [ "provider", "url", "dir" ], "type": "object" }, "IngestionConfig": { "additionalProperties": false, "properties": { "branches": { "items": { "type": "string" }, "type": "array" }, "file_ingestion_pubsub_topic_name": { "type": "string" }, "source_config": { "$ref": "#/$defs/SourceConfig" } }, "required": [ "source_config", "branches", "file_ingestion_pubsub_topic_name" ], "type": "object" }, "InstanceConfig": { "additionalProperties": false, "properties": { "URL": { "type": "string" }, "allowed_hosts": { "items": { "type": "string" }, "type": "array" }, "anomaly_config": { "$ref": "#/$defs/AnomalyConfig" }, "auth_config": { "$ref": "#/$defs/AuthConfig" }, "backend_host_url": { "type": "string" }, "bug_host_url": { "type": "string" }, "chat_url": { "type": "string" }, "contact": { "type": "string" }, "data_store_config": { "$ref": "#/$defs/DataStoreConfig" }, "favorites": { "$ref": "#/$defs/Favorites" }, "feedback_url": { "type": "string" }, "fetch_chrome_perf_anomalies": { "type": "boolean" }, "filter_parent_traces": { "type": "boolean" }, "ga_measurement_id": { "type": "string" }, "git_repo_config": { "$ref": "#/$defs/GitRepoConfig" }, "help_url_override": { "type": "string" }, "ingestion_config": { "$ref": "#/$defs/IngestionConfig" }, "invalid_param_char_regex": { "type": "string" }, "need_alert_action": { "type": "boolean" }, "notify_config": { "$ref": "#/$defs/NotifyConfig" }, "query_config": { "$ref": "#/$defs/QueryConfig" }, "trace_format": { "type": "string" }, "trace_sample_proportion": { "type": "number" } }, "required": [ "URL", "contact", "data_store_config", "ingestion_config", "git_repo_config", "notify_config" ], "type": "object" }, "NotifyConfig": { "additionalProperties": false, "properties": { "body": { "items": { "type": "string" }, "type": "array" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "missing_body": { "items": { "type": "string" }, "type": "array" }, "missing_subject": { "type": "string" }, "notifications": { "type": "string" }, "subject": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "QueryConfig": { "additionalProperties": false, "properties": { "default_param_selections": { "patternProperties": { ".*": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "default_url_values": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "include_params": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "SourceConfig": { "additionalProperties": false, "properties": { "accept_if_name_matches": { "type": "string" }, "dl_subscription": { "type": "string" }, "dl_topic": { "type": "string" }, "project": { "type": "string" }, "reject_if_name_matches": { "type": "string" }, "source_type": { "type": "string" }, "sources": { "items": { "type": "string" }, "type": "array" }, "subscription": { "type": "string" }, "topic": { "type": "string" } }, "required": [ "source_type", "project", "topic", "subscription", "sources" ], "type": "object" } }, "$id": "https://go.skia.org/infra/perf/go/config/instance-config", "$ref": "#/$defs/InstanceConfig", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
google/skia-buildbot
8129e5d9bac420934342b3926a1b56c158440660
2024-04-24T20:55:57
perf/go/config/validate/instanceConfigSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "AnomalyConfig": { "additionalProperties": false, "properties": { "settling_time": { "$ref": "#/$defs/DurationAsString" } }, "type": "object" }, "AuthConfig": { "additionalProperties": false, "properties": { "email_regex": { "type": "string" }, "header_name": { "type": "string" } }, "required": [ "header_name" ], "type": "object" }, "CacheConfig": { "additionalProperties": false, "properties": { "memcached_servers": { "items": { "type": "string" }, "type": "array" }, "namespace": { "type": "string" } }, "required": [ "memcached_servers", "namespace" ], "type": "object" }, "CulpritNotifyConfig": { "additionalProperties": false, "properties": { "culprit_body": { "items": { "type": "string" }, "type": "array" }, "culprit_subject": { "type": "string" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "notifications": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "DataStoreConfig": { "additionalProperties": false, "properties": { "cache": { "$ref": "#/$defs/CacheConfig" }, "connection_string": { "type": "string" }, "datastore_type": { "type": "string" }, "enable_follower_reads": { "type": "boolean" }, "tile_size": { "type": "integer" } }, "required": [ "datastore_type", "connection_string", "tile_size" ], "type": "object" }, "DurationAsString": { "description": "A golang time.Duration serialized as a string.", "title": "Duration", "type": "string" }, "Favorites": { "additionalProperties": false, "properties": { "sections": { "items": { "$ref": "#/$defs/FavoritesSectionConfig" }, "type": "array" } }, "required": [ "sections" ], "type": "object" }, "FavoritesSectionConfig": { "additionalProperties": false, "properties": { "links": { "items": { "$ref": "#/$defs/FavoritesSectionLinkConfig" }, "type": "array" }, "name": { "type": "string" } }, "required": [ "name", "links" ], "type": "object" }, "FavoritesSectionLinkConfig": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "href": { "type": "string" }, "text": { "type": "string" } }, "required": [ "text", "href", "description" ], "type": "object" }, "GitRepoConfig": { "additionalProperties": false, "properties": { "commit_number_regex": { "type": "string" }, "commit_url": { "type": "string" }, "debounce_commit_url": { "type": "boolean" }, "dir": { "type": "string" }, "file_change_marker": { "type": "string" }, "git_auth_type": { "type": "string" }, "provider": { "type": "string" }, "start_commit": { "type": "string" }, "url": { "type": "string" } }, "required": [ "provider", "url", "dir" ], "type": "object" }, "IngestionConfig": { "additionalProperties": false, "properties": { "branches": { "items": { "type": "string" }, "type": "array" }, "file_ingestion_pubsub_topic_name": { "type": "string" }, "source_config": { "$ref": "#/$defs/SourceConfig" } }, "required": [ "source_config", "branches", "file_ingestion_pubsub_topic_name" ], "type": "object" }, "InstanceConfig": { "additionalProperties": false, "properties": { "URL": { "type": "string" }, "allowed_hosts": { "items": { "type": "string" }, "type": "array" }, "anomaly_config": { "$ref": "#/$defs/AnomalyConfig" }, "auth_config": { "$ref": "#/$defs/AuthConfig" }, "backend_host_url": { "type": "string" }, "bug_host_url": { "type": "string" }, "chat_url": { "type": "string" }, "contact": { "type": "string" }, "culprit_notify_config": { "$ref": "#/$defs/CulpritNotifyConfig" }, "data_store_config": { "$ref": "#/$defs/DataStoreConfig" }, "favorites": { "$ref": "#/$defs/Favorites" }, "feedback_url": { "type": "string" }, "fetch_chrome_perf_anomalies": { "type": "boolean" }, "filter_parent_traces": { "type": "boolean" }, "ga_measurement_id": { "type": "string" }, "git_repo_config": { "$ref": "#/$defs/GitRepoConfig" }, "help_url_override": { "type": "string" }, "ingestion_config": { "$ref": "#/$defs/IngestionConfig" }, "invalid_param_char_regex": { "type": "string" }, "need_alert_action": { "type": "boolean" }, "notify_config": { "$ref": "#/$defs/NotifyConfig" }, "query_config": { "$ref": "#/$defs/QueryConfig" }, "trace_format": { "type": "string" }, "trace_sample_proportion": { "type": "number" }, "use_regression2_schema": { "type": "boolean" } }, "required": [ "URL", "contact", "data_store_config", "ingestion_config", "git_repo_config", "notify_config" ], "type": "object" }, "NotifyConfig": { "additionalProperties": false, "properties": { "body": { "items": { "type": "string" }, "type": "array" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "missing_body": { "items": { "type": "string" }, "type": "array" }, "missing_subject": { "type": "string" }, "notifications": { "type": "string" }, "subject": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "QueryConfig": { "additionalProperties": false, "properties": { "default_param_selections": { "patternProperties": { ".*": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "default_url_values": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "include_params": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "SourceConfig": { "additionalProperties": false, "properties": { "accept_if_name_matches": { "type": "string" }, "dl_subscription": { "type": "string" }, "dl_topic": { "type": "string" }, "project": { "type": "string" }, "reject_if_name_matches": { "type": "string" }, "source_type": { "type": "string" }, "sources": { "items": { "type": "string" }, "type": "array" }, "subscription": { "type": "string" }, "topic": { "type": "string" } }, "required": [ "source_type", "project", "topic", "subscription", "sources" ], "type": "object" } }, "$id": "https://go.skia.org/infra/perf/go/config/instance-config", "$ref": "#/$defs/InstanceConfig", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
google/skia-buildbot
9aeb04b63bba70a1f9d5d1407c32f1a8e47d5c7b
2023-10-20T16:45:00
perf/go/config/validate/instanceConfigSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "AnomalyConfig": { "additionalProperties": false, "properties": { "settling_time": { "$ref": "#/$defs/DurationAsString" } }, "type": "object" }, "AuthConfig": { "additionalProperties": false, "properties": { "email_regex": { "type": "string" }, "header_name": { "type": "string" } }, "required": [ "header_name" ], "type": "object" }, "CacheConfig": { "additionalProperties": false, "properties": { "memcached_servers": { "items": { "type": "string" }, "type": "array" }, "namespace": { "type": "string" } }, "required": [ "memcached_servers", "namespace" ], "type": "object" }, "DataStoreConfig": { "additionalProperties": false, "properties": { "cache": { "$ref": "#/$defs/CacheConfig" }, "connection_string": { "type": "string" }, "datastore_type": { "type": "string" }, "enable_follower_reads": { "type": "boolean" }, "tile_size": { "type": "integer" } }, "required": [ "datastore_type", "connection_string", "tile_size" ], "type": "object" }, "DurationAsString": { "description": "A golang time.Duration serialized as a string.", "title": "Duration", "type": "string" }, "Favorites": { "additionalProperties": false, "properties": { "sections": { "items": { "$ref": "#/$defs/FavoritesSectionConfig" }, "type": "array" } }, "required": [ "sections" ], "type": "object" }, "FavoritesSectionConfig": { "additionalProperties": false, "properties": { "links": { "items": { "$ref": "#/$defs/FavoritesSectionLinkConfig" }, "type": "array" }, "name": { "type": "string" } }, "required": [ "name", "links" ], "type": "object" }, "FavoritesSectionLinkConfig": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "href": { "type": "string" }, "text": { "type": "string" } }, "required": [ "text", "href", "description" ], "type": "object" }, "GitRepoConfig": { "additionalProperties": false, "properties": { "commit_number_regex": { "type": "string" }, "commit_url": { "type": "string" }, "debounce_commit_url": { "type": "boolean" }, "dir": { "type": "string" }, "file_change_marker": { "type": "string" }, "git_auth_type": { "type": "string" }, "provider": { "type": "string" }, "start_commit": { "type": "string" }, "url": { "type": "string" } }, "required": [ "provider", "url", "dir" ], "type": "object" }, "IngestionConfig": { "additionalProperties": false, "properties": { "branches": { "items": { "type": "string" }, "type": "array" }, "file_ingestion_pubsub_topic_name": { "type": "string" }, "source_config": { "$ref": "#/$defs/SourceConfig" } }, "required": [ "source_config", "branches", "file_ingestion_pubsub_topic_name" ], "type": "object" }, "InstanceConfig": { "additionalProperties": false, "properties": { "URL": { "type": "string" }, "allowed_hosts": { "items": { "type": "string" }, "type": "array" }, "anomaly_config": { "$ref": "#/$defs/AnomalyConfig" }, "auth_config": { "$ref": "#/$defs/AuthConfig" }, "chat_url": { "type": "string" }, "contact": { "type": "string" }, "data_store_config": { "$ref": "#/$defs/DataStoreConfig" }, "favorites": { "$ref": "#/$defs/Favorites" }, "feedback_url": { "type": "string" }, "fetch_chrome_perf_anomalies": { "type": "boolean" }, "filter_parent_traces": { "type": "boolean" }, "git_repo_config": { "$ref": "#/$defs/GitRepoConfig" }, "help_url_override": { "type": "string" }, "ingestion_config": { "$ref": "#/$defs/IngestionConfig" }, "invalid_param_char_regex": { "type": "string" }, "notify_config": { "$ref": "#/$defs/NotifyConfig" }, "query_config": { "$ref": "#/$defs/QueryConfig" }, "trace_sample_proportion": { "type": "number" } }, "required": [ "URL", "contact", "data_store_config", "ingestion_config", "git_repo_config", "notify_config" ], "type": "object" }, "NotifyConfig": { "additionalProperties": false, "properties": { "body": { "items": { "type": "string" }, "type": "array" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "missing_body": { "items": { "type": "string" }, "type": "array" }, "missing_subject": { "type": "string" }, "notifications": { "type": "string" }, "subject": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "QueryConfig": { "additionalProperties": false, "properties": { "default_param_selections": { "patternProperties": { ".*": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "default_url_values": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "include_params": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "SourceConfig": { "additionalProperties": false, "properties": { "accept_if_name_matches": { "type": "string" }, "dl_subscription": { "type": "string" }, "dl_topic": { "type": "string" }, "project": { "type": "string" }, "reject_if_name_matches": { "type": "string" }, "source_type": { "type": "string" }, "sources": { "items": { "type": "string" }, "type": "array" }, "subscription": { "type": "string" }, "topic": { "type": "string" } }, "required": [ "source_type", "project", "topic", "subscription", "sources" ], "type": "object" } }, "$id": "https://go.skia.org/infra/perf/go/config/instance-config", "$ref": "#/$defs/InstanceConfig", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
google/skia-buildbot
5db54dc0fed85bdbf28afd99e5c9573cf3b6955f
2023-08-31T17:48:55
perf/go/config/validate/instanceConfigSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "AnomalyConfig": { "additionalProperties": false, "properties": { "settling_time": { "$ref": "#/$defs/DurationAsString" } }, "type": "object" }, "AuthConfig": { "additionalProperties": false, "properties": { "email_regex": { "type": "string" }, "header_name": { "type": "string" } }, "required": [ "header_name" ], "type": "object" }, "CacheConfig": { "additionalProperties": false, "properties": { "memcached_servers": { "items": { "type": "string" }, "type": "array" }, "namespace": { "type": "string" } }, "required": [ "memcached_servers", "namespace" ], "type": "object" }, "DataStoreConfig": { "additionalProperties": false, "properties": { "cache": { "$ref": "#/$defs/CacheConfig" }, "connection_string": { "type": "string" }, "datastore_type": { "type": "string" }, "enable_follower_reads": { "type": "boolean" }, "tile_size": { "type": "integer" } }, "required": [ "datastore_type", "connection_string", "tile_size" ], "type": "object" }, "DurationAsString": { "description": "A golang time.Duration serialized as a string.", "title": "Duration", "type": "string" }, "Favorites": { "additionalProperties": false, "properties": { "sections": { "items": { "$ref": "#/$defs/FavoritesSectionConfig" }, "type": "array" } }, "required": [ "sections" ], "type": "object" }, "FavoritesSectionConfig": { "additionalProperties": false, "properties": { "links": { "items": { "$ref": "#/$defs/FavoritesSectionLinkConfig" }, "type": "array" }, "name": { "type": "string" } }, "required": [ "name", "links" ], "type": "object" }, "FavoritesSectionLinkConfig": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "href": { "type": "string" }, "text": { "type": "string" } }, "required": [ "text", "href", "description" ], "type": "object" }, "GitRepoConfig": { "additionalProperties": false, "properties": { "commit_number_regex": { "type": "string" }, "commit_url": { "type": "string" }, "debounce_commit_url": { "type": "boolean" }, "dir": { "type": "string" }, "file_change_marker": { "type": "string" }, "git_auth_type": { "type": "string" }, "provider": { "type": "string" }, "start_commit": { "type": "string" }, "url": { "type": "string" } }, "required": [ "provider", "url", "dir" ], "type": "object" }, "IngestionConfig": { "additionalProperties": false, "properties": { "branches": { "items": { "type": "string" }, "type": "array" }, "file_ingestion_pubsub_topic_name": { "type": "string" }, "source_config": { "$ref": "#/$defs/SourceConfig" } }, "required": [ "source_config", "branches", "file_ingestion_pubsub_topic_name" ], "type": "object" }, "InstanceConfig": { "additionalProperties": false, "properties": { "URL": { "type": "string" }, "allowed_hosts": { "items": { "type": "string" }, "type": "array" }, "anomaly_config": { "$ref": "#/$defs/AnomalyConfig" }, "auth_config": { "$ref": "#/$defs/AuthConfig" }, "contact": { "type": "string" }, "data_store_config": { "$ref": "#/$defs/DataStoreConfig" }, "favorites": { "$ref": "#/$defs/Favorites" }, "feedback_url": { "type": "string" }, "fetch_chrome_perf_anomalies": { "type": "boolean" }, "git_repo_config": { "$ref": "#/$defs/GitRepoConfig" }, "ingestion_config": { "$ref": "#/$defs/IngestionConfig" }, "invalid_param_char_regex": { "type": "string" }, "notify_config": { "$ref": "#/$defs/NotifyConfig" }, "trace_sample_proportion": { "type": "number" } }, "required": [ "URL", "contact", "data_store_config", "ingestion_config", "git_repo_config", "notify_config" ], "type": "object" }, "NotifyConfig": { "additionalProperties": false, "properties": { "body": { "items": { "type": "string" }, "type": "array" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "missing_body": { "items": { "type": "string" }, "type": "array" }, "missing_subject": { "type": "string" }, "notifications": { "type": "string" }, "subject": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "SourceConfig": { "additionalProperties": false, "properties": { "accept_if_name_matches": { "type": "string" }, "dl_subscription": { "type": "string" }, "dl_topic": { "type": "string" }, "project": { "type": "string" }, "reject_if_name_matches": { "type": "string" }, "source_type": { "type": "string" }, "sources": { "items": { "type": "string" }, "type": "array" }, "subscription": { "type": "string" }, "topic": { "type": "string" } }, "required": [ "source_type", "project", "topic", "subscription", "sources" ], "type": "object" } }, "$id": "https://go.skia.org/infra/perf/go/config/instance-config", "$ref": "#/$defs/InstanceConfig", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
google/skia-buildbot
2c27f85a1e6170618bf02d88c4b020d3d7d11ec3
2023-11-01T01:49:39
perf/go/config/validate/instanceConfigSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "AnomalyConfig": { "additionalProperties": false, "properties": { "settling_time": { "$ref": "#/$defs/DurationAsString" } }, "type": "object" }, "AuthConfig": { "additionalProperties": false, "properties": { "email_regex": { "type": "string" }, "header_name": { "type": "string" } }, "required": [ "header_name" ], "type": "object" }, "CacheConfig": { "additionalProperties": false, "properties": { "memcached_servers": { "items": { "type": "string" }, "type": "array" }, "namespace": { "type": "string" } }, "required": [ "memcached_servers", "namespace" ], "type": "object" }, "DataStoreConfig": { "additionalProperties": false, "properties": { "cache": { "$ref": "#/$defs/CacheConfig" }, "connection_string": { "type": "string" }, "datastore_type": { "type": "string" }, "enable_follower_reads": { "type": "boolean" }, "tile_size": { "type": "integer" } }, "required": [ "datastore_type", "connection_string", "tile_size" ], "type": "object" }, "DurationAsString": { "description": "A golang time.Duration serialized as a string.", "title": "Duration", "type": "string" }, "Favorites": { "additionalProperties": false, "properties": { "sections": { "items": { "$ref": "#/$defs/FavoritesSectionConfig" }, "type": "array" } }, "required": [ "sections" ], "type": "object" }, "FavoritesSectionConfig": { "additionalProperties": false, "properties": { "links": { "items": { "$ref": "#/$defs/FavoritesSectionLinkConfig" }, "type": "array" }, "name": { "type": "string" } }, "required": [ "name", "links" ], "type": "object" }, "FavoritesSectionLinkConfig": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "href": { "type": "string" }, "text": { "type": "string" } }, "required": [ "text", "href", "description" ], "type": "object" }, "GitRepoConfig": { "additionalProperties": false, "properties": { "commit_number_regex": { "type": "string" }, "commit_url": { "type": "string" }, "debounce_commit_url": { "type": "boolean" }, "dir": { "type": "string" }, "file_change_marker": { "type": "string" }, "git_auth_type": { "type": "string" }, "provider": { "type": "string" }, "start_commit": { "type": "string" }, "url": { "type": "string" } }, "required": [ "provider", "url", "dir" ], "type": "object" }, "IngestionConfig": { "additionalProperties": false, "properties": { "branches": { "items": { "type": "string" }, "type": "array" }, "file_ingestion_pubsub_topic_name": { "type": "string" }, "source_config": { "$ref": "#/$defs/SourceConfig" } }, "required": [ "source_config", "branches", "file_ingestion_pubsub_topic_name" ], "type": "object" }, "InstanceConfig": { "additionalProperties": false, "properties": { "URL": { "type": "string" }, "allowed_hosts": { "items": { "type": "string" }, "type": "array" }, "anomaly_config": { "$ref": "#/$defs/AnomalyConfig" }, "auth_config": { "$ref": "#/$defs/AuthConfig" }, "chat_url": { "type": "string" }, "contact": { "type": "string" }, "data_store_config": { "$ref": "#/$defs/DataStoreConfig" }, "favorites": { "$ref": "#/$defs/Favorites" }, "feedback_url": { "type": "string" }, "fetch_chrome_perf_anomalies": { "type": "boolean" }, "filter_parent_traces": { "type": "boolean" }, "ga_measurement_id": { "type": "string" }, "git_repo_config": { "$ref": "#/$defs/GitRepoConfig" }, "help_url_override": { "type": "string" }, "ingestion_config": { "$ref": "#/$defs/IngestionConfig" }, "invalid_param_char_regex": { "type": "string" }, "notify_config": { "$ref": "#/$defs/NotifyConfig" }, "query_config": { "$ref": "#/$defs/QueryConfig" }, "trace_format": { "type": "string" }, "trace_sample_proportion": { "type": "number" } }, "required": [ "URL", "contact", "data_store_config", "ingestion_config", "git_repo_config", "notify_config" ], "type": "object" }, "NotifyConfig": { "additionalProperties": false, "properties": { "body": { "items": { "type": "string" }, "type": "array" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "missing_body": { "items": { "type": "string" }, "type": "array" }, "missing_subject": { "type": "string" }, "notifications": { "type": "string" }, "subject": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "QueryConfig": { "additionalProperties": false, "properties": { "default_param_selections": { "patternProperties": { ".*": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "default_url_values": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "include_params": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "SourceConfig": { "additionalProperties": false, "properties": { "accept_if_name_matches": { "type": "string" }, "dl_subscription": { "type": "string" }, "dl_topic": { "type": "string" }, "project": { "type": "string" }, "reject_if_name_matches": { "type": "string" }, "source_type": { "type": "string" }, "sources": { "items": { "type": "string" }, "type": "array" }, "subscription": { "type": "string" }, "topic": { "type": "string" } }, "required": [ "source_type", "project", "topic", "subscription", "sources" ], "type": "object" } }, "$id": "https://go.skia.org/infra/perf/go/config/instance-config", "$ref": "#/$defs/InstanceConfig", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
google/skia-buildbot
76cb96df1817c2b6234a946b7eba72b747e6155c
2024-01-19T16:52:29
tool/go/tool/schema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "Tool": { "additionalProperties": false, "properties": { "adoption_stage": { "type": "string" }, "audience": { "items": { "type": "string" }, "type": "array" }, "code_path": { "items": { "type": "string" }, "type": "array" }, "description": { "type": "string" }, "display_name": { "type": "string" }, "docs": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "domain": { "type": "string" }, "feedback": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "id": { "type": "string" }, "landing_page": { "type": "string" }, "phase": { "type": "string" }, "resources": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "teams_id": { "type": "string" } }, "required": [ "id", "domain", "display_name", "description", "phase", "teams_id", "code_path", "audience", "adoption_stage", "landing_page", "docs", "feedback", "resources" ], "type": "object" } }, "$id": "https://go.skia.org/infra/tool/go/tool/tool", "$ref": "#/$defs/Tool", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
google/skia-buildbot
56b6ffdc489aaee9d9f3797523e77c55cff77b1e
2024-05-21T22:46:00
perf/go/config/validate/instanceConfigSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "AnomalyConfig": { "additionalProperties": false, "properties": { "settling_time": { "$ref": "#/$defs/DurationAsString" } }, "type": "object" }, "AuthConfig": { "additionalProperties": false, "properties": { "email_regex": { "type": "string" }, "header_name": { "type": "string" } }, "required": [ "header_name" ], "type": "object" }, "CacheConfig": { "additionalProperties": false, "properties": { "memcached_servers": { "items": { "type": "string" }, "type": "array" }, "namespace": { "type": "string" } }, "required": [ "memcached_servers", "namespace" ], "type": "object" }, "CulpritNotifyConfig": { "additionalProperties": false, "properties": { "culprit_body": { "items": { "type": "string" }, "type": "array" }, "culprit_subject": { "type": "string" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "notifications": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "DataStoreConfig": { "additionalProperties": false, "properties": { "cache": { "$ref": "#/$defs/CacheConfig" }, "connection_string": { "type": "string" }, "datastore_type": { "type": "string" }, "enable_follower_reads": { "type": "boolean" }, "tile_size": { "type": "integer" } }, "required": [ "datastore_type", "connection_string", "tile_size" ], "type": "object" }, "DurationAsString": { "description": "A golang time.Duration serialized as a string.", "title": "Duration", "type": "string" }, "Favorites": { "additionalProperties": false, "properties": { "sections": { "items": { "$ref": "#/$defs/FavoritesSectionConfig" }, "type": "array" } }, "required": [ "sections" ], "type": "object" }, "FavoritesSectionConfig": { "additionalProperties": false, "properties": { "links": { "items": { "$ref": "#/$defs/FavoritesSectionLinkConfig" }, "type": "array" }, "name": { "type": "string" } }, "required": [ "name", "links" ], "type": "object" }, "FavoritesSectionLinkConfig": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "href": { "type": "string" }, "text": { "type": "string" } }, "required": [ "text", "href", "description" ], "type": "object" }, "GitRepoConfig": { "additionalProperties": false, "properties": { "branch": { "type": "string" }, "commit_number_regex": { "type": "string" }, "commit_url": { "type": "string" }, "debounce_commit_url": { "type": "boolean" }, "dir": { "type": "string" }, "file_change_marker": { "type": "string" }, "git_auth_type": { "type": "string" }, "provider": { "type": "string" }, "start_commit": { "type": "string" }, "url": { "type": "string" } }, "required": [ "provider", "url", "dir" ], "type": "object" }, "IngestionConfig": { "additionalProperties": false, "properties": { "branches": { "items": { "type": "string" }, "type": "array" }, "file_ingestion_pubsub_topic_name": { "type": "string" }, "source_config": { "$ref": "#/$defs/SourceConfig" } }, "required": [ "source_config", "branches", "file_ingestion_pubsub_topic_name" ], "type": "object" }, "InstanceConfig": { "additionalProperties": false, "properties": { "URL": { "type": "string" }, "allowed_hosts": { "items": { "type": "string" }, "type": "array" }, "anomaly_config": { "$ref": "#/$defs/AnomalyConfig" }, "auth_config": { "$ref": "#/$defs/AuthConfig" }, "backend_host_url": { "type": "string" }, "bug_host_url": { "type": "string" }, "chat_url": { "type": "string" }, "contact": { "type": "string" }, "culprit_notify_config": { "$ref": "#/$defs/CulpritNotifyConfig" }, "data_store_config": { "$ref": "#/$defs/DataStoreConfig" }, "favorites": { "$ref": "#/$defs/Favorites" }, "feedback_url": { "type": "string" }, "fetch_chrome_perf_anomalies": { "type": "boolean" }, "filter_parent_traces": { "type": "boolean" }, "ga_measurement_id": { "type": "string" }, "git_repo_config": { "$ref": "#/$defs/GitRepoConfig" }, "help_url_override": { "type": "string" }, "ingestion_config": { "$ref": "#/$defs/IngestionConfig" }, "invalid_param_char_regex": { "type": "string" }, "need_alert_action": { "type": "boolean" }, "notify_config": { "$ref": "#/$defs/NotifyConfig" }, "query_config": { "$ref": "#/$defs/QueryConfig" }, "trace_format": { "type": "string" }, "trace_sample_proportion": { "type": "number" }, "use_regression2_schema": { "type": "boolean" } }, "required": [ "URL", "contact", "data_store_config", "ingestion_config", "git_repo_config", "notify_config" ], "type": "object" }, "NotifyConfig": { "additionalProperties": false, "properties": { "body": { "items": { "type": "string" }, "type": "array" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "missing_body": { "items": { "type": "string" }, "type": "array" }, "missing_subject": { "type": "string" }, "notifications": { "type": "string" }, "subject": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "QueryConfig": { "additionalProperties": false, "properties": { "default_param_selections": { "patternProperties": { ".*": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "default_url_values": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "include_params": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "SourceConfig": { "additionalProperties": false, "properties": { "accept_if_name_matches": { "type": "string" }, "dl_subscription": { "type": "string" }, "dl_topic": { "type": "string" }, "project": { "type": "string" }, "reject_if_name_matches": { "type": "string" }, "source_type": { "type": "string" }, "sources": { "items": { "type": "string" }, "type": "array" }, "subscription": { "type": "string" }, "topic": { "type": "string" } }, "required": [ "source_type", "project", "topic", "subscription", "sources" ], "type": "object" } }, "$id": "https://go.skia.org/infra/perf/go/config/instance-config", "$ref": "#/$defs/InstanceConfig", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
google/skia-buildbot
5522be6c164ea940700f382d928d253c65d1ab45
2021-07-19T18:25:18
perf/go/ingest/format/formatSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$ref": "#/definitions/Format", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "Format": { "additionalProperties": false, "properties": { "git_hash": { "type": "string" }, "issue": { "type": "string" }, "key": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "links": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "patchset": { "type": "string" }, "results": { "items": { "$ref": "#/definitions/Result", "$schema": "http://json-schema.org/draft-04/schema#" }, "type": "array" }, "version": { "type": "integer" } }, "required": [ "version", "git_hash", "results" ], "type": "object" }, "Result": { "additionalProperties": false, "properties": { "key": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "measurement": { "type": "number" }, "measurements": { "patternProperties": { ".*": { "items": { "$ref": "#/definitions/SingleMeasurement", "$schema": "http://json-schema.org/draft-04/schema#" }, "type": "array" } }, "type": "object" } }, "required": [ "key" ], "type": "object" }, "SingleMeasurement": { "additionalProperties": false, "properties": { "measurement": { "type": "number" }, "value": { "type": "string" } }, "required": [ "value", "measurement" ], "type": "object" } } }
BSD-3-Clause
en
google/skia-buildbot
2879539e45eb9288800d14a062852da5dfbd92cf
2024-02-01T18:03:12
perf/go/config/validate/instanceConfigSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "AnomalyConfig": { "additionalProperties": false, "properties": { "settling_time": { "$ref": "#/$defs/DurationAsString" } }, "type": "object" }, "AuthConfig": { "additionalProperties": false, "properties": { "email_regex": { "type": "string" }, "header_name": { "type": "string" } }, "required": [ "header_name" ], "type": "object" }, "CacheConfig": { "additionalProperties": false, "properties": { "memcached_servers": { "items": { "type": "string" }, "type": "array" }, "namespace": { "type": "string" } }, "required": [ "memcached_servers", "namespace" ], "type": "object" }, "DataStoreConfig": { "additionalProperties": false, "properties": { "cache": { "$ref": "#/$defs/CacheConfig" }, "connection_string": { "type": "string" }, "datastore_type": { "type": "string" }, "enable_follower_reads": { "type": "boolean" }, "tile_size": { "type": "integer" } }, "required": [ "datastore_type", "connection_string", "tile_size" ], "type": "object" }, "DurationAsString": { "description": "A golang time.Duration serialized as a string.", "title": "Duration", "type": "string" }, "Favorites": { "additionalProperties": false, "properties": { "sections": { "items": { "$ref": "#/$defs/FavoritesSectionConfig" }, "type": "array" } }, "required": [ "sections" ], "type": "object" }, "FavoritesSectionConfig": { "additionalProperties": false, "properties": { "links": { "items": { "$ref": "#/$defs/FavoritesSectionLinkConfig" }, "type": "array" }, "name": { "type": "string" } }, "required": [ "name", "links" ], "type": "object" }, "FavoritesSectionLinkConfig": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "href": { "type": "string" }, "text": { "type": "string" } }, "required": [ "text", "href", "description" ], "type": "object" }, "GitRepoConfig": { "additionalProperties": false, "properties": { "commit_number_regex": { "type": "string" }, "commit_url": { "type": "string" }, "debounce_commit_url": { "type": "boolean" }, "dir": { "type": "string" }, "file_change_marker": { "type": "string" }, "git_auth_type": { "type": "string" }, "provider": { "type": "string" }, "start_commit": { "type": "string" }, "url": { "type": "string" } }, "required": [ "provider", "url", "dir" ], "type": "object" }, "IngestionConfig": { "additionalProperties": false, "properties": { "branches": { "items": { "type": "string" }, "type": "array" }, "file_ingestion_pubsub_topic_name": { "type": "string" }, "source_config": { "$ref": "#/$defs/SourceConfig" } }, "required": [ "source_config", "branches", "file_ingestion_pubsub_topic_name" ], "type": "object" }, "InstanceConfig": { "additionalProperties": false, "properties": { "URL": { "type": "string" }, "allowed_hosts": { "items": { "type": "string" }, "type": "array" }, "anomaly_config": { "$ref": "#/$defs/AnomalyConfig" }, "auth_config": { "$ref": "#/$defs/AuthConfig" }, "chat_url": { "type": "string" }, "contact": { "type": "string" }, "data_store_config": { "$ref": "#/$defs/DataStoreConfig" }, "favorites": { "$ref": "#/$defs/Favorites" }, "feedback_url": { "type": "string" }, "fetch_chrome_perf_anomalies": { "type": "boolean" }, "filter_parent_traces": { "type": "boolean" }, "ga_measurement_id": { "type": "string" }, "git_repo_config": { "$ref": "#/$defs/GitRepoConfig" }, "help_url_override": { "type": "string" }, "ingestion_config": { "$ref": "#/$defs/IngestionConfig" }, "invalid_param_char_regex": { "type": "string" }, "need_alert_action": { "type": "boolean" }, "notify_config": { "$ref": "#/$defs/NotifyConfig" }, "query_config": { "$ref": "#/$defs/QueryConfig" }, "trace_format": { "type": "string" }, "trace_sample_proportion": { "type": "number" } }, "required": [ "URL", "contact", "data_store_config", "ingestion_config", "git_repo_config", "notify_config" ], "type": "object" }, "NotifyConfig": { "additionalProperties": false, "properties": { "body": { "items": { "type": "string" }, "type": "array" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "missing_body": { "items": { "type": "string" }, "type": "array" }, "missing_subject": { "type": "string" }, "notifications": { "type": "string" }, "subject": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "QueryConfig": { "additionalProperties": false, "properties": { "default_param_selections": { "patternProperties": { ".*": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "default_url_values": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "include_params": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "SourceConfig": { "additionalProperties": false, "properties": { "accept_if_name_matches": { "type": "string" }, "dl_subscription": { "type": "string" }, "dl_topic": { "type": "string" }, "project": { "type": "string" }, "reject_if_name_matches": { "type": "string" }, "source_type": { "type": "string" }, "sources": { "items": { "type": "string" }, "type": "array" }, "subscription": { "type": "string" }, "topic": { "type": "string" } }, "required": [ "source_type", "project", "topic", "subscription", "sources" ], "type": "object" } }, "$id": "https://go.skia.org/infra/perf/go/config/instance-config", "$ref": "#/$defs/InstanceConfig", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
google/skia-buildbot
b7f47ce3bc130e0ef67b5b2258cb0b9d965caa86
2023-10-13T22:25:44
perf/go/config/validate/instanceConfigSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "AnomalyConfig": { "additionalProperties": false, "properties": { "settling_time": { "$ref": "#/$defs/DurationAsString" } }, "type": "object" }, "AuthConfig": { "additionalProperties": false, "properties": { "email_regex": { "type": "string" }, "header_name": { "type": "string" } }, "required": [ "header_name" ], "type": "object" }, "CacheConfig": { "additionalProperties": false, "properties": { "memcached_servers": { "items": { "type": "string" }, "type": "array" }, "namespace": { "type": "string" } }, "required": [ "memcached_servers", "namespace" ], "type": "object" }, "DataStoreConfig": { "additionalProperties": false, "properties": { "cache": { "$ref": "#/$defs/CacheConfig" }, "connection_string": { "type": "string" }, "datastore_type": { "type": "string" }, "enable_follower_reads": { "type": "boolean" }, "tile_size": { "type": "integer" } }, "required": [ "datastore_type", "connection_string", "tile_size" ], "type": "object" }, "DurationAsString": { "description": "A golang time.Duration serialized as a string.", "title": "Duration", "type": "string" }, "Favorites": { "additionalProperties": false, "properties": { "sections": { "items": { "$ref": "#/$defs/FavoritesSectionConfig" }, "type": "array" } }, "required": [ "sections" ], "type": "object" }, "FavoritesSectionConfig": { "additionalProperties": false, "properties": { "links": { "items": { "$ref": "#/$defs/FavoritesSectionLinkConfig" }, "type": "array" }, "name": { "type": "string" } }, "required": [ "name", "links" ], "type": "object" }, "FavoritesSectionLinkConfig": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "href": { "type": "string" }, "text": { "type": "string" } }, "required": [ "text", "href", "description" ], "type": "object" }, "GitRepoConfig": { "additionalProperties": false, "properties": { "commit_number_regex": { "type": "string" }, "commit_url": { "type": "string" }, "debounce_commit_url": { "type": "boolean" }, "dir": { "type": "string" }, "file_change_marker": { "type": "string" }, "git_auth_type": { "type": "string" }, "provider": { "type": "string" }, "start_commit": { "type": "string" }, "url": { "type": "string" } }, "required": [ "provider", "url", "dir" ], "type": "object" }, "IngestionConfig": { "additionalProperties": false, "properties": { "branches": { "items": { "type": "string" }, "type": "array" }, "file_ingestion_pubsub_topic_name": { "type": "string" }, "source_config": { "$ref": "#/$defs/SourceConfig" } }, "required": [ "source_config", "branches", "file_ingestion_pubsub_topic_name" ], "type": "object" }, "InstanceConfig": { "additionalProperties": false, "properties": { "URL": { "type": "string" }, "allowed_hosts": { "items": { "type": "string" }, "type": "array" }, "anomaly_config": { "$ref": "#/$defs/AnomalyConfig" }, "auth_config": { "$ref": "#/$defs/AuthConfig" }, "chat_url": { "type": "string" }, "contact": { "type": "string" }, "data_store_config": { "$ref": "#/$defs/DataStoreConfig" }, "favorites": { "$ref": "#/$defs/Favorites" }, "feedback_url": { "type": "string" }, "fetch_chrome_perf_anomalies": { "type": "boolean" }, "filter_parent_traces": { "type": "boolean" }, "git_repo_config": { "$ref": "#/$defs/GitRepoConfig" }, "ingestion_config": { "$ref": "#/$defs/IngestionConfig" }, "invalid_param_char_regex": { "type": "string" }, "notify_config": { "$ref": "#/$defs/NotifyConfig" }, "query_config": { "$ref": "#/$defs/QueryConfig" }, "trace_sample_proportion": { "type": "number" } }, "required": [ "URL", "contact", "data_store_config", "ingestion_config", "git_repo_config", "notify_config" ], "type": "object" }, "NotifyConfig": { "additionalProperties": false, "properties": { "body": { "items": { "type": "string" }, "type": "array" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "missing_body": { "items": { "type": "string" }, "type": "array" }, "missing_subject": { "type": "string" }, "notifications": { "type": "string" }, "subject": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "QueryConfig": { "additionalProperties": false, "properties": { "default_param_selections": { "patternProperties": { ".*": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "default_url_values": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "include_params": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "SourceConfig": { "additionalProperties": false, "properties": { "accept_if_name_matches": { "type": "string" }, "dl_subscription": { "type": "string" }, "dl_topic": { "type": "string" }, "project": { "type": "string" }, "reject_if_name_matches": { "type": "string" }, "source_type": { "type": "string" }, "sources": { "items": { "type": "string" }, "type": "array" }, "subscription": { "type": "string" }, "topic": { "type": "string" } }, "required": [ "source_type", "project", "topic", "subscription", "sources" ], "type": "object" } }, "$id": "https://go.skia.org/infra/perf/go/config/instance-config", "$ref": "#/$defs/InstanceConfig", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
google/skia-buildbot
a1cd18d5e11bbb2d036527eccb167d1a291dd218
2024-02-27T23:40:50
perf/go/config/validate/instanceConfigSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "AnomalyConfig": { "additionalProperties": false, "properties": { "settling_time": { "$ref": "#/$defs/DurationAsString" } }, "type": "object" }, "AuthConfig": { "additionalProperties": false, "properties": { "email_regex": { "type": "string" }, "header_name": { "type": "string" } }, "required": [ "header_name" ], "type": "object" }, "CacheConfig": { "additionalProperties": false, "properties": { "memcached_servers": { "items": { "type": "string" }, "type": "array" }, "namespace": { "type": "string" } }, "required": [ "memcached_servers", "namespace" ], "type": "object" }, "DataStoreConfig": { "additionalProperties": false, "properties": { "cache": { "$ref": "#/$defs/CacheConfig" }, "connection_string": { "type": "string" }, "datastore_type": { "type": "string" }, "enable_follower_reads": { "type": "boolean" }, "tile_size": { "type": "integer" } }, "required": [ "datastore_type", "connection_string", "tile_size" ], "type": "object" }, "DurationAsString": { "description": "A golang time.Duration serialized as a string.", "title": "Duration", "type": "string" }, "Favorites": { "additionalProperties": false, "properties": { "sections": { "items": { "$ref": "#/$defs/FavoritesSectionConfig" }, "type": "array" } }, "required": [ "sections" ], "type": "object" }, "FavoritesSectionConfig": { "additionalProperties": false, "properties": { "links": { "items": { "$ref": "#/$defs/FavoritesSectionLinkConfig" }, "type": "array" }, "name": { "type": "string" } }, "required": [ "name", "links" ], "type": "object" }, "FavoritesSectionLinkConfig": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "href": { "type": "string" }, "text": { "type": "string" } }, "required": [ "text", "href", "description" ], "type": "object" }, "GitRepoConfig": { "additionalProperties": false, "properties": { "commit_number_regex": { "type": "string" }, "commit_url": { "type": "string" }, "debounce_commit_url": { "type": "boolean" }, "dir": { "type": "string" }, "file_change_marker": { "type": "string" }, "git_auth_type": { "type": "string" }, "provider": { "type": "string" }, "start_commit": { "type": "string" }, "url": { "type": "string" } }, "required": [ "provider", "url", "dir" ], "type": "object" }, "IngestionConfig": { "additionalProperties": false, "properties": { "branches": { "items": { "type": "string" }, "type": "array" }, "file_ingestion_pubsub_topic_name": { "type": "string" }, "source_config": { "$ref": "#/$defs/SourceConfig" } }, "required": [ "source_config", "branches", "file_ingestion_pubsub_topic_name" ], "type": "object" }, "InstanceConfig": { "additionalProperties": false, "properties": { "URL": { "type": "string" }, "allowed_hosts": { "items": { "type": "string" }, "type": "array" }, "anomaly_config": { "$ref": "#/$defs/AnomalyConfig" }, "auth_config": { "$ref": "#/$defs/AuthConfig" }, "bug_host_url": { "type": "string" }, "chat_url": { "type": "string" }, "contact": { "type": "string" }, "data_store_config": { "$ref": "#/$defs/DataStoreConfig" }, "favorites": { "$ref": "#/$defs/Favorites" }, "feedback_url": { "type": "string" }, "fetch_chrome_perf_anomalies": { "type": "boolean" }, "filter_parent_traces": { "type": "boolean" }, "ga_measurement_id": { "type": "string" }, "git_repo_config": { "$ref": "#/$defs/GitRepoConfig" }, "help_url_override": { "type": "string" }, "ingestion_config": { "$ref": "#/$defs/IngestionConfig" }, "invalid_param_char_regex": { "type": "string" }, "need_alert_action": { "type": "boolean" }, "notify_config": { "$ref": "#/$defs/NotifyConfig" }, "query_config": { "$ref": "#/$defs/QueryConfig" }, "trace_format": { "type": "string" }, "trace_sample_proportion": { "type": "number" } }, "required": [ "URL", "contact", "data_store_config", "ingestion_config", "git_repo_config", "notify_config" ], "type": "object" }, "NotifyConfig": { "additionalProperties": false, "properties": { "body": { "items": { "type": "string" }, "type": "array" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "missing_body": { "items": { "type": "string" }, "type": "array" }, "missing_subject": { "type": "string" }, "notifications": { "type": "string" }, "subject": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "QueryConfig": { "additionalProperties": false, "properties": { "default_param_selections": { "patternProperties": { ".*": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "default_url_values": { "patternProperties": { ".*": { "type": "string" } }, "type": "object" }, "include_params": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "SourceConfig": { "additionalProperties": false, "properties": { "accept_if_name_matches": { "type": "string" }, "dl_subscription": { "type": "string" }, "dl_topic": { "type": "string" }, "project": { "type": "string" }, "reject_if_name_matches": { "type": "string" }, "source_type": { "type": "string" }, "sources": { "items": { "type": "string" }, "type": "array" }, "subscription": { "type": "string" }, "topic": { "type": "string" } }, "required": [ "source_type", "project", "topic", "subscription", "sources" ], "type": "object" } }, "$id": "https://go.skia.org/infra/perf/go/config/instance-config", "$ref": "#/$defs/InstanceConfig", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
google/skia-buildbot
6e55411b61e1d42bcc38d5d5bfd22b5226c473c4
2023-09-16T00:24:11
perf/go/config/validate/instanceConfigSchema.json
131
2024-05-29T18:06:11.228882Z
{ "$defs": { "AnomalyConfig": { "additionalProperties": false, "properties": { "settling_time": { "$ref": "#/$defs/DurationAsString" } }, "type": "object" }, "AuthConfig": { "additionalProperties": false, "properties": { "email_regex": { "type": "string" }, "header_name": { "type": "string" } }, "required": [ "header_name" ], "type": "object" }, "CacheConfig": { "additionalProperties": false, "properties": { "memcached_servers": { "items": { "type": "string" }, "type": "array" }, "namespace": { "type": "string" } }, "required": [ "memcached_servers", "namespace" ], "type": "object" }, "DataStoreConfig": { "additionalProperties": false, "properties": { "cache": { "$ref": "#/$defs/CacheConfig" }, "connection_string": { "type": "string" }, "datastore_type": { "type": "string" }, "enable_follower_reads": { "type": "boolean" }, "tile_size": { "type": "integer" } }, "required": [ "datastore_type", "connection_string", "tile_size" ], "type": "object" }, "DurationAsString": { "description": "A golang time.Duration serialized as a string.", "title": "Duration", "type": "string" }, "Favorites": { "additionalProperties": false, "properties": { "sections": { "items": { "$ref": "#/$defs/FavoritesSectionConfig" }, "type": "array" } }, "required": [ "sections" ], "type": "object" }, "FavoritesSectionConfig": { "additionalProperties": false, "properties": { "links": { "items": { "$ref": "#/$defs/FavoritesSectionLinkConfig" }, "type": "array" }, "name": { "type": "string" } }, "required": [ "name", "links" ], "type": "object" }, "FavoritesSectionLinkConfig": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "href": { "type": "string" }, "text": { "type": "string" } }, "required": [ "text", "href", "description" ], "type": "object" }, "GitRepoConfig": { "additionalProperties": false, "properties": { "commit_number_regex": { "type": "string" }, "commit_url": { "type": "string" }, "debounce_commit_url": { "type": "boolean" }, "dir": { "type": "string" }, "file_change_marker": { "type": "string" }, "git_auth_type": { "type": "string" }, "provider": { "type": "string" }, "start_commit": { "type": "string" }, "url": { "type": "string" } }, "required": [ "provider", "url", "dir" ], "type": "object" }, "IngestionConfig": { "additionalProperties": false, "properties": { "branches": { "items": { "type": "string" }, "type": "array" }, "file_ingestion_pubsub_topic_name": { "type": "string" }, "source_config": { "$ref": "#/$defs/SourceConfig" } }, "required": [ "source_config", "branches", "file_ingestion_pubsub_topic_name" ], "type": "object" }, "InstanceConfig": { "additionalProperties": false, "properties": { "URL": { "type": "string" }, "allowed_hosts": { "items": { "type": "string" }, "type": "array" }, "anomaly_config": { "$ref": "#/$defs/AnomalyConfig" }, "auth_config": { "$ref": "#/$defs/AuthConfig" }, "contact": { "type": "string" }, "data_store_config": { "$ref": "#/$defs/DataStoreConfig" }, "favorites": { "$ref": "#/$defs/Favorites" }, "feedback_url": { "type": "string" }, "fetch_chrome_perf_anomalies": { "type": "boolean" }, "filter_parent_traces": { "type": "boolean" }, "git_repo_config": { "$ref": "#/$defs/GitRepoConfig" }, "ingestion_config": { "$ref": "#/$defs/IngestionConfig" }, "invalid_param_char_regex": { "type": "string" }, "notify_config": { "$ref": "#/$defs/NotifyConfig" }, "trace_sample_proportion": { "type": "number" } }, "required": [ "URL", "contact", "data_store_config", "ingestion_config", "git_repo_config", "notify_config" ], "type": "object" }, "NotifyConfig": { "additionalProperties": false, "properties": { "body": { "items": { "type": "string" }, "type": "array" }, "issue_tracker_api_key_secret_name": { "type": "string" }, "issue_tracker_api_key_secret_project": { "type": "string" }, "missing_body": { "items": { "type": "string" }, "type": "array" }, "missing_subject": { "type": "string" }, "notifications": { "type": "string" }, "subject": { "type": "string" } }, "required": [ "notifications" ], "type": "object" }, "SourceConfig": { "additionalProperties": false, "properties": { "accept_if_name_matches": { "type": "string" }, "dl_subscription": { "type": "string" }, "dl_topic": { "type": "string" }, "project": { "type": "string" }, "reject_if_name_matches": { "type": "string" }, "source_type": { "type": "string" }, "sources": { "items": { "type": "string" }, "type": "array" }, "subscription": { "type": "string" }, "topic": { "type": "string" } }, "required": [ "source_type", "project", "topic", "subscription", "sources" ], "type": "object" } }, "$id": "https://go.skia.org/infra/perf/go/config/instance-config", "$ref": "#/$defs/InstanceConfig", "$schema": "https://json-schema.org/draft/2020-12/schema" }
BSD-3-Clause
en
gulzarshaikh/WellArchitected-Assessment
101f1ff99859331b307f4685acfb49a8ff7f2d82
2021-04-14T02:15:13
schema/github.schema.json
8
2024-05-28T05:18:34.127105Z
{ "$id": "https://waf/1.0/github.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "items": { "anyOf": [ { "description": "Single item within an assessment. Can be a question, recommendation, consideration etc.", "properties": { "category": { "description": "Categories are predefined in the categories.json file. They will be rendered as headers in the MD output.", "type": "string" }, "children": { "description": "Optional array of artifacts that will be rendered as sub-elements of the artifact. They share all the attributes like type and category with their parents so those do not need to be specified again.", "items": { "anyOf": [ { "description": "An item which is contextually related to the parent. It will share its category, subcategory and pillar.", "properties": { "code": { "description": "Source code to provide sample implementation for this item.", "type": "string" }, "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "Unique identifier of this item.", "type": "string" }, "recommendation": { "dependencies": { "context": { "properties": { "title": { "minLength": 0 } }, "required": [ "title" ] } }, "description": "", "properties": { "context": { "type": "string" }, "links": { "items": { "properties": { "title": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "type": "array" }, "priority": { "type": "string" }, "title": { "type": "string" } }, "type": "object" }, "title": { "description": "Title of the item - can be a question, recommendation, consideration etc.", "type": "string" } }, "type": "object" } ] }, "type": "array" }, "code": { "description": "Source code to provide sample implementation for this item.", "type": "string" }, "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "Unique GUID to identify items and refer to them. This field is automatically set via a GitHub workflow.", "type": "string" }, "lens": { "description": "Lens defines how is this content intended to be consumed. It can affect rendering and transformations to various formats. Each lens has it's own JSON files.", "enum": [ "application", "service", "scenario" ], "type": "string" }, "pillars": { "description": "An array that indicates for which pillars (one or more) this artifact is applicable. There is often an overlap between the different WAF pillars, so when adding new content, think about which pillars this could be useful for.", "items": { "anyOf": [ { "description": "WAF pillar into which this item belongs.", "examples": [ "costoptimization", "scenario/sap" ], "type": "string" } ] }, "type": "array" }, "recommendation": { "dependencies": { "context": { "properties": { "title": { "minLength": 0 } }, "required": [ "title" ] } }, "description": "", "properties": { "context": { "type": "string" }, "links": { "items": { "properties": { "title": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "type": "array" }, "priority": { "type": "integer" }, "title": { "type": "string" } }, "type": "object" }, "statement": { "description": "If this item is a question, the statement field should reflect title, but reworded into a statement format.", "examples": [ "SLAs for all internal and external dependencies are understood." ], "type": "string" }, "subCategory": { "description": "Subcategories are predefined in the categories.json file, under corresponding categories. They will be rendered as subheaders in the MD output.", "type": "string" }, "title": { "description": "Main part of the content that gets rendered. In the case of a Question, this is the question itself. For design considerations and configuration recommendations, this is the guidance text.", "examples": [ "Are SLAs/SLOs/SLIs for all leveraged dependencies understood?" ], "type": "string" }, "type": { "description": "Type determines what kind of content this artifact represents and in which output the artifact will be used. Questions are used for assessments (application lens) while the others are used in more specific guidance (Service and Scenario lenses).", "enum": [ "Questions", "Design Principles", "Design Considerations", "Design Recommendations", "Configuration Recommendations", "Supporting Source Artifacts" ], "type": "string" } }, "required": [ "id", "type", "pillars", "lens", "category", "subCategory", "title" ], "title": "Assessment item", "type": "object" } ] }, "title": "Assessment content", "type": "array" }
MIT
en
gulzarshaikh/WellArchitected-Assessment
5054921d995647da1a63e648ef17ad0dfe889d03
2021-03-22T16:00:55
schema/github.schema.json
8
2024-05-28T05:18:34.127105Z
{ "$id": "https://waf/1.0/github.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "items": { "anyOf": [ { "description": "Single item within an assessment. Can be a question, recommendation, consideration etc.", "properties": { "category": { "description": "Categories are predefined in the categories.json file. They will be rendered as headers in the MD output.", "type": "string" }, "children": { "description": "Optional array of artifacts that will be rendered as sub-elements of the artifact. They share all the attributes like type and category with their parents so those do not need to be specified again.", "items": { "anyOf": [ { "description": "An item which is contextually related to the parent. It will share its category, subcategory and pillar.", "properties": { "code": { "description": "Source code to provide sample implementation for this item.", "type": "string" }, "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "Unique identifier of this item.", "type": "string" }, "recommendation": { "dependencies": { "context": { "required": [ "title" ] } }, "description": "", "properties": { "context": { "type": "string" }, "links": { "items": { "properties": { "title": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "type": "array" }, "priority": { "type": "string" }, "title": { "type": "string" } }, "type": "object" }, "title": { "description": "Title of the item - can be a question, recommendation, consideration etc.", "type": "string" } }, "type": "object" } ] }, "type": "array" }, "code": { "description": "Source code to provide sample implementation for this item.", "type": "string" }, "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "Unique GUID to identify items and refer to them. This field is automatically set via a GitHub workflow.", "type": "string" }, "lens": { "description": "Lens defines how is this content intended to be consumed. It can affect rendering and transformations to various formats. Each lens has it's own JSON files.", "enum": [ "application", "service", "scenario" ], "type": "string" }, "pillars": { "description": "An array that indicates for which pillars (one or more) this artifact is applicable. There is often an overlap between the different WAF pillars, so when adding new content, think about which pillars this could be useful for.", "items": { "anyOf": [ { "description": "WAF pillar into which this item belongs.", "examples": [ "costoptimization", "scenario/sap" ], "type": "string" } ] }, "type": "array" }, "recommendation": { "dependencies": { "context": { "properties": { "title": { "minLength": 0 } }, "required": [ "title" ] } }, "description": "", "properties": { "context": { "type": "string" }, "links": { "items": { "properties": { "title": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "type": "array" }, "priority": { "type": "string" }, "title": { "type": "string" } }, "type": "object" }, "statement": { "description": "If this item is a question, the statement field should reflect title, but reworded into a statement format.", "examples": [ "SLAs for all internal and external dependencies are understood." ], "type": "string" }, "subCategory": { "description": "Subcategories are predefined in the categories.json file, under corresponding categories. They will be rendered as subheaders in the MD output.", "type": "string" }, "title": { "description": "Main part of the content that gets rendered. In the case of a Question, this is the question itself. For design considerations and configuration recommendations, this is the guidance text.", "examples": [ "Are SLAs/SLOs/SLIs for all leveraged dependencies understood?" ], "type": "string" }, "type": { "description": "Type determines what kind of content this artifact represents and in which output the artifact will be used. Questions are used for assessments (application lens) while the others are used in more specific guidance (Service and Scenario lenses).", "enum": [ "Questions", "Design Principles", "Design Considerations", "Design Recommendations", "Configuration Recommendations", "Supporting Source Artifacts" ], "type": "string" } }, "required": [ "id", "type", "pillars", "lens", "category", "subCategory", "title" ], "title": "Assessment item", "type": "object" } ] }, "title": "Assessment content", "type": "array" }
MIT
en
gulzarshaikh/WellArchitected-Assessment
07d32535e18b5d64f5d7922482b5ccfece35658a
2021-03-12T13:13:21
schema/github.schema.json
8
2024-05-28T05:18:34.127105Z
{ "$id": "https://waf/1.0/github.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "Single item within an assessment. Can be a question, recommendation, consideration etc.", "properties": { "category": { "description": "Categories are predefined in the categories.json file. They will be rendered as headers in the MD output.", "type": "string" }, "children": { "description": "Optional array of artifacts that will be rendered as sub-elements of the artifact. They share all the attributes like type and category with their parents so those do not need to be specified again.", "items": { "anyOf": [ { "description": "An item which is contextually related to the parent. It will share its category, subcategory and pillar.", "properties": { "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "Unique identifier of this item.", "type": "string" }, "recommendation": { "description": "", "properties": { "context": { "type": "string" }, "links": { "items": { "properties": { "title": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "type": "array" }, "priority": { "type": "string" }, "title": { "type": "string" } }, "type": "object" }, "title": { "description": "Title of the item - can be a question, recommendation, consideration etc.", "type": "string" } }, "type": "object" } ] }, "type": "array" }, "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "Unique GUID to identify items and refer to them. This field is automatically set via a GitHub workflow.", "type": "string" }, "lens": { "description": "Lens defines how is this content intended to be consumed. It can affect rendering and transformations to various formats. Each lens has it's own JSON files.", "enum": [ "application", "service", "scenario" ], "type": "string" }, "pillars": { "description": "An array that indicates for which pillars (one or more) this artifact is applicable. There is often an overlap between the different WAF pillars, so when adding new content, think about which pillars this could be useful for.", "items": { "anyOf": [ { "description": "WAF pillar into which this item belongs.", "examples": [ "costoptimization", "scenario/sap" ], "type": "string" } ] }, "type": "array" }, "recommendation": { "description": "", "properties": { "context": { "type": "string" }, "links": { "items": { "properties": { "title": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "type": "array" }, "priority": { "type": "string" }, "title": { "type": "string" } }, "type": "object" }, "statement": { "description": "If this item is a question, the statement field should reflect title, but reworded into a statement format.", "examples": [ "SLAs for all internal and external dependencies are understood." ], "type": "string" }, "subCategory": { "description": "Subcategories are predefined in the categories.json file, under corresponding categories. They will be rendered as subheaders in the MD output.", "type": "string" }, "title": { "description": "Main part of the content that gets rendered. In the case of a Question, this is the question itself. For design considerations and configuration recommendations, this is the guidance text.", "examples": [ "Are SLAs/SLOs/SLIs for all leveraged dependencies understood?" ], "type": "string" }, "type": { "description": "Type determines what kind of content this artifact represents and in which output the artifact will be used. Questions are used for assessments (application lens) while the others are used in more specific guidance (Service and Scenario lenses).", "enum": [ "Questions", "Design Principles", "Design Considerations", "Design Recommendations", "Configuration Recommendations", "Supporting Source Artifacts" ], "type": "string" } }, "required": [ "id", "type", "pillars", "lens", "category", "subCategory", "title" ], "title": "AssessmentItem", "type": "object" }
MIT
en
gulzarshaikh/WellArchitected-Assessment
6b344658b5887a3c472b20dd7127452c913fb610
2021-03-18T10:24:07
schema/assessment-platform.schema.json
8
2024-05-28T05:18:34.127105Z
{ "$id": "http://waf/assessment-platform.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalItems": true, "description": "List of questions with choices.", "items": { "anyOf": [ { "additionalProperties": true, "description": "A question object, which is injected by the assessment platform.", "properties": { "category": { "description": "The pillar into which this question belongs.", "enum": [ "costoptimization", "golive", "operationalexcellence", "performanceefficiency", "reliability", "security" ], "examples": [ "reliability" ], "type": "string" }, "choices": { "additionalItems": false, "description": "List of choices for this question. Will be rendered as checkboxes on the page.", "items": { "anyOf": [ { "additionalProperties": true, "description": "Each choice is represented as statement with checkbox and tooltip.", "properties": { "context": { "description": "Description of the choice which will be rendered as a tooltip. It should explain to the user in more detail what this choice represents. It has to be single-line and not contain any formatting.", "examples": [ "Understanding customer reliability expectations is vital to reviewing the overall reliability of the application. For instance, if a customer is striving to achieve an application RTO of less than a minute then back-up based and active-passive disaster recovery strategies are unlikely to be appropriate." ], "type": "string" }, "recommendations": { "additionalItems": true, "description": "List of recommendations to be shown for this particular choice.", "items": { "anyOf": [ { "additionalProperties": true, "description": "Recommendation to be shown for this particular choice.", "properties": { "context": { "description": "Description of this recommendation. It should explain what is it about.", "examples": [ "Recovery targets should be defined in accordance to the required RTO and RPO targets for the workload." ], "type": "string" }, "links": { "additionalItems": false, "description": "One or more hyperlinks", "items": { "anyOf": [ { "additionalProperties": false, "description": "Recommendation link", "properties": { "title": { "description": "Short title which will be used as hyperlink text.", "type": "string" }, "url": { "description": "Actual URL of the link.", "type": "string" } }, "required": [ "title", "url" ], "type": "object" } ] }, "type": "array" }, "metadata": { "additionalProperties": false, "description": "Additional metadata for a receiving system. Generated from the question data.", "properties": { "category": { "type": "string" }, "description-long": { "type": "string" }, "priority": { "type": "string" }, "sub-category": { "type": "string" } }, "required": [ "priority", "category", "sub-category", "description-long" ], "type": "object" }, "nextSteps": { "description": "Indicates the position of this recommendation in the next steps list.", "type": "string" }, "title": { "description": "Short title which will be used as introduction to this recommendation. Doesn't have to be a proper sentence.", "examples": [ "Define recovery targets (RTO, RPO)" ], "type": "string" } }, "required": [ "title", "context", "links", "nextSteps", "metadata" ], "type": "object" } ] }, "type": "array" }, "score": { "default": 0, "description": "Weight of the choice. Score is used to calculate overall evaluation of the assessment.", "examples": [ 20 ], "type": "integer" }, "title": { "description": "Statement text, which would be rendered on the page with a checkbox. It should be a proper sentence and shouldn't be a question. By selecting it the user states that they do something.", "examples": [ "Recovery targets are in place to identify how long the workload can be unavailable (Recovery Time Objective) and how much data is acceptable to lose during a disaster (Recovery Point Objective)." ], "type": "string" }, "waf_github_content_id": { "description": "Reference back to the original GitHub question which was used to generate this choice.", "examples": [ "app_design_recovery_targets" ], "type": "string" } }, "required": [ "title", "context", "recommendations", "score" ], "type": "object" }, { "additionalProperties": false, "description": "Usually the last choice in the list, which is not tied to a particular question content.", "examples": [ { "score": 0, "title": "None of the above" } ], "properties": { "score": { "default": 0, "examples": [ 0 ], "type": "integer" }, "title": { "description": "Text to be displayed.", "examples": [ "None of the above" ], "type": "string" } }, "required": [ "title", "score" ], "type": "object" } ] }, "type": "array" }, "context": { "description": "Context explains the question and provides relevant information which can help in understanding the purpose and broader setting.", "examples": [ "Availability targets, such as Service Level Agreements (SLA) and Service Level Objectives (SLO), and Recovery targets, such as Recovery Time Objectives (RTO) and Recovery Point Objectives (RPO), should be defined and tested to ensure application reliability aligns with business requirements." ], "type": "string" }, "id": { "description": "Unique identifier of this question. Can be used for further reference.", "examples": [ "pnp_question_reliability1" ], "type": "string" }, "title": { "description": "Represents the high-level question, for which the user selects choices.", "examples": [ "What reliability targets and metrics have you defined for your application?" ], "type": "string" }, "type": { "default": "PnP Questions", "description": "For assessment platform this will be 'PnP Questions'.", "examples": [ "PnP Questions" ], "type": "string" }, "video": { "additionalProperties": false, "description": "Link to additional video content to be embedded on the page.", "examples": [ { "title": "What reliability targets and metrics have you defined for your application?", "url": "https://www.microsoft.com/en-us/videoplayer/embed/RE4yYLM" } ], "properties": { "title": { "description": "Link title, will be used on the page.", "examples": [ "What reliability targets and metrics have you defined for your application?" ], "type": "string" }, "url": { "description": "The actual link to the video - usually direct embed, which can be used on the page.", "examples": [ "https://www.microsoft.com/en-us/videoplayer/embed/RE4yYLM" ], "type": "string" } }, "required": [ "title", "url" ], "type": "object" } }, "required": [ "id", "type", "category", "title", "context", "choices" ], "type": "object" } ] }, "title": "Questions", "type": "array" }
MIT
en
gulzarshaikh/WellArchitected-Assessment
f795ad39fe065cb834c369ba679b9ec79c07cd8e
2021-03-12T12:50:29
schema/github.schema.json
8
2024-05-28T05:18:34.127105Z
{ "$id": "https://waf/1.0/github.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "Single item within an assessment. Can be a question, recommendation, consideration etc.", "properties": { "category": { "description": "Categories are predefined in the categories.json file. They will be rendered as headers in the MD output.", "type": "string" }, "children": { "description": "Optional array of artifacts that will be rendered as sub-elements of the artifact. They share all the attributes like type and category with their parents so those do not need to be specified again.", "items": { "anyOf": [ { "description": "An item which is contextually related to the parent. It will share its category, subcategory and pillar.", "properties": { "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "Unique identifier of this item.", "type": "string" }, "recommendation": { "description": "Recommended action or approach for this item.", "type": "string" }, "title": { "description": "Title of the item - can be a question, recommendation, consideration etc.", "type": "string" } }, "type": "object" } ] }, "type": "array" }, "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "", "type": "string" }, "lens": { "description": "Lens defines how is this content intended to be consumed. It can affect rendering and transformations to various formats. Each lens has it's own JSON files.", "enum": [ "application", "service", "scenario" ], "type": "string" }, "pillars": { "description": "An array that indicates for which pillars (one or more) this artifact is applicable. There is often an overlap between the different WAF pillars, so when adding new content, think about which pillars this could be useful for.", "items": { "anyOf": [ { "description": "WAF pillar into which this item belongs.", "examples": [ "costoptimization", "scenario/sap" ], "type": "string" } ] }, "type": "array" }, "recommendation": { "description": "", "items": {}, "type": "object" }, "statement": { "description": "", "type": "string" }, "subCategory": { "description": "Subcategories are predefined in the categories.json file, under corresponding categories. They will be rendered as subheaders in the MD output.", "type": "string" }, "title": { "description": "Main part of the content that gets rendered. In the case of a Question, this is the question itself. For design considerations and configuration recommendations, this is the guidance text.", "type": "string" }, "type": { "description": "Type determines what kind of content this artifact represents and in which output the artifact will be used. Questions are used for assessments (application lens) while the others are used in more specific guidance (Service and Scenario lenses).", "enum": [ "Questions", "Design Principles", "Design Considerations", "Design Recommendations", "Configuration Recommendations", "Supporting Source Artifacts" ], "type": "string" } }, "required": [ "id", "type", "pillars", "lens", "category", "subCategory", "title" ], "title": "AssessmentItem", "type": "object" }
MIT
en
gulzarshaikh/WellArchitected-Assessment
101f1ff99859331b307f4685acfb49a8ff7f2d82
2021-04-14T02:15:13
schema/assessment-platform.schema.json
8
2024-05-28T05:18:34.127105Z
{ "$id": "http://waf/assessment-platform.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalItems": true, "description": "List of questions with choices.", "items": { "anyOf": [ { "additionalProperties": true, "description": "A question object, which is injected by the assessment platform.", "properties": { "category": { "description": "The pillar into which this question belongs.", "enum": [ "costoptimization", "golive", "operationalexcellence", "performanceefficiency", "reliability", "security" ], "examples": [ "reliability" ], "type": "string" }, "choices": { "additionalItems": false, "description": "List of choices for this question. Will be rendered as checkboxes on the page.", "items": { "anyOf": [ { "additionalProperties": true, "description": "Each choice is represented as statement with checkbox and tooltip.", "properties": { "context": { "description": "Description of the choice which will be rendered as a tooltip. It should explain to the user in more detail what this choice represents. It has to be single-line and not contain any formatting.", "examples": [ "Understanding customer reliability expectations is vital to reviewing the overall reliability of the application. For instance, if a customer is striving to achieve an application RTO of less than a minute then back-up based and active-passive disaster recovery strategies are unlikely to be appropriate." ], "type": "string" }, "recommendations": { "additionalItems": true, "description": "List of recommendations to be shown for this particular choice.", "items": { "anyOf": [ { "additionalProperties": true, "description": "Recommendation to be shown for this particular choice.", "properties": { "context": { "description": "Description of this recommendation. It should explain what is it about.", "examples": [ "Recovery targets should be defined in accordance to the required RTO and RPO targets for the workload." ], "type": "string" }, "links": { "additionalItems": false, "description": "One or more hyperlinks", "items": { "anyOf": [ { "additionalProperties": false, "description": "Recommendation link", "properties": { "title": { "description": "Short title which will be used as hyperlink text.", "type": "string" }, "url": { "description": "Actual URL of the link.", "type": "string" } }, "required": [ "title", "url" ], "type": "object" } ] }, "type": "array" }, "metadata": { "additionalProperties": false, "description": "Additional metadata for a receiving system. Generated from the question data.", "properties": { "category": { "type": "string" }, "description-long": { "type": "string" }, "priority": { "type": "integer" }, "sub-category": { "type": "string" } }, "required": [ "priority", "category", "sub-category", "description-long" ], "type": "object" }, "nextSteps": { "description": "Indicates the position of this recommendation in the next steps list.", "type": "string" }, "title": { "description": "Short title which will be used as introduction to this recommendation. Doesn't have to be a proper sentence.", "examples": [ "Define recovery targets (RTO, RPO)" ], "type": "string" } }, "required": [ "title", "context", "links", "nextSteps", "metadata" ], "type": "object" } ] }, "type": "array" }, "score": { "default": 0, "description": "Weight of the choice. Score is used to calculate overall evaluation of the assessment.", "examples": [ 20 ], "type": "integer" }, "title": { "description": "Statement text, which would be rendered on the page with a checkbox. It should be a proper sentence and shouldn't be a question. By selecting it the user states that they do something.", "examples": [ "Recovery targets are in place to identify how long the workload can be unavailable (Recovery Time Objective) and how much data is acceptable to lose during a disaster (Recovery Point Objective)." ], "type": "string" }, "waf_github_content_id": { "description": "Reference back to the original GitHub question which was used to generate this choice.", "examples": [ "app_design_recovery_targets" ], "type": "string" } }, "required": [ "title", "context", "recommendations", "score" ], "type": "object" }, { "additionalProperties": false, "description": "Usually the last choice in the list, which is not tied to a particular question content.", "examples": [ { "score": 0, "title": "None of the above" } ], "properties": { "score": { "default": 0, "examples": [ 0 ], "type": "integer" }, "title": { "description": "Text to be displayed.", "examples": [ "None of the above" ], "type": "string" } }, "required": [ "title", "score" ], "type": "object" } ] }, "type": "array" }, "context": { "description": "Context explains the question and provides relevant information which can help in understanding the purpose and broader setting.", "examples": [ "Availability targets, such as Service Level Agreements (SLA) and Service Level Objectives (SLO), and Recovery targets, such as Recovery Time Objectives (RTO) and Recovery Point Objectives (RPO), should be defined and tested to ensure application reliability aligns with business requirements." ], "type": "string" }, "id": { "description": "Unique identifier of this question. Can be used for further reference.", "examples": [ "pnp_question_reliability1" ], "type": "string" }, "title": { "description": "Represents the high-level question, for which the user selects choices.", "examples": [ "What reliability targets and metrics have you defined for your application?" ], "type": "string" }, "type": { "default": "PnP Questions", "description": "For assessment platform this will be 'PnP Questions'.", "examples": [ "PnP Questions" ], "type": "string" }, "video": { "additionalProperties": false, "description": "Link to additional video content to be embedded on the page.", "examples": [ { "title": "What reliability targets and metrics have you defined for your application?", "url": "https://www.microsoft.com/en-us/videoplayer/embed/RE4yYLM" } ], "properties": { "title": { "description": "Link title, will be used on the page.", "examples": [ "What reliability targets and metrics have you defined for your application?" ], "type": "string" }, "url": { "description": "The actual link to the video - usually direct embed, which can be used on the page.", "examples": [ "https://www.microsoft.com/en-us/videoplayer/embed/RE4yYLM" ], "type": "string" } }, "required": [ "title", "url" ], "type": "object" } }, "required": [ "id", "type", "category", "title", "context", "choices" ], "type": "object" } ] }, "title": "Questions", "type": "array" }
MIT
en
gulzarshaikh/WellArchitected-Assessment
3d7f36a93e01f2b201936053222fb0a1b90678e1
2021-03-09T17:16:24
schema/github.schema.json
8
2024-05-28T05:18:34.127105Z
{ "$id": "https://waf/1.0/github.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "Single item within an assessment. Can be a question, recommendation, consideration etc.", "properties": { "category": { "description": "", "type": "string" }, "children": { "description": "", "items": { "anyOf": [ { "description": "", "properties": { "context": {}, "id": {}, "recommendation": {}, "title": {} }, "type": "object" } ] }, "type": "array" }, "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "", "type": "string" }, "lens": { "description": "", "type": "string" }, "pillars": { "description": "WAF pillars. Each item can be assigned to multiple pillars.", "items": { "anyOf": [ { "description": "WAF pillar into which this item belongs.", "examples": [ "costoptimization", "scenario/sap" ], "type": "string" } ] }, "type": "array" }, "recommendation": { "description": "", "type": "string" }, "subCategory": { "description": "", "type": "string" }, "title": { "description": "Title of the item - can be a question, recommendation, consideration etc.", "type": "string" }, "type": { "description": "", "enum": [ "Questions", "Design Principles", "Design Considerations", "Design Recommendations", "Configuration Recommendations", "Supporting Source Artifacts" ], "type": "string" } }, "required": [ "id", "type", "pillars", "lens", "category", "subCategory", "title", "context" ], "title": "AssessmentItem", "type": "object" }
MIT
en
gulzarshaikh/WellArchitected-Assessment
8c978814a07a4e8b3e713a59b07bb8117d385f37
2021-03-12T16:50:36
schema/github.schema.json
8
2024-05-28T05:18:34.127105Z
{ "$id": "https://waf/1.0/github.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "items": { "anyOf": [ { "description": "Single item within an assessment. Can be a question, recommendation, consideration etc.", "properties": { "category": { "description": "Categories are predefined in the categories.json file. They will be rendered as headers in the MD output.", "type": "string" }, "children": { "description": "Optional array of artifacts that will be rendered as sub-elements of the artifact. They share all the attributes like type and category with their parents so those do not need to be specified again.", "items": { "anyOf": [ { "description": "An item which is contextually related to the parent. It will share its category, subcategory and pillar.", "properties": { "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "Unique identifier of this item.", "type": "string" }, "recommendation": { "description": "", "properties": { "context": { "type": "string" }, "links": { "items": { "properties": { "title": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "type": "array" }, "priority": { "type": "string" }, "title": { "type": "string" } }, "type": "object" }, "title": { "description": "Title of the item - can be a question, recommendation, consideration etc.", "type": "string" } }, "type": "object" } ] }, "type": "array" }, "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "Unique GUID to identify items and refer to them. This field is automatically set via a GitHub workflow.", "type": "string" }, "lens": { "description": "Lens defines how is this content intended to be consumed. It can affect rendering and transformations to various formats. Each lens has it's own JSON files.", "enum": [ "application", "service", "scenario" ], "type": "string" }, "pillars": { "description": "An array that indicates for which pillars (one or more) this artifact is applicable. There is often an overlap between the different WAF pillars, so when adding new content, think about which pillars this could be useful for.", "items": { "anyOf": [ { "description": "WAF pillar into which this item belongs.", "examples": [ "costoptimization", "scenario/sap" ], "type": "string" } ] }, "type": "array" }, "recommendation": { "description": "", "properties": { "context": { "type": "string" }, "links": { "items": { "properties": { "title": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "type": "array" }, "priority": { "type": "string" }, "title": { "type": "string" } }, "type": "object" }, "statement": { "description": "If this item is a question, the statement field should reflect title, but reworded into a statement format.", "examples": [ "SLAs for all internal and external dependencies are understood." ], "type": "string" }, "subCategory": { "description": "Subcategories are predefined in the categories.json file, under corresponding categories. They will be rendered as subheaders in the MD output.", "type": "string" }, "title": { "description": "Main part of the content that gets rendered. In the case of a Question, this is the question itself. For design considerations and configuration recommendations, this is the guidance text.", "examples": [ "Are SLAs/SLOs/SLIs for all leveraged dependencies understood?" ], "type": "string" }, "type": { "description": "Type determines what kind of content this artifact represents and in which output the artifact will be used. Questions are used for assessments (application lens) while the others are used in more specific guidance (Service and Scenario lenses).", "enum": [ "Questions", "Design Principles", "Design Considerations", "Design Recommendations", "Configuration Recommendations", "Supporting Source Artifacts" ], "type": "string" } }, "required": [ "id", "type", "pillars", "lens", "category", "subCategory", "title" ], "title": "Assessment item", "type": "object" } ] }, "title": "Assessment content", "type": "array" }
MIT
en
gulzarshaikh/WellArchitected-Assessment
585047a1104439a6b9f8af295ed6b93a1e87fe86
2021-03-09T12:22:15
schema/github.schema.json
8
2024-05-28T05:18:34.127105Z
{ "$id": "https://waf/1.0/github.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "Single item within an assessment. Can be a question, recommendation, consideration etc.", "properties": { "category": { "description": "", "type": "string" }, "context": { "description": "", "type": "string" }, "id": { "description": "", "type": "string" }, "lens": { "description": "", "type": "string" }, "pillars": { "description": "", "items": { "anyOf": [ { "description": "WAF pillar into which this item belongs.", "enum": [ "costoptimization", "golive", "operationalexcellence", "performanceefficiency", "reliability", "security" ], "examples": [ "costoptimization" ], "type": "string" } ] }, "type": "array" }, "recommendation": { "description": "", "type": "string" }, "subCategory": { "description": "", "type": "string" }, "title": { "description": "", "type": "string" }, "type": { "description": "", "enum": [ "Questions", "Design Principles", "Design Considerations", "Design Recommendations", "Configuration Recommendations", "Supporting Source Artifacts" ], "type": "string" } }, "required": [ "id" ], "title": "AssessmentItem", "type": "object" }
MIT
en
gulzarshaikh/WellArchitected-Assessment
79ed51e1ab7312acd702163659cfce567b388dca
2021-03-09T17:38:47
schema/github.schema.json
8
2024-05-28T05:18:34.127105Z
{ "$id": "https://waf/1.0/github.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "Single item within an assessment. Can be a question, recommendation, consideration etc.", "properties": { "category": { "description": "", "type": "string" }, "children": { "description": "", "items": { "anyOf": [ { "description": "An item which is contextually related to the parent. It will share its category, subcategory and pillar.", "properties": { "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "Unique identifier of this item.", "type": "string" }, "recommendation": { "description": "Recommended action or approach for this item.", "type": "string" }, "title": { "description": "Title of the item - can be a question, recommendation, consideration etc.", "type": "string" } }, "type": "object" } ] }, "type": "array" }, "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "", "type": "string" }, "lens": { "description": "Lens defines how is this content intended to be consumed. It can affect rendering and transformations to various formats. Each lens has it's own JSON files.", "enum": [ "application", "service", "scenario" ], "type": "string" }, "pillars": { "description": "WAF pillars. Each item can be assigned to multiple pillars.", "items": { "anyOf": [ { "description": "WAF pillar into which this item belongs.", "examples": [ "costoptimization", "scenario/sap" ], "type": "string" } ] }, "type": "array" }, "recommendation": { "description": "", "type": "string" }, "subCategory": { "description": "", "type": "string" }, "title": { "description": "Title of the item - can be a question, recommendation, consideration etc.", "type": "string" }, "type": { "description": "", "enum": [ "Questions", "Design Principles", "Design Considerations", "Design Recommendations", "Configuration Recommendations", "Supporting Source Artifacts" ], "type": "string" } }, "required": [ "id", "type", "pillars", "lens", "category", "subCategory", "title", "context" ], "title": "AssessmentItem", "type": "object" }
MIT
en
gulzarshaikh/WellArchitected-Assessment
ad2e0ab8b185511f255b06d87c940aa31663baf1
2021-03-22T16:09:28
schema/github.schema.json
8
2024-05-28T05:18:34.127105Z
{ "$id": "https://waf/1.0/github.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "items": { "anyOf": [ { "description": "Single item within an assessment. Can be a question, recommendation, consideration etc.", "properties": { "category": { "description": "Categories are predefined in the categories.json file. They will be rendered as headers in the MD output.", "type": "string" }, "children": { "description": "Optional array of artifacts that will be rendered as sub-elements of the artifact. They share all the attributes like type and category with their parents so those do not need to be specified again.", "items": { "anyOf": [ { "description": "An item which is contextually related to the parent. It will share its category, subcategory and pillar.", "properties": { "code": { "description": "Source code to provide sample implementation for this item.", "type": "string" }, "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "Unique identifier of this item.", "type": "string" }, "recommendation": { "dependencies": { "context": { "properties": { "title": { "minLength": 0 } }, "required": [ "title" ] } }, "description": "", "properties": { "context": { "type": "string" }, "links": { "items": { "properties": { "title": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "type": "array" }, "priority": { "type": "string" }, "title": { "type": "string" } }, "type": "object" }, "title": { "description": "Title of the item - can be a question, recommendation, consideration etc.", "type": "string" } }, "type": "object" } ] }, "type": "array" }, "code": { "description": "Source code to provide sample implementation for this item.", "type": "string" }, "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "Unique GUID to identify items and refer to them. This field is automatically set via a GitHub workflow.", "type": "string" }, "lens": { "description": "Lens defines how is this content intended to be consumed. It can affect rendering and transformations to various formats. Each lens has it's own JSON files.", "enum": [ "application", "service", "scenario" ], "type": "string" }, "pillars": { "description": "An array that indicates for which pillars (one or more) this artifact is applicable. There is often an overlap between the different WAF pillars, so when adding new content, think about which pillars this could be useful for.", "items": { "anyOf": [ { "description": "WAF pillar into which this item belongs.", "examples": [ "costoptimization", "scenario/sap" ], "type": "string" } ] }, "type": "array" }, "recommendation": { "dependencies": { "context": { "properties": { "title": { "minLength": 0 } }, "required": [ "title" ] } }, "description": "", "properties": { "context": { "type": "string" }, "links": { "items": { "properties": { "title": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "type": "array" }, "priority": { "type": "string" }, "title": { "type": "string" } }, "type": "object" }, "statement": { "description": "If this item is a question, the statement field should reflect title, but reworded into a statement format.", "examples": [ "SLAs for all internal and external dependencies are understood." ], "type": "string" }, "subCategory": { "description": "Subcategories are predefined in the categories.json file, under corresponding categories. They will be rendered as subheaders in the MD output.", "type": "string" }, "title": { "description": "Main part of the content that gets rendered. In the case of a Question, this is the question itself. For design considerations and configuration recommendations, this is the guidance text.", "examples": [ "Are SLAs/SLOs/SLIs for all leveraged dependencies understood?" ], "type": "string" }, "type": { "description": "Type determines what kind of content this artifact represents and in which output the artifact will be used. Questions are used for assessments (application lens) while the others are used in more specific guidance (Service and Scenario lenses).", "enum": [ "Questions", "Design Principles", "Design Considerations", "Design Recommendations", "Configuration Recommendations", "Supporting Source Artifacts" ], "type": "string" } }, "required": [ "id", "type", "pillars", "lens", "category", "subCategory", "title" ], "title": "Assessment item", "type": "object" } ] }, "title": "Assessment content", "type": "array" }
MIT
en
gulzarshaikh/WellArchitected-Assessment
0e089d2522c5731fc0eaa53cda8085a9ae311f96
2021-03-12T13:09:08
schema/github.schema.json
8
2024-05-28T05:18:34.127105Z
{ "$id": "https://waf/1.0/github.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "Single item within an assessment. Can be a question, recommendation, consideration etc.", "properties": { "category": { "description": "Categories are predefined in the categories.json file. They will be rendered as headers in the MD output.", "type": "string" }, "children": { "description": "Optional array of artifacts that will be rendered as sub-elements of the artifact. They share all the attributes like type and category with their parents so those do not need to be specified again.", "items": { "anyOf": [ { "description": "An item which is contextually related to the parent. It will share its category, subcategory and pillar.", "properties": { "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "Unique identifier of this item.", "type": "string" }, "recommendation": { "description": "", "properties": { "context": { "type": "string" }, "links": { "items": { "properties": { "title": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "type": "array" }, "priority": { "type": "string" }, "title": { "type": "string" } }, "type": "object" }, "title": { "description": "Title of the item - can be a question, recommendation, consideration etc.", "type": "string" } }, "type": "object" } ] }, "type": "array" }, "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "", "type": "string" }, "lens": { "description": "Lens defines how is this content intended to be consumed. It can affect rendering and transformations to various formats. Each lens has it's own JSON files.", "enum": [ "application", "service", "scenario" ], "type": "string" }, "pillars": { "description": "An array that indicates for which pillars (one or more) this artifact is applicable. There is often an overlap between the different WAF pillars, so when adding new content, think about which pillars this could be useful for.", "items": { "anyOf": [ { "description": "WAF pillar into which this item belongs.", "examples": [ "costoptimization", "scenario/sap" ], "type": "string" } ] }, "type": "array" }, "recommendation": { "description": "", "properties": { "context": { "type": "string" }, "links": { "items": { "properties": { "title": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "type": "array" }, "priority": { "type": "string" }, "title": { "type": "string" } }, "type": "object" }, "statement": { "description": "If this item is a question, the statement field should reflect title, but reworded into a statement format.", "examples": [ "SLAs for all internal and external dependencies are understood." ], "type": "string" }, "subCategory": { "description": "Subcategories are predefined in the categories.json file, under corresponding categories. They will be rendered as subheaders in the MD output.", "type": "string" }, "title": { "description": "Main part of the content that gets rendered. In the case of a Question, this is the question itself. For design considerations and configuration recommendations, this is the guidance text.", "examples": [ "Are SLAs/SLOs/SLIs for all leveraged dependencies understood?" ], "type": "string" }, "type": { "description": "Type determines what kind of content this artifact represents and in which output the artifact will be used. Questions are used for assessments (application lens) while the others are used in more specific guidance (Service and Scenario lenses).", "enum": [ "Questions", "Design Principles", "Design Considerations", "Design Recommendations", "Configuration Recommendations", "Supporting Source Artifacts" ], "type": "string" } }, "required": [ "id", "type", "pillars", "lens", "category", "subCategory", "title" ], "title": "AssessmentItem", "type": "object" }
MIT
en
gulzarshaikh/WellArchitected-Assessment
053fb94d1f9db527c02d78d3161b86f40f4be443
2021-03-15T10:25:43
schema/github.schema.json
8
2024-05-28T05:18:34.127105Z
{ "$id": "https://waf/1.0/github.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "items": { "anyOf": [ { "description": "Single item within an assessment. Can be a question, recommendation, consideration etc.", "properties": { "category": { "description": "Categories are predefined in the categories.json file. They will be rendered as headers in the MD output.", "type": "string" }, "children": { "description": "Optional array of artifacts that will be rendered as sub-elements of the artifact. They share all the attributes like type and category with their parents so those do not need to be specified again.", "items": { "anyOf": [ { "description": "An item which is contextually related to the parent. It will share its category, subcategory and pillar.", "properties": { "code": { "description": "Source code to provide sample implementation for this item.", "type": "string" }, "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "Unique identifier of this item.", "type": "string" }, "recommendation": { "description": "", "properties": { "context": { "type": "string" }, "links": { "items": { "properties": { "title": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "type": "array" }, "priority": { "type": "string" }, "title": { "type": "string" } }, "type": "object" }, "title": { "description": "Title of the item - can be a question, recommendation, consideration etc.", "type": "string" } }, "type": "object" } ] }, "type": "array" }, "code": { "description": "Source code to provide sample implementation for this item.", "type": "string" }, "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "Unique GUID to identify items and refer to them. This field is automatically set via a GitHub workflow.", "type": "string" }, "lens": { "description": "Lens defines how is this content intended to be consumed. It can affect rendering and transformations to various formats. Each lens has it's own JSON files.", "enum": [ "application", "service", "scenario" ], "type": "string" }, "pillars": { "description": "An array that indicates for which pillars (one or more) this artifact is applicable. There is often an overlap between the different WAF pillars, so when adding new content, think about which pillars this could be useful for.", "items": { "anyOf": [ { "description": "WAF pillar into which this item belongs.", "examples": [ "costoptimization", "scenario/sap" ], "type": "string" } ] }, "type": "array" }, "recommendation": { "description": "", "properties": { "context": { "type": "string" }, "links": { "items": { "properties": { "title": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "type": "array" }, "priority": { "type": "string" }, "title": { "type": "string" } }, "type": "object" }, "statement": { "description": "If this item is a question, the statement field should reflect title, but reworded into a statement format.", "examples": [ "SLAs for all internal and external dependencies are understood." ], "type": "string" }, "subCategory": { "description": "Subcategories are predefined in the categories.json file, under corresponding categories. They will be rendered as subheaders in the MD output.", "type": "string" }, "title": { "description": "Main part of the content that gets rendered. In the case of a Question, this is the question itself. For design considerations and configuration recommendations, this is the guidance text.", "examples": [ "Are SLAs/SLOs/SLIs for all leveraged dependencies understood?" ], "type": "string" }, "type": { "description": "Type determines what kind of content this artifact represents and in which output the artifact will be used. Questions are used for assessments (application lens) while the others are used in more specific guidance (Service and Scenario lenses).", "enum": [ "Questions", "Design Principles", "Design Considerations", "Design Recommendations", "Configuration Recommendations", "Supporting Source Artifacts" ], "type": "string" } }, "required": [ "id", "type", "pillars", "lens", "category", "subCategory", "title" ], "title": "Assessment item", "type": "object" } ] }, "title": "Assessment content", "type": "array" }
MIT
en
gulzarshaikh/WellArchitected-Assessment
06bfe8997f9847751d55c0632eec829c89662cce
2021-04-14T18:27:38
schema/github.schema.json
8
2024-05-28T05:18:34.127105Z
{ "$id": "https://waf/1.0/github.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "items": { "anyOf": [ { "description": "Single item within an assessment. Can be a question, recommendation, consideration etc.", "properties": { "category": { "description": "Categories are predefined in the categories.json file. They will be rendered as headers in the MD output.", "type": "string" }, "children": { "description": "Optional array of artifacts that will be rendered as sub-elements of the artifact. They share all the attributes like type and category with their parents so those do not need to be specified again.", "items": { "anyOf": [ { "description": "An item which is contextually related to the parent. It will share its category, subcategory and pillar.", "properties": { "code": { "description": "Source code to provide sample implementation for this item.", "type": "string" }, "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "Unique identifier of this item.", "type": "string" }, "recommendation": { "dependencies": { "context": { "properties": { "title": { "minLength": 0 } }, "required": [ "title" ] } }, "description": "", "properties": { "context": { "type": "string" }, "links": { "items": { "properties": { "title": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "type": "array" }, "priority": { "type": "integer" }, "title": { "type": "string" } }, "type": "object" }, "title": { "description": "Title of the item - can be a question, recommendation, consideration etc.", "type": "string" } }, "type": "object" } ] }, "type": "array" }, "code": { "description": "Source code to provide sample implementation for this item.", "type": "string" }, "context": { "description": "Detailed explanation of this item. Provides context to the reader - what is this question aiming at, details of the solution and general context.", "type": "string" }, "id": { "description": "Unique GUID to identify items and refer to them. This field is automatically set via a GitHub workflow.", "type": "string" }, "lens": { "description": "Lens defines how is this content intended to be consumed. It can affect rendering and transformations to various formats. Each lens has it's own JSON files.", "enum": [ "application", "service", "scenario" ], "type": "string" }, "pillars": { "description": "An array that indicates for which pillars (one or more) this artifact is applicable. There is often an overlap between the different WAF pillars, so when adding new content, think about which pillars this could be useful for.", "items": { "anyOf": [ { "description": "WAF pillar into which this item belongs.", "examples": [ "costoptimization", "scenario/sap" ], "type": "string" } ] }, "type": "array" }, "recommendation": { "dependencies": { "context": { "properties": { "title": { "minLength": 0 } }, "required": [ "title" ] } }, "description": "", "properties": { "context": { "type": "string" }, "links": { "items": { "properties": { "title": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "type": "array" }, "priority": { "type": "integer" }, "title": { "type": "string" } }, "type": "object" }, "statement": { "description": "If this item is a question, the statement field should reflect title, but reworded into a statement format.", "examples": [ "SLAs for all internal and external dependencies are understood." ], "type": "string" }, "subCategory": { "description": "Subcategories are predefined in the categories.json file, under corresponding categories. They will be rendered as subheaders in the MD output.", "type": "string" }, "title": { "description": "Main part of the content that gets rendered. In the case of a Question, this is the question itself. For design considerations and configuration recommendations, this is the guidance text.", "examples": [ "Are SLAs/SLOs/SLIs for all leveraged dependencies understood?" ], "type": "string" }, "type": { "description": "Type determines what kind of content this artifact represents and in which output the artifact will be used. Questions are used for assessments (application lens) while the others are used in more specific guidance (Service and Scenario lenses).", "enum": [ "Questions", "Design Principles", "Design Considerations", "Design Recommendations", "Configuration Recommendations", "Supporting Source Artifacts" ], "type": "string" } }, "required": [ "id", "type", "pillars", "lens", "category", "subCategory", "title" ], "title": "Assessment item", "type": "object" } ] }, "title": "Assessment content", "type": "array" }
MIT
en
gulzarshaikh/WellArchitected-Assessment
0dc3d6571ad09f600cc828b2348142d18c9388ea
2021-03-05T17:54:28
schema/assessment-platform.schema.json
8
2024-05-28T05:18:34.127105Z
{ "$id": "http://example.com/example.json", "$schema": "http://json-schema.org/draft-07/schema", "additionalItems": true, "default": [], "description": "List of questions with choices.", "examples": [ [ { "category": "reliability", "choices": [ { "context": "Understanding customer reliability expectations is vital to reviewing the overall reliability of the application. For instance, if a customer is striving to achieve an application RTO of less than a minute then back-up based and active-passive disaster recovery strategies are unlikely to be appropriate.", "recommendations": [ { "context": "Recovery targets should be defined in accordance to the required RTO and RPO targets for the workload.", "links": [ { "title": "Recovery targets", "url": "/azure/architecture/framework/reliability/receoverytargets" } ], "metadata": { "category": "Application Design", "description-long": "Understanding customer reliability expectations is vital to reviewing the overall reliability of the application. For instance, if a customer is striving to achieve an application RTO of less than a minute then back-up based and active-passive disaster recovery strategies are unlikely to be appropriate.", "priority": "high", "sub-category": "Targets & Non Functional Requirements" }, "nextSteps": "1", "title": "Define recovery targets (RTO, RPO)" } ], "score": 20, "title": "Recovery targets to identify how long the workload can be unavailable (Recovery Time Objective) and how much data is acceptable to lose during a disaster (Recovery Point Objective).", "waf_github_content_id": "app_design_recovery_targets" }, { "context": "", "recommendations": [], "score": 0, "title": "None of the above" } ], "context": "Availability targets, such as Service Level Agreements (SLA) and Service Level Objectives (SLO), and Recovery targets, such as Recovery Time Objectives (RTO) and Recovery Point Objectives (RPO), should be defined and tested to ensure application reliability aligns with business requirements.", "id": "pnp_question_reliability1", "title": "What reliability targets and metrics have you defined for your application?", "type": "PnP Questions", "video": { "title": "What reliability targets and metrics have you defined for your application?", "url": "https://www.microsoft.com/en-us/videoplayer/embed/RE4yYLM" } } ] ], "items": { "$id": "#/items", "anyOf": [ { "$id": "#/items/anyOf/0", "additionalProperties": true, "default": {}, "description": "A question object, which is injected by the assessment platform.", "examples": [], "properties": { "category": { "$id": "#/items/anyOf/0/properties/category", "default": "", "description": "The pillar into which this question belongs.", "enum": [ "costoptimization", "golive", "operationalexcellence", "performanceefficiency", "reliability", "security" ], "examples": [ "reliability" ], "title": "Topic/pillar for this question", "type": "string" }, "choices": { "$id": "#/items/anyOf/0/properties/choices", "additionalItems": true, "default": [], "description": "An explanation about the purpose of this instance.", "examples": [], "items": { "$id": "#/items/anyOf/0/properties/choices/items", "anyOf": [ { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0", "additionalProperties": true, "default": {}, "description": "An explanation about the purpose of this instance.", "examples": [], "properties": { "context": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0/properties/context", "default": "", "description": "An explanation about the purpose of this instance.", "examples": [ "Understanding customer reliability expectations is vital to reviewing the overall reliability of the application. For instance, if a customer is striving to achieve an application RTO of less than a minute then back-up based and active-passive disaster recovery strategies are unlikely to be appropriate \nRecovery time objective (RTO): The maximum acceptable time the application is unavailable after a disaster incident \nRecovery point objective (RPO): The maximum duration of data loss that is acceptable during a disaster event" ], "title": "The context schema", "type": "string" }, "recommendations": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0/properties/recommendations", "additionalItems": true, "default": [], "description": "An explanation about the purpose of this instance.", "examples": [], "items": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0/properties/recommendations/items", "anyOf": [ { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0/properties/recommendations/items/anyOf/0", "additionalProperties": true, "default": {}, "description": "An explanation about the purpose of this instance.", "examples": [], "properties": { "context": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0/properties/recommendations/items/anyOf/0/properties/context", "default": "", "description": "An explanation about the purpose of this instance.", "examples": [ "Recovery targets should be defined in accordance to the required RTO and RPO targets for the workload." ], "title": "The context schema", "type": "string" }, "links": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0/properties/recommendations/items/anyOf/0/properties/links", "additionalItems": true, "default": [], "description": "An explanation about the purpose of this instance.", "examples": [ [ { "title": "Recovery targets", "url": "/azure/architecture/framework/reliability/receoverytargets" } ] ], "items": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0/properties/recommendations/items/anyOf/0/properties/links/items", "anyOf": [ { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0/properties/recommendations/items/anyOf/0/properties/links/items/anyOf/0", "additionalProperties": true, "default": {}, "description": "An explanation about the purpose of this instance.", "examples": [ { "title": "Recovery targets", "url": "/azure/architecture/framework/reliability/receoverytargets" } ], "properties": { "title": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0/properties/recommendations/items/anyOf/0/properties/links/items/anyOf/0/properties/title", "default": "", "description": "An explanation about the purpose of this instance.", "examples": [ "Recovery targets" ], "title": "The title schema", "type": "string" }, "url": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0/properties/recommendations/items/anyOf/0/properties/links/items/anyOf/0/properties/url", "default": "", "description": "An explanation about the purpose of this instance.", "examples": [ "/azure/architecture/framework/reliability/receoverytargets" ], "title": "The url schema", "type": "string" } }, "required": [ "title", "url" ], "title": "The first anyOf schema", "type": "object" } ] }, "title": "The links schema", "type": "array" }, "metadata": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0/properties/recommendations/items/anyOf/0/properties/metadata", "additionalProperties": true, "default": {}, "description": "An explanation about the purpose of this instance.", "examples": [ { "category": "Application Design", "description-long": "Understanding customer reliability expectations is vital to reviewing the overall reliability of the application. For instance, if a customer is striving to achieve an application RTO of less than a minute then back-up based and active-passive disaster recovery strategies are unlikely to be appropriate \nRecovery time objective (RTO): The maximum acceptable time the application is unavailable after a disaster incident \nRecovery point objective (RPO): The maximum duration of data loss that is acceptable during a disaster event", "priority": "high", "sub-category": "Targets & Non Functional Requirements" } ], "properties": { "category": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0/properties/recommendations/items/anyOf/0/properties/metadata/properties/category", "default": "", "description": "An explanation about the purpose of this instance.", "examples": [ "Application Design" ], "title": "The category schema", "type": "string" }, "description-long": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0/properties/recommendations/items/anyOf/0/properties/metadata/properties/description-long", "default": "", "description": "An explanation about the purpose of this instance.", "examples": [ "Understanding customer reliability expectations is vital to reviewing the overall reliability of the application. For instance, if a customer is striving to achieve an application RTO of less than a minute then back-up based and active-passive disaster recovery strategies are unlikely to be appropriate \nRecovery time objective (RTO): The maximum acceptable time the application is unavailable after a disaster incident \nRecovery point objective (RPO): The maximum duration of data loss that is acceptable during a disaster event" ], "title": "The description-long schema", "type": "string" }, "priority": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0/properties/recommendations/items/anyOf/0/properties/metadata/properties/priority", "default": "", "description": "An explanation about the purpose of this instance.", "examples": [ "high" ], "title": "The priority schema", "type": "string" }, "sub-category": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0/properties/recommendations/items/anyOf/0/properties/metadata/properties/sub-category", "default": "", "description": "An explanation about the purpose of this instance.", "examples": [ "Targets & Non Functional Requirements" ], "title": "The sub-category schema", "type": "string" } }, "required": [ "priority", "category", "sub-category", "description-long" ], "title": "The metadata schema", "type": "object" }, "nextSteps": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0/properties/recommendations/items/anyOf/0/properties/nextSteps", "default": "", "description": "An explanation about the purpose of this instance.", "examples": [ "1" ], "title": "The nextSteps schema", "type": "string" }, "title": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0/properties/recommendations/items/anyOf/0/properties/title", "default": "", "description": "An explanation about the purpose of this instance.", "examples": [ "Define recovery targets (RTO, RPO)" ], "title": "The title schema", "type": "string" } }, "required": [ "title", "context", "links", "nextSteps", "metadata" ], "title": "The first anyOf schema", "type": "object" } ] }, "title": "The recommendations schema", "type": "array" }, "score": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0/properties/score", "default": 0, "description": "An explanation about the purpose of this instance.", "examples": [ 20 ], "title": "The score schema", "type": "integer" }, "title": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0/properties/title", "default": "", "description": "An explanation about the purpose of this instance.", "examples": [ "Recovery targets to identify how long the workload can be unavailable (Recovery Time Objective) and how much data is acceptable to lose during a disaster (Recovery Point Objective)." ], "title": "The title schema", "type": "string" }, "waf_github_content_id": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/0/properties/waf_github_content_id", "default": "", "description": "An explanation about the purpose of this instance.", "examples": [ "app_design_recovery_targets" ], "title": "The waf_github_content_id schema", "type": "string" } }, "required": [ "waf_github_content_id", "title", "context", "recommendations", "score" ], "title": "The first anyOf schema", "type": "object" }, { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/1", "additionalProperties": true, "default": {}, "description": "An explanation about the purpose of this instance.", "examples": [ { "context": "", "recommendations": [], "score": 0, "title": "None of the above" } ], "properties": { "context": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/1/properties/context", "default": "", "description": "An explanation about the purpose of this instance.", "examples": [ "" ], "title": "The context schema", "type": "string" }, "recommendations": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/1/properties/recommendations", "additionalItems": true, "default": [], "description": "An explanation about the purpose of this instance.", "examples": [ [] ], "items": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/1/properties/recommendations/items" }, "title": "The recommendations schema", "type": "array" }, "score": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/1/properties/score", "default": 0, "description": "An explanation about the purpose of this instance.", "examples": [ 0 ], "title": "The score schema", "type": "integer" }, "title": { "$id": "#/items/anyOf/0/properties/choices/items/anyOf/1/properties/title", "default": "", "description": "An explanation about the purpose of this instance.", "examples": [ "None of the above" ], "title": "The title schema", "type": "string" } }, "required": [ "title", "context", "recommendations", "score" ], "title": "The second anyOf schema", "type": "object" } ] }, "title": "The choices schema", "type": "array" }, "context": { "$id": "#/items/anyOf/0/properties/context", "default": "", "description": "An explanation about the purpose of this instance.", "examples": [ "Availability targets, such as Service Level Agreements (SLA) and Service Level Objectives (SLO), and Recovery targets, such as Recovery Time Objectives (RTO) and Recovery Point Objectives (RPO), should be defined and tested to ensure application reliability aligns with business requirements." ], "title": "The context schema", "type": "string" }, "id": { "$id": "#/items/anyOf/0/properties/id", "default": "", "description": "An explanation about the purpose of this instance.", "examples": [ "pnp_question_reliability1" ], "title": "The id schema", "type": "string" }, "title": { "$id": "#/items/anyOf/0/properties/title", "default": "", "description": "An explanation about the purpose of this instance.", "examples": [ "What reliability targets and metrics have you defined for your application?" ], "title": "The title schema", "type": "string" }, "type": { "$id": "#/items/anyOf/0/properties/type", "default": "PnP Questions", "description": "For assessment platform this will be 'PnP Questions'.", "examples": [ "PnP Questions" ], "title": "Type of the question", "type": "string" }, "video": { "$id": "#/items/anyOf/0/properties/video", "additionalProperties": true, "default": {}, "description": "An explanation about the purpose of this instance.", "examples": [ { "title": "What reliability targets and metrics have you defined for your application?", "url": "https://www.microsoft.com/en-us/videoplayer/embed/RE4yYLM" } ], "properties": { "title": { "$id": "#/items/anyOf/0/properties/video/properties/title", "default": "", "description": "An explanation about the purpose of this instance.", "examples": [ "What reliability targets and metrics have you defined for your application?" ], "title": "The title schema", "type": "string" }, "url": { "$id": "#/items/anyOf/0/properties/video/properties/url", "default": "", "description": "An explanation about the purpose of this instance.", "examples": [ "https://www.microsoft.com/en-us/videoplayer/embed/RE4yYLM" ], "title": "The url schema", "type": "string" } }, "required": [ "title", "url" ], "title": "The video schema", "type": "object" } }, "required": [ "id", "type", "category", "title", "context", "video", "choices" ], "title": "Question", "type": "object" } ] }, "title": "Questions", "type": "array" }
MIT
en
mikitex70/plantuml-markdown
aeb0f5a00cafc75a60e01dd780751bbd523ef4b4
2024-05-28T16:48:39
plantuml_markdown.json
188
2024-05-29T04:53:53.234806Z
{ "$schema": "https://json-schema.org/draft-07/schema", "definitions": { "format_options": { "enum": [ "png", "svg", "svg_object", "svg_inline", "txt" ] }, "http_methods": { "enum": [ "GET", "POST" ] } }, "oneOf": [ { "const": "plantuml_markdown", "markdownDescription": "https://github.com/mikitex70/plantuml-markdown" }, { "properties": { "plantuml_markdown": { "markdownDescription": "https://github.com/mikitex70/plantuml-markdown", "properties": { "alt": { "markdownDescription": "https://github.com/mikitex70/plantuml-markdown#plugin-options", "title": "Text to show when image is not available. Defaults to `uml diagram`", "type": "string" }, "base_dir": { "markdownDescription": "https://github.com/mikitex70/plantuml-markdown#plugin-options", "title": "Path where to search for external diagrams files", "type": "string" }, "cachedir": { "markdownDescription": "https://github.com/mikitex70/plantuml-markdown#plugin-options", "title": "Directory for caching diagrams to speed up subsequent builds. Defaults to `''`, no caching", "type": "string" }, "classes": { "markdownDescription": "https://github.com/mikitex70/plantuml-markdown#plugin-options", "title": "Space separated list of classes for the generated images. Defaults to `uml`", "type": "string" }, "config": { "markdownDescription": "https://github.com/mikitex70/plantuml-markdown#plugin-options", "title": "PlantUML config file, relative to `base_dir`", "type": "string" }, "encoding": { "markdownDescription": "https://github.com/mikitex70/plantuml-markdown#plugin-options", "title": "Character encoding for external files. Defaults to `utf-8`", "type": "string" }, "fallback_to_get": { "markdownDescription": "https://github.com/mikitex70/plantuml-markdown#plugin-options", "title": "Fallback to `GET` if `POST` fails (only for server rendering)", "type": "boolean" }, "format": { "$ref": "#/definitions/format_options", "markdownDescription": "https://github.com/mikitex70/plantuml-markdown#plugin-options", "title": "Default format of generated images. Defaults to `png`", "type": "string" }, "http_method": { "$ref": "#/definitions/http_methods", "markdownDescription": "https://github.com/mikitex70/plantuml-markdown#plugin-options", "title": "HTTP method when calling the rendering server. Defaults to `GET`", "type": "string" }, "image_maps": { "markdownDescription": "https://github.com/mikitex70/plantuml-markdown#plugin-options", "title": "Generate image maps (sensitive images) if `format` is `png`. Defaults to `true`", "type": "boolean" }, "insecure": { "markdownDescription": "https://github.com/mikitex70/plantuml-markdown#plugin-options", "title": "Disable SSL certificate validation when calling rendering server. Defaults to `false`", "type": "boolean" }, "kroki_server": { "markdownDescription": "https://github.com/mikitex70/plantuml-markdown#plugin-options", "title": "Kroki server url, as alternative to `server` for remote rendering (please set `image_maps` to `false`)", "type": "string" }, "plantuml_cmd": { "markdownDescription": "https://github.com/mikitex70/plantuml-markdown#plugin-options", "title": "Command to run for executing PlantUML locally", "type": "string" }, "priority": { "markdownDescription": "https://github.com/mikitex70/plantuml-markdown#plugin-options", "title": "Plugin priority. Higher values means the plugin is applied sooner than others. Defaults to `30`", "type": "integer" }, "puml_notheme_cmdlist": { "markdownDescription": "https://github.com/mikitex70/plantuml-markdown#plugin-options", "title": "Theme will not be set if listed commands present. Default list is `['version', 'listfonts', 'stdlib', 'license']`", "type": "string" }, "remove_inline_svg_size": { "markdownDescription": "https://github.com/mikitex70/plantuml-markdown#plugin-options", "title": "Remove `width` and `height` SVG attributes for the `svg_inline` format. Defaults to `true`", "type": "boolean" }, "server": { "markdownDescription": "https://github.com/mikitex70/plantuml-markdown#plugin-options", "title": "PlantUML server URL for remote rendering", "type": "string" }, "server_include_whitelist": { "markdownDescription": "https://github.com/mikitex70/plantuml-markdown#plugin-options", "title": "List of regular expressions defining which include files are supported by the server. Defaults to `['^c4.*$']` (all files starting with `c4`)", "type": "string" }, "theme": { "markdownDescription": "https://github.com/mikitex70/plantuml-markdown#plugin-options", "title": "Default theme to use, will be overridden by `!theme` directive", "type": "string" }, "title": { "markdownDescription": "https://github.com/mikitex70/plantuml-markdown#plugin-options", "title": "Tooltip for the diagram", "type": "string" } }, "type": "object" } }, "type": "object" } ], "title": "Show PlantUML diagrams in Markdown" }
BSD-2-Clause
en
ambitus/zml
c4e530a1203c5395ccb9284e87be5d08d23c4d9d
2020-12-21T10:32:05
schemas/draft/schema.json
6
2024-05-27T23:49:39.716129Z
{ "$schema": "https://json-schema.org/draft-07/schema#", "definitions": { "BitfieldProperty": { "additionalProperties": false, "description": "Bit-Field", "patternProperties": { "^x-(?!zml)": true }, "properties": { "description": { "description": "Description for the bit-field", "type": "string" }, "type": { "description": "Type of the bit-field", "enum": [ "integer", "boolean" ], "type": "string" }, "x-zml-bit-offset": { "description": "Offset from the beginning of the parent field in bits", "minimum": 0, "type": "integer" }, "x-zml-bit-size": { "description": "Size of the field in bits", "minimum": 0, "type": "integer" }, "x-zml-programming-interface": { "description": "Specifies if a field is intended as a programming interface", "type": "boolean" } }, "type": "object" }, "Contact": { "additionalProperties": false, "patternProperties": { "^x-(?!zml)": true }, "properties": { "email": { "format": "email", "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "type": "object" }, "ControlBlock": { "additionalProperties": false, "description": "Control Block", "patternProperties": { "^x-(?!zml)": true }, "properties": { "description": { "description": "Description for the control block", "type": "string" }, "properties": { "additionalProperties": { "oneOf": [ { "$ref": "#/definitions/NormalProperty" } ] }, "description": "Fields of the control block", "type": "object" }, "type": { "const": "object" }, "x-zml-offset": { "description": "Offset of the control block", "minimum": 0, "type": "integer" }, "x-zml-programming-interface": { "description": "Specifies if a control block is intended as a programming interface", "type": "boolean" }, "x-zml-size": { "description": "Size of the the control block", "minimum": 0, "type": "integer" } }, "required": [ "type", "x-zml-programming-interface" ], "type": "object" }, "Info": { "additionalProperties": false, "patternProperties": { "^x-(?!zml)": true }, "properties": { "contact": { "$ref": "#/definitions/Contact" }, "description": { "type": "string" }, "license": { "$ref": "#/definitions/License" }, "summary": { "type": "string" }, "termsOfService": { "format": "uri", "type": "string" }, "title": { "type": "string" }, "version": { "$ref": "#/definitions/Semver" }, "x-zml-generation-date": { "anyOf": [ { "format": "date-time" }, { "format": "date" } ], "type": "string" }, "x-zml-generator": { "type": "string" }, "x-zml-generator-version": { "$ref": "#/definitions/Semver" }, "x-zml-macro-location": { "type": "string" } }, "required": [ "title", "version" ] }, "IntegerFormats": { "anyOf": [ { "$ref": "#/definitions/NumericIntFormats" }, { "$ref": "#/definitions/PointerFormats" }, { "$ref": "#/definitions/TimeFormats" }, { "$ref": "#/definitions/OtherIntFormats" } ] }, "InterpretationObjectInteger": { "additionalProperties": false, "description": "Map to define alternative interpretations for the fields values", "patternProperties": { "^0b[0-1]+": { "type": "string" }, "^0x[0-9A-Fa-f]+": { "type": "string" }, "^[1-9][0-9]*": { "type": "string" }, "default": { "description": "Default replacement to use when no other key matches", "type": "string" } }, "type": "object" }, "InterpretationObjectString": { "additionalProperties": { "type": "string" }, "description": "Map to define alternative interpretations for the fields values", "patternProperties": { "default": { "description": "Default replacement to use when no other key matches", "type": "string" } }, "type": "object" }, "License": { "additionalProperties": false, "patternProperties": { "^x-(?!zml)": true }, "properties": { "identifier": { "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name" ], "type": "object" }, "NormalProperty": { "allOf": [ { "properties": { "description": { "description": "Description for the field", "type": "string" }, "format": { "description": "Format of the field", "type": "string" }, "type": { "description": "Type of the field", "enum": [ "object", "string", "integer", "boolean", "array" ], "type": "string" }, "x-zml-offset": { "description": "Relative offset from the parent in bytes", "minimum": 0, "type": "integer" }, "x-zml-programming-interface": { "description": "Specifies if a field is intended as a programming interface", "type": "boolean" }, "x-zml-size": { "description": "Size of the field in bytes", "minimum": 0, "type": "integer" } }, "required": [ "type" ], "type": "object" }, { "allOf": [ { "if": { "properties": { "type": { "const": "integer" } } }, "then": { "properties": { "format": { "$ref": "#/definitions/IntegerFormats" }, "x-zml-interpretation": { "$ref": "#/definitions/InterpretationObjectInteger" }, "x-zml-scaling-factor": { "description": "The factor the field was multiplied with, before being written to the control block", "type": "integer" } }, "required": [ "x-zml-size" ] } }, { "if": { "properties": { "type": { "const": "string" } } }, "then": { "properties": { "format": { "$ref": "#/definitions/StringFormats" }, "x-zml-interpretation": { "$ref": "#/definitions/InterpretationObjectString" } } } }, { "if": { "properties": { "type": { "const": "array" } } }, "then": { "properties": { "items": { "oneOf": [ { "$ref": "#/definitions/NormalProperty" }, { "$ref": "#/definitions/ReferenceObject" } ] }, "maxItems": { "description": "Maximum number of items in the array. If set this specifies the size of the array in memory", "minimum": 0, "type": "integer" } }, "required": [ "items" ] } }, { "if": { "properties": { "type": { "const": "object" } } }, "then": { "allOf": [ { "properties": { "format": { "$ref": "#/definitions/ObjectFormats" }, "x-zml-union": { "description": "Indicates that the properties of the object all start at offset 0", "type": "boolean" } }, "required": [ "properties" ] }, { "else": { "allOf": [ { "if": { "properties": { "format": { "const": "bitfield" } } }, "then": { "properties": { "properties": { "additionalProperties": { "$ref": "#/definitions/BitfieldProperty" }, "type": "object" } } } } ] }, "if": { "properties": { "format": false } }, "then": { "properties": { "properties": { "additionalProperties": { "$ref": "#/definitions/NormalProperty" }, "type": "object" } } } } ] } }, { "if": { "properties": { "format": { "$ref": "#/definitions/PointerFormats" } } }, "then": { "properties": { "x-zml-schema": { "oneOf": [ { "$ref": "#/definitions/ReferenceObject" }, { "$ref": "#/definitions/NormalProperty" } ] } } } }, { "if": { "properties": { "format": { "$ref": "#/definitions/NumericIntFormats" } } }, "then": { "properties": { "x-zml-triplet": { "$ref": "#/definitions/TripletObject" } } } } ] } ], "description": "Field" }, "NumericIntFormats": { "enum": [ "uint8", "int16", "uint16", "uint24", "int32", "uint32", "int64", "uint64" ] }, "ObjectFormats": { "enum": [ "bitfield" ] }, "OtherIntFormats": { "enum": [ "packed" ] }, "PointerFormats": { "enum": [ "ptr24", "ptr31", "ptr32", "ptr64" ] }, "ReferenceObject": { "additionalProperties": false, "properties": { "$ref": { "format": "uri-reference", "type": "string" } }, "required": [ "$ref" ], "type": "object" }, "Semver": { "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$", "type": "string" }, "StringFormats": { "enum": [ "binary" ] }, "TimeFormats": { "enum": [ "stck", "stcke" ] }, "TripletObject": { "description": "Marks the field defined by this Schema Object to be the offset value of a triplet", "properties": { "length": { "$ref": "#/definitions/ReferenceObject", "description": "Reference to the field holding the length of each element pointed to by the triplet" }, "number": { "$ref": "#/definitions/ReferenceObject", "description": "Reference to the field holding the number of elements pointed to by the triplet" }, "schema": { "description": "Reference to the Control Block Schema mapping the structure pointed to by the triplet", "oneOf": [ { "$ref": "#/definitions/ReferenceObject" }, { "$ref": "#/definitions/NormalProperty" } ] } }, "required": [ "schema" ], "type": "object" } }, "properties": { "components": { "additionalProperties": false, "patternProperties": { "^x-(?!zml)": true }, "properties": { "schemas": { "additionalProperties": { "$ref": "#/definitions/ControlBlock" }, "type": "object" } }, "type": "object" }, "info": { "$ref": "#/definitions/Info" }, "zml": { "$ref": "#/definitions/Semver" } }, "required": [ "zml", "info", "components" ], "type": "object" }
Apache-2.0
en
invopop/jsonschema
83a598aac4a08e3c6edb184fd40b3c690fd3f3a7
2022-07-21T22:47:45
fixtures/oneof.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "ChildOneOf": { "additionalProperties": false, "oneOf": [ { "required": [ "child1", "child4" ], "title": "group1" }, { "required": [ "child2", "child3" ], "title": "group2" } ], "properties": { "child1": { "type": "string" }, "child2": { "type": "string" }, "child3": { "oneOf": [ { "type": "string" }, { "type": "array" } ] }, "child4": { "type": "string" } }, "type": "object" }, "RootOneOf": { "additionalProperties": false, "oneOf": [ { "required": [ "field1", "field4" ], "title": "group1" }, { "required": [ "field2" ], "title": "group2" } ], "properties": { "child": { "$ref": "#/$defs/ChildOneOf" }, "field1": { "type": "string" }, "field2": { "type": "string" }, "field3": { "oneOf": [ { "type": "string" }, { "type": "array" } ] }, "field4": { "type": "string" } }, "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/root-one-of", "$ref": "#/$defs/RootOneOf", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
00dfc6288dec92ca47ec0ceedf94031289645c8c
2019-06-26T08:40:04
fixtures/custom_type.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/CustomTypeField", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "CustomTypeField": { "additionalProperties": false, "properties": { "CreatedAt": { "format": "date-time", "type": "string" } }, "required": [ "CreatedAt" ], "type": "object" } } }
MIT
en
invopop/jsonschema
83a598aac4a08e3c6edb184fd40b3c690fd3f3a7
2022-07-21T22:47:45
fixtures/map_type.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "MapType": { "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/map-type", "$ref": "#/$defs/MapType", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
93d9fcdc0e13cd60b1881f72f3d681a3d342dc9f
2023-09-12T16:16:31
fixtures/go_comments.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "NamedPets": { "additionalProperties": { "$ref": "#/$defs/Pet" }, "description": "NamedPets is a map of animal names to pets.", "type": "object" }, "Pet": { "additionalProperties": false, "description": "Pet defines the user's fury friend.", "properties": { "name": { "description": "Name of the animal.", "title": "Name", "type": "string" } }, "required": [ "name" ], "type": "object" }, "Pets": { "description": "Pets is a collection of Pet objects.", "items": { "$ref": "#/$defs/Pet" }, "type": "array" }, "Plant": { "additionalProperties": false, "description": "Plant represents the plants the user might have and serves as a test of structs inside a `type` set.", "properties": { "multicellular": { "description": "Multicellular is true if the plant is multicellular", "title": "Multicellular", "type": "boolean" }, "variant": { "description": "This comment will be used", "title": "Variant", "type": "string" } }, "required": [ "variant" ], "type": "object" }, "User": { "additionalProperties": false, "description": "User is used as a base to provide tests for comments.", "properties": { "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "id": { "description": "Unique sequential identifier.", "type": "integer" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "named_pets": { "$ref": "#/$defs/NamedPets", "description": "Set of animal names to pets" }, "pets": { "$ref": "#/$defs/Pets", "description": "An array of pets the user cares for." }, "plants": { "description": "Set of plants that the user likes", "items": { "$ref": "#/$defs/Plant" }, "title": "Plants", "type": "array" }, "tags": { "type": "object" } }, "required": [ "id", "name", "pets", "named_pets", "plants" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/examples/user", "$ref": "#/$defs/User", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
d9563e4ff7eeb27577b3ea7e4dc746aa65650bc6
2022-02-15T00:14:49
fixtures/user_with_anchor.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "UserWithAnchor": { "additionalProperties": false, "properties": { "name": { "$anchor": "Name", "type": "string" } }, "required": [ "name" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/user-with-anchor", "$ref": "#/$defs/UserWithAnchor", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
83a598aac4a08e3c6edb184fd40b3c690fd3f3a7
2022-07-21T22:47:45
fixtures/array_type.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "ArrayType": { "items": { "type": "string" }, "type": "array" } }, "$id": "https://github.com/invopop/jsonschema/array-type", "$ref": "#/$defs/ArrayType", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
530c7ec495a44ba3d94c5b49a19f1e278959af3b
2020-01-27T19:28:18
fixtures/defaults_expanded_toplevel.json
457
2024-05-27T06:45:28.205821Z
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" } }, "properties": { "Baz": { "foo": "bar", "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email", "Baz" ], "type": "object" }
MIT
en
invopop/jsonschema
b0206aa42ef7921e95277fe9f3dc01e1807e0b86
2023-09-25T06:41:32
fixtures/defaults_expanded_toplevel.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "Bytes": { "contentEncoding": "base64", "type": "string" }, "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "MapType": { "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/test-user", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "MapType": { "$ref": "#/$defs/MapType" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "TestFlagFalse": { "default": false, "type": "boolean" }, "TestFlagTrue": { "default": true, "type": "boolean" }, "age": { "exclusiveMaximum": 121, "exclusiveMinimum": 17, "maximum": 120, "minimum": 18, "type": "integer" }, "anything": true, "birth_date": { "format": "date-time", "type": "string" }, "bool_extra": { "isFalse": false, "isTrue": true, "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/$defs/GrandfatherType" }, "id": { "type": "integer" }, "mult": { "enum": [ 1, 1.5, 2 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "readOnly": true, "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "offsets": { "items": { "enum": [ 1.570796, 3.141592, 6.283185 ], "type": "number" }, "type": "array" }, "options": { "type": "object" }, "password": { "type": "string", "writeOnly": true }, "photo": { "contentEncoding": "base64", "type": "string" }, "photo2": { "$ref": "#/$defs/Bytes" }, "priorities": { "items": { "enum": [ -1, 0, 1 ], "type": "integer" }, "type": "array" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "raw": true, "roles": { "items": { "enum": [ "admin", "moderator", "user" ], "type": "string" }, "type": "array" }, "some_base_property": { "type": "integer" }, "tags": { "additionalProperties": { "type": "string" }, "type": "object" }, "uuid": { "format": "uuid", "type": "string" }, "website": { "format": "uri", "type": "string" } }, "required": [ "id", "some_base_property", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "MapType", "name", "password", "TestFlag", "photo", "photo2", "age", "email", "uuid", "Baz", "color", "roles", "raw" ], "type": "object" }
MIT
en
invopop/jsonschema
0366d1034a17e261f9c87cefd7adeafcfae86822
2020-05-14T01:46:46
fixtures/defaults_expanded_toplevel.json
457
2024-05-27T06:45:28.205821Z
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" } }, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "mult": { "enum": [ 1.0, 1.5, 2.0 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email", "Baz", "color" ], "type": "object" }
MIT
en
invopop/jsonschema
12cbc49539c8deac9baeae7811fdcab42fd5def0
2023-10-04T08:45:54
fixtures/allow_additional_props.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "Bytes": { "contentEncoding": "base64", "type": "string" }, "GrandfatherType": { "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "MapType": { "type": "object" }, "TestUser": { "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "MapType": { "$ref": "#/$defs/MapType" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "TestFlagFalse": { "default": false, "type": "boolean" }, "TestFlagTrue": { "default": true, "type": "boolean" }, "age": { "exclusiveMaximum": 121, "exclusiveMinimum": 17, "maximum": 120, "minimum": 18, "type": "integer" }, "anything": true, "birth_date": { "format": "date-time", "type": "string" }, "bool_extra": { "isFalse": false, "isTrue": true, "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/$defs/GrandfatherType" }, "id": { "type": "integer" }, "mult": { "enum": [ 1.0, 1.5, 2.0 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "readOnly": true, "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "offsets": { "items": { "enum": [ 1.570796, 3.141592, 6.283185 ], "type": "number" }, "type": "array" }, "options": { "type": "object" }, "password": { "type": "string", "writeOnly": true }, "photo": { "contentEncoding": "base64", "type": "string" }, "photo2": { "$ref": "#/$defs/Bytes" }, "priorities": { "items": { "enum": [ -1, 0, 1 ], "type": "integer" }, "type": "array" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "raw": true, "roles": { "items": { "enum": [ "admin", "moderator", "user" ], "type": "string" }, "type": "array" }, "some_base_property": { "type": "integer" }, "tags": { "additionalProperties": { "type": "string" }, "type": "object" }, "uuid": { "format": "uuid", "type": "string" }, "website": { "format": "uri", "type": "string" } }, "required": [ "id", "some_base_property", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "MapType", "name", "password", "TestFlag", "photo", "photo2", "age", "email", "uuid", "Baz", "color", "roles", "raw" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/test-user", "$ref": "#/$defs/TestUser", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
6f925514cc2f48fb774aefa6dfd1e6f1a5b0f75c
2023-09-26T14:25:26
fixtures/array_handling.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "ArrayHandler": { "additionalProperties": false, "properties": { "min_len": { "items": { "minLength": 2, "type": "string" }, "type": "array" }, "min_val": { "items": { "minimum": 2.5, "type": "number" }, "type": "array" } }, "required": [ "min_len", "min_val" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/array-handler", "$ref": "#/$defs/ArrayHandler", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
83a598aac4a08e3c6edb184fd40b3c690fd3f3a7
2022-07-21T22:47:45
fixtures/recursive.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "RecursiveExample": { "additionalProperties": false, "properties": { "children": { "items": { "$ref": "#/$defs/RecursiveExample" }, "type": "array" }, "text": { "type": "string" } }, "required": [ "text" ], "type": "object" } }, "$id": "https://github.com/invopop/jsonschema/recursive-example", "$ref": "#/$defs/RecursiveExample", "$schema": "https://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
42cb9b014a9687f68669cb5071d1bb48f81b681a
2020-01-27T00:55:49
fixtures/defaults_expanded_toplevel.json
457
2024-05-27T06:45:28.205821Z
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" } }, "properties": { "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email" ], "type": "object" }
MIT
en
invopop/jsonschema
a176ac1737cd502905bb0b77d36a89d0b3bfeee1
2022-02-13T15:49:12
fixtures/go_comments.json
457
2024-05-27T06:45:28.205821Z
{ "$defs": { "Pet": { "additionalProperties": false, "description": "Pet defines the user's fury friend.", "properties": { "name": { "description": "Name of the animal.", "title": "Name", "type": "string" } }, "required": [ "name" ], "type": "object" }, "Plant": { "additionalProperties": false, "description": "Plant represents the plants the user might have and serves as a test of structs inside a `type` set.", "properties": { "variant": { "title": "Variant", "type": "string" } }, "required": [ "variant" ], "type": "object" }, "User": { "additionalProperties": false, "description": "User is used as a base to provide tests for comments.", "properties": { "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "id": { "description": "Unique sequential identifier.", "type": "integer" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "pets": { "description": "An array of pets the user cares for.", "items": { "$ref": "#/$defs/Pet", "$schema": "http://json-schema.org/draft/2020-12/schema" }, "type": "array" }, "plants": { "description": "Set of plants that the user likes", "items": { "$ref": "#/$defs/Plant", "$schema": "http://json-schema.org/draft/2020-12/schema" }, "title": "Pants", "type": "array" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true } }, "type": "object" } }, "required": [ "id", "name", "pets", "plants" ], "type": "object" } }, "$ref": "#/$defs/User", "$schema": "http://json-schema.org/draft/2020-12/schema" }
MIT
en
invopop/jsonschema
2b3f409d9919322b03ee5aae5c96fcd862aba90b
2022-02-21T12:35:14
fixtures/lookup_expanded.json
457
2024-05-27T06:45:28.205821Z
{ "$anchor": "LookupUser", "$id": "https://example.com/schemas/lookup-user", "$schema": "http://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "alias": { "type": "string" }, "name": { "$ref": "https://example.com/schemas/lookup-name" } }, "required": [ "name" ], "type": "object" }
MIT
en
invopop/jsonschema
e69ac1a5ef1654ff1391a40fcfaa8ed6cac47188
2017-02-08T01:58:48
fixtures/required_from_jsontags.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "birth_date": { "format": "date-time", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "SomeUntaggedBaseProperty", "id", "name", "photo" ], "type": "object" } } }
MIT
en
invopop/jsonschema
d29031c5d0877bed761b260142616fa9a701eb4a
2020-11-25T20:17:47
fixtures/ignore_type.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": true, "properties": {}, "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "mult": { "enum": [ 1, 1.5, 2 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "photo2": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email", "Baz", "color" ], "type": "object" } } }
MIT
en
invopop/jsonschema
b0206aa42ef7921e95277fe9f3dc01e1807e0b86
2023-09-25T06:41:32
fixtures/no_reference_anchor.json
457
2024-05-27T06:45:28.205821Z
{ "$anchor": "TestUser", "$id": "https://github.com/invopop/jsonschema/test-user", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "Baz": { "foo": [ "bar", "bar1" ], "hello": "world", "type": "string" }, "MapType": { "type": "object" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "TestFlagFalse": { "default": false, "type": "boolean" }, "TestFlagTrue": { "default": true, "type": "boolean" }, "age": { "exclusiveMaximum": 121, "exclusiveMinimum": 17, "maximum": 120, "minimum": 18, "type": "integer" }, "anything": true, "birth_date": { "format": "date-time", "type": "string" }, "bool_extra": { "isFalse": false, "isTrue": true, "type": "string" }, "color": { "enum": [ "red", "green", "blue" ], "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$anchor": "GrandfatherType", "additionalProperties": false, "properties": { "family_name": { "type": "string" } }, "required": [ "family_name" ], "type": "object" }, "id": { "type": "integer" }, "mult": { "enum": [ 1, 1.5, 2 ], "type": "number" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "readOnly": true, "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "offsets": { "items": { "enum": [ 1.570796, 3.141592, 6.283185 ], "type": "number" }, "type": "array" }, "options": { "type": "object" }, "password": { "type": "string", "writeOnly": true }, "photo": { "contentEncoding": "base64", "type": "string" }, "photo2": { "contentEncoding": "base64", "type": "string" }, "priorities": { "items": { "enum": [ -1, 0, 1 ], "type": "integer" }, "type": "array" }, "rank": { "enum": [ 1, 2, 3 ], "type": "integer" }, "raw": true, "roles": { "items": { "enum": [ "admin", "moderator", "user" ], "type": "string" }, "type": "array" }, "some_base_property": { "type": "integer" }, "tags": { "additionalProperties": { "type": "string" }, "type": "object" }, "uuid": { "format": "uuid", "type": "string" }, "website": { "format": "uri", "type": "string" } }, "required": [ "id", "some_base_property", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "MapType", "name", "password", "TestFlag", "photo", "photo2", "age", "email", "uuid", "Baz", "color", "roles", "raw" ], "type": "object" }
MIT
en
invopop/jsonschema
dd4542c1f589919d56bc23ea64483c8458c19a92
2020-01-27T22:23:24
fixtures/ignore_type.json
457
2024-05-27T06:45:28.205821Z
{ "$ref": "#/definitions/TestUser", "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "GrandfatherType": { "additionalProperties": true, "properties": {}, "type": "object" }, "TestUser": { "additionalProperties": false, "properties": { "Baz": { "foo": "bar", "hello": "world", "type": "string" }, "PublicNonExported": { "type": "integer" }, "SomeUntaggedBaseProperty": { "type": "boolean" }, "TestFlag": { "type": "boolean" }, "age": { "exclusiveMaximum": true, "exclusiveMinimum": true, "maximum": 120, "minimum": 18, "type": "integer" }, "birth_date": { "format": "date-time", "type": "string" }, "email": { "format": "email", "type": "string" }, "feeling": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "friends": { "description": "list of IDs, omitted when empty", "items": { "type": "integer" }, "type": "array" }, "grand": { "$ref": "#/definitions/GrandfatherType", "$schema": "http://json-schema.org/draft-04/schema#" }, "id": { "type": "integer" }, "name": { "default": "alex", "description": "this is a property", "examples": [ "joe", "lucy" ], "maxLength": 20, "minLength": 1, "pattern": ".*", "title": "the name", "type": "string" }, "network_address": { "format": "ipv4", "type": "string" }, "photo": { "media": { "binaryEncoding": "base64" }, "type": "string" }, "some_base_property": { "type": "integer" }, "some_base_property_yaml": { "type": "integer" }, "tags": { "patternProperties": { ".*": { "additionalProperties": true, "type": "object" } }, "type": "object" }, "website": { "format": "uri", "type": "string" } }, "required": [ "some_base_property", "some_base_property_yaml", "grand", "SomeUntaggedBaseProperty", "PublicNonExported", "id", "name", "TestFlag", "age", "email", "Baz" ], "type": "object" } } }
MIT
en