json_schema
stringlengths 43
1.28M
| unique_id
stringlengths 2
41
|
---|---|
{
"id": "http://schema.management.azure.com/schemas/2016-06-01/Microsoft.Storage.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Storage",
"description": "Microsoft Storage Resource Types",
"resourceDefinitions": {
"storageAccounts": {
"type": "object",
"properties": {
"type": {
"enum": [
"Microsoft.Storage/storageAccounts"
]
},
"apiVersion": {
"enum": [
"2015-05-01-preview",
"2015-06-15"
]
},
"properties": {
"type": "object",
"properties": {
"accountType": {
"type": "string"
}
},
"required": [
"accountType"
]
}
},
"required": [
"type",
"apiVersion",
"properties"
]
}
},
"properties": {
"resourceDefinitions.storageAccounts": {
"$ref": "#/resourceDefinitions/storageAccounts"
}
},
"required": [
"resourceDefinitions.storageAccounts"
]
} | o84101 |
{
"description": "SubjectAccessReviewStatus",
"properties": {
"allowed": {
"description": "Allowed is required. True if the action would be allowed, false otherwise.",
"type": [
"boolean",
"null"
]
},
"denied": {
"description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.",
"type": [
"boolean",
"null"
]
},
"evaluationError": {
"description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.",
"type": [
"string",
"null"
]
},
"reason": {
"description": "Reason is optional. It indicates why a request was allowed or denied.",
"type": [
"string",
"null"
]
}
},
"required": [
"allowed"
],
"type": "object"
} | kb_1047_Normalized |
{
"id": "http://schema.management.azure.com/schemas/2015-07-01-preview/Microsoft.ServerManagement.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.ServerManagement",
"description": "Microsoft.ServerManagement Resource Types",
"resourceDefinitions": {
"gateway": {
"type": "object",
"description": "A Server management tools gateway",
"properties": {
"apiVersion": {
"enum": [
"2015-07-01-preview"
]
},
"type": {
"enum": [
"Microsoft.ServerManagement/gateways"
]
},
"properties": {
"type": "object",
"additionalProperties": false
}
},
"required": [
"location",
"name",
"properties"
]
},
"node": {
"type": "object",
"description": "A Server management tools node",
"properties": {
"apiVersion": {
"enum": [
"2015-07-01-preview"
]
},
"type": {
"enum": [
"Microsoft.ServerManagement/nodes"
]
},
"properties": {
"type": "object",
"properties": {
"gatewayId": {
"description": "The gateway to to which this node belongs. This is the ARM resource id for the gateway",
"type": "string"
},
"connectionName": {
"description": "The node name to connect to. It can be one of NetBios name, IP (v4/v6), FQDN",
"type": "string"
}
},
"required": [
"gatewayId",
"connectionName"
],
"additionalProperties": false
}
},
"required": [
"name",
"location",
"properties"
]
}
},
"properties": {
"resourceDefinitions.gateway": {
"$ref": "#/resourceDefinitions/gateway"
},
"resourceDefinitions.node": {
"$ref": "#/resourceDefinitions/node"
}
},
"required": [
"resourceDefinitions.gateway",
"resourceDefinitions.node"
]
} | o88958 |
{
"properties": {
"externalDatabase": {
"description": "If MariaDB is disabled. Use this section to specify the external database details",
"form": true,
"hidden": "mariadb.enabled",
"properties": {
"database": {
"form": true,
"title": "Database Name",
"type": "string"
},
"host": {
"form": true,
"title": "Database Host",
"type": "string"
},
"password": {
"form": true,
"title": "Database Password",
"type": "string"
},
"port": {
"form": true,
"title": "Database Port",
"type": "integer"
},
"user": {
"form": true,
"title": "Database Username",
"type": "string"
}
},
"title": "External Database Details",
"type": "object"
},
"ingress": {
"form": true,
"properties": {
"enabled": {
"description": "Enable the ingress resource that allows you to access the Joomla! installation.",
"form": true,
"title": "Use a custom hostname",
"type": "boolean"
},
"hostname": {
"form": true,
"hidden": {
"condition": false,
"value": "ingress.enabled"
},
"title": "Hostname",
"type": "string"
}
},
"title": "Ingress Details",
"type": "object"
},
"joomlaEmail": {
"form": true,
"title": "Admin email",
"type": "string"
},
"joomlaPassword": {
"description": "Defaults to a random 10-character alphanumeric string if not set",
"form": true,
"title": "Password",
"type": "string"
},
"joomlaUsername": {
"form": true,
"title": "Username",
"type": "string"
},
"mariadb": {
"form": true,
"properties": {
"enabled": {
"description": "Whether to deploy a mariadb server to satisfy the applications database requirements. To use an external database switch this off and configure the external database details",
"form": true,
"title": "Use a new MariaDB database hosted in the cluster",
"type": "boolean"
},
"master": {
"properties": {
"persistence": {
"properties": {
"size": {
"form": true,
"hidden": {
"condition": false,
"value": "mariadb.enabled"
},
"render": "slider",
"sliderMax": 100,
"sliderMin": 1,
"sliderUnit": "Gi",
"title": "Volume Size",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"title": "MariaDB Details",
"type": "object"
},
"metrics": {
"properties": {
"enabled": {
"description": "Prometheus Exporter / Metrics",
"form": true,
"title": "Enable Metrics",
"type": "boolean"
}
},
"type": "object"
},
"persistence": {
"properties": {
"joomla": {
"properties": {
"size": {
"form": true,
"render": "slider",
"sliderMax": 100,
"sliderMin": 1,
"sliderUnit": "Gi",
"title": "Persistent Volume Size",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"resources": {
"description": "Configure resource requests",
"form": true,
"properties": {
"requests": {
"properties": {
"cpu": {
"form": true,
"render": "slider",
"sliderMax": 2000,
"sliderMin": 10,
"sliderUnit": "m",
"title": "CPU Request",
"type": "string"
},
"memory": {
"form": true,
"render": "slider",
"sliderMax": 2048,
"sliderMin": 10,
"sliderUnit": "Mi",
"title": "Memory Request",
"type": "string"
}
},
"type": "object"
}
},
"title": "Requested Resources",
"type": "object"
}
},
"type": "object"
} | o84048 |
{
"properties": {
"gestures": {
"default": true,
"description": "Whether gesture support should be set up.",
"type": "boolean",
"x-prompt": "Set up HammerJS for gesture recognition?"
},
"project": {
"$default": {
"$source": "projectName"
},
"description": "Name of the project.",
"type": "string"
},
"themes": {
"default": [
"minima-light"
],
"description": "Themes that will be added to project.",
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true,
"x-prompt": {
"items": [
"minima-light",
"minima-deep-dark",
"minima-dark"
],
"message": "What themes should be added?",
"multiselect": true,
"type": "list"
}
}
},
"required": [],
"title": "Alyle UI ng-add schematic",
"type": "object"
} | o1334 |
{
"properties": {
"category": {
"description": "The category of the product (optional)",
"type": "string"
},
"keywords": {
"description": "The keywords to search for",
"items": {
"type": "string"
},
"type": "array"
},
"price_range": {
"properties": {
"max_price": {
"description": "The maximum price of the product (optional)",
"type": "number"
},
"min_price": {
"description": "The minimum price of the product (optional)",
"type": "number"
}
},
"type": "object"
}
},
"required": [
"keywords"
],
"type": "object"
} | search_product_e033cad8 |
{
"description": "Execute an expression as a process step.",
"type": "object",
"properties": {
"class": {
"type": "string"
},
"expression": {
"description": "The expression to execute. The expression must return a JSON object which\n\nmatches the output parameters of the ExpressionTool.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
},
"id": {
"description": "The unique identifier for this process object.",
"type": "string"
},
"inputs": {
"description": "Defines the input parameters of the process. The process is ready to\n\nrun when all required input parameters are associated with concrete\n\nvalues. Input parameters include a schema for each parameter which is\n\nused to validate the input object. It may also be used to build a user\n\ninterface for constructing the input object.",
"type": "array",
"items": {
"$ref": "#/definitions/InputParameter"
}
},
"outputs": {
"description": "Defines the parameters representing the output of the process. May be\n\nused to generate and/or validate the output object.",
"type": "array",
"items": {
"$ref": "#/definitions/OutputParameter"
}
},
"requirements": {
"description": "Declares requirements that apply to either the runtime environment or the\n\nworkflow engine that must be met in order to execute this process. If\n\nan implementation cannot satisfy all requirements, or a requirement is\n\nlisted which is not recognized by the implementation, it is a fatal\n\nerror and the implementation must not attempt to run the process,\n\nunless overridden at user option.",
"type": "array",
"items": {
"$ref": "#/definitions/ProcessRequirement"
}
},
"hints": {
"description": "Declares hints applying to either the runtime environment or the\n\nworkflow engine that may be helpful in executing this process. It is\n\nnot an error if an implementation cannot satisfy all hints, however\n\nthe implementation may report a warning.",
"type": "array",
"items": {}
},
"label": {
"description": "A short, human-readable label of this process object.",
"type": "string"
},
"description": {
"description": "A long, human-readable description of this process object.",
"type": "string"
},
"cwlVersion": {
"$ref": "#/definitions/CWLVersions",
"description": "CWL document version"
}
},
"required": [
"class",
"expression",
"inputs",
"outputs"
],
"definitions": {
"InputParameter": {
"type": "object",
"properties": {
"id": {
"description": "The unique identifier for this parameter object.",
"type": "string"
},
"inputBinding": {
"$ref": "#/definitions/InputBinding",
"description": "Describes how to handle the inputs of a process and convert them\n\ninto a concrete form for execution, such as command line parameters."
},
"default": {
"description": "The default value for this parameter if not provided in the input\n\nobject."
},
"type": {
"description": "Specify valid types of data that may be assigned to this parameter.",
"anyOf": [
{
"type": "string",
"enum": [
"File"
]
},
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/InputRecordSchema"
},
{
"$ref": "#/definitions/InputEnumSchema"
},
{
"$ref": "#/definitions/InputArraySchema"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"File"
]
},
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/InputRecordSchema"
},
{
"$ref": "#/definitions/InputEnumSchema"
},
{
"$ref": "#/definitions/InputArraySchema"
},
{
"type": "string"
}
]
}
}
]
},
"label": {
"description": "A short, human-readable label of this parameter object.",
"type": "string"
},
"description": {
"description": "A long, human-readable description of this parameter object.",
"type": "string"
},
"secondaryFiles": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nDescribes files that must be included alongside the primary file(s).\n\n\n\nIf the value is an expression, the value of `self` in the expression\n\nmust be the primary input or output File to which this binding applies.\n\n\n\nIf the value is a string, it specifies that the following pattern\n\nshould be applied to the primary file:\n\n\n\n1. If string begins with one or more caret `^` characters, for each\n\ncaret, remove the last file extension from the path (the last\n\nperiod `.` and all following characters). If there are no file\n\nextensions, the path is unchanged.\n\n2. Append the remainder of the string to the end of the file path.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
}
}
]
},
"format": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nFor input parameters, this must be one or more URIs of a concept nodes\n\nthat represents file formats which are allowed as input to this\n\nparameter, preferrably defined within an ontology. If no ontology is\n\navailable, file formats may be tested by exact match.\n\n\n\nFor output parameters, this is the file format that will be assigned to\n\nthe output parameter.",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
},
"streamable": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nA value of `true` indicates that the file is read or written\n\nsequentially without seeking. An implementation may use this flag to\n\nindicate whether it is valid to stream file contents using a named\n\npipe. Default: `false`.",
"type": "boolean"
}
},
"required": [
"id"
]
},
"InputBinding": {
"type": "object",
"properties": {
"loadContents": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nRead up to the first 64 KiB of text from the file and place it in the\n\n\"contents\" field of the file object for use by expressions.",
"type": "boolean"
}
}
},
"InputRecordSchema": {
"type": "object",
"properties": {
"fields": {
"description": "Defines the fields of the record.",
"type": "array",
"items": {
"$ref": "#/definitions/InputRecordField"
}
},
"type": {
"description": "Must be `record`",
"type": "string",
"enum": [
"record"
]
},
"secondaryFiles": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nDescribes files that must be included alongside the primary file(s).\n\n\n\nIf the value is an expression, the value of `self` in the expression\n\nmust be the primary input or output File to which this binding applies.\n\n\n\nIf the value is a string, it specifies that the following pattern\n\nshould be applied to the primary file:\n\n\n\n1. If string begins with one or more caret `^` characters, for each\n\ncaret, remove the last file extension from the path (the last\n\nperiod `.` and all following characters). If there are no file\n\nextensions, the path is unchanged.\n\n2. Append the remainder of the string to the end of the file path.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
}
}
]
},
"format": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nFor input parameters, this must be one or more URIs of a concept nodes\n\nthat represents file formats which are allowed as input to this\n\nparameter, preferrably defined within an ontology. If no ontology is\n\navailable, file formats may be tested by exact match.\n\n\n\nFor output parameters, this is the file format that will be assigned to\n\nthe output parameter.",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
},
"streamable": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nA value of `true` indicates that the file is read or written\n\nsequentially without seeking. An implementation may use this flag to\n\nindicate whether it is valid to stream file contents using a named\n\npipe. Default: `false`.",
"type": "boolean"
}
},
"required": [
"type"
]
},
"InputRecordField": {
"type": "object",
"properties": {
"inputBinding": {
"$ref": "#/definitions/InputBinding"
},
"type": {
"description": "The field type",
"anyOf": [
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/InputRecordSchema"
},
{
"$ref": "#/definitions/InputEnumSchema"
},
{
"$ref": "#/definitions/InputArraySchema"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/InputRecordSchema"
},
{
"$ref": "#/definitions/InputEnumSchema"
},
{
"$ref": "#/definitions/InputArraySchema"
},
{
"type": "string"
}
]
}
}
]
},
"name": {
"description": "The name of the field",
"type": "string"
},
"doc": {
"description": "A documentation string for this field",
"type": "string"
}
},
"required": [
"type",
"name"
]
},
"InputEnumSchema": {
"type": "object",
"properties": {
"inputBinding": {
"$ref": "#/definitions/InputBinding"
},
"type": {
"description": "Must be `enum`",
"type": "string",
"enum": [
"enum"
]
},
"symbols": {
"description": "Defines the set of valid symbols.",
"type": "array",
"items": {
"type": "string"
}
},
"secondaryFiles": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nDescribes files that must be included alongside the primary file(s).\n\n\n\nIf the value is an expression, the value of `self` in the expression\n\nmust be the primary input or output File to which this binding applies.\n\n\n\nIf the value is a string, it specifies that the following pattern\n\nshould be applied to the primary file:\n\n\n\n1. If string begins with one or more caret `^` characters, for each\n\ncaret, remove the last file extension from the path (the last\n\nperiod `.` and all following characters). If there are no file\n\nextensions, the path is unchanged.\n\n2. Append the remainder of the string to the end of the file path.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
}
}
]
},
"format": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nFor input parameters, this must be one or more URIs of a concept nodes\n\nthat represents file formats which are allowed as input to this\n\nparameter, preferrably defined within an ontology. If no ontology is\n\navailable, file formats may be tested by exact match.\n\n\n\nFor output parameters, this is the file format that will be assigned to\n\nthe output parameter.",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
},
"streamable": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nA value of `true` indicates that the file is read or written\n\nsequentially without seeking. An implementation may use this flag to\n\nindicate whether it is valid to stream file contents using a named\n\npipe. Default: `false`.",
"type": "boolean"
}
},
"required": [
"type",
"symbols"
]
},
"InputArraySchema": {
"type": "object",
"properties": {
"inputBinding": {
"$ref": "#/definitions/InputBinding"
},
"items": {
"description": "Defines the type of the array elements.",
"anyOf": [
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/InputRecordSchema"
},
{
"$ref": "#/definitions/InputEnumSchema"
},
{
"$ref": "#/definitions/InputArraySchema"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/InputRecordSchema"
},
{
"$ref": "#/definitions/InputEnumSchema"
},
{
"$ref": "#/definitions/InputArraySchema"
},
{
"type": "string"
}
]
}
}
]
},
"type": {
"description": "Must be `array`",
"type": "string",
"enum": [
"array"
]
},
"secondaryFiles": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nDescribes files that must be included alongside the primary file(s).\n\n\n\nIf the value is an expression, the value of `self` in the expression\n\nmust be the primary input or output File to which this binding applies.\n\n\n\nIf the value is a string, it specifies that the following pattern\n\nshould be applied to the primary file:\n\n\n\n1. If string begins with one or more caret `^` characters, for each\n\ncaret, remove the last file extension from the path (the last\n\nperiod `.` and all following characters). If there are no file\n\nextensions, the path is unchanged.\n\n2. Append the remainder of the string to the end of the file path.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
}
}
]
},
"format": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nFor input parameters, this must be one or more URIs of a concept nodes\n\nthat represents file formats which are allowed as input to this\n\nparameter, preferrably defined within an ontology. If no ontology is\n\navailable, file formats may be tested by exact match.\n\n\n\nFor output parameters, this is the file format that will be assigned to\n\nthe output parameter.",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
},
"streamable": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nA value of `true` indicates that the file is read or written\n\nsequentially without seeking. An implementation may use this flag to\n\nindicate whether it is valid to stream file contents using a named\n\npipe. Default: `false`.",
"type": "boolean"
}
},
"required": [
"items",
"type"
]
},
"OutputParameter": {
"type": "object",
"properties": {
"id": {
"description": "The unique identifier for this parameter object.",
"type": "string"
},
"outputBinding": {
"$ref": "#/definitions/OutputBinding",
"description": "Describes how to handle the outputs of a process."
},
"type": {
"description": "Specify valid types of data that may be assigned to this parameter.",
"anyOf": [
{
"type": "string",
"enum": [
"File"
]
},
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/OutputRecordSchema"
},
{
"$ref": "#/definitions/OutputEnumSchema"
},
{
"$ref": "#/definitions/OutputArraySchema"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"File"
]
},
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/OutputRecordSchema"
},
{
"$ref": "#/definitions/OutputEnumSchema"
},
{
"$ref": "#/definitions/OutputArraySchema"
},
{
"type": "string"
}
]
}
}
]
},
"label": {
"description": "A short, human-readable label of this parameter object.",
"type": "string"
},
"description": {
"description": "A long, human-readable description of this parameter object.",
"type": "string"
},
"secondaryFiles": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nDescribes files that must be included alongside the primary file(s).\n\n\n\nIf the value is an expression, the value of `self` in the expression\n\nmust be the primary input or output File to which this binding applies.\n\n\n\nIf the value is a string, it specifies that the following pattern\n\nshould be applied to the primary file:\n\n\n\n1. If string begins with one or more caret `^` characters, for each\n\ncaret, remove the last file extension from the path (the last\n\nperiod `.` and all following characters). If there are no file\n\nextensions, the path is unchanged.\n\n2. Append the remainder of the string to the end of the file path.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
}
}
]
},
"format": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nFor input parameters, this must be one or more URIs of a concept nodes\n\nthat represents file formats which are allowed as input to this\n\nparameter, preferrably defined within an ontology. If no ontology is\n\navailable, file formats may be tested by exact match.\n\n\n\nFor output parameters, this is the file format that will be assigned to\n\nthe output parameter.",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
},
"streamable": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nA value of `true` indicates that the file is read or written\n\nsequentially without seeking. An implementation may use this flag to\n\nindicate whether it is valid to stream file contents using a named\n\npipe. Default: `false`.",
"type": "boolean"
}
},
"required": [
"id"
]
},
"OutputBinding": {
"type": "object",
"properties": {}
},
"OutputRecordSchema": {
"type": "object",
"properties": {
"fields": {
"description": "Defines the fields of the record.",
"type": "array",
"items": {
"$ref": "#/definitions/OutputRecordField"
}
},
"type": {
"description": "Must be `record`",
"type": "string",
"enum": [
"record"
]
},
"secondaryFiles": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nDescribes files that must be included alongside the primary file(s).\n\n\n\nIf the value is an expression, the value of `self` in the expression\n\nmust be the primary input or output File to which this binding applies.\n\n\n\nIf the value is a string, it specifies that the following pattern\n\nshould be applied to the primary file:\n\n\n\n1. If string begins with one or more caret `^` characters, for each\n\ncaret, remove the last file extension from the path (the last\n\nperiod `.` and all following characters). If there are no file\n\nextensions, the path is unchanged.\n\n2. Append the remainder of the string to the end of the file path.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
}
}
]
},
"format": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nFor input parameters, this must be one or more URIs of a concept nodes\n\nthat represents file formats which are allowed as input to this\n\nparameter, preferrably defined within an ontology. If no ontology is\n\navailable, file formats may be tested by exact match.\n\n\n\nFor output parameters, this is the file format that will be assigned to\n\nthe output parameter.",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
},
"streamable": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nA value of `true` indicates that the file is read or written\n\nsequentially without seeking. An implementation may use this flag to\n\nindicate whether it is valid to stream file contents using a named\n\npipe. Default: `false`.",
"type": "boolean"
}
},
"required": [
"type"
]
},
"OutputRecordField": {
"type": "object",
"properties": {
"outputBinding": {
"$ref": "#/definitions/OutputBinding"
},
"type": {
"description": "The field type",
"anyOf": [
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/OutputRecordSchema"
},
{
"$ref": "#/definitions/OutputEnumSchema"
},
{
"$ref": "#/definitions/OutputArraySchema"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/OutputRecordSchema"
},
{
"$ref": "#/definitions/OutputEnumSchema"
},
{
"$ref": "#/definitions/OutputArraySchema"
},
{
"type": "string"
}
]
}
}
]
},
"name": {
"description": "The name of the field",
"type": "string"
},
"doc": {
"description": "A documentation string for this field",
"type": "string"
}
},
"required": [
"type",
"name"
]
},
"OutputEnumSchema": {
"type": "object",
"properties": {
"outputBinding": {
"$ref": "#/definitions/OutputBinding"
},
"type": {
"description": "Must be `enum`",
"type": "string",
"enum": [
"enum"
]
},
"symbols": {
"description": "Defines the set of valid symbols.",
"type": "array",
"items": {
"type": "string"
}
},
"secondaryFiles": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nDescribes files that must be included alongside the primary file(s).\n\n\n\nIf the value is an expression, the value of `self` in the expression\n\nmust be the primary input or output File to which this binding applies.\n\n\n\nIf the value is a string, it specifies that the following pattern\n\nshould be applied to the primary file:\n\n\n\n1. If string begins with one or more caret `^` characters, for each\n\ncaret, remove the last file extension from the path (the last\n\nperiod `.` and all following characters). If there are no file\n\nextensions, the path is unchanged.\n\n2. Append the remainder of the string to the end of the file path.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
}
}
]
},
"format": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nFor input parameters, this must be one or more URIs of a concept nodes\n\nthat represents file formats which are allowed as input to this\n\nparameter, preferrably defined within an ontology. If no ontology is\n\navailable, file formats may be tested by exact match.\n\n\n\nFor output parameters, this is the file format that will be assigned to\n\nthe output parameter.",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
},
"streamable": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nA value of `true` indicates that the file is read or written\n\nsequentially without seeking. An implementation may use this flag to\n\nindicate whether it is valid to stream file contents using a named\n\npipe. Default: `false`.",
"type": "boolean"
}
},
"required": [
"type",
"symbols"
]
},
"OutputArraySchema": {
"type": "object",
"properties": {
"outputBinding": {
"$ref": "#/definitions/OutputBinding"
},
"items": {
"description": "Defines the type of the array elements.",
"anyOf": [
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/OutputRecordSchema"
},
{
"$ref": "#/definitions/OutputEnumSchema"
},
{
"$ref": "#/definitions/OutputArraySchema"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/OutputRecordSchema"
},
{
"$ref": "#/definitions/OutputEnumSchema"
},
{
"$ref": "#/definitions/OutputArraySchema"
},
{
"type": "string"
}
]
}
}
]
},
"type": {
"description": "Must be `array`",
"type": "string",
"enum": [
"array"
]
},
"secondaryFiles": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nDescribes files that must be included alongside the primary file(s).\n\n\n\nIf the value is an expression, the value of `self` in the expression\n\nmust be the primary input or output File to which this binding applies.\n\n\n\nIf the value is a string, it specifies that the following pattern\n\nshould be applied to the primary file:\n\n\n\n1. If string begins with one or more caret `^` characters, for each\n\ncaret, remove the last file extension from the path (the last\n\nperiod `.` and all following characters). If there are no file\n\nextensions, the path is unchanged.\n\n2. Append the remainder of the string to the end of the file path.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
}
}
]
},
"format": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nFor input parameters, this must be one or more URIs of a concept nodes\n\nthat represents file formats which are allowed as input to this\n\nparameter, preferrably defined within an ontology. If no ontology is\n\navailable, file formats may be tested by exact match.\n\n\n\nFor output parameters, this is the file format that will be assigned to\n\nthe output parameter.",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
},
"streamable": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nA value of `true` indicates that the file is read or written\n\nsequentially without seeking. An implementation may use this flag to\n\nindicate whether it is valid to stream file contents using a named\n\npipe. Default: `false`.",
"type": "boolean"
}
},
"required": [
"items",
"type"
]
},
"ProcessRequirement": {
"description": "A process requirement declares a prerequisite that may or must be fulfilled\n\nbefore executing a process. See [`Process.hints`](#process) and\n\n[`Process.requirements`](#process).\n\n\n\nProcess requirements are the primary mechanism for specifying extensions to\n\nthe CWL core specification.",
"type": "object",
"properties": {
"class": {
"description": "The specific requirement type.",
"type": "string"
}
},
"required": [
"class"
]
},
"CWLVersions": {
"type": "string",
"enum": [
"draft-3"
]
}
},
"$schema": "http://json-schema.org/draft-04/schema#"
} | o69211 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"definitions": {
"absolute_path": {
"description": "A path only. Query string and/or fragment are not allowed.",
"pattern": "^/(([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})+(/([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})*)*)?$",
"type": "string"
},
"analytics_identifier": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "A short identifier we send to Google Analytics for multi-valued fields. This means we avoid the truncated values we would get if we sent the path or slug of eg organisations."
},
"body": {
"description": "The main content provided as HTML rendered from govspeak",
"type": "string"
},
"change_history": {
"items": {
"additionalProperties": false,
"properties": {
"note": {
"description": "A summary of the change",
"type": "string"
},
"public_timestamp": {
"_format": "date-time",
"type": "string"
}
},
"required": [
"public_timestamp",
"note"
],
"type": "object"
},
"type": "array"
},
"description": {
"type": "string"
},
"description_optional": {
"anyOf": [
{
"$ref": "#/definitions/description"
},
{
"type": "null"
}
]
},
"details": {
"additionalProperties": false,
"properties": {
"body": {
"$ref": "#/definitions/body"
},
"change_history": {
"$ref": "#/definitions/change_history"
},
"delivered_on": {
"_format": "date-time",
"type": "string"
},
"emphasised_organisations": {
"$ref": "#/definitions/emphasised_organisations"
},
"first_public_at": {
"$ref": "#/definitions/first_public_at"
},
"government": {
"$ref": "#/definitions/government"
},
"image": {
"$ref": "#/definitions/image"
},
"location": {
"type": "string"
},
"political": {
"$ref": "#/definitions/political"
},
"speaker_without_profile": {
"description": "A speaker that does not have a GOV.UK profile (eg the Queen)",
"type": "string"
},
"speech_type_explanation": {
"description": "Details about the type of speech",
"type": "string"
},
"tags": {
"$ref": "#/definitions/tags"
}
},
"required": [
"body",
"political",
"delivered_on"
],
"type": "object"
},
"emphasised_organisations": {
"description": "The content ids of the organisations that should be displayed first in the list of organisations related to the item, these content ids must be present in the item organisation links hash.",
"items": {
"$ref": "#/definitions/guid"
},
"type": "array"
},
"first_public_at": {
"_format": "date-time",
"description": "DEPRECATED. The date the content was first published. Used in details. Deprecated in favour of top level `first_published_at`.",
"type": "string"
},
"first_published_at": {
"_format": "date-time",
"description": "The date the content was first published. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string"
},
"frontend_links": {
"items": {
"additionalProperties": true,
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"api_path": {
"$ref": "#/definitions/absolute_path"
},
"api_url": {
"_format": "uri",
"description": "DEPRECATED: api_path should be used instead of api_url. This is due to values of api_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"document_type": {
"type": "string"
},
"links": {
"patternProperties": {
"^[a-z_]+$": {
"$ref": "#/definitions/frontend_links"
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"public_updated_at": {
"oneOf": [
{
"$ref": "#/definitions/public_updated_at"
},
{
"type": "null"
}
]
},
"schema_name": {
"type": "string"
},
"title": {
"type": "string"
},
"web_url": {
"_format": "uri",
"description": "DEPRECATED: base_path should be used instead of web_url. This is due to values of web_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
}
},
"required": [
"content_id",
"locale",
"title"
],
"type": "object"
},
"type": "array"
},
"frontend_links_with_base_path": {
"items": {
"additionalProperties": true,
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"api_path": {
"$ref": "#/definitions/absolute_path"
},
"api_url": {
"_format": "uri",
"description": "DEPRECATED: api_path should be used instead of api_url. This is due to values of api_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"document_type": {
"type": "string"
},
"links": {
"patternProperties": {
"^[a-z_]+$": {
"$ref": "#/definitions/frontend_links_with_base_path"
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"public_updated_at": {
"oneOf": [
{
"$ref": "#/definitions/public_updated_at"
},
{
"type": "null"
}
]
},
"schema_name": {
"type": "string"
},
"title": {
"type": "string"
},
"web_url": {
"_format": "uri",
"description": "DEPRECATED: base_path should be used instead of web_url. This is due to values of web_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
}
},
"required": [
"base_path",
"content_id",
"locale",
"title"
],
"type": "object"
},
"type": "array"
},
"government": {
"additionalProperties": false,
"description": "DEPRECATED: Content should be associated with a government through a link",
"properties": {
"current": {
"description": "Is the government that published this document still the current government.",
"type": "boolean"
},
"slug": {
"description": "Government slug, used for analytics, eg '1970-to-1974-conservative-government'.",
"type": "string"
},
"title": {
"description": "Name of the government that first published this document, eg '1970 to 1974 Conservative government'.",
"type": "string"
}
},
"required": [
"title",
"slug",
"current"
],
"type": "object"
},
"govuk_request_id": {
"type": [
"string",
"null"
]
},
"guid": {
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
"type": "string"
},
"guid_list": {
"items": {
"$ref": "#/definitions/guid"
},
"type": "array",
"_uniqueItems": true
},
"image": {
"additionalProperties": false,
"properties": {
"alt_text": {
"type": "string"
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"credit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"high_resolution_url": {
"_format": "uri",
"description": "URL to a high resolution version of the image, for use by third parties such as Twitter, Facebook or Slack. Used by the machine readable metadata component. Don't use this on user-facing web pages, as it might be very large.",
"type": "string"
},
"url": {
"_format": "uri",
"description": "URL to the image. The image should be in a suitable resolution for display on the page.",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"locale": {
"enum": [
"ar",
"az",
"be",
"bg",
"bn",
"cs",
"cy",
"da",
"de",
"dr",
"el",
"en",
"es",
"es-419",
"et",
"fa",
"fi",
"fr",
"gd",
"he",
"hi",
"hr",
"hu",
"hy",
"id",
"is",
"it",
"ja",
"ka",
"kk",
"ko",
"lt",
"lv",
"ms",
"mt",
"nl",
"no",
"pl",
"ps",
"pt",
"ro",
"ru",
"si",
"sk",
"sl",
"so",
"sq",
"sr",
"sv",
"sw",
"ta",
"th",
"tk",
"tr",
"uk",
"ur",
"uz",
"vi",
"zh",
"zh-hk",
"zh-tw"
],
"type": "string"
},
"payload_version": {
"description": "Counter to indicate when the payload was generated",
"type": "integer"
},
"political": {
"description": "If the content is considered political in nature, reflecting views of the government it was published under.",
"type": "boolean"
},
"public_updated_at": {
"_format": "date-time",
"description": "When the content was last significantly changed (a major update). Shown to users. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string"
},
"publishing_app_name": {
"description": "The application that published this item.",
"enum": [
"calculators",
"calendars",
"collections-publisher",
"contacts",
"content-publisher",
"content-tagger",
"email-alert-frontend",
"external-link-tracker",
"feedback",
"frontend",
"government-frontend",
"hmrc-manuals-api",
"info-frontend",
"licencefinder",
"local-links-manager",
"manuals-frontend",
"manuals-publisher",
"maslow",
"performanceplatform-big-screen-view",
"publisher",
"rummager",
"search-admin",
"search-api",
"service-manual-publisher",
"share-sale-publisher",
"short-url-manager",
"smartanswers",
"special-route-publisher",
"specialist-publisher",
"static",
"tariff",
"travel-advice-publisher",
"whitehall"
],
"type": "string"
},
"publishing_request_id": {
"description": "A unique identifier used to track publishing requests to rendered content",
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"rendering_app": {
"description": "The application that renders this item.",
"enum": [
"calculators",
"calendars",
"collections",
"content-store",
"email-alert-frontend",
"email-campaign-frontend",
"feedback",
"finder-frontend",
"frontend",
"government-frontend",
"info-frontend",
"licencefinder",
"manuals-frontend",
"performanceplatform-big-screen-view",
"rummager",
"search-api",
"service-manual-frontend",
"smartanswers",
"spotlight",
"static",
"tariff",
"whitehall-admin",
"whitehall-frontend"
],
"type": "string"
},
"route": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"type": {
"enum": [
"prefix",
"exact"
]
}
},
"required": [
"path",
"type"
],
"type": "object"
},
"routes": {
"items": {
"$ref": "#/definitions/route"
},
"minItems": 1,
"type": "array"
},
"tags": {
"additionalProperties": false,
"description": "Field used by email-alert-api to trigger email alerts for subscriptions to topics (gov.uk/topic) and policies (gov.uk/policies).",
"properties": {
"additional_topics": {
"items": {
"type": "string"
},
"type": "array"
},
"browse_pages": {
"items": {
"type": "string"
},
"type": "array"
},
"policies": {
"items": {
"type": "string"
},
"type": "array"
},
"primary_topic": {
"items": {
"type": "string"
},
"type": "array"
},
"topics": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"title": {
"type": "string"
},
"update_type": {
"enum": [
"major",
"minor",
"republish"
]
},
"withdrawn_notice": {
"additionalProperties": false,
"properties": {
"explanation": {
"type": "string"
},
"withdrawn_at": {
"format": "date-time"
}
},
"type": "object"
}
},
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"content_purpose_document_supertype": {
"description": "DEPRECATED. Use `content_purpose_subgroup`.",
"type": "string"
},
"content_purpose_subgroup": {
"description": "Document subgroup grouping documents by purpose. Narrows down the purpose defined in content_purpose_supergroup.",
"type": "string"
},
"content_purpose_supergroup": {
"description": "Document supergroup grouping documents by a purpose",
"type": "string"
},
"description": {
"$ref": "#/definitions/description_optional"
},
"details": {
"$ref": "#/definitions/details"
},
"document_type": {
"enum": [
"speech",
"authored_article",
"written_statement",
"oral_statement"
],
"type": "string"
},
"email_document_supertype": {
"description": "Document supertype grouping intended to power the Whitehall finders and email subscriptions",
"type": "string"
},
"expanded_links": {
"additionalProperties": false,
"properties": {
"available_translations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"child_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"children": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"document_collections": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"facet_groups": {
"$ref": "#/definitions/frontend_links",
"description": "Prototype-stage metadata tagging tree roots for this content item. A content item my belong to many facet groups without having any specific facet_values links."
},
"facet_values": {
"$ref": "#/definitions/frontend_links",
"description": "Prototype-stage metadata tagging values for this content item, a content item can be linked to many facet values from varying facet groups."
},
"finder": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers links from content back to finders the content is surfaced on"
},
"government": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The government associated with this document",
"maxItems": 1
},
"lead_organisations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "DEPRECATED: A subset of organisations that should be emphasised in relation to this content item. All organisations specified here should also be part of the organisations array."
},
"level_one_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"mainstream_browse_pages": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers the /browse section of the site. These are known as sections in some legacy apps."
},
"meets_user_needs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The user needs this piece of content meets."
},
"ministers": {
"$ref": "#/definitions/frontend_links",
"description": "Link type automatically added by Publishing API"
},
"ordered_related_items": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger."
},
"ordered_related_items_overrides": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation."
},
"organisations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "All organisations linked to this content item. This should include lead organisations."
},
"original_primary_publishing_organisation": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The organisation that published the original version of the page. Corresponds to the first of the 'Lead organisations' in Whitehall for the first edition, and is empty for all other publishing applications."
},
"parent": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The parent content item.",
"maxItems": 1
},
"part_of_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"people": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "People that are associated with this document, typically the person part of a role association"
},
"policies": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"policy_areas": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "A largely deprecated tag currently only used to power email alerts."
},
"primary_publishing_organisation": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The organisation that published the page. Corresponds to the first of the 'Lead organisations' in Whitehall, and is empty for all other publishing applications.",
"maxItems": 1
},
"related_policies": {
"$ref": "#/definitions/frontend_links_with_base_path"
},
"related_to_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"role_appointments": {
"$ref": "#/definitions/frontend_links",
"description": "Link type automatically added by Publishing API"
},
"roles": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Government roles that are associated with this document, typically the role part of a role association"
},
"secondary_to_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"speaker": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "A speaker that has a GOV.UK profile",
"maxItems": 1
},
"suggested_ordered_related_items": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "New A/B test suggestions for related items. Used for displaying related content on most pages, except for step-by-step and fatality notices. Links and their ordering are determined by the machine learning algorithms included in this A/B test."
},
"taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Prototype-stage taxonomy label for this content item"
},
"topic_taxonomy_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"topical_events": {
"$ref": "#/definitions/frontend_links_with_base_path"
},
"topics": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers the /topic section of the site. These are known as specialist sectors in some legacy apps."
},
"world_locations": {
"$ref": "#/definitions/frontend_links"
}
},
"type": "object"
},
"first_published_at": {
"$ref": "#/definitions/first_published_at"
},
"government_document_supertype": {
"description": "Document supertype grouping intended to power the Whitehall finders and email subscriptions",
"type": "string"
},
"govuk_request_id": {
"$ref": "#/definitions/govuk_request_id"
},
"links": {
"additionalProperties": false,
"properties": {
"facet_groups": {
"$ref": "#/definitions/guid_list",
"description": "Prototype-stage metadata tagging tree roots for this content item. A content item my belong to many facet groups without having any specific facet_values links."
},
"facet_values": {
"$ref": "#/definitions/guid_list",
"description": "Prototype-stage metadata tagging values for this content item, a content item can be linked to many facet values from varying facet groups."
},
"finder": {
"$ref": "#/definitions/guid_list",
"description": "Powers links from content back to finders the content is surfaced on"
},
"government": {
"$ref": "#/definitions/guid_list",
"description": "The government associated with this document",
"maxItems": 1
},
"lead_organisations": {
"$ref": "#/definitions/guid_list",
"description": "DEPRECATED: A subset of organisations that should be emphasised in relation to this content item. All organisations specified here should also be part of the organisations array."
},
"mainstream_browse_pages": {
"$ref": "#/definitions/guid_list",
"description": "Powers the /browse section of the site. These are known as sections in some legacy apps."
},
"meets_user_needs": {
"$ref": "#/definitions/guid_list",
"description": "The user needs this piece of content meets."
},
"ordered_related_items": {
"$ref": "#/definitions/guid_list",
"description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger."
},
"ordered_related_items_overrides": {
"$ref": "#/definitions/guid_list",
"description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation."
},
"organisations": {
"$ref": "#/definitions/guid_list",
"description": "All organisations linked to this content item. This should include lead organisations."
},
"original_primary_publishing_organisation": {
"$ref": "#/definitions/guid_list",
"description": "The organisation that published the original version of the page. Corresponds to the first of the 'Lead organisations' in Whitehall for the first edition, and is empty for all other publishing applications."
},
"parent": {
"$ref": "#/definitions/guid_list",
"description": "The parent content item.",
"maxItems": 1
},
"people": {
"$ref": "#/definitions/guid_list",
"description": "People that are associated with this document, typically the person part of a role association"
},
"policy_areas": {
"$ref": "#/definitions/guid_list",
"description": "A largely deprecated tag currently only used to power email alerts."
},
"primary_publishing_organisation": {
"$ref": "#/definitions/guid_list",
"description": "The organisation that published the page. Corresponds to the first of the 'Lead organisations' in Whitehall, and is empty for all other publishing applications.",
"maxItems": 1
},
"related_policies": {
"$ref": "#/definitions/guid_list"
},
"roles": {
"$ref": "#/definitions/guid_list",
"description": "Government roles that are associated with this document, typically the role part of a role association"
},
"speaker": {
"$ref": "#/definitions/guid_list",
"description": "A speaker that has a GOV.UK profile",
"maxItems": 1
},
"suggested_ordered_related_items": {
"$ref": "#/definitions/guid_list",
"description": "New A/B test suggestions for related items. Used for displaying related content on most pages, except for step-by-step and fatality notices. Links and their ordering are determined by the machine learning algorithms included in this A/B test."
},
"taxons": {
"$ref": "#/definitions/guid_list",
"description": "Prototype-stage taxonomy label for this content item"
},
"topical_events": {
"$ref": "#/definitions/guid_list"
},
"topics": {
"$ref": "#/definitions/guid_list",
"description": "Powers the /topic section of the site. These are known as specialist sectors in some legacy apps."
},
"world_locations": {
"$ref": "#/definitions/guid_list"
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"navigation_document_supertype": {
"description": "Document type grouping powering the new taxonomy-based navigation pages",
"type": "string"
},
"need_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"payload_version": {
"$ref": "#/definitions/payload_version"
},
"phase": {
"description": "The service design phase of this content item - https://www.gov.uk/service-manual/phases",
"enum": [
"alpha",
"beta",
"live"
],
"type": "string"
},
"public_updated_at": {
"$ref": "#/definitions/public_updated_at"
},
"publishing_app": {
"$ref": "#/definitions/publishing_app_name"
},
"publishing_request_id": {
"$ref": "#/definitions/publishing_request_id"
},
"redirects": {
"additionalItems": false,
"items": {},
"type": "array"
},
"rendering_app": {
"$ref": "#/definitions/rendering_app"
},
"routes": {
"$ref": "#/definitions/routes"
},
"schema_name": {
"enum": [
"speech"
],
"type": "string"
},
"search_user_need_document_supertype": {
"description": "Document supertype grouping core and government documents",
"type": "string"
},
"title": {
"$ref": "#/definitions/title"
},
"update_type": {
"$ref": "#/definitions/update_type"
},
"user_journey_document_supertype": {
"description": "Document type grouping powering analytics of user journeys",
"type": "string"
},
"user_need_document_supertype": {
"description": "DEPRECATED. Use `content_purpose_document_supertype`.",
"type": "string"
},
"withdrawn_notice": {
"$ref": "#/definitions/withdrawn_notice"
}
},
"required": [
"analytics_identifier",
"base_path",
"content_id",
"description",
"details",
"document_type",
"email_document_supertype",
"expanded_links",
"first_published_at",
"government_document_supertype",
"govuk_request_id",
"links",
"locale",
"navigation_document_supertype",
"payload_version",
"phase",
"public_updated_at",
"publishing_app",
"redirects",
"rendering_app",
"routes",
"schema_name",
"title",
"update_type",
"user_journey_document_supertype"
],
"type": "object"
} | o21380 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"patternProperties": {
"^[0-9a-zA-Z_-]{1,255}$": {
"type": "object",
"properties": {
"value": {
"type": [
"number",
"string",
"boolean"
]
},
"time": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "object",
"properties": {
"$date": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"$date"
]
}
]
}
}
}
},
"additionalProperties": false
} | o9801 |
{
"title": "Invocation manifest for SciTran: DICOM MR Classifier",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"config": {
"type": "object",
"properties": {
"timezone": {
"type": "string",
"default": "UTC"
},
"force": {
"type": "boolean",
"default": false
}
},
"required": [
"timezone",
"force"
]
},
"inputs": {
"type": "object",
"properties": {
"dicom": {
"type": "object",
"properties": {
"type": {
"enum": [
"dicom"
]
}
}
},
"classifications": {
"type": "object",
"properties": {
"base": {
"type": "string"
},
"found": {
"type": "boolean"
},
"value": {}
},
"required": [
"base",
"found",
"value"
]
}
},
"required": [
"dicom",
"classifications"
]
}
},
"required": [
"config",
"inputs"
]
} | o41459 |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Is valid term.",
"$async": true,
"type": "object",
"properties": {
"attributes": {
"type": "object",
"properties": {},
"patternProperties": {
"^.*$": {
"type": "array",
"minItems": 1,
"items": {
"properties": {
"value": {
"type": "string",
"minLength": 1
},
"units": {
"type": "string",
"minLength": 1
},
"terms": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"isValidTerm": true
}
},
"required": [
"url"
]
}
}
},
"required": [
"value"
]
}
}
}
}
}
} | o4837 |
{
"$comment": "https://docs.github.com/en/discussions/managing-discussions-for-your-community/syntax-for-discussion-category-forms",
"$id": "https://json.schemastore.org/github-discussion.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"title": {
"description": "A default title that will be pre-populated in the discussion submission form.",
"type": "string"
},
"labels": {
"description": "Labels that will automatically be added to discussions created with this template.",
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"body": {
"description": "Definition of the input types in the discussion form",
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": ["markdown", "textarea", "input", "dropdown", "checkboxes"]
},
"attributes": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"description": {
"type": "string"
},
"placeholder": {
"type": "string"
}
}
},
"validations": {
"type": "object",
"properties": {
"required": {
"type": "boolean"
}
}
}
}
}
}
},
"required": ["body"],
"type": "object"
}
| github-discussion |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://github.com/route4me/json-schemas/blob/master/Direction.dtd",
"description": "the course or path on which something is moving or pointing",
"title": "Direction",
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"time": {
"type": "integer",
"title": "Time",
"description": ""
},
"segment_distance": {
"type": "number",
"title": "Segment distance",
"description": "Current segment length"
},
"name": {
"type": "string",
"title": "Name",
"description": "Direction name"
},
"start_location": {
"type": "string",
"title": "Start location",
"description": "Start location name"
},
"end_location": {
"type": "string",
"title": "End location",
"description": "End location name"
},
"directions_error": {
"type": "string",
"title": "Directions error",
"description": "Directions error message"
},
"error_code": {
"type": "integer",
"title": "Error code",
"description": "Error code"
}
}
},
"steps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"directions": {
"type": "string",
"enum": [
"Head",
"Go Straight",
"Turn Left",
"Turn Right",
"Turn Slight Left",
"Turn Slight Right",
"Turn Sharp Left",
"Turn Sharp Right",
"Roundabout Left",
"Roundabout Right",
"Uturn Left",
"Uturn Right",
"Ramp Left",
"Ramp Right",
"Fork Left",
"Fork Right",
"Keep Left",
"Keep Right",
"Ferry",
"Ferry Train",
"Merge",
"Reached Your Destination"
],
"title": "Directions",
"description": "Directions of movement"
},
"direction": {
"type": "string",
"title": "Direction",
"description": "Text for current direction"
},
"distance": {
"type": "number",
"title": "Distance",
"description": "Step distance"
},
"distance_unit": {
"type": "string",
"enum": [
"mi",
"km"
],
"title": "Distance unit",
"description": "Distance unit - 'mi' or 'km'"
},
"maneuverType": {
"type": "string",
"enum": [
"HEAD",
"GO_STRAIGHT",
"TURN_LEFT",
"TURN_RIGHT",
"TURN_SLIGHT_LEFT",
"TURN_SLIGHT_RIGHT",
"TURN_SHARP_LEFT",
"TURN_SHARP_RIGHT",
"ROUNDABOUT_LEFT",
"ROUNDABOUT_RIGHT",
"UTURN_LEFT",
"UTURN_RIGHT",
"RAMP_LEFT",
"RAMP_RIGHT",
"FORK_LEFT",
"FORK_RIGHT",
"KEEP_LEFT",
"KEEP_RIGHT",
"FERRY",
"FERRY_TRAIN",
"MERGE",
"REACHED_YOUR_DESTINATION"
],
"title": "Maneuver type",
"description": "Maneuver type"
},
"compass_direction": {
"type": "string",
"enum": [
"N",
"S",
"W",
"E",
"NW",
"NE",
"SW",
"SE"
],
"title": "Compass direction",
"description": "Compass direction"
},
"maneuverPoint": {
"type": "object",
"title": "Maneuver point",
"items": {
"properties": {
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"title": "Latitude",
"description": "Point latitude"
},
"lng": {
"type": "number",
"minimum": -180,
"maximum": 180,
"title": "Longitude",
"description": "Point longitude"
}
}
}
},
"duration_sec": {
"type": "integer",
"title": "Duration (sec)",
"description": "Step duration (sec)"
}
}
}
}
}
} | o71406 |
{
"definitions": {
"JsonPath": {
"description": "JsonPath, see http://goessner.net/articles/JsonPath/",
"example": "products.book[2]",
"format": "jsonpath",
"type": "string"
}
},
"title": "Base definitions",
"properties": {
"JsonPath": {
"$ref": "#/definitions/JsonPath"
}
},
"required": [
"JsonPath"
]
} | o41082 |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base of the shape (for triangle)",
"type": "number"
},
"height": {
"description": "The height of the shape (for triangle)",
"type": "number"
},
"radius": {
"description": "The radius of the shape (for circle)",
"type": "number"
},
"side_length": {
"description": "The side length of the shape (for square)",
"type": "number"
}
},
"type": "object"
},
"shape": {
"description": "The type of shape (e.g. square, circle, triangle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_493c0aae |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"meta": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"type": {
"type": "string",
"enum": [
"EiffelActivityCanceledEvent"
]
},
"version": {
"type": "string",
"enum": [
"3.0.0"
],
"default": "3.0.0"
},
"time": {
"type": "integer"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"source": {
"type": "object",
"properties": {
"domainId": {
"type": "string"
},
"host": {
"type": "string"
},
"name": {
"type": "string"
},
"serializer": {
"type": "string",
"pattern": "^pkg:"
},
"uri": {
"type": "string"
}
},
"additionalProperties": false
},
"security": {
"type": "object",
"properties": {
"authorIdentity": {
"type": "string"
},
"integrityProtection": {
"type": "object",
"properties": {
"signature": {
"type": "string"
},
"alg": {
"type": "string",
"enum": [
"HS256",
"HS384",
"HS512",
"RS256",
"RS384",
"RS512",
"ES256",
"ES384",
"ES512",
"PS256",
"PS384",
"PS512"
]
},
"publicKey": {
"type": "string"
}
},
"required": [
"signature",
"alg"
],
"additionalProperties": false
},
"sequenceProtection": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sequenceName": {
"type": "string"
},
"position": {
"type": "integer"
}
},
"additionalProperties": false,
"required": [
"sequenceName",
"position"
]
}
}
},
"additionalProperties": false,
"required": [
"authorIdentity"
]
}
},
"required": [
"id",
"type",
"version",
"time"
],
"additionalProperties": false
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string"
},
"customData": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {}
},
"required": [
"key",
"value"
],
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"target": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"type",
"target"
],
"additionalProperties": false
}
}
},
"required": [
"meta",
"data",
"links"
],
"additonalProperties": false
} | o5327 |
{
"id": "http://schemas.gdbots.io/json-schema/gdbots/forms/field/number-field/1-0-0.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"_schema": {
"type": "string",
"pattern": "^pbj:([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+):([0-9]+-[0-9]+-[0-9]+)$",
"default": "pbj:gdbots:forms:field:number-field:1-0-0"
},
"name": {
"type": "string",
"pattern": "^[a-zA-Z_]{1}[\\w-]*$",
"description": "A unique identifier (within the form) for the field. This value is not shown to the user and should NOT change once set."
},
"maps_to": {
"type": "string",
"default": "cf",
"pattern": "^[a-zA-Z_]{1}\\w*$",
"description": "The name of the schema field the answer will map to. By default this will go to the \"cf\" field which is a \"dynamic-field\" list containing all answers filled out on the form (ref \"gdbots:forms:mixin:send-submission\")."
},
"label": {
"type": "string",
"minLength": 0,
"maxLength": 255,
"description": "The main text for the question/field."
},
"placeholder": {
"type": "string",
"minLength": 0,
"maxLength": 255
},
"description": {
"type": "string",
"minLength": 0,
"maxLength": 65535,
"description": "A short description to better explain this field."
},
"is_required": {
"type": "boolean"
},
"link_text": {
"type": "string",
"minLength": 0,
"maxLength": 255,
"description": "The text that will replace the token \"{link}\" within the label or description."
},
"link_url": {
"type": "string",
"pattern": "^(https?:\\/\\/)?([\\da-z\\.-]+)\\.([a-z\\.]{2,6})([\\/\\w \\.-]*)*\\/?$",
"description": "The URL to use for the replaced token \"{link}\" within the label or description."
},
"pii_impact": {
"type": "string",
"enum": [
"unknown",
"high",
"moderate",
"low"
]
},
"min_value": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 4294967295
},
"max_value": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 4294967295
},
"decimals": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 6,
"description": "Number of decimal places to allow. A \"0\" denotes this number field will require an integer."
}
},
"required": [
"_schema",
"name"
],
"additionalProperties": false
} | o42568 |
{
"additionalProperties": true,
"description": "Schema for a SendGrid opened event. Property descriptions derived from the SendGrid documentation: https://sendgrid.com/docs/for-developers/tracking-events/event/",
"properties": {
"asm_group_id": {
"description": "The ID of the unsubscribe group the recipient\u2019s email address is included in. ASM IDs correspond to the ID that is returned when you create an unsubscribe group.",
"maximum": 32767,
"minimum": 0,
"type": "integer"
},
"category": {
"description": "Categories are custom tags that you set for the purpose of organizing your emails. Categories can be set as an array or string, and they will be returned as such when posted in your event endpoint.",
"items": {
"type": "string"
},
"type": [
"array",
"string"
]
},
"email": {
"_format": "email",
"description": "The email address of the recipient",
"type": "string"
},
"ip": {
"_format": "ipv4",
"description": "The IP address used to send the email",
"type": "string"
},
"marketing_campaign_id": {
"description": "For emails sent through our Marketing Campaigns feature, we add Marketing Campaigns specific parameters to the Event Webhook. Both marketing_campaign_name and marketing_campaign_id are displayed as unique arguments in the event data.",
"type": "integer"
},
"marketing_campaign_name": {
"description": "For emails sent through our Marketing Campaigns feature, we add Marketing Campaigns specific parameters to the Event Webhook. Both marketing_campaign_name and marketing_campaign_id are displayed as unique arguments in the event data.",
"type": "string"
},
"marketing_campaign_split_id": {
"description": "Marketing campaign split id",
"type": "integer"
},
"marketing_campaign_version": {
"description": "Displayed in the event data for emails sent as part of an A/B Test. The value for marketing_campaign_version are returned as A, B, C, etc.",
"type": "string"
},
"newsletter": {
"additionalProperties": true,
"description": "Legacy Marketing Email tool fields",
"properties": {
"newsletter_id": {
"type": "string"
},
"newsletter_send_id": {
"type": "string"
},
"newsletter_user_list_id": {
"type": "string"
}
},
"type": "object"
},
"sg_event_id": {
"description": "A unique ID to this event that you can use for deduplication purposes. These IDs are up to 100 characters long and are URL safe.",
"maxLength": 4096,
"minLength": 22,
"type": "string"
},
"sg_message_id": {
"description": "A unique, internal SendGrid ID for the message. The first half of this is pulled from the smtp-id.",
"type": "string"
},
"smtp-id": {
"description": "A unique ID attached to the message by the originating system",
"type": "string"
},
"timestamp": {
"_format": "date-time",
"description": "The timestamp of when the message was sent",
"type": "string"
},
"useragent": {
"description": "The user agent responsible for the event. This is usually a web browser. For example, Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36.",
"type": "string"
}
},
"self": {
"format": "jsonschema",
"name": "open",
"vendor": "com.sendgrid",
"version": "2-0-0"
},
"type": "object"
} | sp_193_Normalized |
{
"properties": {
"channel": {
"description": "The name of the channel along which to segment the count",
"type": "string"
},
"count": {
"description": "The count of the number of events",
"type": "integer"
},
"period": {
"description": "The period described by each data point",
"enum": [
"hour",
"day",
"week",
"month",
"year",
"decade",
"century"
]
}
},
"required": [
"count",
"channel"
],
"title": "Transactions by channel",
"type": "object"
} | o21499 |
{
"$ref": "#/definitions/BitriseDataModel",
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"AppModel": {
"properties": {
"title": {
"type": "string"
},
"summary": {
"type": "string"
},
"description": {
"type": "string"
},
"envs": {
"items": {
"patternProperties": {
".*": {
"additionalProperties": true
}
},
"type": "object"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"AptGetDepModel": {
"properties": {
"name": {
"type": "string"
},
"bin_name": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"BashStepToolkitModel": {
"properties": {
"entry_file": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"BitriseDataModel": {
"required": ["format_version"],
"properties": {
"format_version": {
"type": "string"
},
"default_step_lib_source": {
"type": "string"
},
"project_type": {
"type": "string"
},
"title": {
"type": "string"
},
"summary": {
"type": "string"
},
"description": {
"type": "string"
},
"app": {
"$ref": "#/definitions/AppModel"
},
"meta": {
"patternProperties": {
".*": {
"additionalProperties": true
}
},
"type": "object"
},
"trigger_map": {
"items": {
"$ref": "#/definitions/TriggerMapItemModel"
},
"type": "array"
},
"pipelines": {
"patternProperties": {
".*": {
"$ref": "#/definitions/PipelineModel"
}
},
"type": "object"
},
"stages": {
"patternProperties": {
".*": {
"$ref": "#/definitions/StageModel"
}
},
"type": "object"
},
"workflows": {
"patternProperties": {
".*": {
"$ref": "#/definitions/WorkflowModel"
}
},
"type": "object"
}
},
"additionalProperties": false,
"type": "object"
},
"BrewDepModel": {
"properties": {
"name": {
"type": "string"
},
"bin_name": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"CheckOnlyDepModel": {
"properties": {
"name": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"DepsModel": {
"properties": {
"brew": {
"items": {
"$ref": "#/definitions/BrewDepModel"
},
"type": "array"
},
"apt_get": {
"items": {
"$ref": "#/definitions/AptGetDepModel"
},
"type": "array"
},
"check_only": {
"items": {
"$ref": "#/definitions/CheckOnlyDepModel"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"GoStepToolkitModel": {
"required": ["package_name"],
"properties": {
"package_name": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"PipelineModel": {
"properties": {
"title": {
"type": "string"
},
"summary": {
"type": "string"
},
"description": {
"type": "string"
},
"stages": {
"items": {
"patternProperties": {
".*": {
"$ref": "#/definitions/StageModel"
}
},
"type": "object"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"StageModel": {
"properties": {
"title": {
"type": "string"
},
"summary": {
"type": "string"
},
"description": {
"type": "string"
},
"abort_on_fail": {
"type": "boolean"
},
"should_always_run": {
"type": "boolean"
},
"workflows": {
"items": {
"patternProperties": {
".*": {
"$ref": "#/definitions/WorkflowStageConfigModel"
}
},
"type": "object"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"StepModel": {
"properties": {
"title": {
"type": "string"
},
"summary": {
"type": "string"
},
"description": {
"type": "string"
},
"website": {
"type": "string"
},
"source_code_url": {
"type": "string"
},
"support_url": {
"type": "string"
},
"published_at": {
"type": "string",
"format": "date-time"
},
"source": {
"$ref": "#/definitions/StepSourceModel"
},
"asset_urls": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"host_os_tags": {
"items": {
"type": "string"
},
"type": "array"
},
"project_type_tags": {
"items": {
"type": "string"
},
"type": "array"
},
"type_tags": {
"items": {
"type": "string"
},
"type": "array"
},
"toolkit": {
"$ref": "#/definitions/StepToolkitModel"
},
"deps": {
"$ref": "#/definitions/DepsModel"
},
"is_requires_admin_user": {
"type": "boolean"
},
"is_always_run": {
"type": "boolean"
},
"is_skippable": {
"type": "boolean"
},
"run_if": {
"type": "string"
},
"timeout": {
"type": "integer"
},
"meta": {
"patternProperties": {
".*": {
"additionalProperties": true
}
},
"type": "object"
},
"inputs": {
"items": {
"patternProperties": {
".*": {
"additionalProperties": true
}
},
"type": "object"
},
"type": "array"
},
"outputs": {
"items": {
"patternProperties": {
".*": {
"additionalProperties": true
}
},
"type": "object"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"StepSourceModel": {
"properties": {
"git": {
"type": "string"
},
"commit": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"StepToolkitModel": {
"properties": {
"bash": {
"$ref": "#/definitions/BashStepToolkitModel"
},
"go": {
"$ref": "#/definitions/GoStepToolkitModel"
}
},
"additionalProperties": false,
"type": "object"
},
"TriggerMapItemModel": {
"properties": {
"push_branch": {
"type": "string"
},
"pull_request_source_branch": {
"type": "string"
},
"pull_request_target_branch": {
"type": "string"
},
"tag": {
"type": "string"
},
"pipeline": {
"type": "string"
},
"workflow": {
"type": "string"
},
"pattern": {
"type": "string"
},
"is_pull_request_allowed": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object"
},
"WorkflowStageConfigModel": {
"properties": {
"run_if": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"WorkflowModel": {
"properties": {
"title": {
"type": "string"
},
"summary": {
"type": "string"
},
"description": {
"type": "string"
},
"before_run": {
"items": {
"type": "string"
},
"type": "array"
},
"after_run": {
"items": {
"type": "string"
},
"type": "array"
},
"envs": {
"items": {
"patternProperties": {
".*": {
"additionalProperties": true
}
},
"type": "object"
},
"type": "array"
},
"steps": {
"items": {
"patternProperties": {
".*": {
"$ref": "#/definitions/StepModel"
}
},
"type": "object"
},
"type": "array"
},
"meta": {
"patternProperties": {
".*": {
"additionalProperties": true
}
},
"type": "object"
}
},
"additionalProperties": false,
"type": "object"
}
},
"id": "https://json.schemastore.org/bitrise.json"
}
| bitrise |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"properties": {
"description": {
"type": [
"string",
"null"
]
},
"followers": {
"type": "integer"
},
"following": {
"type": "integer"
},
"isExplicit": {
"type": "boolean"
},
"isPrivate": {
"type": "boolean"
},
"isVerified": {
"type": "boolean"
},
"name": {
"type": "string"
},
"posts": {
"type": "integer"
},
"userId": {
"type": "string"
},
"username": {
"description": "the last segment of what Instagram calls a \"vanity url\"",
"type": "string"
},
"website": {
"_format": "uri",
"type": "string"
}
},
"required": [
"description",
"followers",
"following",
"isExplicit",
"isPrivate",
"isVerified",
"name",
"posts",
"userId",
"username",
"website"
],
"type": "object"
} | o76760 |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base length of the triangle (if applicable)",
"type": "number"
},
"height": {
"description": "The height of the triangle (if applicable)",
"type": "number"
},
"radius": {
"description": "The radius of the circle (if applicable)",
"type": "number"
},
"side": {
"description": "The side length of the square (if applicable)",
"type": "number"
}
},
"required": [
"radius",
"side",
"base",
"height"
],
"type": "object"
},
"shape": {
"description": "The shape type (e.g., circle, square, triangle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_144f4e8d |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1beta1_NonResourceAttributes": {
"description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface",
"properties": {
"path": {
"description": "Path is the URL path of the request",
"type": "string"
},
"verb": {
"description": "Verb is the standard HTTP verb",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1beta1_ResourceAttributes": {
"description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface",
"properties": {
"group": {
"description": "Group is the API Group of the Resource. \"*\" means all.",
"type": "string"
},
"name": {
"description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview",
"type": "string"
},
"resource": {
"description": "Resource is one of the existing resource types. \"*\" means all.",
"type": "string"
},
"subresource": {
"description": "Subresource is one of the existing resource types. \"\" means none.",
"type": "string"
},
"verb": {
"description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.",
"type": "string"
},
"version": {
"description": "Version is the API Version of the Resource. \"*\" means all.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1beta1_SubjectAccessReviewSpec": {
"description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set",
"properties": {
"extra": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.",
"type": "object"
},
"group": {
"description": "Groups is the groups you're testing for.",
"items": {
"type": "string"
},
"type": "array"
},
"nonResourceAttributes": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1beta1_NonResourceAttributes",
"description": "NonResourceAttributes describes information for a non-resource access request"
},
"resourceAttributes": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1beta1_ResourceAttributes",
"description": "ResourceAuthorizationAttributes describes information for a resource access request"
},
"uid": {
"description": "UID information about the requesting user.",
"type": "string"
},
"user": {
"description": "User is the user you're testing for. If you specify \"User\" but not \"Group\", then is it interpreted as \"What if User were not a member of any groups",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1beta1_SubjectAccessReviewStatus": {
"description": "SubjectAccessReviewStatus",
"properties": {
"allowed": {
"description": "Allowed is required. True if the action would be allowed, false otherwise.",
"type": "boolean"
},
"denied": {
"description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.",
"type": "boolean"
},
"evaluationError": {
"description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.",
"type": "string"
},
"reason": {
"description": "Reason is optional. It indicates why a request was allowed or denied.",
"type": "string"
}
},
"required": [
"allowed"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1": {
"description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff",
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry": {
"description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.",
"type": "string"
},
"fieldsType": {
"description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
"type": "string"
},
"fieldsV1": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1",
"description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type."
},
"manager": {
"description": "Manager is an identifier of the workflow managing these fields.",
"type": "string"
},
"operation": {
"description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.",
"type": "string"
},
"time": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta": {
"description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations",
"type": "object"
},
"clusterName": {
"description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.",
"type": "string"
},
"creationTimestamp": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"deletionGracePeriodSeconds": {
"_format": "int64",
"description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"finalizers": {
"description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.",
"items": {
"type": "string"
},
"type": "array",
"x-kubernetes-patch-strategy": "merge"
},
"generateName": {
"description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency",
"type": "string"
},
"generation": {
"_format": "int64",
"description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
"type": "integer"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels",
"type": "object"
},
"managedFields": {
"description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
"type": "string"
},
"namespace": {
"description": "Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces",
"type": "string"
},
"ownerReferences": {
"description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_OwnerReference"
},
"type": "array",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
},
"resourceVersion": {
"description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
"type": "string"
},
"selfLink": {
"description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.",
"type": "string"
},
"uid": {
"description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_OwnerReference": {
"description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.",
"properties": {
"apiVersion": {
"description": "API version of the referent.",
"type": "string"
},
"blockOwnerDeletion": {
"description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.",
"type": "boolean"
},
"controller": {
"description": "If true, this reference points to the managing controller.",
"type": "boolean"
},
"kind": {
"description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"name": {
"description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
"type": "string"
},
"uid": {
"description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time": {
"_format": "date-time",
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": "string"
}
},
"description": "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": [
"string",
"null"
]
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"enum": [
"LocalSubjectAccessReview"
],
"type": [
"string",
"null"
]
},
"metadata": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta"
},
"spec": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1beta1_SubjectAccessReviewSpec",
"description": "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted."
},
"status": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1beta1_SubjectAccessReviewStatus",
"description": "Status is filled in by the server and indicates whether the request is allowed or not"
}
},
"required": [
"spec"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "authorization.k8s.io",
"kind": "LocalSubjectAccessReview",
"version": "v1beta1"
}
]
} | kb_545_Normalized |
{
"additionalProperties": false,
"description": "MachineBoss named sequence schema",
"properties": {
"name": {
"type": "string"
},
"sequence": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"sequence"
],
"type": "object"
} | o47167 |
{
"description": "OpenContainer Image Layout Schema",
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://opencontainers.org/schema/image/layout",
"type": "object",
"properties": {
"imageLayoutVersion": {
"description": "version of the OCI Image Layout (in the oci-layout file)",
"type": "string",
"enum": [
"1.0.0"
]
}
},
"required": [
"imageLayoutVersion"
]
} | o89833 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "ALPS Base",
"description": "Base type for select [ALPS][] elements.",
"type": "object",
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"description": "A [RFC5988][] approved relation type."
},
"href": {
"type": "string",
"description": "The URL of the resource described by the associated `rel`."
}
},
"required": [
"rel",
"href"
],
"description": "Identifies a link between an ALPS element and some other (possibly external) resource.\n\n"
},
"description": "Links to other related resources."
},
"descriptors": {
"type": "array",
"items": {
"description": "Defines the semantics of specific data elements or state transitions that MAY exist in an associated representation.\n\n"
},
"description": "Data and transition definitions."
},
"doc": {
"type": "object",
"properties": {
"format": {
"enum": [
"text",
"html",
"asciidoc"
],
"description": "Indicates how the content should be parsed."
},
"href": {
"type": "string",
"description": "References a related document containing human readable text."
},
"content": {
"type": "string",
"description": "The text contents."
}
},
"description": "A description of the element."
},
"ext": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "A document-wide unique identifier for the extension element."
},
"href": {
"type": "string",
"description": "References the definition of the extension."
},
"value": {
"type": "string",
"description": "Specifies the value."
}
},
"required": [
"id"
],
"description": "Author-specific extension to an element."
}
}
} | o58210 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://something.gov/rels/user",
"title": "User",
"type": "object",
"properties": {
"id": {
"title": "Identifier",
"description": "The unique identifier",
"type": "integer"
},
"email": {
"title": "Email",
"description": "An email address",
"type": "string",
"format": "email",
"maxLength": 255
},
"name": {
"title": "name",
"description": "The user's name",
"type": "string",
"maxLength": 255
},
"password": {
"title": "Password",
"description": "A hash of the users password",
"type": "string"
},
"role": {
"title": "Role",
"description": "The role assigned to the user",
"enum": [
"anonymous",
"authenticated",
"admin"
]
},
"status": {
"title": "Status",
"description": "The status of the user",
"enum": [
"created",
"banned",
"authorized"
]
},
"created": {
"title": "Created At",
"description": "Timestamp when created",
"type": "string",
"format": "date-time"
},
"modified": {
"title": "Modified At",
"description": "Timestamp when last modified",
"type": "string",
"format": "date-type"
}
}
} | o37683 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"pets": {
"type": "object",
"properties": {
"amount": {
"type": "integer",
"default": 42
}
},
"required": [
"amount"
]
}
},
"properties": {
"pets": {
"$ref": "#/definitions/pets"
}
},
"required": [
"pets"
]
} | o41592 |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Response from GET rest/warehouse/export/requests",
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/request"
}
},
"total": {
"type": "integer"
}
},
"required": [
"success",
"data"
],
"additionalProperties": false,
"definitions": {
"request": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"realm": {
"type": "string"
},
"start_date": {
"type": "string",
"format": "date"
},
"end_date": {
"type": "string",
"format": "date"
},
"export_succeeded": {
"anyOf": [
{
"type": "null"
},
{
"type": "integer",
"minimum": 0,
"maximum": 1
}
]
},
"export_expired": {
"type": "integer",
"minimum": 0,
"maximum": 1
},
"export_expires_datetime": {
"anyOf": [
{
"type": "null"
},
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$"
}
]
},
"export_created_datetime": {
"anyOf": [
{
"type": "null"
},
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$"
}
]
},
"export_file_format": {
"enum": [
"CSV",
"JSON"
]
},
"requested_datetime": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$"
},
"downloaded_datetime": {
"anyOf": [
{
"type": "null"
},
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$"
}
]
},
"state": {
"type": "string",
"enum": [
"Submitted",
"Available",
"Failed",
"Expired"
]
}
},
"required": [
"id",
"realm",
"start_date",
"end_date",
"export_succeeded",
"export_expired",
"export_expires_datetime",
"export_created_datetime",
"export_file_format",
"requested_datetime",
"state"
],
"additionalProperties": false
}
}
} | o83283 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"title": "device",
"additionalProperties": false,
"properties": {
"locations": {
"type": "array",
"items": {
"$ref": "#/definitions/Location"
}
},
"configuration": {
"$ref": "#/definitions/DeviceConfigurationArchive"
},
"status": {
"type": "array",
"items": {
"$ref": "#/definitions/DeviceStatus"
}
},
"deviceInfo": {
"$ref": "#/definitions/DeviceInfo"
},
"guid": {
"type": "string"
},
"uri": {
"type": "string"
}
},
"definitions": {
"Location": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
}
}
},
"DeviceConfigurationArchive": {
"type": "object",
"additionalProperties": false,
"properties": {
"configurations": {
"type": "string"
}
}
},
"DeviceStatus": {
"type": "object",
"additionalProperties": false,
"properties": {}
},
"DeviceInfo": {
"type": "object",
"additionalProperties": false,
"properties": {
"deviceType": {
"type": "string",
"enum": [
"OTHER",
"STREETLIGHT_AREA",
"VARIABLE_MESSAGE_SIGN",
"PARKING_HOUSE",
"DETECTOR",
"TRAFFIC_LIGHT_CONTROLLER"
]
},
"manufacturer": {
"type": "string"
},
"designation": {
"type": "string"
},
"version": {
"type": "string"
}
}
}
}
} | o73962 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"incarnation": {
"type": "integer",
"description": "a number representing the 'configuration version' of this tenant. Incremented on any changes to the installed apps."
},
"securityGeneration": {
"type": "integer",
"description": "a number representing the 'security version' of this tenant. Incremented when tenant signals such during a patch operation."
},
"state": {
"enum": [
"PREHALTING",
"PREHALTED",
"HALTING",
"HALTED",
"PRESTARTING",
"PRESTARTED",
"STARTING",
"STARTED",
"BROKEN"
],
"description": "The tenant's current status."
}
},
"required": [
"incarnation",
"securityGeneration"
]
} | o79495 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LoadBalancerIngress": {
"description": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.",
"properties": {
"hostname": {
"description": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)",
"type": "string"
},
"ip": {
"description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LoadBalancerStatus": {
"description": "LoadBalancerStatus represents the status of a load-balancer.",
"properties": {
"ingress": {
"description": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LoadBalancerIngress"
},
"type": "array"
}
},
"type": "object"
}
},
"description": "IngressStatus describe the current state of the Ingress.",
"properties": {
"loadBalancer": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LoadBalancerStatus",
"description": "LoadBalancer contains the current status of the load-balancer."
}
},
"type": "object"
} | kb_457_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "PlantillaSensorPoint Schema",
"type": "object",
"required": [
"Sensor"
],
"properties": {
"Sensor": {
"type": "string",
"$ref": "#/datos"
}
},
"additionalProperties": false,
"datos": {
"required": [
"timestamp",
"assetId",
"measure",
"geometry"
],
"properties": {
"timestamp": {
"type": "object",
"required": [
"$date"
],
"properties": {
"$date": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"assetId": {
"type": "string"
},
"measure": {
"type": "number"
},
"sensorMeasure": {
"type": "number"
},
"correctedMeasure": {
"type": "number"
},
"geometry": {
"type": "object",
"required": [
"coordinates",
"type"
],
"properties": {
"coordinates": {
"type": "array",
"items": [
{
"type": "number",
"maximum": 90,
"minimum": -90
},
{
"type": "number",
"maximum": 180,
"minimum": -180
}
],
"minItems": 2,
"maxItems": 2
},
"type": {
"type": "string",
"enum": [
"Point"
]
}
},
"additionalProperties": false
},
"groupId": {
"type": "string"
}
},
"additionalProperties": false
}
} | o14421 |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base of the shape",
"type": "number"
},
"height": {
"description": "The height of the shape",
"type": "number"
},
"length": {
"description": "The length of the shape",
"type": "number"
},
"radius": {
"description": "The radius of the shape",
"type": "number"
},
"width": {
"description": "The width of the shape",
"type": "number"
}
},
"required": [
"length",
"width",
"radius",
"base",
"height"
],
"type": "object"
},
"shape": {
"description": "The shape (e.g. circle, rectangle, triangle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_3f8ef375 |
{
"properties": {
"AlwaysOn": {
"default": {
"AllowedCaptiveNetworkPlugins": [],
"ServiceExceptions": [],
"TunnelConfigurations": [
{
"AuthenticationMethod": "SharedSecret",
"ChildSecurityAssociationParameters": {
"DiffieHellmanGroup": 14,
"EncryptionAlgorithm": "3DES",
"IntegrityAlgorithm": "SHA1-96",
"LifeTimeInMinutes": 1440
},
"DeadPeerDetectionRate": "Medium",
"DisableMOBIKE": 0,
"DisableRedirect": 0,
"EnableCertificateRevocationCheck": 0,
"EnablePFS": 0,
"IKESecurityAssociationParameters": {
"DiffieHellmanGroup": 14,
"EncryptionAlgorithm": "3DES",
"IntegrityAlgorithm": "SHA1-96",
"LifeTimeInMinutes": 1440
},
"Interfaces": [
"Cellular"
],
"NATKeepAliveInterval": 110,
"NATKeepAliveOffloadEnable": 1,
"ProtocolType": "IKEv2",
"UseConfigurationAttributeInternalIPSubnet": 0
},
{
"AuthenticationMethod": "SharedSecret",
"ChildSecurityAssociationParameters": {
"DiffieHellmanGroup": 14,
"EncryptionAlgorithm": "3DES",
"IntegrityAlgorithm": "SHA1-96",
"LifeTimeInMinutes": 1440
},
"DeadPeerDetectionRate": "Medium",
"DisableMOBIKE": 0,
"DisableRedirect": 0,
"EnableCertificateRevocationCheck": 0,
"EnablePFS": 0,
"IKESecurityAssociationParameters": {
"DiffieHellmanGroup": 14,
"EncryptionAlgorithm": "3DES",
"IntegrityAlgorithm": "SHA1-96",
"LifeTimeInMinutes": 1440
},
"Interfaces": [
"WiFi"
],
"NATKeepAliveInterval": 20,
"NATKeepAliveOffloadEnable": 1,
"ProtocolType": "IKEv2",
"UseConfigurationAttributeInternalIPSubnet": 0
}
]
},
"description": "Always On settings",
"properties": {
"TunnelConfigurations": {
"description": "This array contains an arbitrary number of TunnelConfigurations",
"items": {
"description": "An item in theTunnelConfigurations array describing an individual configuration",
"properties": {
"AuthName": {
"description": "Username used for authentication",
"type": "string"
},
"AuthPassword": {
"description": "Password used for authentication",
"type": "string"
},
"AuthenticationMethod": {
"description": "AuthenticationMethod of the IKEv2 client",
"type": "string"
},
"ChildSecurityAssociationParameters": {
"default": {
"DiffieHellmanGroup": 14,
"EncryptionAlgorithm": "AES-256",
"IntegrityAlgorithm": "SHA2-256",
"LifeTimeInMinutes": 1440
},
"description": "Applies to child Security Association",
"properties": {
"DiffieHellmanGroup": {
"description": "DiffieHellmanGroup",
"type": "number"
},
"EncryptionAlgorithm": {
"description": "EncryptionAlgorithm",
"type": "string"
},
"IntegrityAlgorithm": {
"description": "IntegrityAlgorithm",
"type": "string"
},
"LifeTimeInMinutes": {
"description": "LifeTimeInMinutes",
"type": "number"
}
},
"type": "object"
},
"DeadPeerDetectionRate": {
"default": "Low",
"description": "Dead peer detection rate; defaults to Medium",
"type": "string"
},
"DisableMOBIKE": {
"default": 0,
"description": "Set to 1 to disable MOBIKE negotiation in IKEv2",
"type": "number"
},
"DisableRedirect": {
"default": 0,
"description": "Set to 1 to disable IKEv2 redirect",
"type": "number"
},
"EnableCertificateRevocationCheck": {
"default": 0,
"description": "Set to 1 to enable certificate revocation check for IKEv2 connections",
"type": "number"
},
"EnablePFS": {
"default": 0,
"description": "Set to 1 to enable Perfect Forward Secrecy for IKEv2 connections",
"type": "number"
},
"ExtendedAuthEnabled": {
"default": 0,
"description": "Set to 1 to enable extended authentication (EAP)",
"type": "number"
},
"IKESecurityAssociationParameters": {
"default": {
"DiffieHellmanGroup": 14,
"EncryptionAlgorithm": "AES-256",
"IntegrityAlgorithm": "SHA2-256",
"LifeTimeInMinutes": 1440
},
"description": "Applies to child Security Association",
"properties": {
"DiffieHellmanGroup": {
"description": "DiffieHellmanGroup",
"type": "number"
},
"EncryptionAlgorithm": {
"description": "EncryptionAlgorithm",
"type": "string"
},
"IntegrityAlgorithm": {
"description": "IntegrityAlgorithm",
"type": "string"
},
"LifeTimeInMinutes": {
"description": "LifeTimeInMinutes",
"type": "number"
}
},
"type": "object"
},
"LocalIdentifier": {
"description": "Identifier of the IKEv2 client",
"type": "string"
},
"NATKeepAliveInterval": {
"default": 20,
"description": "NAT Keepalive interval for Always-on VPN IKEv2 connections. This value controls the interval over which Keepalive offload packets are sent by the device. The minimum value is 20 seconds. If no key is specified, the default is 20 seconds over Wi-Fi and 110 seconds over Cellular interface.",
"type": "number"
},
"NATKeepAliveOffloadEnable": {
"default": 1,
"description": "Set to 1 to enable NAT Keepalive offload for Always-on VPN IKEv2 connections",
"type": "number"
},
"PayloadCertificateUUID": {
"description": "The UUID of the identity certificate as the account credential",
"type": "string"
},
"RemoteAddress": {
"description": " IP address or hostname of the VPN server",
"type": "string"
},
"RemoteIdentifier": {
"description": "Remote Identifier of the IKEv2 client",
"type": "string"
},
"ServerCertificateCommonName": {
"description": "Common Name of the server certificate",
"type": "string"
},
"ServerCertificateIssuerCommonName": {
"description": "Common Name of the server certificate issuer",
"type": "string"
},
"SharedSecret": {
"description": "Value for IKE authentication",
"type": "string"
},
"UseConfigurationAttributeInternalIPSubnet": {
"default": 0,
"description": "Set to 1 to indicate if negotiation should use IKEv2 Configuration Attribute INTERNAL_IP4_SUBNET and INTERNAL_IP6_SUBNET.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"DisconnectOnIdle": {
"default": 0,
"description": "DisconnectOnIdle",
"type": "number"
},
"DisconnectOnIdleTimer": {
"description": "DisconnectOnIdleTimer",
"type": "number"
},
"EAP": {
"description": "Dictionary containing EAP settings",
"properties": {},
"type": "object"
},
"IKEv2": {
"default": {
"AuthenticationMethod": "SharedSecret",
"ChildSecurityAssociationParameters": {
"DiffieHellmanGroup": 14,
"EncryptionAlgorithm": "3DES",
"IntegrityAlgorithm": "SHA1-96",
"LifeTimeInMinutes": 1440
},
"DeadPeerDetectionRate": "Medium",
"DisableMOBIKE": 0,
"DisableRedirect": 0,
"EnableCertificateRevocationCheck": 0,
"EnablePFS": 0,
"IKESecurityAssociationParameters": {
"DiffieHellmanGroup": 14,
"EncryptionAlgorithm": "3DES",
"IntegrityAlgorithm": "SHA1-96",
"LifeTimeInMinutes": 1440
},
"UseConfigurationAttributeInternalIPSubnet": 0
},
"description": "IKEv2 settings",
"properties": {
"AuthName": {
"description": "Username used for authentication",
"type": "string"
},
"AuthPassword": {
"description": "Password used for authentication",
"type": "string"
},
"AuthenticationMethod": {
"description": "AuthenticationMethod of the IKEv2 client",
"enum": [
"SharedSecret",
"Certificate",
"None"
],
"type": "string"
},
"CertificateType": {
"description": "Type of the certificate; defaults to RSA",
"type": "string"
},
"ChildSecurityAssociationParameters": {
"default": {
"DiffieHellmanGroup": 14,
"EncryptionAlgorithm": "3DES",
"IntegrityAlgorithm": "SHA-96",
"LifeTimeInMinutes": 1440
},
"description": "Applies to child Security Association",
"properties": {
"DiffieHellmanGroup": {
"description": "DiffieHellmanGroup",
"type": "number"
},
"EncryptionAlgorithm": {
"description": "EncryptionAlgorithm",
"type": "string"
},
"IntegrityAlgorithm": {
"description": "IntegrityAlgorithm",
"type": "string"
},
"LifeTimeInMinutes": {
"description": "LifeTimeInMinutes",
"type": "number"
}
},
"type": "object"
},
"DeadPeerDetectionRate": {
"default": "Medium",
"description": "Dead peer detection rate",
"enum": [
"None",
"Low",
"Medium",
"High"
],
"type": "string"
},
"DisableMOBIKE": {
"default": 0,
"description": "Set to 1 to disable MOBIKE negotiation in IKEv2",
"type": "number"
},
"DisableRedirect": {
"default": 0,
"description": "Set to 1 to disable IKEv2 redirect",
"type": "number"
},
"DomainName": {
"description": "The primary domain of the tunnel",
"type": "string"
},
"EnableCertificateRevocationCheck": {
"default": 0,
"description": "Optional. Set to 1 to enable a certificate revocation check for IKEv2 connections. This is a best-effort revocation check; server response timeouts will not cause it to fail.",
"type": "number"
},
"EnablePFS": {
"default": 0,
"description": "Set to 1 to enable Perfect Forward Secrecy for IKEv2 connections",
"type": "number"
},
"ExtendedAuthEnabled": {
"default": 0,
"description": "Set to 1 to enable extended authentication (EAP)",
"type": "number"
},
"IKESecurityAssociationParameters": {
"default": {
"DiffieHellmanGroup": 14,
"EncryptionAlgorithm": "3DES",
"IntegrityAlgorithm": "SHA-96",
"LifeTimeInMinutes": 1440
},
"description": "Applies to child Security Association",
"properties": {
"DiffieHellmanGroup": {
"description": "DiffieHellmanGroup",
"type": "number"
},
"EncryptionAlgorithm": {
"description": "EncryptionAlgorithm",
"type": "string"
},
"IntegrityAlgorithm": {
"description": "IntegrityAlgorithm",
"type": "string"
},
"LifeTimeInMinutes": {
"description": "LifeTimeInMinutes",
"type": "number"
}
},
"type": "object"
},
"LocalIdentifier": {
"description": "Identifier of the IKEv2 client",
"type": "string"
},
"NATKeepAliveInterval": {
"description": "NAT Keepalive interval for Always On VPN IKEv2 connections",
"type": "number"
},
"NATKeepAliveOffloadEnable": {
"default": 1,
"description": "Set to 1 to enable or 0 to disable NAT Keepalive offload for Always On VPN IKEv2 connections",
"type": "number"
},
"PayloadCertificateUUID": {
"description": "The UUID of the identity certificate as the account credential",
"type": "string"
},
"RemoteAddress": {
"description": " IP address or hostname of the VPN server",
"type": "string"
},
"RemoteIdentifier": {
"description": "Remote Identifier of the IKEv2 client",
"type": "string"
},
"SearchDomains": {
"description": "A list of domain strings used to fully qualify single-label host names.",
"type": "array"
},
"ServerAddresses": {
"description": "An array of DNS server IP address strings (IPv4 or IPv6)",
"type": "array"
},
"ServerCertificateCommonName": {
"description": "Common name of the server certificate",
"type": "string"
},
"ServerCertificateIssuerCommonName": {
"description": "Common Name of the server certificate issuer",
"type": "string"
},
"SharedSecret": {
"description": "Value for IKE authentication",
"type": "string"
},
"SupplementalMatchDomains": {
"description": "A list of domain strings used to determine which DNS queries will use the DNS resolver settings contained in ServerAddresses.",
"type": "array"
},
"SupplementalMatchDomainsNoSearch": {
"default": 0,
"description": "Optional. Whether (0) or not (1) the domains in the SupplementalMatchDomains list should be appended to the resolver\u2019s list of search domains. Default is 0.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"UseConfigurationAttributeInternalIPSubnet": {
"default": 0,
"description": "Set to 1 to indicate if negotiation should use IKEv2 Configuration Attribute INTERNAL_IP4_SUBNET and INTERNAL_IP6_SUBNET.",
"type": "number"
}
},
"type": "object"
},
"IPSec": {
"default": {
"AuthenticationMethod": "SharedSecret",
"LocalIdentifierType": "KeyID"
},
"description": "Dictionary containing IPSec settings",
"properties": {
"AuthenticationMethod": {
"description": "Authentication method. Either shared secret or certificate",
"enum": [
"SharedSecret",
"Certificate"
],
"type": "string"
},
"LocalIdentifier": {
"description": "The name of the group to use. If Hybrid Authentication is used, the string must end with \"[hybrid]\"",
"type": "string"
},
"LocalIdentifierType": {
"description": "Present only if AuthenticationMethod = SharedSecret. Must be \"KeyID\"",
"enum": [
"KeyID"
],
"type": "string"
},
"OnDemandEnabled": {
"description": "Enable VPN On Demand",
"enum": [
0,
1
],
"type": "number"
},
"OnDemandMatchDomainsAlways": {
"description": "",
"items": {
"description": "Match domain or host",
"type": "string"
},
"type": "array"
},
"OnDemandMatchDomainsNever": {
"description": "",
"items": {
"description": "Match domain or host",
"type": "string"
},
"type": "array"
},
"OnDemandMatchDomainsOnRetry": {
"description": "",
"items": {
"description": "Match domain or host",
"type": "string"
},
"type": "array"
},
"OnDemandRules": {
"description": "An array of dictionaries defining On Demand Rules",
"items": {
"description": "An On Demand rule",
"properties": {
"Action": {
"description": "On Demand Action",
"enum": [
"Allow",
"Ignore",
"Connect",
"Disconnect"
],
"type": "string"
},
"DNSDomainMatch": {
"description": "An array of DNS addresses",
"items": {
"description": "A DNS address. May include wildcards",
"type": "string"
},
"type": "array"
},
"DNSServerAddressMatch": {
"description": "An array of DNS Server Addresses",
"items": {
"description": "A DNS server address. May include wildcards",
"type": "string"
},
"type": "array"
},
"URLStringProbe": {
"description": "A test URL",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"PayloadCertificateUUID": {
"description": "The UUID of the certificate to use for account credentials",
"type": "string"
},
"PromptForVPNPIN": {
"description": "If set, user will be prompted for a PIN when connecting",
"type": "boolean"
},
"RemoteAddress": {
"description": "IP address or hostname of the VPN server",
"type": "string"
},
"SharedSecret": {
"description": "The shared secret for this VPN account",
"type": "string"
},
"XAuthEnabled": {
"description": "1 if XAUTH is ON, 0 if XAUTH is OFF",
"enum": [
0,
1
],
"type": "number"
},
"XAuthName": {
"description": "Username for VPN account",
"type": "string"
},
"XAuthPassword": {
"description": "Password for VPN account",
"type": "string"
},
"XAuthPasswordEncryption": {
"description": "String value is either \"Prompt\" or not present",
"enum": [
"Prompt"
],
"type": "string"
}
},
"type": "object"
},
"IPv4": {
"default": {
"OverridePrimary": 0
},
"description": "Dictionary containing IPv4 settings",
"properties": {
"OverridePrimary": {
"default": 0,
"description": "If set, all network traffic is sent over the VPN interface",
"enum": [
0,
1
],
"type": "number"
}
},
"type": "object"
},
"PPP": {
"default": {},
"description": "PPP Settings",
"properties": {
"AuthEAPPlugins": {
"description": "Only present if RSA SecurID is being used, in which case it has one string entry: EAP-RSA",
"items": {
"description": "String inside EAP Plugins array. If present, must be \"EAP-RSA\"",
"enum": [
"EAP-RSA",
"EAP-TLS",
"EAP-KRB"
],
"type": "string"
},
"type": "array"
},
"AuthName": {
"description": "The VPN account username",
"type": "string"
},
"AuthPassword": {
"description": "The VPN user password",
"type": "string"
},
"AuthProtocol": {
"description": "Only present if RSA SecurID is being used, in which case it has one string entry: EAP",
"items": {
"description": "String inside Auth Protocol array. If present, must be \"EAP\"",
"enum": [
"EAP"
],
"type": "string"
},
"type": "array"
},
"CCPEnabled": {
"description": "Enables encryption on the connection. If this key and CCPMPPE40Enabled are true, represents automatic encryption level; if this key and CCPMPPE128Enabled are true, represents maximum encryption level. If no encryption is used, then none of the CCP keys are true.\n",
"enum": [
0,
1
],
"type": "number"
},
"CCPMPPE128Enabled": {
"description": "Enables encryption on the connection. If this key and CCPEnabled are true, represents automatic encryption level\n",
"enum": [
0,
1
],
"type": "number"
},
"CCPMPPE40Enabled": {
"description": "Enables encryption on the connection. If this key and CCPEnabled are true, represents maximum encryption level\n",
"enum": [
0,
1
],
"type": "number"
},
"CommRemoteAddress": {
"description": "IP address or hostname of VPN server",
"type": "string"
},
"TokenCard": {
"description": "Use a token card such as an RSA SecurID card for connecting",
"type": "boolean"
}
},
"type": "object"
},
"PayloadDescription": {
"default": "Configures VPN settings",
"description": "Description of the payload",
"type": "string"
},
"PayloadDisplayName": {
"default": "VPN",
"description": "Name of the payload",
"type": "string"
},
"PayloadIdentifier": {
"default": "com.apple.vpn.managed",
"description": "A unique identifier for the payload, dot-delimited. Usually root PayloadIdentifier+subidentifier",
"type": "string"
},
"PayloadOrganization": {
"description": "This value describes the issuing organization of the profile, as displayed to the user",
"type": "string"
},
"PayloadType": {
"default": "com.apple.vpn.managed",
"description": "The type of the payload, a reverse dns string",
"type": "string"
},
"PayloadUUID": {
"default": "",
"description": "Unique identifier for the payload (format 01234567-89AB-CDEF-0123-456789ABCDEF)",
"pattern": "^[0-9A-Za-z]{8}-[0-9A-Za-z]{4}-[0-9A-Za-z]{4}-[0-9A-Za-z]{4}-[0-9A-Za-z]{12}$",
"type": "string"
},
"PayloadVersion": {
"default": 1,
"description": "The version of the whole configuration profile.",
"type": "number"
},
"Proxies": {
"default": {
"HTTPEnable": 0,
"HTTPSEnable": 0
},
"description": "Proxies",
"properties": {
"HTTPEnable": {
"description": "",
"enum": [
0,
1
],
"type": "number"
},
"HTTPPort": {
"description": "",
"maximum": 65535,
"minimum": 0,
"type": "number"
},
"HTTPProxy": {
"description": "Proxy URL",
"type": "string"
},
"HTTPProxyPassword": {
"description": "",
"type": "string"
},
"HTTPProxyUsername": {
"description": "",
"type": "string"
},
"HTTPSEnable": {
"description": "",
"enum": [
0,
1
],
"type": "number"
},
"HTTPSPort": {
"description": "",
"maximum": 65535,
"minimum": 0,
"type": "number"
},
"HTTPSProxy": {
"description": "",
"type": "string"
},
"ProxyAutoConfigEnable": {
"description": "",
"enum": [
0,
1
],
"type": "number"
},
"ProxyAutoConfigURLString": {
"description": "",
"type": "string"
},
"ProxyAutoDiscoveryEnable": {
"default": 1,
"description": "",
"enum": [
0,
1
],
"type": "number"
}
},
"type": "object"
},
"UserDefinedName": {
"description": "Description of the VPN connection displayed on the device",
"type": "string"
},
"VPN": {
"default": {
"AuthenticationMethod": "Password"
},
"description": "VPN Settings",
"properties": {
"AuthName": {
"description": "The VPN account username",
"type": "string"
},
"AuthPassword": {
"description": "The VPN user password",
"type": "string"
},
"AuthenticationMethod": {
"description": "Authentication method. Either shared secret or certificate",
"enum": [
"Password",
"Certificate",
"Password+Certificate"
],
"type": "string"
},
"DisconnectOnIdle": {
"description": "Disconnect after an on demand connection idles",
"enum": [
0,
1
],
"type": "number"
},
"DisconnectOnIdleTimer": {
"description": "Length of time to wait before disconnecting an on demand connection",
"type": "number"
},
"OnDemandEnabled": {
"description": "Enable VPN On Demand",
"enum": [
0,
1
],
"type": "number"
},
"OnDemandMatchDomainsAlways": {
"description": "",
"items": {
"description": "Match domain or host",
"type": "string"
},
"type": "array"
},
"OnDemandMatchDomainsNever": {
"description": "",
"items": {
"description": "Match domain or host",
"type": "string"
},
"type": "array"
},
"OnDemandMatchDomainsOnRetry": {
"description": "",
"items": {
"description": "Match domain or host",
"type": "string"
},
"type": "array"
},
"OnDemandRules": {
"description": "An array of dictionaries defining On Demand Rules",
"items": {
"description": "An On Demand rule",
"properties": {
"Action": {
"description": "On Demand Action",
"enum": [
"Allow",
"Ignore",
"Connect",
"Disconnect"
],
"type": "string"
},
"DNSDomainMatch": {
"description": "An array of DNS addresses",
"items": {
"description": "A DNS address. May include wildcards",
"type": "string"
},
"type": "array"
},
"DNSServerAddressMatch": {
"description": "An array of DNS Server Addresses",
"items": {
"description": "A DNS server address. May include wildcards",
"type": "string"
},
"type": "array"
},
"URLStringProbe": {
"description": "A test URL",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"PayloadCertificateUUID": {
"description": "The UUID of the certificate to use for account credentials",
"type": "string"
},
"RemoteAddress": {
"description": "Hostname or IP address for server",
"type": "string"
}
},
"type": "object"
},
"VPNSubType": {
"description": "If VPNType is \"VPN\" this field will be an identifier for a vendor specified configuration dictionary",
"type": "string"
},
"VPNType": {
"default": "L2TP",
"description": "Determines the settings available for this VPN payload",
"enum": [
"L2TP",
"PPTP",
"IPSec",
"VPN",
"IKEv2",
"AlwaysOn"
],
"type": "string"
},
"VendorConfig": {
"default": {},
"description": "A vendor specific configuration dictionary",
"properties": {
"Group": {
"description": "Group to connect to on the head end. Valid only for Cisco AnyConnect",
"type": "string"
},
"LoginGroupOrDomain": {
"description": "Login Group or Domain",
"type": "string"
},
"Realm": {
"description": "Realm to connect to on the server",
"type": "string"
},
"Role": {
"description": "Role to select when connecting to the server. Valid only for Juniper SSL",
"type": "string"
}
},
"type": "object"
}
},
"title": "com.apple.vpn.managed",
"type": "object"
} | o61647 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"meta": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"type": {
"type": "string",
"enum": [
"EiffelTestExecutionRecipeCollectionCreatedEvent"
]
},
"version": {
"type": "string",
"enum": [
"1.0.0"
],
"default": "1.0.0"
},
"time": {
"type": "integer"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"source": {
"type": "object",
"properties": {
"domainId": {
"type": "string"
},
"host": {
"type": "string"
},
"name": {
"type": "string"
},
"serializer": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"artifactId": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"groupId",
"artifactId",
"version"
],
"additionalProperties": false
},
"uri": {
"type": "string"
}
},
"additionalProperties": false
},
"security": {
"type": "object",
"properties": {
"sdm": {
"type": "object",
"properties": {
"authorIdentity": {
"type": "string"
},
"encryptedDigest": {
"type": "string"
}
},
"required": [
"authorIdentity",
"encryptedDigest"
],
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"required": [
"id",
"type",
"version",
"time"
],
"additionalProperties": false
},
"data": {
"type": "object",
"properties": {
"selectionStrategy": {
"type": "object",
"properties": {
"tracker": {
"type": "string"
},
"id": {
"type": "string"
},
"uri": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"batchesUri": {
"type": "string"
},
"batches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"priority": {
"type": "integer"
},
"recipes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"testCase": {
"type": "object",
"properties": {
"tracker": {
"type": "string"
},
"id": {
"type": "string"
},
"uri": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
},
"constraints": {
"type": "object"
}
},
"required": [
"id",
"testCase"
],
"additionalProperties": false
}
},
"dependencies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"dependent": {
"type": "string"
},
"dependency": {
"type": "string"
}
},
"required": [
"dependent",
"dependency"
],
"additionalProperties": false
}
}
},
"required": [
"priority",
"recipes"
],
"additionalProperties": false
}
},
"customData": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {}
},
"required": [
"key",
"value"
],
"additionalProperties": false
}
}
},
"required": [
"selectionStrategy"
],
"additionalProperties": false
},
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"target": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"type",
"target"
],
"additionalProperties": false
}
}
},
"required": [
"meta",
"data",
"links"
],
"additionalProperties": false
} | o5409 |
{
"additionalProperties": false,
"definitions": {
"config": {
"additionalProperties": false,
"id": "#/definitions/config",
"properties": {
"external": {
"properties": {
"name": {
"type": "string"
}
},
"type": [
"boolean",
"object"
]
},
"file": {
"type": "string"
},
"labels": {
"$ref": "#/definitions/list_or_dict"
}
},
"type": "object"
},
"constraints": {
"service": {
"anyOf": [
{
"required": [
"build"
]
},
{
"required": [
"image"
]
}
],
"id": "#/definitions/constraints/service",
"properties": {
"build": {
"required": [
"context"
]
}
}
}
},
"deployment": {
"additionalProperties": false,
"id": "#/definitions/deployment",
"properties": {
"endpoint_mode": {
"type": "string"
},
"labels": {
"$ref": "#/definitions/list_or_dict"
},
"mode": {
"type": "string"
},
"placement": {
"additionalProperties": false,
"properties": {
"constraints": {
"items": {
"type": "string"
},
"type": "array"
},
"preferences": {
"items": {
"additionalProperties": false,
"properties": {
"spread": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"replicas": {
"type": "integer"
},
"resources": {
"additionalProperties": false,
"properties": {
"limits": {
"$ref": "#/definitions/resource"
},
"reservations": {
"$ref": "#/definitions/resource"
}
},
"type": "object"
},
"restart_policy": {
"additionalProperties": false,
"properties": {
"condition": {
"type": "string"
},
"delay": {
"_format": "duration",
"type": "string"
},
"max_attempts": {
"type": "integer"
},
"window": {
"_format": "duration",
"type": "string"
}
},
"type": "object"
},
"update_config": {
"additionalProperties": false,
"properties": {
"delay": {
"_format": "duration",
"type": "string"
},
"failure_action": {
"type": "string"
},
"max_failure_ratio": {
"type": "number"
},
"monitor": {
"_format": "duration",
"type": "string"
},
"order": {
"enum": [
"start-first",
"stop-first"
],
"type": "string"
},
"parallelism": {
"type": "integer"
}
},
"type": "object"
}
},
"type": [
"object",
"null"
]
},
"healthcheck": {
"additionalProperties": false,
"id": "#/definitions/healthcheck",
"properties": {
"disable": {
"type": "boolean"
},
"interval": {
"type": "string"
},
"retries": {
"type": "number"
},
"test": {
"oneOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"timeout": {
"type": "string"
}
},
"type": "object"
},
"list_of_strings": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"list_or_dict": {
"oneOf": [
{
"additionalProperties": false,
"patternProperties": {
".+": {
"type": [
"string",
"number",
"null"
]
}
},
"type": "object"
},
{
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
}
]
},
"network": {
"additionalProperties": false,
"id": "#/definitions/network",
"properties": {
"attachable": {
"type": "boolean"
},
"driver": {
"type": "string"
},
"driver_opts": {
"patternProperties": {
"^.+$": {
"type": [
"string",
"number"
]
}
},
"type": "object"
},
"external": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": [
"boolean",
"object"
]
},
"internal": {
"type": "boolean"
},
"ipam": {
"additionalProperties": false,
"properties": {
"config": {
"items": {
"additionalProperties": false,
"properties": {
"subnet": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"driver": {
"type": "string"
}
},
"type": "object"
},
"labels": {
"$ref": "#/definitions/list_or_dict"
}
},
"type": [
"object",
"null"
]
},
"resource": {
"additionalProperties": false,
"id": "#/definitions/resource",
"properties": {
"cpus": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"type": "object"
},
"secret": {
"additionalProperties": false,
"id": "#/definitions/secret",
"properties": {
"external": {
"properties": {
"name": {
"type": "string"
}
},
"type": [
"boolean",
"object"
]
},
"file": {
"type": "string"
},
"labels": {
"$ref": "#/definitions/list_or_dict"
}
},
"type": "object"
},
"service": {
"additionalProperties": false,
"id": "#/definitions/service",
"properties": {
"build": {
"oneOf": [
{
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"args": {
"$ref": "#/definitions/list_or_dict"
},
"cache_from": {
"$ref": "#/definitions/list_of_strings"
},
"context": {
"type": "string"
},
"dockerfile": {
"type": "string"
},
"labels": {
"$ref": "#/definitions/list_or_dict"
},
"network": {
"type": "string"
},
"target": {
"type": "string"
}
},
"type": "object"
}
]
},
"cap_add": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"cap_drop": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"cgroup_parent": {
"type": "string"
},
"command": {
"oneOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"configs": {
"items": {
"oneOf": [
{
"type": "string"
},
{
"properties": {
"gid": {
"type": "string"
},
"mode": {
"type": "number"
},
"source": {
"type": "string"
},
"target": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
}
]
},
"type": "array"
},
"container_name": {
"type": "string"
},
"credential_spec": {
"properties": {
"file": {
"type": "string"
},
"registry": {
"type": "string"
}
},
"type": "object"
},
"depends_on": {
"$ref": "#/definitions/list_of_strings"
},
"deploy": {
"$ref": "#/definitions/deployment"
},
"devices": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"dns": {
"$ref": "#/definitions/string_or_list"
},
"dns_search": {
"$ref": "#/definitions/string_or_list"
},
"domainname": {
"type": "string"
},
"entrypoint": {
"oneOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"env_file": {
"$ref": "#/definitions/string_or_list"
},
"environment": {
"$ref": "#/definitions/list_or_dict"
},
"expose": {
"items": {
"format": "expose",
"type": [
"string",
"number"
]
},
"type": "array",
"_uniqueItems": true
},
"external_links": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"extra_hosts": {
"$ref": "#/definitions/list_or_dict"
},
"healthcheck": {
"$ref": "#/definitions/healthcheck"
},
"hostname": {
"type": "string"
},
"image": {
"type": "string"
},
"ipc": {
"type": "string"
},
"labels": {
"$ref": "#/definitions/list_or_dict"
},
"links": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"logging": {
"additionalProperties": false,
"properties": {
"driver": {
"type": "string"
},
"options": {
"patternProperties": {
"^.+$": {
"type": [
"string",
"number",
"null"
]
}
},
"type": "object"
}
},
"type": "object"
},
"mac_address": {
"type": "string"
},
"network_mode": {
"type": "string"
},
"networks": {
"oneOf": [
{
"$ref": "#/definitions/list_of_strings"
},
{
"additionalProperties": false,
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"aliases": {
"$ref": "#/definitions/list_of_strings"
},
"ipv4_address": {
"type": "string"
},
"ipv6_address": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
}
]
},
"pid": {
"type": [
"string",
"null"
]
},
"ports": {
"items": {
"oneOf": [
{
"format": "ports",
"type": "number"
},
{
"_format": "ports",
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"mode": {
"type": "string"
},
"protocol": {
"type": "string"
},
"published": {
"type": "integer"
},
"target": {
"type": "integer"
}
},
"type": "object"
}
]
},
"type": "array",
"_uniqueItems": true
},
"privileged": {
"type": "boolean"
},
"read_only": {
"type": "boolean"
},
"restart": {
"type": "string"
},
"secrets": {
"items": {
"oneOf": [
{
"type": "string"
},
{
"properties": {
"gid": {
"type": "string"
},
"mode": {
"type": "number"
},
"source": {
"type": "string"
},
"target": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
}
]
},
"type": "array"
},
"security_opt": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"shm_size": {
"type": [
"number",
"string"
]
},
"stdin_open": {
"type": "boolean"
},
"stop_grace_period": {
"_format": "duration",
"type": "string"
},
"stop_signal": {
"type": "string"
},
"sysctls": {
"$ref": "#/definitions/list_or_dict"
},
"tmpfs": {
"$ref": "#/definitions/string_or_list"
},
"tty": {
"type": "boolean"
},
"ulimits": {
"patternProperties": {
"^[a-z]+$": {
"oneOf": [
{
"type": "integer"
},
{
"additionalProperties": false,
"properties": {
"hard": {
"type": "integer"
},
"soft": {
"type": "integer"
}
},
"required": [
"soft",
"hard"
],
"type": "object"
}
]
}
},
"type": "object"
},
"user": {
"type": "string"
},
"userns_mode": {
"type": "string"
},
"volumes": {
"items": {
"oneOf": [
{
"type": "string"
},
{
"properties": {
"bind": {
"properties": {
"propagation": {
"type": "string"
}
},
"type": "object"
},
"consistency": {
"type": "string"
},
"read_only": {
"type": "boolean"
},
"source": {
"type": "string"
},
"target": {
"type": "string"
},
"type": {
"type": "string"
},
"volume": {
"properties": {
"nocopy": {
"type": "boolean"
}
},
"type": "object"
}
},
"required": [
"type"
],
"type": "object"
}
],
"_uniqueItems": true
},
"type": "array"
},
"working_dir": {
"type": "string"
}
},
"type": "object"
},
"string_or_list": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/list_of_strings"
}
]
},
"volume": {
"additionalProperties": false,
"id": "#/definitions/volume",
"properties": {
"driver": {
"type": "string"
},
"driver_opts": {
"patternProperties": {
"^.+$": {
"type": [
"string",
"number"
]
}
},
"type": "object"
},
"external": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": [
"boolean",
"object"
]
},
"labels": {
"$ref": "#/definitions/list_or_dict"
},
"name": {
"type": "string"
}
},
"type": [
"object",
"null"
]
}
},
"patternProperties": {
"^x-": {}
},
"properties": {
"configs": {
"additionalProperties": false,
"id": "#/properties/configs",
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"$ref": "#/definitions/config"
}
},
"type": "object"
},
"networks": {
"id": "#/properties/networks",
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"$ref": "#/definitions/network"
}
},
"type": "object"
},
"secrets": {
"additionalProperties": false,
"id": "#/properties/secrets",
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"$ref": "#/definitions/secret"
}
},
"type": "object"
},
"services": {
"additionalProperties": false,
"id": "#/properties/services",
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"$ref": "#/definitions/service"
}
},
"type": "object"
},
"version": {
"type": "string"
},
"volumes": {
"additionalProperties": false,
"id": "#/properties/volumes",
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"$ref": "#/definitions/volume"
}
},
"type": "object"
}
},
"required": [
"version"
],
"type": "object"
} | o74015 |
{
"$id": "https://json.schemastore.org/sil-kit-participant-configuration.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"Description": {
"type": "string",
"description": "Free text commenting on or summarizing this configuration. Optional",
"default": ""
},
"Name": {
"type": "string",
"description": "Name of the endpoint"
},
"Network": {
"type": "string",
"description": "Name of the network. Optional; Defaults to the endpoint name"
},
"UseTraceSinks": {
"type": "array",
"description": "Names of trace sinks to use"
},
"Replay": {
"type": "object",
"properties": {
"UseTraceSource": {
"type": "string",
"description": "Name of a trace source used as a simulation message source for this controller"
},
"Direction": {
"type": "string",
"description": "Filter messages to use from the trace source by their direction. May be Send, Receive or Both",
"enum": ["Send", "Receive", "Both"]
},
"MdfChannel": {
"type": "object",
"properties": {
"ChannelName": {
"type": "string",
"description": "Name of an MDF channel in the trace source"
},
"ChannelSource": {
"type": "string",
"description": "Name of an MDF channel's source information object"
},
"ChannelPath": {
"type": "string",
"description": "Path of an MDF channel's source information object"
},
"GroupName": {
"type": "string",
"description": "Name of an MDF channel group"
},
"GroupSource": {
"type": "string",
"description": "Name of an MDF channel group's source information object"
},
"GroupPath": {
"type": "string",
"description": "Path of an MDF channel group's source information object"
}
}
}
}
},
"FlexrayClusterParameters": {
"type": "object",
"properties": {
"gColdstartAttempts": {
"type": "integer",
"minimum": 2,
"maximum": 31,
"description": "Number of attempts for a cold start before giving up (range 2-31)"
},
"gCycleCountMax": {
"type": "integer",
"minimum": 7,
"maximum": 63,
"description": "Max cycle count value in a given cluster (range 7-63, must be an odd integer)"
},
"gdActionPointOffset": {
"type": "integer",
"minimum": 1,
"maximum": 63,
"description": "Time offset for a static slot in macroticks (range 1 - 63)"
},
"gdDynamicSlotIdlePhase": {
"type": "integer",
"minimum": 0,
"maximum": 2,
"description": "Duration of the idle phase within a dynamic slot in gdMiniSlots (range 0 - 2)"
},
"gdMiniSlot": {
"type": "integer",
"minimum": 2,
"maximum": 63,
"description": "Duration of a mini slot in macroticks (2 - 63)"
},
"gdMiniSlotActionPointOffset": {
"type": "integer",
"minimum": 1,
"maximum": 31,
"description": "Time offset for a mini slot in macroticks (range 1- 31)"
},
"gdStaticSlot": {
"type": "integer",
"minimum": 3,
"maximum": 664,
"description": "Duration of a static slot in macroticks (range 3 - 664)"
},
"gdSymbolWindow": {
"type": "integer",
"minimum": 0,
"maximum": 162,
"description": "Duration of the symbol window in macroticks (range 0 - 162)"
},
"gdSymbolWindowActionPointOffset": {
"type": "integer",
"minimum": 1,
"maximum": 63,
"description": "Time offset for a static symbol windows in macroticks (range 1 - 63)"
},
"gdTSSTransmitter": {
"type": "integer",
"minimum": 1,
"maximum": 15,
"description": "Duration of TSS (Transmission Start Sequence) in gdBits (range 1 - 15)"
},
"gdWakeupTxActive": {
"type": "integer",
"minimum": 15,
"maximum": 60,
"description": "Duration of LOW Phase of a wakeup symbol in gdBit (range 15 - 60)"
},
"gdWakeupTxIdle": {
"type": "integer",
"minimum": 45,
"maximum": 180,
"description": "Duration of the idle of a wakeup symbol in gdBit (45 - 180)"
},
"gListenNoise": {
"type": "integer",
"minimum": 2,
"maximum": 16,
"description": "Upper limit for the startup listen timeout and wakeup listen timeout in the presence of noise; Used as a multiplier of pdListenTimeout (range 2 - 16)"
},
"gMacroPerCycle": {
"type": "integer",
"minimum": 8,
"maximum": 16000,
"description": "Number of macroticks per cycle (range 8 - 16000)"
},
"gMaxWithoutClockCorrectionFatal": {
"type": "integer",
"minimum": 1,
"maximum": 15,
"description": "Threshold used for testing the vClockCorrectionFailed counter (range 1 - 15)"
},
"gMaxWithoutClockCorrectionPassive": {
"type": "integer",
"minimum": 1,
"maximum": 15,
"description": "Threshold used for testing the vClockCorrectionFailed counter (range 1 - 15)"
},
"gNumberOfMiniSlots": {
"type": "integer",
"minimum": 0,
"maximum": 7988,
"description": "Number of mini slots (range 0 - 7988)"
},
"gNumberOfStaticSlots": {
"type": "integer",
"minimum": 2,
"maximum": 1023,
"description": "Number of static slots in a cycle (range 2 - 1023)"
},
"gPayloadLengthStatic": {
"type": "integer",
"minimum": 0,
"maximum": 127,
"description": "Length of the payload of a static frame in 16-Bits words (range 0 - 127)"
},
"gSyncFrameIDCountMax": {
"type": "integer",
"minimum": 2,
"maximum": 15,
"description": "Maximum number of distinct sync frame identifiers present in a given cluster (range 2 - 15)"
}
}
},
"FlexrayNodeParameters": {
"type": "object",
"properties": {
"pAllowHaltDueToClock": {
"type": "integer",
"minimum": 0,
"maximum": 1,
"description": "Controls the transition to halt state due to clock synchronization errors. (values 0, 1)"
},
"pAllowPassiveToActive": {
"type": "integer",
"minimum": 0,
"maximum": 31,
"description": "Required number of consecutive even / odd cycle pairs for normal passive to normal active (range 0 - 31)"
},
"pChannels": {
"type": "string",
"enum": ["A", "B", "AB", "None"],
"description": "Channel(s) to which the controller is connected"
},
"pClusterDriftDamping": {
"type": "integer",
"minimum": 0,
"maximum": 10,
"description": "Cluster drift damping factor for rate correction in microticks (range 0 - 10)"
},
"pdAcceptedStartupRange": {
"type": "integer",
"minimum": 29,
"maximum": 2743,
"description": "Allowed deviation for startup frames during integration in microticks (range 29 - 2743)"
},
"pdListenTimeout": {
"type": "integer",
"minimum": 1926,
"maximum": 2567692,
"description": "Duration of listen phase in microticks (range 1926 - 2567692)"
},
"pKeySlotId": {
"type": "integer",
"minimum": 0,
"maximum": 1023,
"description": "Slot ID of the key slot (range 0 - 1023; value 0 means that there is no key slot)"
},
"pKeySlotOnlyEnabled": {
"type": "integer",
"minimum": 0,
"maximum": 1,
"description": "Shall the node enter key slot only mode after startup. (values 0, 1) (AUTOSAR pSingleSlotEnabled)"
},
"pKeySlotUsedForStartup": {
"type": "integer",
"minimum": 0,
"maximum": 1,
"description": "Key slot is used for startup (values 0, 1)"
},
"pKeySlotUsedForSync": {
"type": "integer",
"minimum": 0,
"maximum": 1,
"description": "Key slot is used for sync (values 0, 1)"
},
"pLatestTx": {
"type": "integer",
"minimum": 0,
"maximum": 7988,
"description": "Last mini slot which can be transmitted (range 0 - 7988)"
},
"pMacroInitialOffsetA": {
"type": "integer",
"minimum": 2,
"maximum": 68,
"description": "Initial startup offset for frame reference point on channel A (range 2 - 68 macroticks)"
},
"pMacroInitialOffsetB": {
"type": "integer",
"minimum": 2,
"maximum": 68,
"description": "Initial startup offset for frame reference point on channel B (range 2 - 68 macroticks)"
},
"pMicroInitialOffsetA": {
"type": "integer",
"minimum": 0,
"maximum": 239,
"description": "Offset between secondary time reference and MT boundary (range 0 - 239 microticks)"
},
"pMicroInitialOffsetB": {
"type": "integer",
"minimum": 0,
"maximum": 239,
"description": "Offset between secondary time reference and MT boundary (range 0 - 239 microticks)"
},
"pMicroPerCycle": {
"type": "integer",
"minimum": 960,
"maximum": 1280000,
"description": "Nominal number of microticks in the communication cycle (range 960 - 1280000)"
},
"pOffsetCorrectionOut": {
"type": "integer",
"minimum": 15,
"maximum": 16082,
"description": "Maximum permissible offset correction value (range 15 - 16082 microticks)"
},
"pOffsetCorrectionStart": {
"type": "integer",
"minimum": 7,
"maximum": 15999,
"description": "Start of the offset correction phase within the NIT, (7 - 15999 macroticks)"
},
"pRateCorrectionOut": {
"type": "integer",
"minimum": 3,
"maximum": 3846,
"description": "Maximum permissible rate correction value (range 3 - 3846 microticks)"
},
"pWakeupChannel": {
"type": "string",
"enum": ["A", "B"],
"description": "Channel used by the node to send a wakeup pattern"
},
"pWakeupPattern": {
"type": "integer",
"minimum": 0,
"maximum": 63,
"description": "Number of repetitions of the wakeup symbol (range 0 - 63, value 0 or 1 prevents sending of WUP)"
},
"pdMicrotick": {
"type": "string",
"enum": ["12.5ns", "25ns", "50ns"],
"description": "Duration of a FlexRay microtick"
},
"pSamplesPerMicrotick": {
"type": "integer",
"minimum": 1,
"maximum": 2,
"description": "Number of samples per microtick (values 1, 2)"
}
}
},
"FlexrayTxBufferConfigurations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"channels": {
"type": "string",
"enum": ["A", "B", "AB", "None"],
"description": "Channel(s)"
},
"slotId": {
"type": "integer",
"minimum": 0,
"maximum": 65535,
"description": "The slot Id of frame"
},
"offset": {
"type": "integer",
"minimum": 0,
"maximum": 63,
"description": "Base offset for cycle multiplexing (values 0 - 63)"
},
"repetition": {
"type": "integer",
"minimum": 0,
"maximum": 64,
"description": "Repetition for cycle multiplexing (values 1, 2, 4, 8, 16, 32, 64)"
},
"PPindicator": {
"type": "boolean",
"description": "Set the PPindicator"
},
"headerCrc": {
"type": "integer",
"description": "Header CRC, 11 bits"
},
"transmissionMode": {
"type": "string",
"enum": ["SingleShot", "Continuous"],
"description": "SingleShot or Continuous transmission mode"
}
}
}
},
"FlexrayController": {
"type": "object",
"properties": {
"Name": {
"$ref": "#/definitions/Name"
},
"Network": {
"$ref": "#/definitions/Network"
},
"UseTraceSinks": {
"$ref": "#/definitions/UseTraceSinks"
},
"Replay": {
"$ref": "#/definitions/Replay"
},
"ClusterParameters": {
"$ref": "#/definitions/FlexrayClusterParameters"
},
"NodeParameters": {
"$ref": "#/definitions/FlexrayNodeParameters"
},
"TxBufferConfigurations": {
"$ref": "#/definitions/FlexrayTxBufferConfigurations"
}
},
"additionalProperties": false,
"required": ["Name"]
},
"FlexrayControllers": {
"type": "array",
"description": "Reconfigures the FlexrayControllers of the participant",
"items": {
"$ref": "#/definitions/FlexrayController"
}
},
"Topic": {
"type": "string",
"description": "Name of the communication channel between DataPublisher and DataSubscribers"
},
"RpcFunctionName": {
"type": "string",
"description": "Name of the RPC function called by RpcClients on RpcServers"
},
"Logging": {
"type": "object",
"description": "Configures the properties of the SIL Kit Logging Service",
"properties": {
"LogFromRemotes": {
"type": "boolean",
"description": "Enables receiving of remote log messages from other participants",
"default": false
},
"FlushLevel": {
"type": "string",
"enum": ["Critical", "Error", "Warn", "Info", "Debug", "Trace", "Off"]
},
"Sinks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Type": {
"type": "string",
"enum": ["Remote", "File", "Stdout"]
},
"Level": {
"type": "string",
"enum": [
"Critical",
"Error",
"Warn",
"Info",
"Debug",
"Trace",
"Off"
],
"default": "Info"
},
"LogName": {
"type": "string",
"description": "Log name; Results in the following filename: <LogName>_%y-%m-%dT%h-%m-%s.txt"
}
},
"additionalProperties": false,
"required": ["Type"]
}
}
},
"additionalProperties": false,
"required": ["Sinks"]
}
},
"description": "JSON schema for SIL Kit Participant configuration files",
"properties": {
"$schema": {
"type": "string",
"description": "The schema file",
"default": "",
"examples": ["./ParticipantConfiguration.schema.json"]
},
"schemaVersion": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"default": 0,
"description": "Version of the schema used to validate this document"
},
"Description": {
"$ref": "#/definitions/Description"
},
"ParticipantName": {
"type": "string",
"description": "Name of the participant"
},
"CanControllers": {
"type": "array",
"description": "Reconfigures the CanControllers of the participant",
"items": {
"type": "object",
"properties": {
"Name": {
"$ref": "#/definitions/Name"
},
"Network": {
"$ref": "#/definitions/Network"
},
"UseTraceSinks": {
"$ref": "#/definitions/UseTraceSinks"
},
"Replay": {
"$ref": "#/definitions/Replay"
}
},
"additionalProperties": false,
"required": ["Name"]
}
},
"LinControllers": {
"type": "array",
"description": "Reconfigures the LinControllers of the participant",
"items": {
"type": "object",
"properties": {
"Name": {
"$ref": "#/definitions/Name"
},
"Network": {
"$ref": "#/definitions/Network"
},
"UseTraceSinks": {
"$ref": "#/definitions/UseTraceSinks"
},
"Replay": {
"$ref": "#/definitions/Replay"
}
},
"additionalProperties": false,
"required": ["Name"]
}
},
"FlexrayControllers": {
"$ref": "#/definitions/FlexrayControllers"
},
"EthernetControllers": {
"type": "array",
"description": "Reconfigures the EthernetControllers of the participant",
"items": {
"type": "object",
"properties": {
"Name": {
"$ref": "#/definitions/Name"
},
"Network": {
"$ref": "#/definitions/Network"
},
"UseTraceSinks": {
"$ref": "#/definitions/UseTraceSinks"
},
"Replay": {
"$ref": "#/definitions/Replay"
}
},
"additionalProperties": false,
"required": ["Name"]
}
},
"DataPublishers": {
"type": "array",
"description": "Reconfigures the DataPublishers of the participant",
"items": {
"type": "object",
"properties": {
"Name": {
"$ref": "#/definitions/Name"
},
"Topic": {
"$ref": "#/definitions/Topic"
}
},
"additionalProperties": false,
"required": ["Name"]
}
},
"DataSubscribers": {
"type": "array",
"description": "Reconfigures the DataSubscribers of the participant",
"items": {
"type": "object",
"properties": {
"Name": {
"$ref": "#/definitions/Name"
},
"Topic": {
"$ref": "#/definitions/Topic"
}
},
"additionalProperties": false,
"required": ["Name"]
}
},
"RpcClients": {
"type": "array",
"description": "Reconfigures the RpcClients of the participant",
"items": {
"type": "object",
"properties": {
"Name": {
"$ref": "#/definitions/Name"
},
"FunctionName": {
"$ref": "#/definitions/RpcFunctionName"
}
},
"additionalProperties": false,
"required": ["Name"]
}
},
"RpcServers": {
"type": "array",
"description": "Reconfigures the RpcServers of the participant",
"items": {
"type": "object",
"properties": {
"Name": {
"$ref": "#/definitions/Name"
},
"FunctionName": {
"$ref": "#/definitions/RpcFunctionName"
}
},
"additionalProperties": false,
"required": ["Name"]
}
},
"Logging": {
"$ref": "#/definitions/Logging"
},
"HealthCheck": {
"type": "object",
"description": "Node to configure properties to determine the health status of the simulation",
"properties": {
"SoftResponseTimeout": {
"type": "integer",
"description": "If a simulation step is not finished before this limit, a warning is logged. Optional; Unit is in milliseconds"
},
"HardResponseTimeout": {
"type": "integer",
"description": "If a simulation step is not finished before this limit, the participant enters error state. Optional; Unit is in milliseconds"
}
},
"additionalProperties": false
},
"Tracing": {
"type": "object",
"description": "Configures the tracing service of the participant",
"properties": {
"TraceSinks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Name": {
"type": "string",
"description": "Name of the trace sink"
},
"OutputPath": {
"type": "string",
"description": "File path of output file"
},
"Type": {
"type": "string",
"enum": ["PcapFile", "PcapPipe", "Mdf4File"],
"description": "File format specifier"
}
},
"additionalProperties": false
}
},
"TraceSources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Name": {
"type": "string",
"description": "Name of the trace source",
"examples": ["SomeTraceSource"]
},
"InputPath": {
"type": "string",
"description": "File path of input file"
},
"Type": {
"type": "string",
"enum": ["PcapFile", "PcapPipe", "Mdf4File"],
"description": "File format specifier"
}
},
"additionalProperties": false
}
}
}
},
"Extensions": {
"type": "object",
"description": "Optional configuration for the extension loading mechanism",
"properties": {
"SearchPathHints": {
"type": "array",
"items": {
"type": "string",
"description": "A filesystem path to additionally search for extensions"
}
}
},
"additionalProperties": false
},
"Middleware": {
"type": "object",
"description": "Optional configuration of the SIL Kit middleware",
"properties": {
"RegistryUri": {
"type": "string",
"default": "silkit://localhost:8500"
},
"ConnectAttempts": {
"type": "integer",
"default": "1"
},
"TcpNoDelay": {
"type": "boolean",
"default": true
},
"TcpQuickAck": {
"type": "boolean",
"default": false
},
"TcpSendBufferSize": {
"type": "integer"
},
"TcpReceiveBufferSize": {
"type": "integer"
},
"EnableDomainSockets": {
"type": "boolean",
"default": true
}
},
"additionalProperties": false
}
},
"type": "object"
}
| sil-kit-participant-configuration |
{
"description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.",
"properties": {
"name": {
"description": "`name` is the name of the priority level configuration being referenced Required.",
"type": [
"string",
"null"
]
}
},
"required": [
"name"
],
"type": "object"
} | kb_773_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/v0_4/trait-version.json",
"title": "Describes the ANS version of this object",
"description": "The version of ANS that this object was serialized as.",
"type": "object",
"properties": {
"version": {
"description": "The version string, with in major.minor.patch format",
"type": "string"
}
},
"required": [
"version"
]
} | o87861 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "avalon-core:representation-1.0",
"description": "The inverse of an instance",
"type": "object",
"additionalProperties": true,
"required": [
"schema",
"format",
"path"
],
"properties": {
"schema": {
"type": "string"
},
"format": {
"description": "File extension, including '.'",
"type": "string"
},
"path": {
"description": "Unformatted path to version.",
"type": "string"
}
}
} | o60869 |
{
"id": "http://schemas.triniti.io/json-schema/triniti/people/mixin/person/1-0-0.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"_id": {
"type": "string",
"pattern": "^[\\w\\/\\.:-]+$",
"pbj": {
"type": "identifier",
"rule": "single",
"overridable": true
}
},
"status": {
"type": "string",
"default": "draft",
"enum": [
"unknown",
"published",
"scheduled",
"pending",
"draft",
"expired",
"archived",
"deleted"
],
"pbj": {
"type": "string-enum",
"rule": "single"
}
},
"etag": {
"type": "string",
"pattern": "^[\\w\\.:-]+$",
"pbj": {
"type": "string",
"rule": "single"
}
},
"created_at": {
"type": "string",
"pattern": "^[1-9]{1}[0-9]{12,15}$",
"pbj": {
"type": "microtime",
"rule": "single"
}
},
"creator_ref": {
"type": "object",
"properties": {
"curie": {
"type": "string",
"pattern": "^([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+)$",
"minLength": 0,
"maxLength": 146
},
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9:_\\-]+$",
"minLength": 0,
"maxLength": 255
},
"tag": {
"type": "string",
"pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$",
"minLength": 0,
"maxLength": 255
}
},
"required": [
"curie",
"id"
],
"additionalProperties": false,
"description": "A fully qualified reference to what created this node. This is intentionally a message-ref and not a user id because it is often a program that creates nodes, not a user.",
"pbj": {
"type": "message-ref",
"rule": "single"
}
},
"updated_at": {
"type": "string",
"pattern": "^[1-9]{1}[0-9]{12,15}$",
"pbj": {
"type": "microtime",
"rule": "single",
"useTypeDefault": false
}
},
"updater_ref": {
"type": "object",
"properties": {
"curie": {
"type": "string",
"pattern": "^([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+)$",
"minLength": 0,
"maxLength": 146
},
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9:_\\-]+$",
"minLength": 0,
"maxLength": 255
},
"tag": {
"type": "string",
"pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$",
"minLength": 0,
"maxLength": 255
}
},
"required": [
"curie",
"id"
],
"additionalProperties": false,
"description": "A fully qualified reference to what updated this node. This is intentionally a message-ref and not a user id because it is often a program that updates nodes, not a user. E.g. \"acme:iam:node:app:cli-scheduler\" or \"acme:iam:node:user:60c71df0-fda8-11e5-bfb9-30342d363854\"",
"pbj": {
"type": "message-ref",
"rule": "single"
}
},
"last_event_ref": {
"type": "object",
"properties": {
"curie": {
"type": "string",
"pattern": "^([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+)$",
"minLength": 0,
"maxLength": 146
},
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9:_\\-]+$",
"minLength": 0,
"maxLength": 255
},
"tag": {
"type": "string",
"pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$",
"minLength": 0,
"maxLength": 255
}
},
"required": [
"curie",
"id"
],
"additionalProperties": false,
"description": "A reference to the last event that changed the state of this node. E.g. \"acme:blog:event:article-published:60c71df0-fda8-11e5-bfb9-30342d363854\"",
"pbj": {
"type": "message-ref",
"rule": "single"
}
},
"title": {
"type": "string",
"minLength": 0,
"maxLength": 255,
"pbj": {
"type": "string",
"rule": "single"
}
},
"image_ref": {
"type": "string",
"pattern": "^[\\w\\/\\.:-]+$",
"description": "A reference to the image asset to use for widgets, sharing, seo.",
"pbj": {
"type": "identifier",
"rule": "single"
}
},
"bio": {
"type": "string",
"minLength": 0,
"maxLength": 65535,
"description": "A short bio of the person. It should typically not have HTML as it is used in metadata, feeds, SERP and social.",
"pbj": {
"type": "text",
"rule": "single"
}
},
"bio_source": {
"type": "string",
"pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$",
"minLength": 0,
"maxLength": 255,
"description": "Indicates where the bio data originated from, e.g. imdb, freebase, custom.",
"pbj": {
"type": "string",
"rule": "single",
"format": "slug"
}
},
"imdb_url": {
"type": "string",
"pattern": "^(https?:\\/\\/)?([\\da-z\\.-]+)\\.([a-z\\.]{2,6})([\\/\\w \\.-]*)*\\/?$",
"pbj": {
"type": "text",
"rule": "single",
"format": "url"
}
},
"twitter_username": {
"type": "string",
"pattern": "^\\w{1,15}$",
"pbj": {
"type": "string",
"rule": "single"
}
},
"is_celebrity": {
"type": "boolean",
"pbj": {
"type": "boolean",
"rule": "single"
}
}
},
"required": [
"_id"
],
"additionalProperties": true
} | o83026 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_LimitResponse": {
"description": "LimitResponse defines how to handle requests that can not be executed right now.",
"properties": {
"queuing": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_QueuingConfiguration",
"description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`."
},
"type": {
"description": "`type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required.",
"type": "string"
}
},
"required": [
"type"
],
"type": "object",
"x-kubernetes-unions": [
{
"discriminator": "type",
"fields-to-discriminateBy": {
"queuing": "Queuing"
}
}
]
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_LimitedPriorityLevelConfiguration": {
"description": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?",
"properties": {
"assuredConcurrencyShares": {
"_format": "int32",
"description": "`assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) --- the number of requests that may be executing at a time --- for each such priority level:\n\n ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) )\n\nbigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30.",
"type": "integer"
},
"limitResponse": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_LimitResponse",
"description": "`limitResponse` indicates what to do with requests that can not be executed right now"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_QueuingConfiguration": {
"description": "QueuingConfiguration holds the configuration parameters for queuing",
"properties": {
"handSize": {
"_format": "int32",
"description": "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8.",
"type": "integer"
},
"queueLengthLimit": {
"_format": "int32",
"description": "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50.",
"type": "integer"
},
"queues": {
"_format": "int32",
"description": "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64.",
"type": "integer"
}
},
"type": "object"
}
},
"description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.",
"properties": {
"limited": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_LimitedPriorityLevelConfiguration",
"description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`."
},
"type": {
"description": "`type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.",
"type": [
"string",
"null"
]
}
},
"required": [
"type"
],
"type": "object",
"x-kubernetes-unions": [
{
"discriminator": "type",
"fields-to-discriminateBy": {
"limited": "Limited"
}
}
]
} | kb_774_Normalized |
{
"@context": [
"http://w3c.github.io/wot/w3c-wot-td-context.jsonld",
{
"st": "http://example.org/smartthings#"
}
],
"@type": "capability",
"name": "switchlevel",
"encodings": [
"JSON"
],
"uris": [
"level"
],
"properties": {
"valueType": {
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "number",
"minimum": 0,
"maximum": 100
},
"writable": false
},
"actions": [
{
"@type": "st:setlevel",
"name": "setlevel",
"inputData": {
"valueType": {
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"level"
],
"properties": {
"level": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"transitiontime": {
"type": "number",
"minumum": 0,
"maximum": 6553
}
}
}
}
}
]
}
| o46906 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"required": [
"config",
"inputs"
],
"type": "object",
"properties": {
"inputs": {
"required": [
"LogConfig",
"file"
],
"type": "object",
"properties": {
"LogConfig": {
"required": [
"base",
"found",
"value"
],
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"base": {
"type": "string"
},
"value": {}
}
},
"file": {
"type": "object",
"properties": {
"type": {
"enum": [
"text",
"tabular data"
]
}
}
}
}
},
"config": {
"type": "object",
"properties": {}
}
},
"title": "Invocation manifest for Task tsv Converter"
} | o41358 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_policy_v1beta1_IDRange": {
"description": "IDRange provides a min/max of an allowed range of IDs.",
"properties": {
"max": {
"_format": "int64",
"description": "max is the end of the range, inclusive.",
"type": "integer"
},
"min": {
"_format": "int64",
"description": "min is the start of the range, inclusive.",
"type": "integer"
}
},
"required": [
"min",
"max"
],
"type": "object"
}
},
"description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.",
"properties": {
"ranges": {
"description": "ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_policy_v1beta1_IDRange"
},
"type": [
"array",
"null"
]
},
"rule": {
"description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext.",
"type": [
"string",
"null"
]
}
},
"type": "object"
} | kb_374_Normalized |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_admissionregistration_v1beta1_RuleWithOperations": {
"description": "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.",
"properties": {
"apiGroups": {
"description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.",
"items": {
"type": "string"
},
"type": "array"
},
"apiVersions": {
"description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.",
"items": {
"type": "string"
},
"type": "array"
},
"operations": {
"description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required.",
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"description": "scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\".",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_admissionregistration_v1beta1_ServiceReference": {
"description": "ServiceReference holds a reference to Service.legacy.k8s.io",
"properties": {
"name": {
"description": "`name` is the name of the service. Required",
"type": "string"
},
"namespace": {
"description": "`namespace` is the namespace of the service. Required",
"type": "string"
},
"path": {
"description": "`path` is an optional URL path which will be sent in any request to this service.",
"type": "string"
},
"port": {
"_format": "int32",
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).",
"type": "integer"
}
},
"required": [
"namespace",
"name"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_admissionregistration_v1beta1_WebhookClientConfig": {
"description": "WebhookClientConfig contains the information to make a TLS connection with the webhook",
"properties": {
"caBundle": {
"_format": "byte",
"description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.",
"type": "string"
},
"service": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_admissionregistration_v1beta1_ServiceReference",
"description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`."
},
"url": {
"description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector": {
"description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
"properties": {
"matchExpressions": {
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement"
},
"type": "array"
},
"matchLabels": {
"additionalProperties": {
"type": "string"
},
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"type": "object"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement": {
"description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
"properties": {
"key": {
"description": "key is the label key that the selector applies to.",
"type": "string",
"x-kubernetes-patch-merge-key": "key",
"x-kubernetes-patch-strategy": "merge"
},
"operator": {
"description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
"type": "string"
},
"values": {
"description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"key",
"operator"
],
"type": "object"
}
},
"description": "Webhook describes an admission webhook and the resources and operations it applies to.",
"properties": {
"admissionReviewVersions": {
"description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.",
"items": {
"type": [
"string",
"null"
]
},
"type": [
"array",
"null"
]
},
"clientConfig": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_admissionregistration_v1beta1_WebhookClientConfig",
"description": "ClientConfig defines how to communicate with the hook. Required"
},
"failurePolicy": {
"description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.",
"type": [
"string",
"null"
]
},
"name": {
"description": "The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required.",
"type": [
"string",
"null"
]
},
"namespaceSelector": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector",
"description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything."
},
"rules": {
"description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_admissionregistration_v1beta1_RuleWithOperations"
},
"type": [
"array",
"null"
]
},
"sideEffects": {
"description": "SideEffects states whether this webhookk has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.",
"type": [
"string",
"null"
]
},
"timeoutSeconds": {
"_format": "int32",
"description": "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.",
"type": "integer"
}
},
"required": [
"name",
"clientConfig"
],
"type": "object"
} | kb_1144_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Automation Template Definitions",
"description": "This schema is used for verification of JSON objects used for creation of Automation Object Templates.",
"oneOf": [
{
"type": "object",
"title": "Rule Template",
"description": "Rule Template Definition",
"additionalProperties": false,
"required": [
"uid",
"triggers",
"actions"
],
"properties": {
"label": {
"type": "string",
"title": "Rule Template Label",
"description": "Short (one word) user friendly name of the Rule Template."
},
"uid": {
"type": "string",
"pattern": "[A-Za-z0-9_-]*",
"title": "Rule Template UID",
"description": "An unique identifier of the Rule Template in scope of the Template Registry."
},
"tags": {
"type": "array",
"title": "Rule Template Tags",
"description": "Non-hierarchical keywords or terms describing the Rule. They help to classify the rule templates and allow them to be found.",
"minItems": 1,
"items": {
"type": "string",
"title": "Tag",
"description": "Keyword or term describing the Rule Template."
}
},
"description": {
"type": "string",
"title": "Rule Template Description",
"description": "A brief description of what the rule is and for what it is used."
},
"visibility": {
"enum": [
"VISIBLE",
"HIDDEN",
"EXPERT"
],
"default": "VISIBLE",
"title": "Visibility",
"description": "Defines visibility of the Rule Template."
},
"configDescriptions": {
"type": "array",
"title": "Rule Template Configuration Descriptor",
"description": "Used to describe the configuration parameters of the Rule Template.",
"minItems": 1,
"items": {
"type": "object",
"title": "Configuration Property Description",
"description": "Description of property for configuring the Rule Template.",
"additionalProperties": false,
"required": [
"name",
"type"
],
"properties": {
"name": {
"pattern": "[A-Za-z0-9_-]*",
"type": "string",
"title": "Configuration Parameter Name",
"description": "Identifies uniquely the configuration parameter in scope of the Rule Template."
},
"type": {
"enum": [
"TEXT",
"INTEGER",
"DECIMAL",
"BOOLEAN"
],
"title": "Configuration Parameter Type",
"description": "Property declaring the data type of the configuration parameter."
},
"label": {
"type": "string",
"title": "Configuration Parameter Label",
"description": "A human understandable label of the Configuration Parameter."
},
"description": {
"type": "string",
"title": "Configuration Parameter Description",
"description": "A human understandable description of the Configuration Parameter."
},
"required": {
"type": "boolean",
"default": false,
"title": "Required Configuration Parameter",
"description": "Specifies whether the value is required."
},
"min": {
"type": "number",
"title": "Configuration Parameter Minimum Allowed Value",
"description": "The minimal value for numeric types, or the minimal length of strings, or the minimal number of selected options."
},
"max": {
"type": "number",
"title": "Configuration Parameter Maximum Allowed Value",
"description": "The maximal value for numeric types, or the maximal length of strings, or the maximal number of selected options."
},
"step": {
"type": "number",
"title": "Configuration Parameter Step",
"description": "The value granularity for a numeric value"
},
"pattern": {
"type": "string",
"title": "Configuration Parameter Pattern",
"description": "The regular expression for a text type."
},
"readOnly": {
"type": "boolean",
"default": false,
"title": "Readable Configuration Parameter",
"description": "Specifies whether the value is read-only."
},
"multiple": {
"type": "boolean",
"default": false,
"title": "Multiple Configuration Parameter",
"description": "Specifies whether multiple selections of options are allowed."
},
"multipleLimit": {
"type": "number",
"title": "Multiple Configuration Parameter Limit",
"description": "Specifies the maximum number of options that can be selected when multiple is true."
},
"context": {
"type": "string",
"title": "Configuration Parameter Context",
"description": "Serves to determine how to treat the value of the Configuration Parameter."
},
"defaultValue": {
"type": "string",
"title": "Configuration Parameter Default Value",
"description": "Declaring a default value for the Configuration Parameter if missing."
},
"unit": {
"type": "string",
"title": "Configuration Parameter Unit",
"description": "Specifies the unit of measurements for the configuration parameter."
},
"unitLabel": {
"type": "string",
"title": "Configuration Parameter Unit Label",
"description": "Specifies the unit label for the configuration parameter. This attribute can also be used to provide natural language units as iterations, runs, etc."
},
"filterCriteria": {
"type": "array",
"title": "Configuration Parameter Filter",
"description": "Criteria for dynamic selection of values.",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
},
"options": {
"type": "array",
"title": "Configuration Parameter Options",
"description": "List of definitions of the parameter for static selection.",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"label",
"value"
],
"properties": {
"label": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
},
"limitToOptions": {
"type": "boolean",
"default": false,
"title": "limit To Options",
"description": "Specifies that the users input is limited to the options list. When set to true without options, this should have no affect. When set to true with options, the user can only select the options from the list When set to false with options, the user can enter values other than those in the list."
},
"groupName": {
"type": "string",
"title": "Configuration Parameter Group Name",
"description": "A string used to group parameters together into logical blocks so that the UI can display them together."
},
"advanced": {
"type": "boolean",
"default": false,
"title": "An Advanced Configuration Parameter",
"description": "Specifies if this is an advanced parameter. An advanced parameter can be hidden in the UI to focus the user on important configuration."
}
}
}
},
"triggers": {
"type": "array",
"minItems": 1,
"title": "Trigger Modules",
"description": "Contains definitions of the Trigger Modules of the Rule Template.",
"items": {
"type": "object",
"title": "Trigger Module",
"description": "Defines the fact which triggers the Rule execution.",
"additionalProperties": false,
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "string",
"pattern": "[A-Za-z0-9_-]*",
"title": "Trigger ID",
"description": "Identifies uniquely the Module in scope of the Rule Template."
},
"label": {
"type": "string",
"title": "Trigger Label",
"description": "Short (one word) user friendly name of the Module."
},
"description": {
"type": "string",
"title": "Trigger Description",
"description": "A brief description of what the Trigger is and for what it is used."
},
"type": {
"type": "string",
"pattern": "[A-Za-z0-9_-]*",
"title": "Trigger Module Type UID",
"description": "Identifies the Module Type used for creation of the Trigger Module."
},
"configuration": {
"type": "object",
"title": "Trigger Configuration",
"description": "Used to define values of the configuration parameters of the Trigger."
}
}
}
},
"conditions": {
"type": "array",
"minItems": 1,
"title": "Condition Modules",
"description": "Contains definitions of Condition Modules of the Rule Template.",
"items": {
"type": "object",
"title": "Condition Module",
"description": "Defines the condition which permit to proceed with the Rule execution.",
"additionalProperties": false,
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "string",
"pattern": "[A-Za-z0-9_-]*",
"title": "Condition uid",
"description": "Identifies uniquely the Module in scope of the Rule Template."
},
"label": {
"type": "string",
"title": "Condition Label",
"description": "Short (one word) user friendly name of the Module."
},
"description": {
"type": "string",
"title": "Condition Description",
"description": "A brief description of what the Condition is and for what it is used."
},
"type": {
"type": "string",
"pattern": "[A-Za-z0-9_-]*",
"title": "Condition Module Type UID",
"description": "Identifies the Module Type used for creation of the Condition."
},
"configuration": {
"type": "object",
"title": "Condition Configuration",
"description": "Used to define values of the configuration parameters of the Condition."
},
"inputs": {
"type": "object",
"title": "Condition Input",
"description": "Contains pairs of Input Name and Output reference in format - Module ID : Output Name."
}
}
}
},
"actions": {
"type": "array",
"minItems": 1,
"title": "Action Modules",
"description": "Contains definitions of Action Modules of the Rule Template.",
"items": {
"type": "object",
"title": "Action Module",
"description": "Defines an Action which has to be executed by the Rule.",
"additionalProperties": false,
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "string",
"pattern": "[A-Za-z0-9_-]*",
"title": "Action ID",
"description": "Identifies uniquely the Module in scope of the Rule Template."
},
"label": {
"type": "string",
"title": "Action Label",
"description": "Short (one word) user friendly name of the Module."
},
"description": {
"type": "string",
"title": "Action Description",
"description": "A brief description of what the Action is and for what it is used."
},
"type": {
"type": "string",
"pattern": "[A-Za-z0-9_-]*",
"title": "Action Module Type UID",
"description": "Identifies the Module Type used for creation of the Action."
},
"configuration": {
"type": "object",
"title": "Action Configuration",
"description": "Used to define values of the configuration parameters of the Action."
},
"inputs": {
"type": "object",
"title": "Action Input",
"description": "Contains pairs of Input Name and Output reference in format - Module ID : Output Name."
},
"outputs": {
"type": "object",
"title": "Action Output",
"description": "Contains pairs of Output Name and Output reference. The reference defines what part of a complex data has to be used as value of this output."
}
}
}
}
}
},
{
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"title": "Rule Template",
"description": "Rule Template Definition",
"additionalProperties": false,
"required": [
"uid",
"triggers",
"actions"
],
"properties": {
"label": {
"type": "string",
"title": "Rule Template Label",
"description": "Short (one word) user friendly name of the Rule Template."
},
"uid": {
"type": "string",
"pattern": "[A-Za-z0-9_-]*",
"title": "Rule Template UID",
"description": "An unique identifier of the Rule Template in scope of the Template Registry."
},
"tags": {
"type": "array",
"title": "Rule Template Tags",
"description": "Non-hierarchical keywords or terms describing the Rule. They help to classify the rule templates and allow them to be found.",
"minItems": 1,
"items": {
"type": "string",
"title": "Tag",
"description": "Keyword or term describing the Rule Template."
}
},
"description": {
"type": "string",
"title": "Rule Template Description",
"description": "A brief description of what the rule is and for what it is used."
},
"visibility": {
"enum": [
"VISIBLE",
"HIDDEN",
"EXPERT"
],
"default": "VISIBLE",
"title": "Visibility",
"description": "Defines visibility of the Rule Template."
},
"configDescriptions": {
"type": "array",
"title": "Rule Template Configuration Descriptor",
"description": "Used to describe the configuration parameters of the Rule Template.",
"minItems": 1,
"items": {
"type": "object",
"title": "Configuration Property Description",
"description": "Description of property for configuring the Rule Template.",
"additionalProperties": false,
"required": [
"name",
"type"
],
"properties": {
"name": {
"pattern": "[A-Za-z0-9_-]*",
"type": "string",
"title": "Configuration Parameter Name",
"description": "Identifies uniquely the configuration parameter in scope of the Rule Template."
},
"type": {
"enum": [
"TEXT",
"INTEGER",
"DECIMAL",
"BOOLEAN"
],
"title": "Configuration Parameter Type",
"description": "Property declaring the data type of the configuration parameter."
},
"label": {
"type": "string",
"title": "Configuration Parameter Label",
"description": "A human understandable label of the Configuration Parameter."
},
"description": {
"type": "string",
"title": "Configuration Parameter Description",
"description": "A human understandable description of the Configuration Parameter."
},
"required": {
"type": "boolean",
"default": false,
"title": "Required Configuration Parameter",
"description": "Specifies whether the value is required."
},
"min": {
"type": "number",
"title": "Configuration Parameter Minimum Allowed Value",
"description": "The minimal value for numeric types, or the minimal length of strings, or the minimal number of selected options."
},
"max": {
"type": "number",
"title": "Configuration Parameter Maximum Allowed Value",
"description": "The maximal value for numeric types, or the maximal length of strings, or the maximal number of selected options."
},
"step": {
"type": "number",
"title": "Configuration Parameter Step",
"description": "The value granularity for a numeric value"
},
"pattern": {
"type": "string",
"description": "The regular expression for a text type."
},
"readOnly": {
"type": "boolean",
"default": false,
"title": "Readable Configuration Parameter",
"description": "Specifies whether the value is read-only."
},
"multiple": {
"type": "boolean",
"default": false,
"title": "Multiple Configuration Parameter",
"description": "Specifies whether multiple selections of options are allowed."
},
"multipleLimit": {
"type": "number",
"title": "Multiple Configuration Parameter Limit",
"description": "Specifies the maximum number of options that can be selected when multiple is true."
},
"context": {
"type": "string",
"title": "Configuration Parameter Context",
"description": "Serves to determine how to treat the value of the Configuration Parameter."
},
"defaultValue": {
"type": "string",
"title": "Configuration Parameter Default Value",
"description": "Declaring a default value for the Configuration Parameter if missing."
},
"unit": {
"type": "string",
"title": "Configuration Parameter Unit",
"description": "Specifies the unit of measurements for the configuration parameter."
},
"unitLabel": {
"type": "string",
"title": "Configuration Parameter Unit Label",
"description": "Specifies the unit label for the configuration parameter. This attribute can also be used to provide natural language units as iterations, runs, etc."
},
"filterCriteria": {
"type": "array",
"title": "Configuration Parameter Filter",
"description": "Criteria for dynamic selection of values.",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
},
"options": {
"type": "array",
"title": "Configuration Parameter Options",
"description": "List of definitions of the parameter for static selection.",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"label",
"value"
],
"properties": {
"label": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
},
"limitToOptions": {
"type": "boolean",
"default": false,
"title": "limit To Options",
"description": "Specifies that the users input is limited to the options list. When set to true without options, this should have no affect. When set to true with options, the user can only select the options from the list When set to false with options, the user can enter values other than those in the list."
},
"groupName": {
"type": "string",
"title": "Configuration Parameter Group Name",
"description": "A string used to group parameters together into logical blocks so that the UI can display them together."
},
"advanced": {
"type": "boolean",
"default": false,
"title": "An Advanced Configuration Parameter",
"description": "Specifies if this is an advanced parameter. An advanced parameter can be hidden in the UI to focus the user on important configuration."
}
}
}
},
"triggers": {
"type": "array",
"minItems": 1,
"title": "Trigger Modules",
"description": "Contains definitions of the Trigger Modules of the Rule Template.",
"items": {
"type": "object",
"title": "Trigger Module",
"description": "Defines the fact which triggers the Rule execution.",
"additionalProperties": false,
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "string",
"pattern": "[A-Za-z0-9_-]*",
"title": "Trigger ID",
"description": "Identifies uniquely the Module in scope of the Rule Template."
},
"label": {
"type": "string",
"title": "Trigger Label",
"description": "Short (one word) user friendly name of the Module."
},
"description": {
"type": "string",
"title": "Trigger Description",
"description": "A brief description of what the Trigger is and for what it is used."
},
"type": {
"type": "string",
"pattern": "[A-Za-z0-9_-]*",
"title": "Trigger Module Type UID",
"description": "Identifies the Module Type used for creation of the Trigger Module."
},
"configuration": {
"type": "object",
"title": "Trigger Configuration",
"description": "Used to define values of the configuration parameters of the Trigger."
}
}
}
},
"conditions": {
"type": "array",
"minItems": 1,
"title": "Condition Modules",
"description": "Contains definitions of Condition Modules of the Rule Template.",
"items": {
"type": "object",
"title": "Condition Module",
"description": "Defines the condition which permit to proceed with the Rule execution.",
"additionalProperties": false,
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "string",
"pattern": "[A-Za-z0-9_-]*",
"title": "Condition uid",
"description": "Identifies uniquely the Module in scope of the Rule Template."
},
"label": {
"type": "string",
"title": "Condition Label",
"description": "Short (one word) user friendly name of the Module."
},
"description": {
"type": "string",
"title": "Condition Description",
"description": "A brief description of what the Condition is and for what it is used."
},
"type": {
"type": "string",
"pattern": "[A-Za-z0-9_-]*",
"title": "Condition Module Type UID",
"description": "Identifies the Module Type used for creation of the Condition."
},
"configuration": {
"type": "object",
"title": "Condition Configuration",
"description": "Used to define values of the configuration parameters of the Condition."
},
"inputs": {
"type": "object",
"title": "Condition Inputs",
"description": "Contains pairs of Input Name and Output reference in format - Module ID : Output Name."
}
}
}
},
"actions": {
"type": "array",
"minItems": 1,
"title": "Action Modules",
"description": "Contains definitions of Action Modules of the Rule Template.",
"items": {
"type": "object",
"title": "Action Module",
"description": "Defines an Action which has to be executed by the Rule.",
"additionalProperties": false,
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "string",
"pattern": "[A-Za-z0-9_-]*",
"title": "Action ID",
"description": "Identifies uniquely the Module in scope of the Rule Template."
},
"label": {
"type": "string",
"title": "Action Label",
"description": "Short (one word) user friendly name of the Module."
},
"description": {
"type": "string",
"title": "Action Description",
"description": "A brief description of what the Action is and for what it is used."
},
"type": {
"type": "string",
"pattern": "[A-Za-z0-9_-]*",
"title": "Action Module Type UID",
"description": "Identifies the Module Type used for creation of the Action."
},
"configuration": {
"type": "object",
"title": "Action Configuration",
"description": "Used to define values of the configuration parameters of the Action."
},
"inputs": {
"type": "object",
"title": "Action Inputs",
"description": "Contains pairs of Input Name and Output reference in format - Module ID : Output Name."
},
"outputs": {
"type": "object",
"title": "Action Outputs",
"description": "Contains pairs of Output Name and Output reference. The reference defines what part of a complex data has to be used as value of this output."
}
}
}
}
}
}
}
]
} | o84271 |
{
"properties": {
"hourly_rate": {
"description": "The hourly rate of the employee",
"type": "number"
},
"hours_worked": {
"description": "The number of hours worked",
"type": "number"
},
"overtime_hours": {
"description": "The number of overtime hours, if any",
"type": "number"
},
"overtime_rate": {
"description": "The rate for overtime hours",
"type": "number"
}
},
"required": [
"hourly_rate",
"hours_worked"
],
"type": "object"
} | calculate_gross_salary_e46c4bac |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"bulk_publishing": {
"type": "boolean"
},
"links": {
"type": "object",
"additionalProperties": false,
"properties": {
"facets": {
"description": "Facets belonging to this group.",
"$ref": "#/definitions/guid_list"
}
}
},
"previous_version": {
"type": "string"
}
},
"definitions": {
"guid": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$"
},
"guid_list": {
"type": "array",
"items": {
"$ref": "#/definitions/guid"
},
"_uniqueItems": true
}
}
} | o21209 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"properties": {
"email": {
"_format": "email",
"maxLength": 1024,
"type": "string"
},
"experienceGroupIds": {
"items": {
"pattern": "^[A-Fa-f\\d]{24}$",
"type": "string"
},
"maxItems": 1000,
"type": "array"
},
"firstName": {
"maxLength": 1024,
"type": "string"
},
"lastName": {
"maxLength": 1024,
"type": "string"
},
"password": {
"maxLength": 2048,
"minLength": 8,
"type": "string"
},
"tokenCutoff": {
"_format": "date-time",
"type": "string"
},
"userTags": {
"additionalProperties": false,
"patternProperties": {
"^[0-9a-zA-Z_-]{1,255}$": {
"maxLength": 255,
"minLength": 1,
"type": "string"
}
},
"type": "object"
}
},
"required": [
"email",
"password"
],
"type": "object"
} | o9889 |
{
"properties": {
"attendees": {
"description": "The email addresses of the attendees",
"items": {
"type": "string"
},
"type": "array"
},
"end_time": {
"description": "The end time of the event",
"type": "string"
},
"location": {
"description": "The location of the event",
"type": "string"
},
"start_time": {
"description": "The start time of the event",
"type": "string"
},
"title": {
"description": "The title of the event",
"type": "string"
}
},
"required": [
"title",
"start_time",
"end_time",
"location"
],
"type": "object"
} | create_calendar_event_c7b0c4fd |
{
"definitions": {},
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"$id": "http://www.pucomex.serpro.gov.br/cct/consulta-conteiner.schema.json",
"properties": {
"listaRetorno": {
"type": "array",
"_uniqueItems": true,
"items": {
"type": "object",
"properties": {
"numeroConteiner": {
"type": "string"
},
"pesoBruto": {
"type": "number"
},
"tara": {
"type": "number"
},
"lacres": {
"type": "array",
"_uniqueItems": true,
"items": {
"type": "string"
}
},
"documentosCarga": {
"type": "array",
"_uniqueItems": true,
"items": {
"type": "object",
"properties": {
"documentos": {
"type": "array",
"_uniqueItems": true,
"items": {
"type": "object",
"properties": {
"numeroDUE": {
"type": "string"
},
"numeroRUC": {
"type": "string"
}
}
}
}
}
}
},
"permiteMovimentacao": {
"type": "boolean"
}
}
}
},
"listaMensagem": {
"type": "array",
"items": {
"type": "object",
"properties": {
"codigo": {
"type": "string"
},
"mensagem": {
"type": "string"
}
}
}
}
}
} | o73023 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "string",
"pattern": "^-?P([0-9]+Y)?([0-9]+M)?([0-9]+D)?(T([0-9]+H)?([0-9]+M)?([0-9]+S)?)?$"
} | o41609 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "CiBuildSettings",
"type": "object",
"additionalProperties": false,
"required": [
"build"
],
"properties": {
"env": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"build": {
"minLength": 1,
"oneOf": [
{
"$ref": "#/definitions/Command"
}
]
},
"prepare": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/Command"
}
]
},
"post_build": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/Command"
}
]
},
"emails": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
}
},
"definitions": {
"Command": {
"type": "object",
"additionalProperties": false,
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"minLength": 1
},
"args": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"env": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"working_dir": {
"type": [
"null",
"string"
]
}
}
}
}
} | o66606 |
{
"properties": {
"end_location": {
"properties": {
"latitude": {
"description": "The latitude of the ending location",
"type": "number"
},
"longitude": {
"description": "The longitude of the ending location",
"type": "number"
}
},
"required": [
"latitude",
"longitude"
],
"type": "object"
},
"start_location": {
"properties": {
"latitude": {
"description": "The latitude of the starting location",
"type": "number"
},
"longitude": {
"description": "The longitude of the starting location",
"type": "number"
}
},
"required": [
"latitude",
"longitude"
],
"type": "object"
}
},
"required": [
"start_location",
"end_location"
],
"type": "object"
} | calculate_distance_598e1c6a |
{
"additionalProperties": false,
"definitions": {
"blkio_limit": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"rate": {
"type": [
"integer",
"string"
]
}
},
"type": "object"
},
"blkio_weight": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"weight": {
"type": "integer"
}
},
"type": "object"
},
"constraints": {
"service": {
"anyOf": [
{
"required": [
"build"
]
},
{
"required": [
"image"
]
}
],
"id": "#/definitions/constraints/service",
"properties": {
"build": {
"required": [
"context"
]
}
}
}
},
"healthcheck": {
"additionalProperties": false,
"id": "#/definitions/healthcheck",
"properties": {
"disable": {
"type": "boolean"
},
"interval": {
"type": "string"
},
"retries": {
"type": "number"
},
"test": {
"oneOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"timeout": {
"type": "string"
}
},
"type": "object"
},
"ipam_config": {
"additionalProperties": false,
"id": "#/definitions/ipam_config",
"properties": {
"aux_addresses": {
"additionalProperties": false,
"patternProperties": {
"^.+$": {
"type": "string"
}
},
"type": "object"
},
"gateway": {
"type": "string"
},
"ip_range": {
"type": "string"
},
"subnet": {
"type": "string"
}
},
"type": "object"
},
"labels": {
"oneOf": [
{
"additionalProperties": false,
"patternProperties": {
".+": {
"type": "string"
}
},
"type": "object"
},
{
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
}
]
},
"list_of_strings": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"list_or_dict": {
"oneOf": [
{
"additionalProperties": false,
"patternProperties": {
".+": {
"type": [
"string",
"number",
"null"
]
}
},
"type": "object"
},
{
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
}
]
},
"network": {
"additionalProperties": false,
"id": "#/definitions/network",
"properties": {
"driver": {
"type": "string"
},
"driver_opts": {
"patternProperties": {
"^.+$": {
"type": [
"string",
"number"
]
}
},
"type": "object"
},
"enable_ipv6": {
"type": "boolean"
},
"external": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": [
"boolean",
"object"
]
},
"internal": {
"type": "boolean"
},
"ipam": {
"additionalProperties": false,
"properties": {
"config": {
"items": {
"$ref": "#/definitions/ipam_config"
},
"type": "array"
},
"driver": {
"type": "string"
},
"options": {
"additionalProperties": false,
"patternProperties": {
"^.+$": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"labels": {
"$ref": "#/definitions/labels"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"service": {
"additionalProperties": false,
"dependencies": {
"memswap_limit": [
"mem_limit"
]
},
"id": "#/definitions/service",
"properties": {
"blkio_config": {
"additionalProperties": false,
"properties": {
"device_read_bps": {
"items": {
"$ref": "#/definitions/blkio_limit"
},
"type": "array"
},
"device_read_iops": {
"items": {
"$ref": "#/definitions/blkio_limit"
},
"type": "array"
},
"device_write_bps": {
"items": {
"$ref": "#/definitions/blkio_limit"
},
"type": "array"
},
"device_write_iops": {
"items": {
"$ref": "#/definitions/blkio_limit"
},
"type": "array"
},
"weight": {
"type": "integer"
},
"weight_device": {
"items": {
"$ref": "#/definitions/blkio_weight"
},
"type": "array"
}
},
"type": "object"
},
"build": {
"oneOf": [
{
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"args": {
"$ref": "#/definitions/list_or_dict"
},
"context": {
"type": "string"
},
"dockerfile": {
"type": "string"
},
"isolation": {
"type": "string"
},
"labels": {
"$ref": "#/definitions/labels"
}
},
"type": "object"
}
]
},
"cap_add": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"cap_drop": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"cgroup_parent": {
"type": "string"
},
"command": {
"oneOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"container_name": {
"type": "string"
},
"cpu_period": {
"type": [
"number",
"string"
]
},
"cpu_quota": {
"type": [
"number",
"string"
]
},
"cpu_shares": {
"type": [
"number",
"string"
]
},
"cpuset": {
"type": "string"
},
"depends_on": {
"oneOf": [
{
"$ref": "#/definitions/list_of_strings"
},
{
"additionalProperties": false,
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"additionalProperties": false,
"properties": {
"condition": {
"enum": [
"service_started",
"service_healthy"
],
"type": "string"
}
},
"required": [
"condition"
],
"type": "object"
}
},
"type": "object"
}
]
},
"devices": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"dns": {
"$ref": "#/definitions/string_or_list"
},
"dns_opt": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"dns_search": {
"$ref": "#/definitions/string_or_list"
},
"domainname": {
"type": "string"
},
"entrypoint": {
"oneOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"env_file": {
"$ref": "#/definitions/string_or_list"
},
"environment": {
"$ref": "#/definitions/list_or_dict"
},
"expose": {
"items": {
"format": "expose",
"type": [
"string",
"number"
]
},
"type": "array",
"_uniqueItems": true
},
"extends": {
"oneOf": [
{
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"file": {
"type": "string"
},
"service": {
"type": "string"
}
},
"required": [
"service"
],
"type": "object"
}
]
},
"external_links": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"extra_hosts": {
"$ref": "#/definitions/list_or_dict"
},
"group_add": {
"items": {
"type": [
"string",
"number"
]
},
"type": "array",
"_uniqueItems": true
},
"healthcheck": {
"$ref": "#/definitions/healthcheck"
},
"hostname": {
"type": "string"
},
"image": {
"type": "string"
},
"ipc": {
"type": "string"
},
"isolation": {
"type": "string"
},
"labels": {
"$ref": "#/definitions/labels"
},
"links": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"logging": {
"additionalProperties": false,
"properties": {
"driver": {
"type": "string"
},
"options": {
"type": "object"
}
},
"type": "object"
},
"mac_address": {
"type": "string"
},
"mem_limit": {
"type": [
"number",
"string"
]
},
"mem_reservation": {
"type": [
"string",
"integer"
]
},
"mem_swappiness": {
"type": "integer"
},
"memswap_limit": {
"type": [
"number",
"string"
]
},
"network_mode": {
"type": "string"
},
"networks": {
"oneOf": [
{
"$ref": "#/definitions/list_of_strings"
},
{
"additionalProperties": false,
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"aliases": {
"$ref": "#/definitions/list_of_strings"
},
"ipv4_address": {
"type": "string"
},
"ipv6_address": {
"type": "string"
},
"link_local_ips": {
"$ref": "#/definitions/list_of_strings"
},
"priority": {
"type": "number"
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
}
]
},
"oom_kill_disable": {
"type": "boolean"
},
"oom_score_adj": {
"maximum": 1000,
"minimum": -1000,
"type": "integer"
},
"pid": {
"type": [
"string",
"null"
]
},
"pids_limit": {
"type": [
"number",
"string"
]
},
"ports": {
"items": {
"format": "ports",
"type": [
"string",
"number"
]
},
"type": "array",
"_uniqueItems": true
},
"privileged": {
"type": "boolean"
},
"read_only": {
"type": "boolean"
},
"restart": {
"type": "string"
},
"security_opt": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"shm_size": {
"type": [
"number",
"string"
]
},
"stdin_open": {
"type": "boolean"
},
"stop_grace_period": {
"_format": "duration",
"type": "string"
},
"stop_signal": {
"type": "string"
},
"storage_opt": {
"type": "object"
},
"sysctls": {
"$ref": "#/definitions/list_or_dict"
},
"tmpfs": {
"$ref": "#/definitions/string_or_list"
},
"tty": {
"type": "boolean"
},
"ulimits": {
"patternProperties": {
"^[a-z]+$": {
"oneOf": [
{
"type": "integer"
},
{
"additionalProperties": false,
"properties": {
"hard": {
"type": "integer"
},
"soft": {
"type": "integer"
}
},
"required": [
"soft",
"hard"
],
"type": "object"
}
]
}
},
"type": "object"
},
"user": {
"type": "string"
},
"userns_mode": {
"type": "string"
},
"volume_driver": {
"type": "string"
},
"volumes": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"volumes_from": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"working_dir": {
"type": "string"
}
},
"type": "object"
},
"string_or_list": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/list_of_strings"
}
]
},
"volume": {
"additionalProperties": false,
"id": "#/definitions/volume",
"properties": {
"driver": {
"type": "string"
},
"driver_opts": {
"patternProperties": {
"^.+$": {
"type": [
"string",
"number"
]
}
},
"type": "object"
},
"external": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": [
"boolean",
"object"
]
},
"labels": {
"$ref": "#/definitions/labels"
},
"name": {
"type": "string"
}
},
"type": [
"object",
"null"
]
}
},
"patternProperties": {
"^x-": {}
},
"properties": {
"networks": {
"id": "#/properties/networks",
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"$ref": "#/definitions/network"
}
},
"type": "object"
},
"services": {
"additionalProperties": false,
"id": "#/properties/services",
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"$ref": "#/definitions/service"
}
},
"type": "object"
},
"version": {
"type": "string"
},
"volumes": {
"additionalProperties": false,
"id": "#/properties/volumes",
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"$ref": "#/definitions/volume"
}
},
"type": "object"
}
},
"type": "object"
} | o83838 |
{
"$schema": "http://json-schema.org/draft-07/schema",
"title": "AMQP 0-9-1 Operation Binding Object",
"description": "This object contains information about the operation representation in AMQP.\nSee https://github.com/asyncapi/bindings/tree/master/amqp#operation-binding-object.",
"type": "object",
"properties": {
"expiration": {
"description": "TTL (Time-To-Live) for the message. It MUST be greater than or equal to zero. Applies to Publish, Subscribe.",
"type": "integer",
"minimum": 0
},
"userId": {
"description": "Identifies the user who has sent the message. Applies to Publish, Subscribe.",
"type": "string"
},
"cc": {
"description": "The routing keys the message should be routed to at the time of publishing. Applies to Publish, Subscribe.",
"type": "array",
"items": {
"type": "string"
}
},
"priority": {
"description": "A priority for the message. Applies to Publish, Subscribe.",
"type": "integer"
},
"deliveryMode": {
"description": "Delivery mode of the message. Its value MUST be either 1 (transient) or 2 (persistent). Applies to Publish, Subscribe.",
"type": "integer",
"oneOf": [
{
"title": "Transient",
"const": 1
},
{
"title": "Persistent",
"const": 2
}
]
},
"mandatory": {
"description": "Whether the message is mandatory or not. Applies to Publish.",
"type": "boolean"
},
"bcc": {
"description": "Like cc but consumers will not receive this information. Applies to Publish.",
"type": "array",
"items": {
"type": "string"
}
},
"replyTo": {
"description": "Name of the queue where the consumer should send the response. Applies to Publish, Subscribe.",
"type": "string"
},
"timestamp": {
"description": "Whether the message should include a timestamp or not. Applies to Publish, Subscribe.",
"type": "boolean"
},
"ack": {
"description": "Whether the consumer should ack the message or not. Applies to Subscribe.",
"type": "boolean"
},
"bindingVersion": {
"description": "The version of this binding. If omitted, \"latest\" MUST be assumed. Applies to Publish, Subscribe.",
"type": "string",
"enum": [
"0.1.0",
"latest"
]
}
},
"additionalProperties": false
} | o79018 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"properties": {
"min_api_version": {
"description": "The minimum API version supported by this server.",
"type": "integer"
},
"max_api_version": {
"description": "The maximum API version supported by this server.",
"type": "integer"
}
},
"example": {
"min_api_version": 0,
"max_api_version": 1
}
} | o78134 |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base of the triangle",
"type": "number"
},
"height": {
"description": "The height of the triangle",
"type": "number"
},
"length": {
"description": "The length of the rectangle",
"type": "number"
},
"radius": {
"description": "The radius of the circle",
"type": "number"
},
"width": {
"description": "The width of the rectangle",
"type": "number"
}
},
"required": [
"radius",
"base",
"height",
"length",
"width"
],
"type": "object"
},
"shape": {
"description": "The type of geometric shape",
"enum": [
"circle",
"triangle",
"rectangle"
],
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_7d9fd253 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"output_item_id": {
"type": "number"
},
"output_item_count": {
"type": "number"
},
"min_rating": {
"type": "number"
},
"time_to_craft_ms": {
"type": "number"
},
"disciplines": {
"type": "array",
"items": {
"type": "string"
}
},
"flags": {
"type": "array",
"items": {
"type": "string"
}
},
"ingredients": {
"type": "array",
"items": {
"type": "object",
"properties": {
"item_id": {
"type": "number"
},
"count": {
"type": "number"
}
},
"required": [
"item_id",
"count"
]
}
},
"id": {
"type": "number"
},
"chat_link": {
"type": "string"
}
},
"required": [
"type",
"output_item_id",
"output_item_count",
"min_rating",
"time_to_craft_ms",
"disciplines",
"flags",
"ingredients",
"id",
"chat_link"
]
},
"properties": {},
"additionalProperties": false
} | o45211 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"hook": {
"$ref": "#/definitions/hook"
},
"table_name": {
"type": "string"
},
"record": {
"type": "object"
},
"record_uuid": {
"type": "string"
},
"result": {}
},
"required": [
"hook",
"table_name",
"record_uuid"
],
"definitions": {
"hook": {
"id": "#hook",
"description": "Async jobs for after callbacks",
"type": "object",
"patternProperties": {
"after_[create|update|destroy]": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"run_at": {
"type": "string"
},
"conditions": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"name"
]
},
"minItems": 1,
"maxItems": 20
}
}
}
}
}
| o45264 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A document returned by GET /{db}/_design/{ddoc}",
"properties": {
"_id": {
"type": "string"
},
"_rev": {
"type": "string"
},
"language": {
"type": "string"
},
"options": {
"type": "object"
},
"filters": {
"type": "object"
},
"lists": {
"type": "object"
},
"rewrites": {
"items": {
"type": "object"
},
"type": "array"
},
"shows": {
"type": "object"
},
"updates": {
"type": "object"
},
"validate_doc_update": {
"type": "string"
},
"views": {
"type": "object"
}
},
"required": [
"_id",
"_rev"
],
"title": "CouchDB GET of design document",
"type": "object"
} | o60120 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"title": "Integration",
"description": "Schema for a single Integration",
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"integrationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"creationDate": {
"type": "string",
"format": "date-time"
},
"lastUpdated": {
"type": "string",
"format": "date-time"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"integrationType": {
"type": "string",
"enum": [
"googlePubSub",
"meridian",
"mqtt",
"particle"
]
},
"enabled": {
"type": "boolean"
},
"topics": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 1024
}
},
"googlePubSubConfig": {
"type": "object",
"properties": {
"projectId": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"keyJson": {
"type": "string",
"maxLength": 32767,
"minLength": 4
}
},
"additionalProperties": false,
"required": [
"projectId",
"keyJson"
]
},
"mqttConfig": {
"type": "object",
"properties": {
"clientId": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"username": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"password": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"clean": {
"type": "boolean"
},
"port": {
"type": "number",
"minimum": 1,
"maximum": 65535
},
"protocol": {
"type": "string",
"enum": [
"mqtt",
"mqtts",
"ws",
"wss"
]
},
"host": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"privateKey": {
"type": "string",
"maxLength": 32767,
"minLength": 4
},
"certificate": {
"type": "string",
"maxLength": 32767,
"minLength": 4
},
"caCertificate": {
"type": "string",
"maxLength": 32767,
"minLength": 4
}
},
"additionalProperties": false,
"required": [
"port",
"protocol",
"host"
]
},
"particleConfig": {
"type": "object",
"properties": {
"accessToken": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"productSlugOrId": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"orgSlugOrId": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"deviceNameOrId": {
"type": "string",
"minLength": 1,
"maxLength": 1024
}
},
"additionalProperties": false,
"required": [
"accessToken"
]
},
"meridianConfig": {
"type": "object",
"properties": {
"authenticationToken": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"locationId": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"assetUpdates": {
"type": "boolean"
},
"zoneUpdates": {
"type": "boolean"
}
},
"additionalProperties": false,
"required": [
"authenticationToken",
"locationId"
]
},
"status": {
"lastKeepAlive": {
"type": [
"number"
]
},
"nextAttempt": {
"type": [
"number"
]
},
"connectInfo": {
"type": "object",
"properties": {
"ts": {
"type": [
"number",
"null"
]
}
}
},
"disconnectInfo": {
"type": "object",
"properties": {
"ts": {
"type": [
"number",
"null"
]
},
"error": {
"type": "string"
}
}
}
}
}
}
},
"count": {
"type": "integer"
},
"totalCount": {
"type": "integer"
},
"perPage": {
"type": "integer"
},
"page": {
"type": "integer"
},
"filter": {
"type": "string"
},
"filterField": {
"type": "string"
},
"sortField": {
"type": "string"
},
"sortDirection": {
"type": "string",
"enum": [
"asc",
"desc",
"ASC",
"DESC",
""
]
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
}
}
} | o9922 |
{
"properties": {
"items": {
"items": {
"properties": {
"discount_percentage": {
"description": "The percentage of discount to be applied on the item",
"type": "number"
},
"name": {
"description": "The name of the item",
"type": "string"
},
"price": {
"description": "The price of the item",
"type": "number"
}
},
"required": [
"name",
"price",
"discount_percentage"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
} | calculate_discounted_price_7cca2a9f |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ClientIPConfig": {
"description": "ClientIPConfig represents the configurations of Client IP based session affinity.",
"properties": {
"timeoutSeconds": {
"_format": "int32",
"description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).",
"type": "integer"
}
},
"type": "object"
}
},
"description": "SessionAffinityConfig represents the configurations of session affinity.",
"properties": {
"clientIP": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ClientIPConfig",
"description": "clientIP contains the configurations of Client IP based session affinity."
}
},
"type": "object"
} | kb_994_Normalized |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "tree-sitter grammar specification",
"type": "object",
"required": [
"name",
"rules"
],
"additionalProperties": false,
"properties": {
"name": {
"description": "the name of the grammar",
"type": "string",
"pattern": "^[a-zA-Z_]\\w*"
},
"rules": {
"type": "object",
"patternProperties": {
"^[a-zA-Z_]\\w*$": {
"$ref": "#/definitions/rule"
}
},
"additionalProperties": false
},
"extras": {
"type": "array",
"items": {
"$ref": "#/definitions/rule"
}
},
"externals": {
"type": "array",
"items": {
"$ref": "#/definitions/rule"
}
},
"inline": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z_]\\w*$"
}
},
"conflicts": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-zA-Z_]\\w*$"
}
}
},
"word": {
"type": "string",
"pattern": "^[a-zA-Z_]\\w*"
},
"supertypes": {
"description": "A list of hidden rule names that should be considered supertypes in the generated node types file. See http://tree-sitter.github.io/tree-sitter/using-parsers#static-node-types.",
"type": "array",
"items": {
"description": "the name of a rule in `rules` or `extras`",
"type": "string"
}
}
},
"definitions": {
"blank-rule": {
"type": "object",
"properties": {
"type": {
"type": "string",
"pattern": "^BLANK$"
}
},
"required": [
"type"
]
},
"string-rule": {
"type": "object",
"properties": {
"type": {
"type": "string",
"pattern": "^STRING$"
},
"value": {
"type": "string"
}
},
"required": [
"type",
"value"
]
},
"pattern-rule": {
"type": "object",
"properties": {
"type": {
"type": "string",
"pattern": "^PATTERN$"
},
"value": {
"type": "string"
}
},
"required": [
"type",
"value"
]
},
"symbol-rule": {
"type": "object",
"properties": {
"type": {
"type": "string",
"pattern": "^SYMBOL$"
},
"name": {
"type": "string"
}
},
"required": [
"type",
"name"
]
},
"seq-rule": {
"type": "object",
"properties": {
"type": {
"type": "string",
"pattern": "^SEQ$"
},
"members": {
"type": "array",
"items": {
"$ref": "#/definitions/rule"
}
}
},
"required": [
"type",
"members"
]
},
"choice-rule": {
"type": "object",
"properties": {
"type": {
"type": "string",
"pattern": "^CHOICE$"
},
"members": {
"type": "array",
"items": {
"$ref": "#/definitions/rule"
}
}
},
"required": [
"type",
"members"
]
},
"alias-rule": {
"type": "object",
"properties": {
"type": {
"type": "string",
"pattern": "^ALIAS$"
},
"value": {
"type": "string"
},
"named": {
"type": "boolean"
},
"content": {
"$ref": "#/definitions/rule"
}
},
"required": [
"type",
"named",
"content",
"value"
]
},
"repeat-rule": {
"type": "object",
"properties": {
"type": {
"type": "string",
"pattern": "^REPEAT$"
},
"content": {
"$ref": "#/definitions/rule"
}
},
"required": [
"type",
"content"
]
},
"repeat1-rule": {
"type": "object",
"properties": {
"type": {
"type": "string",
"pattern": "^REPEAT1$"
},
"content": {
"$ref": "#/definitions/rule"
}
},
"required": [
"type",
"content"
]
},
"token-rule": {
"type": "object",
"properties": {
"type": {
"type": "string",
"pattern": "^(TOKEN|IMMEDIATE_TOKEN)$"
},
"content": {
"$ref": "#/definitions/rule"
}
},
"required": [
"type",
"content"
]
},
"field-rule": {
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string",
"pattern": "^FIELD$"
},
"content": {
"$ref": "#/definitions/rule"
}
},
"required": [
"name",
"type",
"content"
]
},
"prec-rule": {
"type": "object",
"properties": {
"type": {
"type": "string",
"pattern": "^(PREC|PREC_LEFT|PREC_RIGHT|PREC_DYNAMIC)$"
},
"value": {
"type": "integer"
},
"content": {
"$ref": "#/definitions/rule"
}
},
"required": [
"type",
"content",
"value"
]
},
"rule": {
"oneOf": [
{
"$ref": "#/definitions/alias-rule"
},
{
"$ref": "#/definitions/blank-rule"
},
{
"$ref": "#/definitions/string-rule"
},
{
"$ref": "#/definitions/pattern-rule"
},
{
"$ref": "#/definitions/symbol-rule"
},
{
"$ref": "#/definitions/seq-rule"
},
{
"$ref": "#/definitions/choice-rule"
},
{
"$ref": "#/definitions/repeat1-rule"
},
{
"$ref": "#/definitions/repeat-rule"
},
{
"$ref": "#/definitions/token-rule"
},
{
"$ref": "#/definitions/field-rule"
},
{
"$ref": "#/definitions/prec-rule"
}
]
}
}
} | o82273 |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"depend_process": {
"type": "object",
"properties": {
"$and": {
"type": "array",
"items": {
"$ref": "#/definitions/depend_process"
}
},
"$or": {
"type": "array",
"items": {
"$ref": "#/definitions/depend_process"
}
}
}
},
"output_process": {
"type": "array",
"items": {
"type": "object",
"required": [
"file_name",
"write"
],
"properties": {
"file_name": {
"type": "string"
},
"write": {
"type": "array",
"items": {
"type": "string"
}
},
"concat": {
"type": "boolean"
},
"maxsize": {
"type": "string"
}
}
}
},
"notifications_process": {
"type": "object",
"properties": {
"on_start": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
}
}
}
},
"on_end": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
}
}
}
},
"on_fail": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
}
}
}
},
"on_retry": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
}
}
}
},
"on_queue": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
}
}
}
},
"on_timeout": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
}
}
}
},
"on_waiting_dependencies": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
}
}
}
}
}
},
"chain_action_on_fail_process": {
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"action"
],
"properties": {
"action": {
"type": "string"
}
}
}
]
}
},
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"exec"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"depends_process": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "#/definitions/depend_process"
}
]
},
"queue": {
"type": "string"
},
"priority": {
"type": "number"
},
"exec": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"command": {
"type": "string"
},
"command_file": {
"type": "string"
}
}
},
"retries": {
"type": "number"
},
"retry_delay": {
"type": [
"number",
"string"
]
},
"notificate_only_last_fail": {
"type": "boolean"
},
"timeout": {
"type": "object",
"required": [
"delay"
],
"properties": {
"action": {
"type": "string"
},
"delay": {
"type": [
"number",
"string"
]
}
}
},
"chain_action_on_fail": {
"$ref": "#/definitions/chain_action_on_fail_process"
},
"ignore_in_final_chain_status": {
"type": "boolean"
},
"output": {
"$ref": "#/definitions/output_process"
},
"output_share": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"name",
"value"
],
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
},
"notifications": {
"$ref": "#/definitions/notifications_process"
}
}
}
} | o71552 |
{
"properties": {
"customer_name": {
"description": "The name of the customer",
"type": "string"
},
"items": {
"description": "The items in the invoice",
"items": {
"properties": {
"name": {
"description": "The name of the item",
"type": "string"
},
"price": {
"description": "The price per unit of the item",
"type": "number"
},
"quantity": {
"description": "The quantity of the item",
"type": "integer"
}
},
"required": [
"name",
"quantity",
"price"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"customer_name",
"items"
],
"type": "object"
} | generate_invoice_e75167d8 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://raw.githubusercontent.com/nhuebel/TopoJSON_schema/master/bbox.json",
"title": "TopoJSON bounding box",
"description": "A bounding box as defined by TopoJSON",
"type": "array",
"items": {
"$ref": "#/definitions/dimension"
},
"minItems": 2,
"maxItems": 2,
"definitions": {
"dimension": {
"type": "array",
"description": "This array should have an entry per dimension in the geometries",
"items": {
"type": "number"
}
}
},
"TODO": "check number of dimensions (2*n), n being the number of dimensions represented in the contained geometries), with the lowest values for all axes followed by the highest values "
} | o63365 |
{
"$schema": "http://json-schema.org/draft-07/schema",
"items": {
"properties": {
"trackedPackages": {
"items": {
"properties": {
"id": {
"minLength": 1,
"type": "string"
},
"name": {
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"name"
],
"type": "object"
},
"type": "array"
},
"type": {
"minLength": 1,
"type": "string"
},
"url": {
"_format": "uri",
"type": "string"
}
},
"required": [
"url",
"type",
"trackedPackages"
],
"type": "object"
},
"minItems": 1,
"type": "array"
} | o10876 |
{
"description": "Applicant details stores information about the applicant, only some of this information is editable.",
"links": [
{
"description": "Update a batch of Applicant Details, this endpoint is **limited to 1000 Applicants per call**.",
"href": "/api/v1/user_identities/:user_identity_id/applicant_details",
"http_header": {
"x-api-key": "0123456789abcdef0123456789abcdef"
},
"method": "PUT",
"rel": "update",
"schema": {
"properties": {
"applicants": {
"items": {
"properties": {
"applicant_cas_id": {
"description": "Unique identifier of the applicant.",
"example": "123456789",
"type": "string"
},
"redirect_eligible": {
"description": "True if the applicant is eligible for redirect.",
"example": true,
"type": "boolean"
}
},
"required": [
"applicant_cas_id"
],
"type": "object"
},
"maxItems": 1000,
"minItems": 1,
"type": "array"
}
},
"required": [
"applicants"
],
"type": "object"
},
"title": "Update Applicant Details"
}
],
"properties": {},
"stability": "prototype",
"strictProperties": true,
"title": "Applicant Details",
"type": "object"
} | o9500 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"subject": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string"
},
"category": {
"type": "string",
"maxLength": 255
},
"school_id": {
"type": "string",
"minLength": 36,
"maxLength": 36
},
"attachments": {
"type": "array",
"additionalProperties": false,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"name": {
"type": "string",
"minLength": 1
},
"size": {
"type": "integer",
"minimum": 1
}
}
}
}
},
"required": [
"subject",
"description",
"category",
"school_id"
]
} | o12241 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"title": "Experience View",
"description": "Schema for a single Experience View",
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"experienceViewId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"creationDate": {
"type": "string",
"format": "date-time"
},
"lastUpdated": {
"type": "string",
"format": "date-time"
},
"createdById": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"createdByType": {
"type": "string",
"enum": [
"flow",
"user",
"apiToken"
]
},
"lastUpdatedById": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"lastUpdatedByType": {
"type": "string",
"enum": [
"flow",
"user",
"apiToken"
]
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"viewType": {
"type": "string",
"enum": [
"layout",
"page",
"component"
]
},
"layoutId": {
"type": [
"string",
"null"
],
"pattern": "^[A-Fa-f\\d]{24}$"
},
"layoutName": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"body": {
"type": "string",
"maxLength": 131072,
"minLength": 1
},
"viewTags": {
"type": "object",
"patternProperties": {
"^[0-9a-zA-Z_-]{1,255}$": {
"type": "string",
"minLength": 1,
"maxLength": 255
}
},
"additionalProperties": false
}
}
}
},
"count": {
"type": "integer"
},
"totalCount": {
"type": "integer"
},
"perPage": {
"type": "integer"
},
"page": {
"type": "integer"
},
"filter": {
"type": "string"
},
"filterField": {
"type": "string"
},
"sortField": {
"type": "string"
},
"sortDirection": {
"type": "string",
"enum": [
"asc",
"desc",
"ASC",
"DESC",
""
]
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"viewType": {
"type": "string",
"enum": [
"layout",
"page",
"component"
]
}
}
} | o9898 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://mkvtoolnix.download/doc/mkvmerge-identification-output-schema-v10.json",
"title": "mkvmerge identification output",
"description": "The JSON output produced by mkvmerge's file identification mode",
"additionalProperties": false,
"type": "object",
"properties": {
"attachments": {
"description": "an array describing the attachments found if any",
"type": "array",
"items": {
"additionalProperties": false,
"type": "object",
"properties": {
"content_type": {
"type": "string",
"minLength": 1
},
"description": {
"type": "string"
},
"file_name": {
"type": "string"
},
"id": {
"type": "integer",
"minimum": 0
},
"size": {
"type": "integer",
"minimum": 0
},
"properties": {
"additionalProperties": false,
"type": "object",
"properties": {
"uid": {
"type": "integer",
"minimum": 0
}
}
},
"type": {
"type": "string"
}
},
"required": [
"file_name",
"id",
"properties",
"size"
]
}
},
"chapters": {
"type": "array",
"items": {
"additionalProperties": false,
"type": "object",
"properties": {
"num_entries": {
"type": "integer"
}
},
"required": [
"num_entries"
]
}
},
"container": {
"additionalProperties": false,
"description": "information about the identified container",
"type": "object",
"properties": {
"properties": {
"additionalProperties": false,
"description": "additional properties for the container varying by container format",
"type": "object",
"properties": {
"container_type": {
"description": "A unique number identifying the container type that's supposed to stay constant over all future releases of MKVToolNix",
"type": "integer",
"minLength": 1
},
"date_local": {
"description": "The muxing date in ISO 8601 format (in local time zone)",
"type": "string",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}([+-][0-9]{2}:[0-9]{2}|Z)$"
},
"date_utc": {
"description": "The muxing date in ISO 8601 format (in UTC)",
"type": "string",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}([+-][0-9]{2}:[0-9]{2}|Z)$"
},
"duration": {
"description": "The file's/segment's duration in nanoseconds",
"type": "integer",
"minimum": 0
},
"is_providing_timestamps": {
"description": "States whether or not the container has timestamps for the packets (e.g. Matroska, MP4) or not (e.g. SRT, MP3)",
"type": "boolean"
},
"muxing_application": {
"description": "A Unicode string containing the name and possibly version of the low-level library or application that created the file",
"type": "string"
},
"next_segment_uid": {
"description": "A hexadecimal string of the next segment's UID (only for Matroska files)",
"type": "string",
"minLength": 32,
"maxLength": 32
},
"other_file": {
"description": "An array of names of additional files processed as well",
"type": "array",
"items": {
"type": "string"
}
},
"playlist": {
"description": "States whether or not the identified file is a playlist (e.g. MPLS) referring to several other files",
"type": "boolean"
},
"playlist_chapters": {
"description": "The number of chapters in a playlist if it is a one",
"type": "integer",
"minimum": 0
},
"playlist_duration": {
"description": "The total duration in nanoseconds of all files referenced by the playlist if it is a one",
"type": "integer",
"minimum": 0
},
"playlist_file": {
"description": "An array of file names the playlist contains",
"type": "array",
"items": {
"type": "string"
}
},
"playlist_size": {
"description": "The total size in bytes of all files referenced by the playlist if it is a one",
"type": "integer",
"minimum": 0
},
"previous_segment_uid": {
"description": "A hexadecimal string of the previous segment's UID (only for Matroska files)",
"type": "string",
"minLength": 32,
"maxLength": 32
},
"programs": {
"description": "A container describing multiple programs multiplexed into the source file, e.g. multiple programs in one DVB transport stream",
"type": "array",
"items": {
"additionalProperties": false,
"description": "Properties describing a single program",
"type": "object",
"properties": {
"program_number": {
"description": "A unique number identifying a set of tracks that belong together; used e.g. in DVB for multiplexing multiple stations within a single transport stream",
"type": "integer",
"minimum": 0
},
"service_name": {
"description": "The name of a service provided by this program, e.g. a TV channel name such as 'arte HD'",
"type": "string"
},
"service_provider": {
"description": "The name of the provider of the service provided by this program, e.g. a TV station name such as 'ARD'",
"type": "string"
}
}
}
},
"segment_uid": {
"description": "A hexadecimal string of the segment's UID (only for Matroska files)",
"type": "string",
"minLength": 32,
"maxLength": 32
},
"title": {
"type": "string"
},
"writing_application": {
"description": "A Unicode string containing the name and possibly version of the high-level application that created the file",
"type": "string"
}
}
},
"recognized": {
"description": "States whether or not mkvmerge knows about the format",
"type": "boolean"
},
"supported": {
"description": "States whether or not mkvmerge can read the format",
"type": "boolean"
},
"type": {
"description": "A human-readable description/name for the container format",
"type": "string",
"minLength": 1
}
},
"required": [
"recognized",
"supported"
]
},
"errors": {
"type": "array",
"items": {
"type": "string"
}
},
"file_name": {
"description": "the identified file's name",
"type": "string",
"minLength": 1
},
"global_tags": {
"type": "array",
"items": {
"additionalProperties": false,
"type": "object",
"properties": {
"num_entries": {
"type": "integer"
}
},
"required": [
"num_entries"
]
}
},
"identification_format_version": {
"description": "The output format's version",
"type": "integer",
"minimum": 10,
"maximum": 10
},
"track_tags": {
"type": "array",
"items": {
"additionalProperties": false,
"type": "object",
"properties": {
"num_entries": {
"type": "integer"
},
"track_id": {
"type": "integer"
}
},
"required": [
"num_entries",
"track_id"
]
}
},
"tracks": {
"type": "array",
"items": {
"additionalProperties": false,
"type": "object",
"properties": {
"codec": {
"type": "string",
"minLength": 1
},
"id": {
"type": "integer",
"minLength": 0
},
"type": {
"type": "string"
},
"properties": {
"additionalProperties": false,
"type": "object",
"properties": {
"aac_is_sbr": {
"type": "string",
"enum": [
"true",
"false",
"unknown"
]
},
"audio_bits_per_sample": {
"type": "integer",
"minimum": 0
},
"audio_channels": {
"type": "integer",
"minimum": 0
},
"audio_sampling_frequency": {
"type": "integer",
"minimum": 0
},
"codec_delay": {
"type": "integer"
},
"codec_id": {
"type": "string"
},
"codec_private_data": {
"type": "string"
},
"codec_private_length": {
"type": "integer",
"minimum": 0
},
"content_encoding_algorithms": {
"type": "string",
"minLength": 1
},
"default_duration": {
"type": "integer",
"minimum": 0
},
"default_track": {
"type": "boolean"
},
"display_dimensions": {
"type": "string",
"pattern": "^[0-9]+x[0-9]+$"
},
"enabled_track": {
"type": "boolean"
},
"encoding": {
"description": "The encoding/character set of a track containing text (e.g. subtitles) if it can be determined with confidence. For such tracks the encoding cannot be changed by the user.",
"type": "string"
},
"forced_track": {
"type": "boolean"
},
"language": {
"type": "string"
},
"minimum_timestamp": {
"description": "The minimum timestamp in nanoseconds of all the frames of this track found within the first couple of seconds of the file",
"type": "integer",
"minimum": 0
},
"multiplexed_tracks": {
"description": "An array of track IDs indicating which tracks were originally multiplexed within the same track in the source file",
"type": "array",
"items": {
"type": "integer",
"minimum": 0
}
},
"number": {
"type": "integer",
"minimum": 0
},
"packetizer": {
"type": "string",
"minLength": 1
},
"pixel_dimensions": {
"type": "string",
"pattern": "^[0-9]+x[0-9]+$"
},
"program_number": {
"description": "A unique number identifying a set of tracks that belong together; used e.g. in DVB for multiplexing multiple stations within a single transport stream",
"type": "integer",
"minimum": 0
},
"stereo_mode": {
"type": "integer",
"minimum": 0
},
"stream_id": {
"description": "A format-specific ID identifying a track, possibly in combination with a 'sub_stream_id' (e.g. the program ID in an MPEG transport stream)",
"type": "integer",
"minimum": 0
},
"sub_stream_id": {
"description": "A format-specific ID identifying a track together with a 'stream_id'",
"type": "integer",
"minimum": 0
},
"tag_artist": {
"type": "string"
},
"tag_bitsps": {
"type": "string"
},
"tag_bps": {
"type": "string"
},
"tag_fps": {
"type": "string"
},
"tag_title": {
"type": "string"
},
"teletext_page": {
"type": "integer",
"minimum": 0
},
"text_subtitles": {
"type": "boolean"
},
"track_name": {
"type": "string"
},
"uid": {
"type": "integer",
"minimum": 0
}
}
}
},
"required": [
"codec",
"id",
"type"
]
}
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
}
}
} | o81128 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"time": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "object",
"properties": {
"$date": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"$date"
]
}
]
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"payload": {}
},
"required": [
"name"
],
"additionalProperties": false
} | o9825 |
{
"$id": "https://lnav.org/schemas/format-v1.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"$schema": {
"title": "/$schema",
"description": "Specifies the type of this file",
"type": "string"
}
},
"patternProperties": {
"(\\w+)": {
"description": "The definition of a log file format.",
"title": "/<format_name>",
"type": "object",
"properties": {
"regex": {
"description": "The set of regular expressions used to match log messages",
"title": "/<format_name>/regex",
"type": "object",
"patternProperties": {
"([^/]+)": {
"description": "The set of patterns used to match log messages",
"title": "/<format_name>/regex/<pattern_name>",
"type": "object",
"properties": {
"pattern": {
"title": "/<format_name>/regex/<pattern_name>/pattern",
"description": "The regular expression to match a log message and capture fields.",
"type": "string",
"minLength": 1
},
"module-format": {
"title": "/<format_name>/regex/<pattern_name>/module-format",
"description": "If true, this pattern will only be used to parse message bodies of container formats, like syslog",
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"json": {
"title": "/<format_name>/json",
"description": "Indicates that log files are JSON-encoded (deprecated, use \"file-type\": \"json\")",
"type": "boolean"
},
"convert-to-local-time": {
"title": "/<format_name>/convert-to-local-time",
"description": "Indicates that displayed timestamps should automatically be converted to local time",
"type": "boolean"
},
"hide-extra": {
"title": "/<format_name>/hide-extra",
"description": "Specifies whether extra values in JSON logs should be displayed",
"type": "boolean"
},
"multiline": {
"title": "/<format_name>/multiline",
"description": "Indicates that log messages can span multiple lines",
"type": "boolean"
},
"timestamp-divisor": {
"title": "/<format_name>/timestamp-divisor",
"description": "The value to divide a numeric timestamp by in a JSON log.",
"type": [
"integer",
"number"
]
},
"file-pattern": {
"title": "/<format_name>/file-pattern",
"description": "A regular expression that restricts this format to log files with a matching name",
"type": "string"
},
"level-field": {
"title": "/<format_name>/level-field",
"description": "The name of the level field in the log message pattern",
"type": "string"
},
"timestamp-field": {
"title": "/<format_name>/timestamp-field",
"description": "The name of the timestamp field in the log message pattern",
"type": "string"
},
"body-field": {
"title": "/<format_name>/body-field",
"description": "The name of the body field in the log message pattern",
"type": "string"
},
"url": {
"title": "/<format_name>/url",
"description": "A URL with more information about this log format",
"type": [
"array",
"string"
],
"items": {
"type": "string"
}
},
"title": {
"title": "/<format_name>/title",
"description": "The human-readable name for this log format",
"type": "string"
},
"description": {
"title": "/<format_name>/description",
"description": "A longer description of this log format",
"type": "string"
},
"timestamp-format": {
"title": "/<format_name>/timestamp-format",
"description": "An array of strptime(3)-like timestamp formats",
"type": "array",
"items": {
"type": "string"
}
},
"module-field": {
"title": "/<format_name>/module-field",
"description": "The name of the module field in the log message pattern",
"type": "string"
},
"opid-field": {
"title": "/<format_name>/opid-field",
"description": "The name of the operation-id field in the log message pattern",
"type": "string"
},
"ordered-by-time": {
"title": "/<format_name>/ordered-by-time",
"description": "Indicates that the order of messages in the file is time-based.",
"type": "boolean"
},
"level": {
"description": "The map of level names to patterns or integer values",
"title": "/<format_name>/level",
"type": "object",
"patternProperties": {
"(trace|debug[2345]?|info|stats|notice|warning|error|critical|fatal)": {
"title": "/<format_name>/level/<level>",
"description": "The regular expression used to match the log text for this level. For JSON logs with numeric levels, this should be the number for the corresponding level.",
"type": [
"integer",
"string"
]
}
},
"additionalProperties": false
},
"value": {
"description": "The set of value definitions",
"title": "/<format_name>/value",
"type": "object",
"patternProperties": {
"([^/]+)": {
"description": "The set of values captured by the log message patterns",
"title": "/<format_name>/value/<value_name>",
"type": "object",
"properties": {
"kind": {
"title": "/<format_name>/value/<value_name>/kind",
"description": "The type of data in the field",
"type": "string",
"enum": [
"string",
"integer",
"float",
"boolean",
"json",
"struct",
"quoted"
]
},
"collate": {
"title": "/<format_name>/value/<value_name>/collate",
"description": "The collating function to use for this column",
"type": "string"
},
"unit": {
"description": "Unit definitions for this field",
"title": "/<format_name>/value/<value_name>/unit",
"type": "object",
"properties": {
"field": {
"title": "/<format_name>/value/<value_name>/unit/field",
"description": "The name of the field that contains the units for this field",
"type": "string"
},
"scaling-factor": {
"description": "Transforms the numeric value by the given factor",
"title": "/<format_name>/value/<value_name>/unit/scaling-factor",
"type": "object",
"patternProperties": {
"(.*)": {
"title": "/<format_name>/value/<value_name>/unit/scaling-factor/<scale>",
"type": "number"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"identifier": {
"title": "/<format_name>/value/<value_name>/identifier",
"description": "Indicates whether or not this field contains an identifier that should be highlighted",
"type": "boolean"
},
"foreign-key": {
"title": "/<format_name>/value/<value_name>/foreign-key",
"description": "Indicates whether or not this field should be treated as a foreign key for row in another table",
"type": "boolean"
},
"hidden": {
"title": "/<format_name>/value/<value_name>/hidden",
"description": "Indicates whether or not this field should be hidden",
"type": "boolean"
},
"action-list": {
"title": "/<format_name>/value/<value_name>/action-list",
"description": "Actions to execute when this field is clicked on",
"type": "array",
"items": {
"type": "string"
}
},
"rewriter": {
"title": "/<format_name>/value/<value_name>/rewriter",
"description": "A command that will rewrite this field when pretty-printing",
"type": "string"
},
"description": {
"title": "/<format_name>/value/<value_name>/description",
"description": "A description of the field",
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"action": {
"title": "/<format_name>/action",
"type": "object",
"patternProperties": {
"(\\w+)": {
"title": "/<format_name>/action/<action_name>",
"type": [
"string",
"object"
],
"properties": {
"label": {
"title": "/<format_name>/action/<action_name>/label",
"type": "string"
},
"capture-output": {
"title": "/<format_name>/action/<action_name>/capture-output",
"type": "boolean"
},
"cmd": {
"title": "/<format_name>/action/<action_name>/cmd",
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"sample": {
"description": "An array of sample log messages to be tested against the log message patterns",
"title": "/<format_name>/sample",
"type": "array",
"items": {
"type": "object",
"properties": {
"line": {
"title": "/<format_name>/sample/line",
"description": "A sample log line that should match a pattern in this format.",
"type": "string"
},
"level": {
"title": "/<format_name>/sample/level",
"description": "The expected level for this sample log line.",
"type": "string",
"enum": [
"trace",
"debug5",
"debug4",
"debug3",
"debug2",
"debug",
"info",
"stats",
"notice",
"warning",
"error",
"critical",
"fatal"
]
}
},
"additionalProperties": false
}
},
"line-format": {
"description": "The display format for JSON-encoded log messages",
"title": "/<format_name>/line-format",
"type": "array",
"items": {
"type": [
"string",
"object"
],
"properties": {
"field": {
"title": "/<format_name>/line-format/field",
"description": "The name of the field to substitute at this position",
"type": "string",
"minLength": 1
},
"default-value": {
"title": "/<format_name>/line-format/default-value",
"description": "The default value for this position if the field is null",
"type": "string"
},
"timestamp-format": {
"title": "/<format_name>/line-format/timestamp-format",
"description": "The strftime(3) format for this field",
"type": "string",
"minLength": 1
},
"min-width": {
"title": "/<format_name>/line-format/min-width",
"description": "The minimum width of the field",
"type": "integer",
"minimum": 0
},
"max-width": {
"title": "/<format_name>/line-format/max-width",
"description": "The maximum width of the field",
"type": "integer",
"minimum": 0
},
"align": {
"title": "/<format_name>/line-format/align",
"description": "Align the text in the column to the left or right side",
"type": "string",
"enum": [
"left",
"right"
]
},
"overflow": {
"title": "/<format_name>/line-format/overflow",
"description": "Overflow style",
"type": "string",
"enum": [
"abbrev",
"truncate",
"dot-dot"
]
},
"text-transform": {
"title": "/<format_name>/line-format/text-transform",
"description": "Text transformation",
"type": "string",
"enum": [
"none",
"uppercase",
"lowercase",
"capitalize"
]
}
},
"additionalProperties": false
}
},
"search-table": {
"description": "Search tables to automatically define for this log format",
"title": "/<format_name>/search-table",
"type": [
"string",
"object"
],
"patternProperties": {
"\\w+": {
"description": "The set of search tables to be automatically defined",
"title": "/<format_name>/search-table/<>",
"type": "object",
"properties": {
"pattern": {
"title": "/<format_name>/search-table/<>/pattern",
"description": "The regular expression for this search table.",
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"highlights": {
"description": "The set of highlight definitions",
"title": "/<format_name>/highlights",
"type": "object",
"patternProperties": {
"([^/]+)": {
"description": "The definition of a highlight",
"title": "/<format_name>/highlights/<highlight_name>",
"type": "object",
"properties": {
"pattern": {
"title": "/<format_name>/highlights/<highlight_name>/pattern",
"description": "A regular expression to highlight in logs of this format.",
"type": "string"
},
"color": {
"title": "/<format_name>/highlights/<highlight_name>/color",
"description": "The color to use when highlighting this pattern.",
"type": "string"
},
"background-color": {
"title": "/<format_name>/highlights/<highlight_name>/background-color",
"description": "The background color to use when highlighting this pattern.",
"type": "string"
},
"underline": {
"title": "/<format_name>/highlights/<highlight_name>/underline",
"description": "Highlight this pattern with an underline.",
"type": "boolean"
},
"blink": {
"title": "/<format_name>/highlights/<highlight_name>/blink",
"description": "Highlight this pattern by blinking.",
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"file-type": {
"title": "/<format_name>/file-type",
"description": "The type of file that contains the log messages",
"type": "string",
"enum": [
"text",
"json",
"csv"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
} | o83133 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"email": {
"type": "string"
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"postedSlides": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"enum": [
"yes",
"Yes",
"no",
"No"
]
}
]
},
"rating": {
"type": "number"
}
},
"additionalProperties": false,
"required": [
"email",
"firstName",
"lastName",
"postedSlides",
"rating"
]
} | o81587 |
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Scene",
"description": "A Scene defines a set of properties and Elements to be shared among multile Pages. It also defines a background music to be played when one of those Pages is active.\nA Page is always associated with a Scene, either explicity with the \"scene\" property or implicitly with the default scene with name \"*\".\nThe Page inherits all the properties from the associated scene, including Elements. When the same property is specified both in the Page and the Scene, the value specified in the Page will be used. The only exception to this rule is Elements, which will be deep-merged (deep-inheritance). Elements with the id property will be merged, and other Elements will be appended (Elements defined in the Scene are always placed below Elements specified in the page).",
"type": "object",
"properties": {},
"additionalProperties": false,
"required": []
} | o46562 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time": {
"_format": "date-time",
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": "string"
}
},
"description": "PersistentVolumeClaimCondition contails details about state of pvc",
"properties": {
"lastProbeTime": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Last time we probed the condition."
},
"lastTransitionTime": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Last time the condition transitioned from one status to another."
},
"message": {
"description": "Human-readable message indicating details about last transition.",
"type": [
"string",
"null"
]
},
"reason": {
"description": "Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized.",
"type": [
"string",
"null"
]
},
"status": {
"type": [
"string",
"null"
]
},
"type": {
"type": [
"string",
"null"
]
}
},
"required": [
"type",
"status"
],
"type": "object"
} | kb_665_Normalized |
{
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"properties": {
"CogAtlasID": {
"type": "string"
},
"EchoTime": {
"type": "number"
},
"EffectiveEchoSpacing": {
"type": "number"
},
"PhaseEncodingDirection": {
"type": "string"
},
"RepetitionTime": {
"type": "number"
},
"SliceEncodingDirection": {
"type": "string"
},
"SliceTiming": {
"type": "array",
"items": {
"type": "number"
}
},
"TaskName": {
"type": "string"
}
}
} | o78997 |
{
"$schema": "http://json-schema.org/draft-04/schema",
"type": "object",
"required": [
"context",
"breakpoints"
],
"properties": {
"context": {
"description": "Context element selector",
"type": "string"
},
"breakpoints": {
"description": "Breakpoints",
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"size"
],
"properties": {
"name": {
"description": "Breakpoint name",
"type": "string"
},
"size": {
"description": "Breakpoint viewport",
"type": "object",
"required": [
"width",
"height"
],
"properties": {
"width": {
"description": "Viewport width",
"type": "integer"
},
"height": {
"description": "Viewport height",
"type": "integer"
}
}
}
}
}
}
}
} | o77727 |
{
"additionalProperties": false,
"description": "Schema for page performance, based on the window.performance.timing object (see https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/NavigationTiming/Overview.html)",
"properties": {
"chromeFirstPaint": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"connectEnd": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"connectStart": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"domComplete": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"domContentLoadedEventEnd": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"domContentLoadedEventStart": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"domInteractive": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"domLoading": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"domainLookupEnd": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"domainLookupStart": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"fetchStart": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"loadEventEnd": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"loadEventStart": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"msFirstPaint": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"navigationStart": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"proxyEnd": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"proxyStart": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"redirectEnd": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"redirectStart": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"requestEnd": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"requestStart": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"responseEnd": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"responseStart": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"secureConnectionStart": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"unloadEventEnd": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"unloadEventStart": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
}
},
"self": {
"format": "jsonschema",
"name": "PerformanceTiming",
"vendor": "org.w3",
"version": "1-0-0"
},
"type": "object"
} | sp_417_Normalized |
{
"title": "version",
"type": "string",
"$schema": "http://json-schema.org/draft-04/schema",
"description": "Root element in the web scene specifying a string value indicating the web scene version.",
"enum": [
"1.8",
"1.9",
"1.10",
"1.11",
"1.12",
"1.13",
"1.14",
"1.15",
"1.16",
"1.17",
"1.18",
"1.19"
],
"esriDocumentation": {
"examples": [
{
"title": "version",
"code": {
"version": "1.19"
}
}
]
}
} | o90334 |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base of the triangle (if shape is triangle)",
"type": "number"
},
"height": {
"description": "The height of the triangle (if shape is triangle)",
"type": "number"
},
"length": {
"description": "The length of the rectangle (if shape is rectangle)",
"type": "number"
},
"radius": {
"description": "The radius of the circle (if shape is circle)",
"type": "number"
},
"width": {
"description": "The width of the rectangle (if shape is rectangle)",
"type": "number"
}
},
"required": [
"radius",
"length",
"width",
"base",
"height"
],
"type": "object"
},
"shape": {
"description": "The shape to calculate the area for",
"enum": [
"circle",
"rectangle",
"triangle"
],
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_a91921b1 |
{
"properties": {
"point1": {
"description": "The coordinates of point 1",
"properties": {
"latitude": {
"description": "The latitude of point 1",
"type": "number"
},
"longitude": {
"description": "The longitude of point 1",
"type": "number"
}
},
"type": "object"
},
"point2": {
"description": "The coordinates of point 2",
"properties": {
"latitude": {
"description": "The latitude of point 2",
"type": "number"
},
"longitude": {
"description": "The longitude of point 2",
"type": "number"
}
},
"type": "object"
}
},
"required": [
"point1",
"point2"
],
"type": "object"
} | calculate_distance_2c92e6bc |
{
"id": "https://raw.githubusercontent.com/InfinniPlatform/InfinniPlatform/master/Files/Schema/app.json",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "app",
"description": "The general application settings.",
"type": "object",
"properties": {
"AppName": {
"description": "The application name.",
"type": "string",
"default": "InfinniPlatform"
},
"AppInstance": {
"description": "The application instance identifier.",
"type": "string"
},
"StaticFilesMapping": {
"description": "The relative request paths that map to static resources.",
"type": "object",
"properties": {}
}
},
"required": [
"AppName"
]
} | o7384 |
{
"title": "PointCloud Value Filter",
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema",
"description": "Filters points based on the value of an specified attribute.",
"properties": {
"field": {
"type": "string",
"description": "The name of the field that is used for the filter."
},
"mode": {
"type": "string",
"description": "Defines if values should be included or excluded.",
"enum": [
"exclude",
"include"
]
},
"type": {
"type": "string",
"description": "Filters points based on the value of an specified attribute.",
"enum": [
"pointCloudValueFilter"
]
},
"values": {
"type": "array",
"description": "list of values",
"items": {
"type": "number"
}
}
},
"required": [
"field",
"mode",
"type",
"values"
],
"additionalProperties": false,
"esriDocumentation": {
"examples": [
{
"title": "PointCloud Value Filter",
"description": "",
"code": {
"filters": [
{
"type": "pointCloudValueFilter",
"field": "USAGE",
"values": [
1,
3,
7
],
"mode": "include"
}
]
}
}
]
}
} | o90268 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": 1
},
"categoryId": {
"type": "integer",
"minimum": 1
},
"amount": {
"type": "number",
"faker": "finance.amount"
},
"description": {
"type": "string"
},
"createdAt": {
"type": "string",
"faker": "date.past"
},
"createdBy": {
"type": "integer",
"minimum": 1
}
},
"required": [
"id",
"categoryId",
"amount",
"description",
"createdAt",
"createdBy"
]
} | o88586 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"properties": {
"date": {
"_format": "date",
"type": "string"
},
"date-time": {
"_format": "date-time",
"type": "string"
},
"ipv4": {
"_format": "ipv4",
"type": "string"
},
"ipv6": {
"_format": "ipv6",
"type": "string"
},
"time": {
"_format": "time",
"type": "string"
},
"uri": {
"_format": "uri",
"type": "string"
}
},
"required": [
"uri",
"ipv4",
"ipv6",
"date-time",
"date",
"time"
],
"type": "object"
} | o16739 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"users",
"releases",
"companies",
"repos"
],
"properties": {
"users": {
"type": "array",
"items": {
"type": "object",
"properties": {
"launchpad_id": {
"type": "string"
},
"user_name": {
"type": "string"
},
"emails": {
"type": "array",
"items": {
"type": "string",
"pattern": "[\\w\\d_\\.-]+@([\\w\\d_\\.-]+\\.)+[\\w]+"
},
"minItems": 1
},
"companies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"company_name": {
"type": "string"
},
"end_date": {
"type": [
"string",
"null"
],
"pattern": "20\\d{2}-\\w{3}-[0-3]\\d"
}
},
"additionalProperties": false
}
}
},
"required": [
"launchpad_id",
"user_name",
"emails"
],
"additionalProperties": false
}
},
"releases": {
"type": "array",
"items": {
"type": "object",
"properties": {
"release_name": {
"type": "string"
},
"end_date": {
"type": "string",
"pattern": "20\\d{2}-\\w{3}-[0-3]\\d"
}
},
"required": [
"release_name",
"end_date"
],
"additionalProperties": false
}
},
"repos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"uri": {
"type": "string"
},
"project_type": {
"type": "string"
},
"project_group": {
"type": "string"
},
"module": {
"type": "string"
},
"branches": {
"type": "array",
"items": {
"type": "string"
}
},
"releases": {
"type": "array",
"items": {
"type": "object",
"properties": {
"tag_from": {
"type": "string"
},
"tag_to": {
"type": "string"
},
"release_name": {
"type": "string"
}
},
"required": [
"tag_from",
"tag_to",
"release_name"
]
}
}
},
"required": [
"uri",
"project_type",
"module",
"branches"
],
"additionalProperties": false
}
},
"companies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"company_name": {
"type": "string"
},
"domains": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"company_name",
"domains"
],
"additionalProperties": false
}
},
"project_sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"organization": {
"type": "string"
},
"project_type": {
"type": "string"
},
"project_group": {
"type": [
"string",
"null"
]
}
},
"required": [
"organization",
"project_type"
],
"additionalProperties": false
}
}
}
} | o36153 |
{
"properties": {
"dimensions": {
"description": "The dimensions of the shape",
"properties": {
"base": {
"description": "The base of the triangle",
"type": "number"
},
"height": {
"description": "The height of the triangle",
"type": "number"
},
"length": {
"description": "The length of the rectangle",
"type": "number"
},
"radius": {
"description": "The radius of the circle",
"type": "number"
},
"width": {
"description": "The width of the rectangle",
"type": "number"
}
},
"type": "object"
},
"shape": {
"description": "The type of shape (e.g. circle, rectangle, triangle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_3a71b75d |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_AttachedVolume": {
"description": "AttachedVolume describes a volume attached to a node",
"properties": {
"devicePath": {
"description": "DevicePath represents the device path where the volume should be available",
"type": "string"
},
"name": {
"description": "Name of the attached volume",
"type": "string"
}
},
"required": [
"name",
"devicePath"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ConfigMapNodeConfigSource": {
"description": "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node.",
"properties": {
"kubeletConfigKey": {
"description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.",
"type": "string"
},
"name": {
"description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.",
"type": "string"
},
"namespace": {
"description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.",
"type": "string"
},
"resourceVersion": {
"description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
"type": "string"
},
"uid": {
"description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.",
"type": "string"
}
},
"required": [
"namespace",
"name",
"kubeletConfigKey"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerImage": {
"description": "Describe a container image",
"properties": {
"names": {
"description": "Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]",
"items": {
"type": "string"
},
"type": "array"
},
"sizeBytes": {
"_format": "int64",
"description": "The size of the image in bytes.",
"type": "integer"
}
},
"required": [
"names"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_DaemonEndpoint": {
"description": "DaemonEndpoint contains information about a single Daemon endpoint.",
"properties": {
"Port": {
"_format": "int32",
"description": "Port number of the given endpoint.",
"type": "integer"
}
},
"required": [
"Port"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeAddress": {
"description": "NodeAddress contains information for the node's address.",
"properties": {
"address": {
"description": "The node address.",
"type": "string"
},
"type": {
"description": "Node address type, one of Hostname, ExternalIP or InternalIP.",
"type": "string"
}
},
"required": [
"type",
"address"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeCondition": {
"description": "NodeCondition contains condition information for a node.",
"properties": {
"lastHeartbeatTime": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Last time we got an update on a given condition."
},
"lastTransitionTime": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Last time the condition transit from one status to another."
},
"message": {
"description": "Human readable message indicating details about last transition.",
"type": "string"
},
"reason": {
"description": "(brief) reason for the condition's last transition.",
"type": "string"
},
"status": {
"description": "Status of the condition, one of True, False, Unknown.",
"type": "string"
},
"type": {
"description": "Type of node condition.",
"type": "string"
}
},
"required": [
"type",
"status"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeConfigSource": {
"description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil.",
"properties": {
"configMap": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ConfigMapNodeConfigSource",
"description": "ConfigMap is a reference to a Node's ConfigMap"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeConfigStatus": {
"description": "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.",
"properties": {
"active": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeConfigSource",
"description": "Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error."
},
"assigned": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeConfigSource",
"description": "Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned."
},
"error": {
"description": "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.",
"type": "string"
},
"lastKnownGood": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeConfigSource",
"description": "LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future."
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeDaemonEndpoints": {
"description": "NodeDaemonEndpoints lists ports opened by daemons running on the Node.",
"properties": {
"kubeletEndpoint": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_DaemonEndpoint",
"description": "Endpoint on which Kubelet is listening."
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSystemInfo": {
"description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.",
"properties": {
"architecture": {
"description": "The Architecture reported by the node",
"type": "string"
},
"bootID": {
"description": "Boot ID reported by the node.",
"type": "string"
},
"containerRuntimeVersion": {
"description": "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).",
"type": "string"
},
"kernelVersion": {
"description": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).",
"type": "string"
},
"kubeProxyVersion": {
"description": "KubeProxy Version reported by the node.",
"type": "string"
},
"kubeletVersion": {
"description": "Kubelet Version reported by the node.",
"type": "string"
},
"machineID": {
"description": "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html",
"type": "string"
},
"operatingSystem": {
"description": "The Operating System reported by the node",
"type": "string"
},
"osImage": {
"description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).",
"type": "string"
},
"systemUUID": {
"description": "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid",
"type": "string"
}
},
"required": [
"machineID",
"systemUUID",
"bootID",
"kernelVersion",
"osImage",
"containerRuntimeVersion",
"kubeletVersion",
"kubeProxyVersion",
"operatingSystem",
"architecture"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time": {
"_format": "date-time",
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": "string"
}
},
"description": "NodeStatus is information about the current status of a node.",
"properties": {
"addresses": {
"description": "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeAddress"
},
"type": [
"array",
"null"
],
"x-kubernetes-patch-merge-key": "type",
"x-kubernetes-patch-strategy": "merge"
},
"allocatable": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity"
},
"description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.",
"type": [
"object",
"null"
]
},
"capacity": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity"
},
"description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity",
"type": [
"object",
"null"
]
},
"conditions": {
"description": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeCondition"
},
"type": [
"array",
"null"
],
"x-kubernetes-patch-merge-key": "type",
"x-kubernetes-patch-strategy": "merge"
},
"config": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeConfigStatus",
"description": "Status of the config assigned to the node via the dynamic Kubelet config feature."
},
"daemonEndpoints": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeDaemonEndpoints",
"description": "Endpoints of daemons running on the Node."
},
"images": {
"description": "List of container images on this node",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerImage"
},
"type": [
"array",
"null"
]
},
"nodeInfo": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSystemInfo",
"description": "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info"
},
"phase": {
"description": "NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.",
"type": [
"string",
"null"
]
},
"volumesAttached": {
"description": "List of volumes that are attached to the node.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_AttachedVolume"
},
"type": [
"array",
"null"
]
},
"volumesInUse": {
"description": "List of attachable volumes in use (mounted) by the node.",
"items": {
"type": [
"string",
"null"
]
},
"type": [
"array",
"null"
]
}
},
"type": "object"
} | kb_630_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema",
"properties": {
"extends": {
"description": "If you want to extend a specific configuration file, you can use the extends property and specify the path to the file. The path can be either relative or absolute.",
"type": "string"
},
"excludeFiles": {
"description": "Disables style checking for specified paths declared with glob patterns.",
"default": [
"node_modules/**"
],
"type": "array",
"items": {
"type": "string"
}
},
"additionalRules": {
"description": "Array of file path matching patterns to load additional rules from.",
"type": "array",
"items": {
"type": "string"
}
}
}
} | o68689 |
{
"type": "object",
"properties": {
"value": {
"allOf": [
{
"$ref": "#/definitions/Type1"
},
{
"$ref": "#/definitions/Type2"
}
]
}
},
"required": [
"value"
],
"definitions": {
"Type1": {
"type": "object",
"properties": {
"value1": {
"type": "string"
}
},
"required": [
"value1"
]
},
"Type2": {
"type": "object",
"properties": {
"value2": {
"type": "number"
}
},
"required": [
"value2"
]
}
},
"$schema": "http://json-schema.org/draft-04/schema#"
} | o25976 |
{
"$schema": "http://json-schema.org/draft-06/schema#",
"description": "ParaDrop host configuration - firewall defaults object",
"type": "object",
"properties": {
"conntrack": {},
"forward": {
"type": "string",
"enum": [
"ACCEPT",
"REJECT",
"DROP"
]
},
"input": {
"type": "string",
"enum": [
"ACCEPT",
"REJECT",
"DROP"
]
},
"masq": {},
"masq_src": {
"type": "array",
"description": "List of source addresses or subnets to which SNAT should be applied.",
"items": {
"type": "string"
},
"_uniqueItems": true
},
"output": {
"type": "string",
"enum": [
"ACCEPT",
"REJECT",
"DROP"
]
}
}
} | o12608 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_AWSElasticBlockStoreVolumeSource": {
"description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.",
"properties": {
"fsType": {
"description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
"type": "string"
},
"partition": {
"_format": "int32",
"description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).",
"type": "integer"
},
"readOnly": {
"description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
"type": "boolean"
},
"volumeID": {
"description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
"type": "string"
}
},
"required": [
"volumeID"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_AzureDiskVolumeSource": {
"description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
"properties": {
"cachingMode": {
"description": "Host Caching mode: None, Read Only, Read Write.",
"type": "string"
},
"diskName": {
"description": "The Name of the data disk in the blob storage",
"type": "string"
},
"diskURI": {
"description": "The URI the data disk in the blob storage",
"type": "string"
},
"fsType": {
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
"type": "string"
},
"kind": {
"description": "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared",
"type": "string"
},
"readOnly": {
"description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
"type": "boolean"
}
},
"required": [
"diskName",
"diskURI"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_AzureFilePersistentVolumeSource": {
"description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.",
"properties": {
"readOnly": {
"description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
"type": "boolean"
},
"secretName": {
"description": "the name of secret that contains Azure Storage Account Name and Key",
"type": "string"
},
"secretNamespace": {
"description": "the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod",
"type": "string"
},
"shareName": {
"description": "Share Name",
"type": "string"
}
},
"required": [
"secretName",
"shareName"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_CSIPersistentVolumeSource": {
"description": "Represents storage that is managed by an external CSI volume driver (Beta feature)",
"properties": {
"controllerExpandSecretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretReference",
"description": "ControllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an alpha field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."
},
"controllerPublishSecretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretReference",
"description": "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."
},
"driver": {
"description": "Driver is the name of the driver to use for this volume. Required.",
"type": "string"
},
"fsType": {
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".",
"type": "string"
},
"nodePublishSecretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretReference",
"description": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."
},
"nodeStageSecretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretReference",
"description": "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."
},
"readOnly": {
"description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).",
"type": "boolean"
},
"volumeAttributes": {
"additionalProperties": {
"type": "string"
},
"description": "Attributes of the volume to publish.",
"type": "object"
},
"volumeHandle": {
"description": "VolumeHandle is the unique volume name returned by the CSI volume plugin\u2019s CreateVolume to refer to the volume on all subsequent calls. Required.",
"type": "string"
}
},
"required": [
"driver",
"volumeHandle"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_CephFSPersistentVolumeSource": {
"description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
"properties": {
"monitors": {
"description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
"items": {
"type": "string"
},
"type": "array"
},
"path": {
"description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /",
"type": "string"
},
"readOnly": {
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
"type": "boolean"
},
"secretFile": {
"description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
"type": "string"
},
"secretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretReference",
"description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"
},
"user": {
"description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
"type": "string"
}
},
"required": [
"monitors"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_CinderPersistentVolumeSource": {
"description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.",
"properties": {
"fsType": {
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
"type": "string"
},
"readOnly": {
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
"type": "boolean"
},
"secretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretReference",
"description": "Optional: points to a secret object containing parameters used to connect to OpenStack."
},
"volumeID": {
"description": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
"type": "string"
}
},
"required": [
"volumeID"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_FCVolumeSource": {
"description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.",
"properties": {
"fsType": {
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
"type": "string"
},
"lun": {
"_format": "int32",
"description": "Optional: FC target lun number",
"type": "integer"
},
"readOnly": {
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
"type": "boolean"
},
"targetWWNs": {
"description": "Optional: FC target worldwide names (WWNs)",
"items": {
"type": "string"
},
"type": "array"
},
"wwids": {
"description": "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_FlexPersistentVolumeSource": {
"description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.",
"properties": {
"driver": {
"description": "Driver is the name of the driver to use for this volume.",
"type": "string"
},
"fsType": {
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.",
"type": "string"
},
"options": {
"additionalProperties": {
"type": "string"
},
"description": "Optional: Extra command options if any.",
"type": "object"
},
"readOnly": {
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
"type": "boolean"
},
"secretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretReference",
"description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts."
}
},
"required": [
"driver"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_FlockerVolumeSource": {
"description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.",
"properties": {
"datasetName": {
"description": "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated",
"type": "string"
},
"datasetUUID": {
"description": "UUID of the dataset. This is unique identifier of a Flocker dataset",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_GCEPersistentDiskVolumeSource": {
"description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.",
"properties": {
"fsType": {
"description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
"type": "string"
},
"partition": {
"_format": "int32",
"description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
"type": "integer"
},
"pdName": {
"description": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
"type": "string"
},
"readOnly": {
"description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
"type": "boolean"
}
},
"required": [
"pdName"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_GlusterfsPersistentVolumeSource": {
"description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
"properties": {
"endpoints": {
"description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
"type": "string"
},
"endpointsNamespace": {
"description": "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
"type": "string"
},
"path": {
"description": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
"type": "string"
},
"readOnly": {
"description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
"type": "boolean"
}
},
"required": [
"endpoints",
"path"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_HostPathVolumeSource": {
"description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.",
"properties": {
"path": {
"description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath",
"type": "string"
},
"type": {
"description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ISCSIPersistentVolumeSource": {
"description": "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.",
"properties": {
"chapAuthDiscovery": {
"description": "whether support iSCSI Discovery CHAP authentication",
"type": "boolean"
},
"chapAuthSession": {
"description": "whether support iSCSI Session CHAP authentication",
"type": "boolean"
},
"fsType": {
"description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi",
"type": "string"
},
"initiatorName": {
"description": "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.",
"type": "string"
},
"iqn": {
"description": "Target iSCSI Qualified Name.",
"type": "string"
},
"iscsiInterface": {
"description": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).",
"type": "string"
},
"lun": {
"_format": "int32",
"description": "iSCSI Target Lun number.",
"type": "integer"
},
"portals": {
"description": "iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).",
"items": {
"type": "string"
},
"type": "array"
},
"readOnly": {
"description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.",
"type": "boolean"
},
"secretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretReference",
"description": "CHAP Secret for iSCSI target and initiator authentication"
},
"targetPortal": {
"description": "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).",
"type": "string"
}
},
"required": [
"targetPortal",
"iqn",
"lun"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LocalVolumeSource": {
"description": "Local represents directly-attached storage with node affinity (Beta feature)",
"properties": {
"fsType": {
"description": "Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem if unspecified.",
"type": "string"
},
"path": {
"description": "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NFSVolumeSource": {
"description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.",
"properties": {
"path": {
"description": "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
"type": "string"
},
"readOnly": {
"description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
"type": "boolean"
},
"server": {
"description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
"type": "string"
}
},
"required": [
"server",
"path"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSelector": {
"description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.",
"properties": {
"nodeSelectorTerms": {
"description": "Required. A list of node selector terms. The terms are ORed.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSelectorTerm"
},
"type": "array"
}
},
"required": [
"nodeSelectorTerms"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSelectorRequirement": {
"description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
"properties": {
"key": {
"description": "The label key that the selector applies to.",
"type": "string"
},
"operator": {
"description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.",
"type": "string"
},
"values": {
"description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"key",
"operator"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSelectorTerm": {
"description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.",
"properties": {
"matchExpressions": {
"description": "A list of node selector requirements by node's labels.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSelectorRequirement"
},
"type": "array"
},
"matchFields": {
"description": "A list of node selector requirements by node's fields.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSelectorRequirement"
},
"type": "array"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ObjectReference": {
"description": "ObjectReference contains enough information to let you inspect or modify the referred object.",
"properties": {
"apiVersion": {
"description": "API version of the referent.",
"type": "string"
},
"fieldPath": {
"description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.",
"type": "string"
},
"kind": {
"description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"name": {
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"namespace": {
"description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
"type": "string"
},
"resourceVersion": {
"description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
"type": "string"
},
"uid": {
"description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeSpec": {
"description": "PersistentVolumeSpec is the specification of a persistent volume.",
"properties": {
"accessModes": {
"description": "AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes",
"items": {
"type": "string"
},
"type": "array"
},
"awsElasticBlockStore": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_AWSElasticBlockStoreVolumeSource",
"description": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"
},
"azureDisk": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_AzureDiskVolumeSource",
"description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."
},
"azureFile": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_AzureFilePersistentVolumeSource",
"description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod."
},
"capacity": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity"
},
"description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity",
"type": "object"
},
"cephfs": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_CephFSPersistentVolumeSource",
"description": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime"
},
"cinder": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_CinderPersistentVolumeSource",
"description": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"
},
"claimRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ObjectReference",
"description": "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding"
},
"csi": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_CSIPersistentVolumeSource",
"description": "CSI represents storage that is handled by an external CSI driver (Beta feature)."
},
"fc": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_FCVolumeSource",
"description": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod."
},
"flexVolume": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_FlexPersistentVolumeSource",
"description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."
},
"flocker": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_FlockerVolumeSource",
"description": "Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running"
},
"gcePersistentDisk": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_GCEPersistentDiskVolumeSource",
"description": "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"
},
"glusterfs": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_GlusterfsPersistentVolumeSource",
"description": "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md"
},
"hostPath": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_HostPathVolumeSource",
"description": "HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
},
"iscsi": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ISCSIPersistentVolumeSource",
"description": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin."
},
"local": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LocalVolumeSource",
"description": "Local represents directly-attached storage with node affinity"
},
"mountOptions": {
"description": "A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options",
"items": {
"type": "string"
},
"type": "array"
},
"nfs": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NFSVolumeSource",
"description": "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"
},
"nodeAffinity": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VolumeNodeAffinity",
"description": "NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume."
},
"persistentVolumeReclaimPolicy": {
"description": "What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming",
"type": "string"
},
"photonPersistentDisk": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PhotonPersistentDiskVolumeSource",
"description": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine"
},
"portworxVolume": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PortworxVolumeSource",
"description": "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine"
},
"quobyte": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_QuobyteVolumeSource",
"description": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime"
},
"rbd": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_RBDPersistentVolumeSource",
"description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md"
},
"scaleIO": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ScaleIOPersistentVolumeSource",
"description": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."
},
"storageClassName": {
"description": "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.",
"type": "string"
},
"storageos": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_StorageOSPersistentVolumeSource",
"description": "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md"
},
"volumeMode": {
"description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec.",
"type": "string"
},
"vsphereVolume": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VsphereVirtualDiskVolumeSource",
"description": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PhotonPersistentDiskVolumeSource": {
"description": "Represents a Photon Controller persistent disk resource.",
"properties": {
"fsType": {
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
"type": "string"
},
"pdID": {
"description": "ID that identifies Photon Controller persistent disk",
"type": "string"
}
},
"required": [
"pdID"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PortworxVolumeSource": {
"description": "PortworxVolumeSource represents a Portworx volume resource.",
"properties": {
"fsType": {
"description": "FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.",
"type": "string"
},
"readOnly": {
"description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
"type": "boolean"
},
"volumeID": {
"description": "VolumeID uniquely identifies a Portworx volume",
"type": "string"
}
},
"required": [
"volumeID"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_QuobyteVolumeSource": {
"description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.",
"properties": {
"group": {
"description": "Group to map volume access to Default is no group",
"type": "string"
},
"readOnly": {
"description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.",
"type": "boolean"
},
"registry": {
"description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes",
"type": "string"
},
"tenant": {
"description": "Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin",
"type": "string"
},
"user": {
"description": "User to map volume access to Defaults to serivceaccount user",
"type": "string"
},
"volume": {
"description": "Volume is a string that references an already created Quobyte volume by name.",
"type": "string"
}
},
"required": [
"registry",
"volume"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_RBDPersistentVolumeSource": {
"description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.",
"properties": {
"fsType": {
"description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd",
"type": "string"
},
"image": {
"description": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
},
"keyring": {
"description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
},
"monitors": {
"description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"items": {
"type": "string"
},
"type": "array"
},
"pool": {
"description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
},
"readOnly": {
"description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "boolean"
},
"secretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretReference",
"description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"
},
"user": {
"description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
}
},
"required": [
"monitors",
"image"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ScaleIOPersistentVolumeSource": {
"description": "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume",
"properties": {
"fsType": {
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"",
"type": "string"
},
"gateway": {
"description": "The host address of the ScaleIO API Gateway.",
"type": "string"
},
"protectionDomain": {
"description": "The name of the ScaleIO Protection Domain for the configured storage.",
"type": "string"
},
"readOnly": {
"description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
"type": "boolean"
},
"secretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretReference",
"description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail."
},
"sslEnabled": {
"description": "Flag to enable/disable SSL communication with Gateway, default false",
"type": "boolean"
},
"storageMode": {
"description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.",
"type": "string"
},
"storagePool": {
"description": "The ScaleIO Storage Pool associated with the protection domain.",
"type": "string"
},
"system": {
"description": "The name of the storage system as configured in ScaleIO.",
"type": "string"
},
"volumeName": {
"description": "The name of a volume already created in the ScaleIO system that is associated with this volume source.",
"type": "string"
}
},
"required": [
"gateway",
"system",
"secretRef"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretReference": {
"description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace",
"properties": {
"name": {
"description": "Name is unique within a namespace to reference a secret resource.",
"type": "string"
},
"namespace": {
"description": "Namespace defines the space within which the secret name must be unique.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_StorageOSPersistentVolumeSource": {
"description": "Represents a StorageOS persistent volume resource.",
"properties": {
"fsType": {
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
"type": "string"
},
"readOnly": {
"description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
"type": "boolean"
},
"secretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ObjectReference",
"description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted."
},
"volumeName": {
"description": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.",
"type": "string"
},
"volumeNamespace": {
"description": "VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VolumeNodeAffinity": {
"description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.",
"properties": {
"required": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSelector",
"description": "Required specifies hard node constraints that must be met."
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VsphereVirtualDiskVolumeSource": {
"description": "Represents a vSphere volume resource.",
"properties": {
"fsType": {
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
"type": "string"
},
"storagePolicyID": {
"description": "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.",
"type": "string"
},
"storagePolicyName": {
"description": "Storage Policy Based Management (SPBM) profile name.",
"type": "string"
},
"volumePath": {
"description": "Path that identifies vSphere volume vmdk",
"type": "string"
}
},
"required": [
"volumePath"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_storage_v1alpha1_VolumeAttachmentSource": {
"description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.",
"properties": {
"inlineVolumeSpec": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeSpec",
"description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature."
},
"persistentVolumeName": {
"description": "Name of the persistent volume to attach.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
},
"description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.",
"properties": {
"attacher": {
"description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().",
"type": [
"string",
"null"
]
},
"nodeName": {
"description": "The node that the volume should be attached to.",
"type": [
"string",
"null"
]
},
"source": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_storage_v1alpha1_VolumeAttachmentSource",
"description": "Source represents the volume that should be attached."
}
},
"required": [
"attacher",
"source",
"nodeName"
],
"type": "object"
} | kb_1118_Normalized |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base of the triangle",
"type": "number"
},
"height": {
"description": "The height of the triangle",
"type": "number"
},
"length": {
"description": "The length of the rectangle",
"type": "number"
},
"radius": {
"description": "The radius of the circle",
"type": "number"
},
"width": {
"description": "The width of the rectangle",
"type": "number"
}
},
"type": "object"
},
"shape": {
"description": "The shape for which the area needs to be calculated",
"enum": [
"circle",
"rectangle",
"triangle"
],
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_826daac4 |
{
"id": "http://schemas.triniti.io/json-schema/gdbots/pbjx/envelope/1-0-2.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"_schema": {
"type": "string",
"pattern": "^pbj:([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+):([0-9]+-[0-9]+-[0-9]+)$",
"default": "pbj:gdbots:pbjx::envelope:1-0-2"
},
"envelope_id": {
"type": "string",
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
"pbj": {
"type": "uuid",
"rule": "single"
}
},
"ok": {
"type": "boolean",
"default": true,
"pbj": {
"type": "boolean",
"rule": "single"
}
},
"code": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 65535,
"pbj": {
"type": "small-int",
"rule": "single"
}
},
"http_code": {
"type": "integer",
"default": 200,
"enum": [
0,
100,
101,
102,
200,
201,
202,
203,
204,
205,
206,
207,
208,
226,
300,
301,
302,
303,
304,
305,
306,
307,
308,
400,
401,
402,
403,
404,
405,
406,
407,
408,
409,
410,
411,
412,
413,
414,
415,
416,
417,
418,
422,
423,
424,
425,
426,
428,
429,
499,
431,
451,
500,
501,
502,
503,
504,
505,
506,
507,
508,
510,
511
],
"pbj": {
"type": "int-enum",
"rule": "single"
}
},
"etag": {
"type": "string",
"pattern": "^[\\w\\.:-]+$",
"pbj": {
"type": "string",
"rule": "single"
}
},
"error_name": {
"type": "string",
"pattern": "^[\\w\\/\\.:-]+$",
"pbj": {
"type": "string",
"rule": "single"
}
},
"error_message": {
"type": "string",
"minLength": 0,
"maxLength": 65535,
"pbj": {
"type": "text",
"rule": "single"
}
},
"message_ref": {
"type": "object",
"properties": {
"curie": {
"type": "string",
"pattern": "^([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+)$",
"minLength": 0,
"maxLength": 146
},
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9:_\\-]+$",
"minLength": 0,
"maxLength": 255
},
"tag": {
"type": "string",
"pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$",
"minLength": 0,
"maxLength": 255
}
},
"required": [
"curie",
"id"
],
"additionalProperties": false,
"pbj": {
"type": "message-ref",
"rule": "single"
}
},
"message": {
"type": "object",
"pbj": {
"type": "message",
"rule": "single"
}
},
"derefs": {
"type": "object",
"patternProperties": {
"^[a-zA-Z_]{1}[\\w\\.:-]+$": {
"type": "object"
}
},
"additionalProperties": false,
"description": "Some pbjx operations (normally requests) can include \"dereferenced\" messages on the envelope to prevent the consumer from needing to make multiple HTTP requests. It is up to the consumer to make use of the dereferenced messages if/when they are provided.",
"pbj": {
"type": "message",
"rule": "map"
}
},
"links": {
"type": "object",
"patternProperties": {
"^[a-zA-Z_]{1}[\\w\\.:-]+$": {
"type": "string",
"pattern": "^(https?:\\/\\/)?([\\da-z\\.-]+)\\.([a-z\\.]{2,6})([\\/\\w \\.-]*)*\\/?$"
}
},
"additionalProperties": false,
"description": "@link https://en.wikipedia.org/wiki/HATEOAS",
"pbj": {
"type": "text",
"rule": "map",
"format": "url"
}
}
},
"required": [
"_schema",
"envelope_id"
],
"additionalProperties": false
} | o82571 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"deviceId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"devicecClass": {
"type": "string",
"enum": [
"standalone",
"master",
"owned",
"floating",
"virtual"
]
},
"token": {
"type": "string"
}
},
"required": [
"applicationId",
"deviceId",
"deviceClass",
"token"
]
} | o6178 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.