json_schema
stringlengths
43
1.28M
unique_id
stringlengths
2
41
{ "$schema": "http://json-schema.org/draft-04/schema", "description": "The name of the application that generated an operation. This is used by downstream consumers in conjunction with 'priority' to make decisions about optimization.", "title": "Application Name", "type": "string" }
wp_40_Normalized
{ "$schema": "http://json-schema.org/draft-04/schema#", "description": "Installation parameters provided for a CBSD", "type": "object", "required": [ "latitude", "longitude", "height", "heightType", "antennaGain", "indoorDeployment" ], "properties": { "latitude": { "type": "number", "description": "Latitude in WGS84 coordinates, provided in decimal degrees", "minimum": -90, "maximum": 90 }, "longitude": { "type": "number", "description": "Longitude in WGS84 coordinates, provided in decimal degrees", "minimum": -180, "maximum": 180 }, "height": { "type": "number", "description": "Height of CBSD antenna, provided in meters. See heightType for interpretation." }, "heightType": { "enum": [ "AMSL", "AGL" ], "description": "The reference for the height parameter. AMSL indicates the height is measured relative to mean sea level. AGL indicates the height is measured relative to local ground level at latitude, longitude." }, "horizontalAccuracy": { "type": "number", "description": "A measurement in meters of the horizontal accuracy of the indicated location.", "minimum": 0 }, "verticalAccuracy": { "type": "number", "description": "A measurement in meters of the vertical accuracy of the indicated location.", "minimum": 0 }, "indoorDeployment": { "type": "boolean", "description": "True if the equipment is installed indoors, false if outdoors" }, "eirpCapability": { "type": "integer", "description": "Maximum EIRP of the CBSD in units of dBm/10MHz.", "minimum": -127, "maximum": 47 }, "antennaAzimuth": { "type": "integer", "description": "Heading of antenna azimuth relative to true north, provided in decimal degrees. Positive indicates easterly.", "minimum": 0, "maximum": 359 }, "antennaDowntilt": { "type": "integer", "description": "Downtilt of the antenna (vertically down is positive) in decimal degrees.", "minimum": -90, "maximum": 90 }, "antennaGain": { "type": "integer", "description": "Maximum gain in dB of the antenna along the boresight", "minimum": -127, "maximum": 128 }, "antennaBeamwidth": { "type": "integer", "description": "Beamwidth to 3dB points of the antenna coverage pattern, provided in decimal degrees and measured at the horizon. A value of 360 indicates an omni-directional antenna.", "minimum": 0, "maximum": 360 }, "antennaModel": { "type": "string", "description": "If an external antenna is used, the model of the antenna is optionally provided in this field." } } }
o17417
{ "definitions": {}, "$schema": "http://json-schema.org/draft-06/schema#", "type": "object", "$id": "http://www.pucomex.serpro.gov.br/lpco/deferir_prorrogacao_resp.schema.json", "properties": { "situacao": { "type": "object", "properties": { "id": { "type": "string" }, "descricao": { "type": "string" } } }, "novaDataFimVigencia": { "type": "string" } } }
o73033
{ "type": "object", "$schema": "http://json-schema.org/draft-04/schema", "description": "A serialized Dim Data object", "properties": { "ChildIDs": { "type": "array", "items": { "type": "number" } }, "Depth": { "type": "number" }, "ID": { "type": "number" }, "DimensionType": { "type": "number" }, "IsFilled": { "type": "boolean" }, "DungeonData": { "type": "object", "properties": { "Weight": { "type": "number" }, "IsOpen": { "type": "boolean" }, "IsInternal": { "type": "boolean" }, "SchematicPath": { "type": "string" }, "SchematicName": { "type": "string" }, "DungeonTypeName": { "type": "string" }, "DungeonPackName": { "type": "string" } }, "required": [ "Weight", "IsOpen", "IsInternal", "SchematicPath", "SchematicName", "DungeonTypeName", "DungeonPackName" ] }, "Links": { "type": "array", "items": { "type": "object", "properties": { "children": { "type": "array", "items": { "type": "object", "properties": { "x": { "type": "integer" }, "y": { "type": "integer" }, "z": { "type": "integer" } }, "required": [ "x", "y", "z" ] } }, "orientation": { "type": "number" }, "source": { "type": "object", "properties": { "x": { "type": "integer" }, "y": { "type": "integer" }, "z": { "type": "integer" }, "dimension": { "type": "integer" } }, "required": [ "x", "y", "z", "dimension" ] }, "parent": { "type": "object", "properties": { "x": { "type": "integer" }, "y": { "type": "integer" }, "z": { "type": "integer" } }, "required": [ "x", "y", "z" ] }, "tail": { "type": "object", "properties": { "linkType": { "type": "number" }, "destination": { "type": "object", "properties": { "x": { "type": "integer" }, "y": { "type": "integer" }, "z": { "type": "integer" }, "dimension": { "type": "integer" } }, "required": [ "x", "y", "z", "dimension" ] } }, "required": [ "linkType" ] }, "lock": { "type": "object", "properties": { "lockState": { "type": "boolean" }, "lockKey": { "type": "number" } }, "required": [ "lockState", "lockKey" ] } }, "required": [ "children", "orientation", "source", "parent", "tail" ] } }, "Orientation": { "type": "number" }, "Origin": { "type": "object", "properties": { "x": { "type": "number" }, "y": { "type": "number" }, "z": { "type": "number" } }, "required": [ "x", "y", "z" ] }, "PackDepth": { "type": "number" }, "ParentID": { "type": "number" }, "RootID": { "type": "number" }, "SAVE_DATA_VERSION_ID_INSTANCE": { "type": "number" }, "Tails": { "type": "array" } }, "required": [ "Tails", "SAVE_DATA_VERSION_ID_INSTANCE", "RootID", "ParentID", "PackDepth", "Origin", "Orientation", "Links", "IsFilled", "ID", "DimensionType", "Depth", "ChildIDs" ] }
o17954
{ "properties": { "customer_name": { "description": "The name of the customer", "type": "string" }, "items": { "description": "The items in the invoice", "items": { "properties": { "name": { "description": "The item name", "type": "string" }, "price": { "description": "The price of the item", "type": "number" }, "quantity": { "description": "The quantity of the item", "type": "integer" } }, "required": [ "name", "quantity", "price" ], "type": "object" }, "type": "array" }, "tax_rate": { "description": "The tax rate in percentage", "type": "number" } }, "required": [ "customer_name", "items" ], "type": "object" }
create_invoice_a195379d
{ "additionalProperties": false, "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "dependency_type": { "enum": [ "expressions_fulfilled" ], "type": "string" }, "expressions": { "type": "array" } }, "title": "exprfulfilled-schema predicate" }
o66160
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "org.eclipse.persistence.testing.jaxb.xmlidref.object.Root", "type": "object", "properties": { "root": { "type": "object", "properties": { "employee": { "$ref": "#/definitions/Employee" }, "address": { "type": "array", "items": { "$ref": "#/definitions/Address" } }, "phone-number": { "type": "array", "items": { "$ref": "#/definitions/PhoneNumber" } } }, "additionalProperties": false } }, "definitions": { "Employee": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "address-id": { "type": "string" }, "phone-id": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false }, "Address": { "type": "object", "properties": { "aid": { "type": "string" }, "street": { "type": "string" }, "city": { "type": "string" }, "country": { "type": "string" }, "zip": { "type": "string" } }, "additionalProperties": false }, "PhoneNumber": { "type": "object", "properties": { "id": { "type": "string" }, "number": { "type": "string" } }, "additionalProperties": false } } }
o42305
{ "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "cve_access": { "type": "object", "properties": { "authentication": { "type": "string", "enum": [ "NONE", "SINGLE", "MULTIPLE" ] }, "complexity": { "type": "string", "enum": [ "LOW", "MEDIUM", "HIGH" ] }, "vector": { "type": "string", "enum": [ "NETWORK", "ADJACENT_NETWORK", "LOCAL" ] } }, "required": [ "authentication", "complexity", "vector" ], "additionalProperties": false }, "cve_impact": { "type": "object", "properties": { "availability": { "type": "string", "enum": [ "NONE", "PARTIAL", "COMPLETE" ] }, "confidentiality": { "type": "string", "enum": [ "NONE", "PARTIAL", "COMPLETE" ] }, "integrity": { "type": "string", "enum": [ "NONE", "PARTIAL", "COMPLETE" ] } }, "required": [ "availability", "confidentiality", "integrity" ], "additionalProperties": false }, "cvecheck_details": { "type": "object", "description": "Detail of one CVE", "properties": { "access": { "$ref": "#/definitions/cve_access" }, "impact": { "$ref": "#/definitions/cve_impact" }, "cvss": { "type": "number" }, "summary": { "type": "string" }, "id": { "type": "string" }, "references": { "type": "array", "items": { "type": "string", "format": "uri" } }, "cwe": { "type": "string" } }, "required": [ "access", "impact", "cvss", "summary", "id", "references" ], "additionalProperties": false } }, "type": "object", "description": "CVEcheck worker results", "properties": { "schema": { "type": "object", "properties": { "name": { "type": "string", "description": "Name of the schema", "pattern": "^[a-zA-Z0-9_]+$" }, "version": { "type": "string", "description": "Version of the schema", "pattern": "^[0-9]+-[0-9]+-[0-9]+$" }, "url": { "type": "string", "description": "Full URL of the schema", "format": "uri" } }, "required": [ "name", "version" ], "additionalProperties": false }, "_release": { "type": "string", "description": "Unique release id in form of \"ecosystem:package:version\"" }, "status": { "type": "string", "enum": [ "success", "error" ] }, "details": { "type": "array", "items": { "$ref": "#/definitions/cvecheck_details" } }, "summary": { "type": "array", "items": { "type": "string" } } }, "required": [ "status", "details", "summary" ], "additionalProperties": false, "title": "cvecheck_results-v2-0-0" }
o60999
{ "properties": { "dimensions": { "properties": { "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" ], "type": "object" }, "shape": { "description": "The geometric shape (e.g., rectangle, circle)", "type": "string" } }, "required": [ "shape", "dimensions" ], "type": "object" }
calculate_area_af3f0aa6
{ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "assigned_resources": { "description": "Resource assigned for the processing block", "properties": { "status": { "description": "Status of the resource assigned", "type": "string" } }, "type": "object" }, "processing_blocks": { "description": "Array of processing blocks associated with this scheduling block", "items": { "description": "Processing block specification - description of required processing", "properties": { "assigned_resources": { "$ref": "#/definitions/assigned_resources" }, "id": { "description": "[project]-[type][id] for the processing block", "pattern": "^[a-z]+-[a-z]+[0-9]+$", "type": "string" }, "priority": { "description": "The Priority of the processing block", "type": "number" }, "resource_requirement": { "$ref": "#/definitions/resources_requirement" }, "status": { "description": "Status of the processing block", "type": "string" }, "type": { "description": "Type of the processing block", "type": "string" }, "workflow": { "$ref": "#/definitions/workflow" } }, "required": [ "id", "resources_requirement", "workflow" ], "type": "object" }, "type": "array" }, "resources_requirement": { "description": "Resources required for the processing block", "properties": { "storage_type": { "description": "Hot or cold buffer storage type", "type": "string" } }, "type": "object" }, "workflow": { "description": "Workflow stages", "properties": { "status": { "description": "Status of the workflow stage", "type": "string" } }, "type": "object" } }, "description": "Schema for an SKA Scheduling Block Instance", "properties": { "date": { "description": "YYYYmmdd for the date", "pattern": "^[0-9]{8}$", "type": "string" }, "id": { "description": "[date]-[project]-[type][id] for the scheduling block instance id", "pattern": "^[0-9]{8}-[\\w\\d]+-sbi[0-9]{3}$", "type": "string" }, "name": { "description": "Optional name string", "type": "string" }, "processing_blocks": { "$ref": "#/definitions/processing_blocks" }, "project": { "description": "Project of the scheduling block instance", "type": "string" }, "sched_block_id": { "description": "[date]-[project]-[type][id] for the scheduling block id", "pattern": "^[0-9]{8}-[\\w|\\d]+-sb[0-9]{3}$", "type": "string" }, "status": { "description": "Status of the scheduling block instance", "type": "string" }, "sub_array_id": { "description": "[type][id] for the sub array id", "pattern": "^subarray-0[0-9]|subarray-1[0-5]$", "type": "string" }, "type": { "description": "Type of scheduling block", "type": "string" }, "version": { "description": "Version of the scheduling block instance", "type": "string" } }, "required": [ "id", "sched_block_id", "sub_array_id", "processing_blocks" ], "title": "Scheduling Block Instance", "type": "object" }
o13692
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "sensorsObj", "description": "Used to log captured sensors value", "type": "object", "additionalProperties": false, "properties": { "date": { "type": [ "string", "null" ], "description": "Date of the capture" }, "interval": { "type": [ "number", "null" ], "description": "Capture interval configured for the source, in seconds" }, "sensors": { "type": [ "object", "null" ], "description": "Sensor values captures on a phidget board", "patternProperties": { "^(.)+": { "type": "object", "properties": { "description": { "type": "string", "description": "Description of the sensor" }, "type": { "type": "string", "description": "Sensor Type" }, "value": { "type": "number", "description": "Captured value after applying formula" }, "valueRaw": { "type": "number", "description": "Captured value before applying formula" } } } } } } }
o17131
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "array", "minItems": 1, "_uniqueItems": true, "items": { "type": "object", "properties": { "type": { "type": "string" }, "properties": { "type": "object", "properties": { "Device_Name": { "type": "string" }, "Device_Code_Name": { "type": "string" }, "Device_Maker": { "type": "string" }, "Device_Pointing_Method": { "type": "string" }, "Device_Brand_Name": { "type": "string" } }, "required": [ "Device_Name", "Device_Code_Name", "Device_Maker", "Device_Pointing_Method", "Device_Brand_Name" ] }, "standard": { "type": "boolean" } }, "required": [ "type", "properties", "standard" ] } }
o60845
{ "$id": "https://json.schemastore.org/samtrc.json", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "definitions": { "level_type": { "enum": ["error", "warn", "info", "off"] }, "naming_type": { "enum": [ "PascalCase", "camelCase", "kebab-case", "snake_case", "SCREAMING_SNAKE_CASE" ] } }, "properties": { "extends": { "description": "The name of the configuration file to extend from, used to determine the default rules to apply", "anyOf": [ { "type": "string" }, { "enum": ["recommended", "strict"] } ] }, "rules": { "description": "Configuration for linter rules for the current project", "type": "array", "items": { "oneOf": [ { "description": "Configure whether model types (e.g. record and service) must be in a separate file from their providers and consumers", "type": "object", "required": ["type"], "properties": { "type": { "const": "split-model-and-providers" }, "level": { "$ref": "#/definitions/level_type" } }, "additionalProperties": false }, { "description": "Configure naming rules which apply to all types in the project", "type": "object", "required": ["type"], "properties": { "type": { "const": "naming-conventions" }, "level": { "$ref": "#/definitions/level_type" }, "record": { "$ref": "#/definitions/naming_type" }, "recordField": { "$ref": "#/definitions/naming_type" }, "enum": { "$ref": "#/definitions/naming_type" }, "enumValue": { "$ref": "#/definitions/naming_type" }, "typeAlias": { "$ref": "#/definitions/naming_type" }, "service": { "$ref": "#/definitions/naming_type" }, "serviceOperation": { "$ref": "#/definitions/naming_type" }, "serviceOperationParameter": { "$ref": "#/definitions/naming_type" }, "provider": { "$ref": "#/definitions/naming_type" }, "package": { "$ref": "#/definitions/naming_type" }, "fileName": { "$ref": "#/definitions/naming_type" } }, "additionalProperties": false } ] } } }, "required": ["extends"], "type": "object" }
samtrc
{ "additionalProperties": false, "items": { "type": "string" }, "title": "Interests", "type": "array" }
o13839
{ "properties": { "customer_details": { "properties": { "email": { "description": "The email of the customer", "type": "string" }, "name": { "description": "The name of the customer", "type": "string" } }, "required": [ "name", "email" ], "type": "object" }, "product_details": { "items": { "properties": { "price": { "description": "The price of the product", "type": "number" }, "product_name": { "description": "The name of the product", "type": "string" }, "quantity": { "description": "The quantity of the product", "type": "integer" } }, "required": [ "product_name", "quantity", "price" ], "type": "object" }, "type": "array" } }, "required": [ "customer_details", "product_details" ], "type": "object" }
create_invoice_a0aa4cbd
{ "$schema": "http://json-schema.org/draft-04/schema#", "description": "The value returned by GET /{db}/_design/{ddoc}/_info", "properties": { "name": { "type": "string" }, "view_index": { "properties": { "compact_running": { "type": "boolean" }, "data_size": { "type": "number" }, "disk_size": { "type": "number" }, "language": { "type": "string" }, "purge_seq": { "type": "number" }, "signature": { "type": "string" }, "update_seq": { "type": "number" }, "updater_running": { "type": "boolean" }, "waiting_clients": { "type": "number" }, "waiting_commit": { "type": "boolean" } }, "required": [ "compact_running", "data_size", "disk_size", "language", "purge_seq", "signature", "update_seq", "updater_running", "waiting_clients", "waiting_commit" ], "type": "object" } }, "required": [ "name", "view_index" ], "title": "CouchDB /{db}/_design/{ddoc}/_info", "type": "object" }
o60118
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "items": { "type": "array", "items": { "title": "Application Key", "description": "Schema for a single Application Key", "type": "object", "properties": { "id": { "type": "string", "pattern": "^[A-Fa-f\\d]{24}$" }, "applicationKeyId": { "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" }, "key": { "type": "string" }, "status": { "type": "string", "enum": [ "active", "inactive" ] }, "deviceIds": { "type": "array", "items": { "type": "string", "pattern": "^[A-Fa-f\\d]{24}$" }, "maxItems": 1000 }, "deviceTags": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string", "pattern": "^[0-9a-zA-Z_-]{1,255}$" }, "value": { "type": "string", "minLength": 1, "maxLength": 255 } }, "additionalProperties": false }, "maxItems": 100 }, "description": { "type": "string", "maxLength": 32767 }, "filterType": { "oneOf": [ { "type": "string", "enum": [ "all", "whitelist", "blacklist" ] }, { "type": "string", "enum": [ "none" ] } ] }, "pubTopics": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 1024 } }, "subTopics": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 1024 } } } } }, "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}$" } } }
o9786
{ "definitions": { "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1_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_v1_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" } }, "description": "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "properties": { "nonResourceAttributes": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1_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_v1_ResourceAttributes", "description": "ResourceAuthorizationAttributes describes information for a resource access request" } }, "type": "object" }
kb_952_Normalized
{ "description": "Adds and removes POSIX capabilities from running containers.", "properties": { "add": { "description": "Added capabilities", "items": { "type": [ "string", "null" ] }, "type": [ "array", "null" ] }, "drop": { "description": "Removed capabilities", "items": { "type": [ "string", "null" ] }, "type": [ "array", "null" ] } }, "type": "object" }
kb_61_Normalized
{ "additionalProperties": false, "description": "Schema for a Mailchimp subscribe event", "properties": { "data": { "additionalProperties": false, "properties": { "email": { "type": "string" }, "email_type": { "type": "string" }, "id": { "type": "string" }, "ip_opt": { "type": "string" }, "ip_signup": { "type": "string" }, "list_id": { "type": "string" }, "merges": { "additionalProperties": true, "properties": { "EMAIL": { "type": [ "string", "null" ] }, "FNAME": { "type": [ "string", "null" ] }, "INTERESTS": { "type": [ "string", "null" ] }, "LNAME": { "type": [ "string", "null" ] } }, "type": "object" }, "web_id": { "type": "string" } }, "type": "object" }, "fired_at": { "_format": "date-time", "type": "string" }, "type": { "type": "string" } }, "self": { "format": "jsonschema", "name": "subscribe", "vendor": "com.mailchimp", "version": "1-0-0" }, "type": "object" }
sp_112_Normalized
{ "properties": { "name": { "$default": { "$source": "argv", "index": 0 }, "type": "string" }, "path": { "description": "The path to create the component.", "format": "path", "type": "string", "visible": false }, "project": { "$default": { "$source": "projectName" }, "description": "The name of the project.", "type": "string" }, "proxy": { "description": "if the component needs to proxy its calls to api", "type": "boolean" } }, "title": "Menu Schema", "type": "object" }
o9976
{ "properties": { "dimensions": { "properties": { "length": { "description": "The length of the shape", "type": "number" }, "radius": { "description": "The radius of the shape (if applicable)", "type": "number" }, "width": { "description": "The width of the shape", "type": "number" } }, "required": [ "length", "width" ], "type": "object" }, "shape": { "description": "The shape for which to calculate the area", "type": "string" } }, "required": [ "shape", "dimensions" ], "type": "object" }
calculate_area_761d5d71
{ "definitions": { "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_apps_v1_RollingUpdateStatefulSetStrategy": { "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.", "properties": { "partition": { "_format": "int32", "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", "type": "integer" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_apps_v1_StatefulSetUpdateStrategy": { "description": "StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.", "properties": { "rollingUpdate": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_apps_v1_RollingUpdateStatefulSetStrategy", "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType." }, "type": { "description": "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.", "type": "string" } }, "type": "object" }, "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_Affinity": { "description": "Affinity is a group of affinity scheduling rules.", "properties": { "nodeAffinity": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeAffinity", "description": "Describes node affinity scheduling rules for the pod." }, "podAffinity": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAffinity", "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))." }, "podAntiAffinity": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAntiAffinity", "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))." } }, "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_AzureFileVolumeSource": { "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" }, "shareName": { "description": "Share Name", "type": "string" } }, "required": [ "secretName", "shareName" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_CSIVolumeSource": { "description": "Represents a source location of a volume to mount, managed by an external CSI driver", "properties": { "driver": { "description": "Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.", "type": "string" }, "fsType": { "description": "Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.", "type": "string" }, "nodePublishSecretRef": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LocalObjectReference", "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 secret references are passed." }, "readOnly": { "description": "Specifies a read-only configuration for the volume. Defaults to false (read/write).", "type": "boolean" }, "volumeAttributes": { "additionalProperties": { "type": "string" }, "description": "VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.", "type": "object" } }, "required": [ "driver" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", "properties": { "add": { "description": "Added capabilities", "items": { "type": "string" }, "type": "array" }, "drop": { "description": "Removed capabilities", "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_CephFSVolumeSource": { "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_LocalObjectReference", "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_CinderVolumeSource": { "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_LocalObjectReference", "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_ConfigMapEnvSource": { "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.", "properties": { "name": { "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" }, "optional": { "description": "Specify whether the ConfigMap must be defined", "type": "boolean" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ConfigMapKeySelector": { "description": "Selects a key from a ConfigMap.", "properties": { "key": { "description": "The key to select.", "type": "string" }, "name": { "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" }, "optional": { "description": "Specify whether the ConfigMap or its key must be defined", "type": "boolean" } }, "required": [ "key" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ConfigMapProjection": { "description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.", "properties": { "items": { "description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_KeyToPath" }, "type": "array" }, "name": { "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" }, "optional": { "description": "Specify whether the ConfigMap or its keys must be defined", "type": "boolean" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ConfigMapVolumeSource": { "description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.", "properties": { "defaultMode": { "_format": "int32", "description": "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", "type": "integer" }, "items": { "description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_KeyToPath" }, "type": "array" }, "name": { "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" }, "optional": { "description": "Specify whether the ConfigMap or its keys must be defined", "type": "boolean" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Container": { "description": "A single application container that you want to run within a pod.", "properties": { "args": { "description": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", "items": { "type": "string" }, "type": "array" }, "command": { "description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", "items": { "type": "string" }, "type": "array" }, "env": { "description": "List of environment variables to set in the container. Cannot be updated.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EnvVar" }, "type": "array", "x-kubernetes-patch-merge-key": "name", "x-kubernetes-patch-strategy": "merge" }, "envFrom": { "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EnvFromSource" }, "type": "array" }, "image": { "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", "type": "string" }, "imagePullPolicy": { "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", "type": "string" }, "lifecycle": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Lifecycle", "description": "Actions that the management system should take in response to container lifecycle events. Cannot be updated." }, "livenessProbe": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Probe", "description": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" }, "name": { "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.", "type": "string" }, "ports": { "description": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerPort" }, "type": "array", "x-kubernetes-list-map-keys": [ "containerPort", "protocol" ], "x-kubernetes-list-type": "map", "x-kubernetes-patch-merge-key": "containerPort", "x-kubernetes-patch-strategy": "merge" }, "readinessProbe": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Probe", "description": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" }, "resources": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ResourceRequirements", "description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" }, "securityContext": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecurityContext", "description": "Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/" }, "startupProbe": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Probe", "description": "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. This is a beta feature enabled by the StartupProbe feature flag. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", "type": "boolean" }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", "type": "boolean" }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", "type": "string" }, "terminationMessagePolicy": { "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.", "type": "string" }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", "type": "boolean" }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VolumeDevice" }, "type": "array", "x-kubernetes-patch-merge-key": "devicePath", "x-kubernetes-patch-strategy": "merge" }, "volumeMounts": { "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VolumeMount" }, "type": "array", "x-kubernetes-patch-merge-key": "mountPath", "x-kubernetes-patch-strategy": "merge" }, "workingDir": { "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", "type": "string" } }, "required": [ "name" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerPort": { "description": "ContainerPort represents a network port in a single container.", "properties": { "containerPort": { "_format": "int32", "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", "type": "integer" }, "hostIP": { "description": "What host IP to bind the external port to.", "type": "string" }, "hostPort": { "_format": "int32", "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", "type": "integer" }, "name": { "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.", "type": "string" }, "protocol": { "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".", "type": "string" } }, "required": [ "containerPort" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_DownwardAPIProjection": { "description": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.", "properties": { "items": { "description": "Items is a list of DownwardAPIVolume file", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_DownwardAPIVolumeFile" }, "type": "array" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_DownwardAPIVolumeFile": { "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", "properties": { "fieldRef": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ObjectFieldSelector", "description": "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported." }, "mode": { "_format": "int32", "description": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", "type": "integer" }, "path": { "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", "type": "string" }, "resourceFieldRef": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ResourceFieldSelector", "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported." } }, "required": [ "path" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_DownwardAPIVolumeSource": { "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.", "properties": { "defaultMode": { "_format": "int32", "description": "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", "type": "integer" }, "items": { "description": "Items is a list of downward API volume file", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_DownwardAPIVolumeFile" }, "type": "array" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EmptyDirVolumeSource": { "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.", "properties": { "medium": { "description": "What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", "type": "string" }, "sizeLimit": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity", "description": "Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EnvFromSource": { "description": "EnvFromSource represents the source of a set of ConfigMaps", "properties": { "configMapRef": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ConfigMapEnvSource", "description": "The ConfigMap to select from" }, "prefix": { "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", "type": "string" }, "secretRef": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretEnvSource", "description": "The Secret to select from" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EnvVar": { "description": "EnvVar represents an environment variable present in a Container.", "properties": { "name": { "description": "Name of the environment variable. Must be a C_IDENTIFIER.", "type": "string" }, "value": { "description": "Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".", "type": "string" }, "valueFrom": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EnvVarSource", "description": "Source for the environment variable's value. Cannot be used if value is not empty." } }, "required": [ "name" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EnvVarSource": { "description": "EnvVarSource represents a source for the value of an EnvVar.", "properties": { "configMapKeyRef": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ConfigMapKeySelector", "description": "Selects a key of a ConfigMap." }, "fieldRef": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ObjectFieldSelector", "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." }, "resourceFieldRef": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ResourceFieldSelector", "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." }, "secretKeyRef": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretKeySelector", "description": "Selects a key of a secret in the pod's namespace" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EphemeralContainer": { "description": "An EphemeralContainer is a container that may be added temporarily to an existing pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a pod is removed or restarted. If an ephemeral container causes a pod to exceed its resource allocation, the pod may be evicted. Ephemeral containers may not be added by directly updating the pod spec. They must be added via the pod's ephemeralcontainers subresource, and they will appear in the pod spec once added. This is an alpha feature enabled by the EphemeralContainers feature flag.", "properties": { "args": { "description": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", "items": { "type": "string" }, "type": "array" }, "command": { "description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", "items": { "type": "string" }, "type": "array" }, "env": { "description": "List of environment variables to set in the container. Cannot be updated.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EnvVar" }, "type": "array", "x-kubernetes-patch-merge-key": "name", "x-kubernetes-patch-strategy": "merge" }, "envFrom": { "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EnvFromSource" }, "type": "array" }, "image": { "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images", "type": "string" }, "imagePullPolicy": { "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", "type": "string" }, "lifecycle": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Lifecycle", "description": "Lifecycle is not allowed for ephemeral containers." }, "livenessProbe": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Probe", "description": "Probes are not allowed for ephemeral containers." }, "name": { "description": "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.", "type": "string" }, "ports": { "description": "Ports are not allowed for ephemeral containers.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerPort" }, "type": "array" }, "readinessProbe": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Probe", "description": "Probes are not allowed for ephemeral containers." }, "resources": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ResourceRequirements", "description": "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod." }, "securityContext": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecurityContext", "description": "SecurityContext is not allowed for ephemeral containers." }, "startupProbe": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Probe", "description": "Probes are not allowed for ephemeral containers." }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", "type": "boolean" }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", "type": "boolean" }, "targetContainerName": { "description": "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature.", "type": "string" }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", "type": "string" }, "terminationMessagePolicy": { "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.", "type": "string" }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", "type": "boolean" }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VolumeDevice" }, "type": "array", "x-kubernetes-patch-merge-key": "devicePath", "x-kubernetes-patch-strategy": "merge" }, "volumeMounts": { "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VolumeMount" }, "type": "array", "x-kubernetes-patch-merge-key": "mountPath", "x-kubernetes-patch-strategy": "merge" }, "workingDir": { "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", "type": "string" } }, "required": [ "name" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ExecAction": { "description": "ExecAction describes a \"run in container\" action.", "properties": { "command": { "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", "items": { "type": "string" }, "type": "array" } }, "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_FlexVolumeSource": { "description": "FlexVolume represents a generic 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_LocalObjectReference", "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_GitRepoVolumeSource": { "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", "properties": { "directory": { "description": "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.", "type": "string" }, "repository": { "description": "Repository URL", "type": "string" }, "revision": { "description": "Commit hash for the specified revision.", "type": "string" } }, "required": [ "repository" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_GlusterfsVolumeSource": { "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" }, "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_HTTPGetAction": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", "properties": { "host": { "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", "type": "string" }, "httpHeaders": { "description": "Custom headers to set in the request. HTTP allows repeated headers.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_HTTPHeader" }, "type": "array" }, "path": { "description": "Path to access on the HTTP server.", "type": "string" }, "port": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_util_intstr_IntOrString", "description": "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." }, "scheme": { "description": "Scheme to use for connecting to the host. Defaults to HTTP.", "type": "string" } }, "required": [ "port" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_HTTPHeader": { "description": "HTTPHeader describes a custom header to be used in HTTP probes", "properties": { "name": { "description": "The header field name", "type": "string" }, "value": { "description": "The header field value", "type": "string" } }, "required": [ "name", "value" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Handler": { "description": "Handler defines a specific action that should be taken", "properties": { "exec": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ExecAction", "description": "One and only one of the following should be specified. Exec specifies the action to take." }, "httpGet": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_HTTPGetAction", "description": "HTTPGet specifies the http request to perform." }, "tcpSocket": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TCPSocketAction", "description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_HostAlias": { "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.", "properties": { "hostnames": { "description": "Hostnames for the above IP address.", "items": { "type": "string" }, "type": "array" }, "ip": { "description": "IP address of the host file entry.", "type": "string" } }, "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_ISCSIVolumeSource": { "description": "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_LocalObjectReference", "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_KeyToPath": { "description": "Maps a string key to a path within a volume.", "properties": { "key": { "description": "The key to project.", "type": "string" }, "mode": { "_format": "int32", "description": "Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", "type": "integer" }, "path": { "description": "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", "type": "string" } }, "required": [ "key", "path" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Lifecycle": { "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.", "properties": { "postStart": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Handler", "description": "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks" }, "preStop": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Handler", "description": "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The reason for termination is passed to the handler. The Pod's termination grace period countdown begins before the PreStop hooked is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period. Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LocalObjectReference": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", "properties": { "name": { "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" } }, "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_NodeAffinity": { "description": "Node affinity is a group of node affinity scheduling rules.", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PreferredSchedulingTerm" }, "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSelector", "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node." } }, "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_ObjectFieldSelector": { "description": "ObjectFieldSelector selects an APIVersioned field of an object.", "properties": { "apiVersion": { "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", "type": "string" }, "fieldPath": { "description": "Path of the field to select in the specified API version.", "type": "string" } }, "required": [ "fieldPath" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaim": { "description": "PersistentVolumeClaim is a user's request for and claim to a persistent volume", "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" }, "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": [ "PersistentVolumeClaim" ], "type": "string" }, "metadata": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimSpec", "description": "Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" }, "status": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimStatus", "description": "Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "", "kind": "PersistentVolumeClaim", "version": "v1" } ] }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimCondition": { "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" }, "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" }, "status": { "type": "string" }, "type": { "type": "string" } }, "required": [ "type", "status" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimSpec": { "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes", "properties": { "accessModes": { "description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", "items": { "type": "string" }, "type": "array" }, "dataSource": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TypedLocalObjectReference", "description": "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot - Beta) * An existing PVC (PersistentVolumeClaim) * An existing custom resource/object that implements data population (Alpha) In order to use VolumeSnapshot object types, the appropriate feature gate must be enabled (VolumeSnapshotDataSource or AnyVolumeDataSource) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the specified data source is not supported, the volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change." }, "resources": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ResourceRequirements", "description": "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" }, "selector": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector", "description": "A label query over volumes to consider for binding." }, "storageClassName": { "description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", "type": "string" }, "volumeMode": { "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.", "type": "string" }, "volumeName": { "description": "VolumeName is the binding reference to the PersistentVolume backing this claim.", "type": "string" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimStatus": { "description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim.", "properties": { "accessModes": { "description": "AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", "items": { "type": "string" }, "type": "array" }, "capacity": { "additionalProperties": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity" }, "description": "Represents the actual resources of the underlying volume.", "type": "object" }, "conditions": { "description": "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimCondition" }, "type": "array", "x-kubernetes-patch-merge-key": "type", "x-kubernetes-patch-strategy": "merge" }, "phase": { "description": "Phase represents the current phase of PersistentVolumeClaim.", "type": "string" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimVolumeSource": { "description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).", "properties": { "claimName": { "description": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", "type": "string" }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", "type": "boolean" } }, "required": [ "claimName" ], "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_PodAffinity": { "description": "Pod affinity is a group of inter pod affinity scheduling rules.", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_WeightedPodAffinityTerm" }, "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAffinityTerm" }, "type": "array" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAffinityTerm": { "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running", "properties": { "labelSelector": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector", "description": "A label query over a set of resources, in this case pods." }, "namespaces": { "description": "namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\"", "items": { "type": "string" }, "type": "array" }, "topologyKey": { "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.", "type": "string" } }, "required": [ "topologyKey" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAntiAffinity": { "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_WeightedPodAffinityTerm" }, "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { "description": "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAffinityTerm" }, "type": "array" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodDNSConfig": { "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.", "properties": { "nameservers": { "description": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.", "items": { "type": "string" }, "type": "array" }, "options": { "description": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodDNSConfigOption" }, "type": "array" }, "searches": { "description": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.", "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodDNSConfigOption": { "description": "PodDNSConfigOption defines DNS resolver options of a pod.", "properties": { "name": { "description": "Required.", "type": "string" }, "value": { "type": "string" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodReadinessGate": { "description": "PodReadinessGate contains the reference to a pod condition", "properties": { "conditionType": { "description": "ConditionType refers to a condition in the pod's condition list with matching type.", "type": "string" } }, "required": [ "conditionType" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodSecurityContext": { "description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.", "properties": { "fsGroup": { "_format": "int64", "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", "type": "integer" }, "fsGroupChangePolicy": { "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified defaults to \"Always\".", "type": "string" }, "runAsGroup": { "_format": "int64", "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", "type": "integer" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", "type": "boolean" }, "runAsUser": { "_format": "int64", "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", "type": "integer" }, "seLinuxOptions": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SELinuxOptions", "description": "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container." }, "supplementalGroups": { "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container.", "items": { "_format": "int64", "type": "integer" }, "type": "array" }, "sysctls": { "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Sysctl" }, "type": "array" }, "windowsOptions": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_WindowsSecurityContextOptions", "description": "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodSpec": { "description": "PodSpec is a description of a pod.", "properties": { "activeDeadlineSeconds": { "_format": "int64", "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", "type": "integer" }, "affinity": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Affinity", "description": "If specified, the pod's scheduling constraints" }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", "type": "boolean" }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Container" }, "type": "array", "x-kubernetes-patch-merge-key": "name", "x-kubernetes-patch-strategy": "merge" }, "dnsConfig": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodDNSConfig", "description": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy." }, "dnsPolicy": { "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.", "type": "string" }, "enableServiceLinks": { "description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true.", "type": "boolean" }, "ephemeralContainers": { "description": "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EphemeralContainer" }, "type": "array", "x-kubernetes-patch-merge-key": "name", "x-kubernetes-patch-strategy": "merge" }, "hostAliases": { "description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_HostAlias" }, "type": "array", "x-kubernetes-patch-merge-key": "ip", "x-kubernetes-patch-strategy": "merge" }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", "type": "boolean" }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", "type": "boolean" }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", "type": "boolean" }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", "type": "string" }, "imagePullSecrets": { "description": "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LocalObjectReference" }, "type": "array", "x-kubernetes-patch-merge-key": "name", "x-kubernetes-patch-strategy": "merge" }, "initContainers": { "description": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Container" }, "type": "array", "x-kubernetes-patch-merge-key": "name", "x-kubernetes-patch-strategy": "merge" }, "nodeName": { "description": "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.", "type": "string" }, "nodeSelector": { "additionalProperties": { "type": "string" }, "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", "type": "object" }, "overhead": { "additionalProperties": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity" }, "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature.", "type": "object" }, "preemptionPolicy": { "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature.", "type": "string" }, "priority": { "_format": "int32", "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", "type": "integer" }, "priorityClassName": { "description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.", "type": "string" }, "readinessGates": { "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodReadinessGate" }, "type": "array" }, "restartPolicy": { "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy", "type": "string" }, "runtimeClassName": { "description": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14.", "type": "string" }, "schedulerName": { "description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.", "type": "string" }, "securityContext": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodSecurityContext", "description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field." }, "serviceAccount": { "description": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.", "type": "string" }, "serviceAccountName": { "description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/", "type": "string" }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false.", "type": "boolean" }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>\". If not specified, the pod will not have a domainname at all.", "type": "string" }, "terminationGracePeriodSeconds": { "_format": "int64", "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", "type": "integer" }, "tolerations": { "description": "If specified, the pod's tolerations.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Toleration" }, "type": "array" }, "topologySpreadConstraints": { "description": "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. This field is only honored by clusters that enable the EvenPodsSpread feature. All topologySpreadConstraints are ANDed.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TopologySpreadConstraint" }, "type": "array", "x-kubernetes-list-map-keys": [ "topologyKey", "whenUnsatisfiable" ], "x-kubernetes-list-type": "map", "x-kubernetes-patch-merge-key": "topologyKey", "x-kubernetes-patch-strategy": "merge" }, "volumes": { "description": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Volume" }, "type": "array", "x-kubernetes-patch-merge-key": "name", "x-kubernetes-patch-strategy": "merge,retainKeys" } }, "required": [ "containers" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodTemplateSpec": { "description": "PodTemplateSpec describes the data a pod should have when created from a template", "properties": { "metadata": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodSpec", "description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "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_PreferredSchedulingTerm": { "description": "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", "properties": { "preference": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSelectorTerm", "description": "A node selector term, associated with the corresponding weight." }, "weight": { "_format": "int32", "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", "type": "integer" } }, "required": [ "weight", "preference" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Probe": { "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", "properties": { "exec": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ExecAction", "description": "One and only one of the following should be specified. Exec specifies the action to take." }, "failureThreshold": { "_format": "int32", "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", "type": "integer" }, "httpGet": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_HTTPGetAction", "description": "HTTPGet specifies the http request to perform." }, "initialDelaySeconds": { "_format": "int32", "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", "type": "integer" }, "periodSeconds": { "_format": "int32", "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", "type": "integer" }, "successThreshold": { "_format": "int32", "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", "type": "integer" }, "tcpSocket": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TCPSocketAction", "description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported" }, "timeoutSeconds": { "_format": "int32", "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", "type": "integer" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ProjectedVolumeSource": { "description": "Represents a projected volume source", "properties": { "defaultMode": { "_format": "int32", "description": "Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", "type": "integer" }, "sources": { "description": "list of volume projections", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VolumeProjection" }, "type": "array" } }, "required": [ "sources" ], "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_RBDVolumeSource": { "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_LocalObjectReference", "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_ResourceFieldSelector": { "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", "properties": { "containerName": { "description": "Container name: required for volumes, optional for env vars", "type": "string" }, "divisor": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity", "description": "Specifies the output format of the exposed resources, defaults to \"1\"" }, "resource": { "description": "Required: resource to select", "type": "string" } }, "required": [ "resource" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ResourceRequirements": { "description": "ResourceRequirements describes the compute resource requirements.", "properties": { "limits": { "additionalProperties": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity" }, "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "type": "object" }, "requests": { "additionalProperties": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity" }, "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "type": "object" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SELinuxOptions": { "description": "SELinuxOptions are the labels to be applied to the container", "properties": { "level": { "description": "Level is SELinux level label that applies to the container.", "type": "string" }, "role": { "description": "Role is a SELinux role label that applies to the container.", "type": "string" }, "type": { "description": "Type is a SELinux type label that applies to the container.", "type": "string" }, "user": { "description": "User is a SELinux user label that applies to the container.", "type": "string" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ScaleIOVolumeSource": { "description": "ScaleIOVolumeSource 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_LocalObjectReference", "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_SecretEnvSource": { "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables.", "properties": { "name": { "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" }, "optional": { "description": "Specify whether the Secret must be defined", "type": "boolean" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretKeySelector": { "description": "SecretKeySelector selects a key of a Secret.", "properties": { "key": { "description": "The key of the secret to select from. Must be a valid secret key.", "type": "string" }, "name": { "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" }, "optional": { "description": "Specify whether the Secret or its key must be defined", "type": "boolean" } }, "required": [ "key" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretProjection": { "description": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.", "properties": { "items": { "description": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_KeyToPath" }, "type": "array" }, "name": { "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" }, "optional": { "description": "Specify whether the Secret or its key must be defined", "type": "boolean" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretVolumeSource": { "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.", "properties": { "defaultMode": { "_format": "int32", "description": "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", "type": "integer" }, "items": { "description": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_KeyToPath" }, "type": "array" }, "optional": { "description": "Specify whether the Secret or its keys must be defined", "type": "boolean" }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", "type": "string" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecurityContext": { "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", "type": "boolean" }, "capabilities": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Capabilities", "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime." }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", "type": "boolean" }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", "type": "string" }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", "type": "boolean" }, "runAsGroup": { "_format": "int64", "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", "type": "integer" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", "type": "boolean" }, "runAsUser": { "_format": "int64", "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", "type": "integer" }, "seLinuxOptions": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SELinuxOptions", "description": "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." }, "windowsOptions": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_WindowsSecurityContextOptions", "description": "The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ServiceAccountTokenProjection": { "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).", "properties": { "audience": { "description": "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.", "type": "string" }, "expirationSeconds": { "_format": "int64", "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", "type": "integer" }, "path": { "description": "Path is the path relative to the mount point of the file to project the token into.", "type": "string" } }, "required": [ "path" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_StorageOSVolumeSource": { "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_LocalObjectReference", "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_Sysctl": { "description": "Sysctl defines a kernel parameter to be set", "properties": { "name": { "description": "Name of a property to set", "type": "string" }, "value": { "description": "Value of a property to set", "type": "string" } }, "required": [ "name", "value" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TCPSocketAction": { "description": "TCPSocketAction describes an action based on opening a socket", "properties": { "host": { "description": "Optional: Host name to connect to, defaults to the pod IP.", "type": "string" }, "port": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_util_intstr_IntOrString", "description": "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." } }, "required": [ "port" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Toleration": { "description": "The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.", "properties": { "effect": { "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.", "type": "string" }, "key": { "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.", "type": "string" }, "operator": { "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.", "type": "string" }, "tolerationSeconds": { "_format": "int64", "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", "type": "integer" }, "value": { "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.", "type": "string" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TopologySpreadConstraint": { "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", "properties": { "labelSelector": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector", "description": "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain." }, "maxSkew": { "_format": "int32", "description": "MaxSkew describes the degree to which pods may be unevenly distributed. It's the maximum permitted difference between the number of matching pods in any two topology domains of a given topology type. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. It's a required field. Default value is 1 and 0 is not allowed.", "type": "integer" }, "topologyKey": { "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each <key, value> as a \"bucket\", and try to put balanced number of pods into each bucket. It's a required field.", "type": "string" }, "whenUnsatisfiable": { "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it - ScheduleAnyway tells the scheduler to still schedule it It's considered as \"Unsatisfiable\" if and only if placing incoming pod on any topology violates \"MaxSkew\". For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field.", "type": "string" } }, "required": [ "maxSkew", "topologyKey", "whenUnsatisfiable" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TypedLocalObjectReference": { "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.", "properties": { "apiGroup": { "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", "type": "string" }, "kind": { "description": "Kind is the type of resource being referenced", "type": "string" }, "name": { "description": "Name is the name of resource being referenced", "type": "string" } }, "required": [ "kind", "name" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Volume": { "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", "properties": { "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_AzureFileVolumeSource", "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." }, "cephfs": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_CephFSVolumeSource", "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_CinderVolumeSource", "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" }, "configMap": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ConfigMapVolumeSource", "description": "ConfigMap represents a configMap that should populate this volume" }, "csi": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_CSIVolumeSource", "description": "CSI (Container Storage Interface) represents storage that is handled by an external CSI driver (Alpha feature)." }, "downwardAPI": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_DownwardAPIVolumeSource", "description": "DownwardAPI represents downward API about the pod that should populate this volume" }, "emptyDir": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EmptyDirVolumeSource", "description": "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" }, "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_FlexVolumeSource", "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. 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. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" }, "gitRepo": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_GitRepoVolumeSource", "description": "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container." }, "glusterfs": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_GlusterfsVolumeSource", "description": "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. 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 pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. 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_ISCSIVolumeSource", "description": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md" }, "name": { "description": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" }, "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 that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" }, "persistentVolumeClaim": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimVolumeSource", "description": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" }, "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" }, "projected": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ProjectedVolumeSource", "description": "Items for all in one resources secrets, configmaps, and downward API" }, "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_RBDVolumeSource", "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_ScaleIOVolumeSource", "description": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes." }, "secret": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretVolumeSource", "description": "Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret" }, "storageos": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_StorageOSVolumeSource", "description": "StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes." }, "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" } }, "required": [ "name" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VolumeDevice": { "description": "volumeDevice describes a mapping of a raw block device within a container.", "properties": { "devicePath": { "description": "devicePath is the path inside of the container that the device will be mapped to.", "type": "string" }, "name": { "description": "name must match the name of a persistentVolumeClaim in the pod", "type": "string" } }, "required": [ "name", "devicePath" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VolumeMount": { "description": "VolumeMount describes a mounting of a Volume within a container.", "properties": { "mountPath": { "description": "Path within the container at which the volume should be mounted. Must not contain ':'.", "type": "string" }, "mountPropagation": { "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.", "type": "string" }, "name": { "description": "This must match the Name of a Volume.", "type": "string" }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", "type": "boolean" }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", "type": "string" }, "subPathExpr": { "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.", "type": "string" } }, "required": [ "name", "mountPath" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VolumeProjection": { "description": "Projection that may be projected along with other supported volume types", "properties": { "configMap": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ConfigMapProjection", "description": "information about the configMap data to project" }, "downwardAPI": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_DownwardAPIProjection", "description": "information about the downwardAPI data to project" }, "secret": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretProjection", "description": "information about the secret data to project" }, "serviceAccountToken": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ServiceAccountTokenProjection", "description": "information about the serviceAccountToken data to project" } }, "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_core_v1_WeightedPodAffinityTerm": { "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", "properties": { "podAffinityTerm": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAffinityTerm", "description": "Required. A pod affinity term, associated with the corresponding weight." }, "weight": { "_format": "int32", "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", "type": "integer" } }, "required": [ "weight", "podAffinityTerm" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_WindowsSecurityContextOptions": { "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", "properties": { "gmsaCredentialSpec": { "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", "type": "string" }, "gmsaCredentialSpecName": { "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", "type": "string" }, "runAsUserName": { "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", "type": "string" } }, "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_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_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" }, "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" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_util_intstr_IntOrString": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] } }, "description": "A StatefulSetSpec is the specification of a StatefulSet.", "properties": { "podManagementPolicy": { "description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.", "type": [ "string", "null" ] }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", "format": "int32", "type": [ "integer", "null" ] }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", "format": "int32", "type": [ "integer", "null" ] }, "selector": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector", "description": "selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" }, "serviceName": { "description": "serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.", "type": [ "string", "null" ] }, "template": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodTemplateSpec", "description": "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet." }, "updateStrategy": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_apps_v1_StatefulSetUpdateStrategy", "description": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template." }, "volumeClaimTemplates": { "description": "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaim" }, "type": [ "array", "null" ] } }, "required": [ "selector", "template", "serviceName" ], "type": "object" }
kb_1008_Normalized
{ "$schema": "http://json-schema.org/draft-04/schema", "description": "Key-boolean pair of syndication services where this article may go", "patternProperties": { ".*": { "type": "boolean" } }, "properties": { "external_distribution": { "description": "Necessary for fulfilling contractual agreements with third party clients", "type": "boolean" }, "search": { "description": "Necessary so that we can filter out all articles that editorial has deemed should not be discoverable via search", "type": "boolean" } }, "title": "Syndication", "type": "object" }
wp_93_Normalized
{ "$schema": "http://json-schema.org/draft-07/schema#", "properties": { "subject": { "oneOf": [ { "$ref": "#/definitions/first" }, { "$ref": "#/definitions/second" } ] } }, "definitions": { "first": { "type": "object", "properties": { "discriminator": { "const": "first" }, "first": { "type": "boolean" } }, "additionalProperties": false }, "second": { "type": "object", "properties": { "discriminator": { "const": "second" }, "second": { "type": "boolean" } }, "additionalProperties": false } } }
o90946
{ "additionalProperties": false, "description": "Schema for an Iglu resolver's configuration", "properties": { "cacheSize": { "type": "number" }, "cacheTtl": { "minimum": 0, "type": [ "integer", "null" ] }, "repositories": { "items": { "additionalProperties": false, "properties": { "connection": { "oneOf": [ { "additionalProperties": false, "properties": { "embedded": { "additionalProperties": false, "properties": { "path": { "type": "string" } }, "required": [ "path" ], "type": "object" } }, "required": [ "embedded" ] }, { "additionalProperties": false, "properties": { "http": { "additionalProperties": false, "properties": { "apikey": { "type": [ "string", "null" ] }, "uri": { "_format": "uri", "type": "string" } }, "required": [ "uri" ], "type": "object" } }, "required": [ "http" ] } ], "type": "object" }, "name": { "type": "string" }, "priority": { "type": "number" }, "vendorPrefixes": { "items": { "type": "string" }, "type": "array" } }, "required": [ "name", "priority", "vendorPrefixes", "connection" ], "type": "object" }, "type": "array" } }, "required": [ "cacheSize", "repositories" ], "self": { "format": "jsonschema", "name": "resolver-config", "vendor": "com.snowplowanalytics.iglu", "version": "1-0-3" }, "type": "object" }
sp_213_Normalized
{ "$schema": "http://json-schema.org/draft-06/schema#", "title": "Reward", "description": "a reward transaction", "type": "object", "properties": { "tx": { "type": "object", "properties": { "id": { "type": "string", "pattern": "^[0-9a-f]{64}$" }, "to": { "type": "object", "properties": { "address": { "type": "string" }, "amount": { "type": "integer", "exclusiveMinimum": 0 } }, "required": [ "address", "amount" ] }, "msg": { "type": "string", "maxLength": 254 } }, "required": [ "id", "to", "msg" ] }, "sign": { "type": "string" } }, "required": [ "tx", "sign" ] }
o44463
{ "properties": { "customer_name": { "description": "The customer's name", "type": "string" }, "items": { "description": "The items in the invoice", "items": { "properties": { "price": { "description": "The price of the product", "type": "number" }, "product_name": { "description": "The name of the product", "type": "string" }, "quantity": { "description": "The quantity of the product", "type": "integer" } }, "required": [ "product_name", "quantity", "price" ], "type": "object" }, "type": "array" } }, "required": [ "customer_name", "items" ], "type": "object" }
create_invoice_27eb2e7c
{ "properties": { "db": { "properties": { "name": { "description": "Name of the custom database to be created during the 1st initialization of MariaDB", "form": true, "title": "MariaDB custom database", "type": "string" }, "password": { "description": "Defaults to a random 10-character alphanumeric string if not set", "form": true, "hidden": { "condition": false, "value": "usePassword" }, "title": "Password for MariaDB custom user", "type": "string" }, "user": { "description": "Name of the custom user to be created during the 1st initialization of MariaDB. This user only has permissions on the MariaDB custom database", "form": true, "title": "MariaDB custom user", "type": "string" } }, "type": "object" }, "master": { "form": true, "properties": { "persistence": { "form": true, "properties": { "enabled": { "description": "Enable persistence using Persistent Volume Claims", "form": true, "title": "Enable persistence", "type": "boolean" }, "size": { "form": true, "hidden": { "condition": false, "value": "persistence.enabled" }, "render": "slider", "sliderMax": 100, "sliderMin": 1, "sliderUnit": "Gi", "title": "Persistent Volume Size", "type": "string" } }, "title": "Persistence for master replicas", "type": "object" } }, "title": "Master replicas settings", "type": "object" }, "metrics": { "form": true, "properties": { "enabled": { "description": "Create a side-car container to expose Prometheus metrics", "form": true, "title": "Create Prometheus metrics exporter", "type": "boolean" }, "serviceMonitor": { "properties": { "enabled": { "description": "Create a ServiceMonitor to track metrics using Prometheus Operator", "form": true, "hidden": { "condition": false, "value": "metrics.enabled" }, "title": "Create Prometheus Operator ServiceMonitor", "type": "boolean" } }, "type": "object" } }, "title": "Prometheus metrics details", "type": "object" }, "replication": { "form": true, "properties": { "enabled": { "form": true, "title": "Enable replication configuration", "type": "boolean" } }, "title": "Replication configuration", "type": "object" }, "rootUser": { "properties": { "password": { "description": "Defaults to a random 10-character alphanumeric string if not set", "form": true, "hidden": { "condition": false, "value": "usePassword" }, "title": "MariaDB admin password", "type": "string" } }, "type": "object" }, "slave": { "form": true, "hidden": { "condition": false, "value": "replication.enabled" }, "properties": { "persistence": { "form": true, "properties": { "enabled": { "description": "Enable persistence using Persistent Volume Claims", "form": true, "title": "Enable persistence", "type": "boolean" }, "size": { "form": true, "hidden": { "condition": false, "value": "persistence.enabled" }, "render": "slider", "sliderMax": 100, "sliderMin": 1, "sliderUnit": "Gi", "title": "Persistent Volume Size", "type": "string" } }, "title": "Persistence for slave replicas", "type": "object" } }, "title": "Slave replicas settings", "type": "object" }, "volumePermissions": { "properties": { "enabled": { "description": "Use an init container to set required folder permissions on the data volume before mounting it in the final destination", "form": true, "title": "Enable Init Containers", "type": "boolean" } }, "type": "object" } }, "type": "object" }
o84049
{ "$id": "https://json.schemastore.org/fly.json", "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "statics": { "type": "object", "required": ["guest_path", "url_prefix"], "additionalProperties": false, "properties": { "guest_path": { "description": "The path inside your container where the assets to serve are located.", "type": "string" }, "url_prefix": { "description": "The URL prefix that should serve the static assets.", "type": "string" } } }, "services": { "description": "Configure the mapping of ports from the public Fly proxy to your application.\n\nYou can have:\n* **No services section**: The application has no mappings to the external internet - typically apps like databases or background job workers that talk over 6PN private networking to other apps.\n* **One services section**: One internal port mapped to one external port on the internet.\n* **Multiple services sections**: Map multiple internal ports to multiple external ports.", "type": "object", "properties": { "script_checks": { "deprecated": true, "description": "Health checks that run as one-off commands directly on the VM.\n\nThis type of check is **deprecated**. See `tcp_checks` or `http_checks` for alternatives." }, "protocol": { "description": "The protocol used to communicate with your application. Can be: `tcp` or `udp`.", "type": "string", "enum": ["tcp", "udp"] }, "internal_port": { "description": "The port this application listens on to communicate with clients. The default is 8080. We recommend applications use the default.", "type": "integer", "default": 8080 }, "concurrency": { "type": "object", "description": "Control autoscaling metrics (connections or requests) and limits (hard and soft).", "properties": { "type": { "type": "string", "default": "connections", "x-taplo": { "docs": { "enumValues": [ "Autoscale based on number of concurrent connections", "Autoscale based on number of concurrent requests" ] } }, "enum": ["connections", "requests"] }, "hard_limit": { "default": 25, "type": "integer", "description": "When an application instance is __at__ or __over__ this number, the system will bring up another instance." }, "soft_limit": { "default": 20, "type": "integer", "description": "When an application instance is __at__ or __over__ this number, the system is likely to bring up another instance." } } }, "ports": { "description": "For each external port you want to accept connections on, add a `ports` section.", "type": "array", "items": { "type": "object", "properties": { "handlers": { "x-taplo": { "links": { "key": "https://fly.io/docs/reference/services/#connection-handlers" } }, "description": "An array of strings that select handlers to terminate the connection at the edge.\n\nValid options: http, tls, proxy_proto, pg_tls, edge_http.", "type": "array", "items": { "type": "string", "minLength": 1, "enum": ["http", "tls", "proxy_proto", "pg_tls", "edge_http"] } }, "port": { "default": 8080, "type": "integer", "description": "The port to accept traffic on. Valid ports: 1-65535" }, "force_https": { "type": "boolean", "description": "Force HTTP connections to HTTPS. `force_https` requires the `http` handler in the `handlers` section." } } } }, "tcp_checks": { "description": "Basic TCP connection health checks. This is the default check that runs against the configured `internal_port`.", "type": "array", "x-taplo": { "links": { "key": "https://fly.io/docs/reference/configuration/#services-tcp_checks" } }, "items": { "type": "object", "properties": { "grace_period": { "description": "The time to wait after a VM starts before checking its health. Units are milliseconds unless you specify them like `10s` or `1m`.", "oneOf": [ { "type": "integer" }, { "type": "string" } ] }, "interval": { "description": "Length of the pause between connectivity checks. Units are milliseconds unless you specify them like `10s` or `1m`.", "oneOf": [ { "type": "integer" }, { "type": "string" } ] }, "restart_limit": { "default": 0, "description": "The number of consecutive TCP check failures to allow before attempting to restart the VM. The default is `0`, which disables restarts based on failed TCP health checks.", "type": "integer" }, "timeout": { "description": "The maximum time a connection can take before being reported as failing its healthcheck. Units are milliseconds unless you specify them like `10s` or `1m`.", "oneOf": [ { "type": "integer" }, { "type": "string" } ] } } } }, "http_checks": { "description": "HTTP-based health checks run against the `internal_port`. These checks will pass when receiving a 2xx response. Any other response is considered a failure.", "type": "array", "x-taplo": { "links": { "key": "https://fly.io/docs/reference/configuration/#services-http_checks" } }, "items": { "type": "object", "properties": { "grace_period": { "description": "The time to wait after a VM starts before checking its health. Units are milliseconds unless you specify them like `10s` or `1m`.", "oneOf": [ { "type": "integer" }, { "type": "string" } ] }, "interval": { "description": "Length of the pause between connectivity checks. Units are milliseconds unless you specify them like `10s` or `1m`.", "oneOf": [ { "type": "integer" }, { "type": "string" } ] }, "restart_limit": { "default": 0, "description": "The number of consecutive check failures to allow before attempting to restart the VM. The default is `0`, which disables restarts based on failed health checks.", "type": "integer" }, "timeout": { "description": "The maximum time a connection can take before being reported as failing its healthcheck. Units are milliseconds unless you specify them like `10s` or `1m`.", "oneOf": [ { "type": "integer" }, { "type": "string" } ] }, "method": { "description": "The HTTP method to be used for the check.", "type": "string" }, "path": { "description": "The path of the URL to be requested.", "type": "string" }, "protocol": { "description": "The protocol to be used (`http` or `https`)", "type": "string", "enum": ["http", "https"] }, "tls_skip_verify": { "type": "boolean", "default": false, "description": "When set to `true` (and `protocol` is set to `https`), skip verifying the certificates sent by the server." }, "headers": { "type": "object", "description": "Set key/value pairs of HTTP headers to pass along with the check request." } } } } } } }, "description": "https://fly.io/docs/reference/configuration", "properties": { "app": { "description": "Fly.io application name", "type": "string" }, "kill_timeout": { "description": "Seconds to wait before forcing a VM process to exit. Default is 5 seconds.", "oneOf": [ { "type": "integer" }, { "type": "string" } ] }, "kill_signal": { "description": "Signal to send to a process to shut it down gracefully. Default is SIGINT.", "type": "string", "enum": [ "SIGINT", "SIGTERM", "SIGQUIT", "SIGUSR1", "SIGUSR2", "SIGKILL", "SIGSTOP" ] }, "statics": { "description": "The `statics` sections expose static assets built into your application's container to Fly's Anycast network. You can serve HTML files, Javascript, and images without needing to run a web server inside your container.", "x-taplo": { "links": { "key": "https://fly.io/docs/reference/configuration/#the-statics-sections" } }, "anyOf": [ { "$ref": "#/definitions/statics" }, { "type": "array", "items": { "$ref": "#/definitions/statics" } } ] }, "services": { "oneOf": [ { "$ref": "#/definitions/services" }, { "type": "array", "items": { "$ref": "#/definitions/services" } } ] }, "deploy": { "type": "object", "additionalProperties": false, "properties": { "release_command": { "x-taplo": { "links": { "key": "https://fly.io/docs/reference/configuration/#release_command" }, "initKeys": ["importantKey"] }, "description": "Command to run after a build, with access to the production environment, but before deployment. Non-zero exit status will abort the deployment.\n\n```toml\n[deploy]\n release_command =\"bundle exec rails db:migrate\"\n```", "type": "string" }, "strategy": { "description": "Strategy for replacing VMs during a deployment.", "type": "string", "default": "canary", "enum": ["canary", "rolling", "bluegreen", "immediate"], "x-taplo": { "docs": { "main": "Strategy for replacing VMs during a deployment.", "enumValues": [ "This default strategy - for apps without volumes - will boot a single, new VM with the new release, verify its health, then proceed with a rolling restart strategy.", "One by one, each running VM is taken down and replaced by a new release VM. This is the default strategy for apps with volumes.", "For every running VM, a new one is booted alongside it. All new VMs must pass health checks to complete deployment, when traffic gets migrated to new VMs. If your app has multiple VMs, this strategy may reduce deploy time and downtime, assuming your app is scaled to 2 or more VMs.", "Replace all VMs with new releases immediately without waiting for health checks to pass. This is useful in emergency situations where you're confident a release will be healthy." ], "defaultValue": "Default is 'canary': boot a single, new VM with the new release, verify its health, then proceed with a rolling restart strategy." }, "links": { "key": "https://fly.io/docs/reference/configuration/#strategy" } } } } }, "mounts": { "type": "object", "x-taplo": { "links": { "key": "https://fly.io/docs/reference/configuration/#the-mounts-section" } }, "description": "Mount [persistent storage volumes](https://fly.io/docs/reference/volumes) previously setup via `flyctl`. Both settings are required. Example:\n\n```toml\n[mounts]\n source = \"myapp_data\"\n destination = \"/data\"\n```", "required": ["source", "destination"], "additionalProperties": false, "properties": { "source": { "description": "The name of the volume to mount as shown in `fly volumes list`.\n\nA volume of this name *must exist* in each of the app regions. If there's more than one volume in the target region with the same one, one will be picked randomly.", "type": "string" }, "destination": { "description": "The path at which the `source` volume should be mounted in the running app VM.", "type": "string" }, "processes": { "description": "The name of the process(es) to which this mount should be applied. See [multiple processes](https://community.fly.io/t/preview-multi-process-apps-get-your-workers-here/2316).", "type": "array", "items": { "type": "string", "minLength": 1 } } } }, "experimental": { "description": "Flags and features that are subject to change, deprecation or promotion to the main configuration.", "type": "object", "properties": { "cmd": { "description": "Override the server command (CMD) set by the Dockerfile. Specify as an array of strings:\n\n```toml\ncmd = [\"path/to/command\", \"arg1\", \"arg2\"]\n```", "anyOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] }, "entrypoint": { "description": "Override the ENTRYPOINT set by the Dockerfile. Specify as an array of strings:\n\n```toml\nentrypoint = [\"path/to/command\", \"arg1\", \"arg2\"]\n```", "anyOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] }, "auto_rollback": { "description": "Failed deployments should roll back automatically to the previous successfully deployed release. Defaults to `true`", "type": "boolean" }, "private_network": { "description": "Enables private network access to the Fly organization. Defaults to `true`.", "default": true, "type": "boolean" } } }, "env": { "description": "Set non-sensitive information as environment variables in the application's [runtime environment](https://fly.io/docs/reference/runtime-environment/).\nFor sensitive information, such as credentials or passwords, use the [secrets command](https://fly.io/docs/reference/secrets). For anything else though, the `env` section provides a simple way to set environment variables. Here's an example:\n```toml\n[env]\n LOG_LEVEL = \"debug\"\n S3_BUCKET = \"my-bucket\"\n```", "type": "object", "additionalProperties": { "type": "string" } }, "build": { "description": "Build configuration options. See docs at https://fly.io/docs/reference/builders.", "type": "object", "properties": { "builder": { "description": "Builder Docker image to be used with the 'buildpacks' option", "type": "string" }, "buildpacks": { "description": "Buildpacks to be run by the 'builder' Docker image", "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true, "minItems": 1 }, "args": { "description": "Build arguments passed to both Dockerfile and Buildpack builds. These arguments are **not available** on VMs at runtime.\n```toml\n[build.args]\n USER = \"julieta\"\n MODE = \"production\"\n```", "type": "array", "items": { "type": "object" } }, "build-target": { "description": "Specify the target stage for [multistage Dockerfile builds](https://docs.docker.com/develop/develop-images/multistage-build/).", "type": "string" }, "image": { "description": "Docker image to be deployed (skips the build process)", "type": "string" }, "dockerfile": { "description": "Dockerfile used for builds. Defaults to './Dockerfile'", "type": "string" }, "additionalProperties": false } }, "additionalProperties": true }, "title": "Fly.io config schema (fly.toml)", "type": "object", "x-taplo-info": { "authors": ["Joshua Sierles (https://github.com/jsierles)"], "patterns": ["\\.*fly(.*)?\\.toml?$"] } }
fly
{ "additionalProperties": false, "description": "Snowplow Redshift storage configuration", "properties": { "compRows": { "maximum": 1000000000, "minimum": 1000, "type": "integer" }, "database": { "type": "string" }, "host": { "type": "string" }, "id": { "_format": "uuid", "type": "string" }, "maxError": { "maximum": 10000, "minimum": 0, "type": "integer" }, "name": { "type": "string" }, "password": { "properties": { "ec2ParameterStore": { "properties": { "parameterName": { "type": "string" } }, "required": [ "parameterName" ], "type": "object" } }, "required": [ "ec2ParameterStore" ], "type": [ "string", "object" ] }, "port": { "maximum": 65535, "minimum": 1, "type": "integer" }, "purpose": { "enum": [ "ENRICHED_EVENTS" ], "type": "string" }, "roleArn": { "minLength": 20, "type": "string" }, "schema": { "type": "string" }, "sshTunnel": { "properties": { "bastion": { "properties": { "host": { "type": "string" }, "key": { "properties": { "ec2ParameterStore": { "properties": { "parameterName": { "type": "string" } }, "required": [ "parameterName" ], "type": "object" } }, "required": [ "ec2ParameterStore" ], "type": "object" }, "passphrase": { "type": "string" }, "port": { "maximum": 65535, "minimum": 1, "type": "integer" }, "user": { "type": "string" } }, "required": [ "host", "port", "user" ], "type": "object" }, "destination": { "properties": { "host": { "type": "string" }, "port": { "maximum": 65535, "minimum": 1, "type": "integer" } }, "required": [ "host", "port" ], "type": "object" }, "localPort": { "maximum": 65535, "minimum": 1, "type": "integer" } }, "required": [ "bastion", "destination", "localPort" ], "type": [ "object", "null" ] }, "sslMode": { "enum": [ "DISABLE", "REQUIRE", "VERIFY_CA", "VERIFY_FULL" ], "type": "string" }, "username": { "type": "string" } }, "required": [ "name", "host", "database", "port", "sslMode", "schema", "username", "password", "maxError", "compRows", "roleArn", "purpose" ], "self": { "format": "jsonschema", "name": "redshift_config", "vendor": "com.snowplowanalytics.snowplow.storage", "version": "2-1-0" }, "type": "object" }
sp_370_Normalized
{ "configFile": { "fromJSON": [ "wb-hwconf-helper", "confed-fromjson" ], "needReload": true, "path": "/etc/wb-hardware.conf", "service": "wb-hwconf-manager", "toJSON": [ "wb-hwconf-helper", "confed-tojson" ] }, "definitions": { "module": { "properties": { "compatible_slots": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "description": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" } }, "required": [ "id", "description", "compatible_slots" ], "type": "object" }, "module_none": { "options": { "collapsed": true, "hidden": true, "remove_empty_properties": true }, "title": " " }, "slot": { "defaultProperties": [ "id", "name", "compatible", "module", "options" ], "headerTemplate": "{{self.name}}", "id": "slot_item", "options": { "disable_collapse": true }, "properties": { "compatible": { "minLength": 1, "options": { "hidden": true }, "title": "Slot capabilities", "type": "array" }, "id": { "minLength": 1, "options": { "hidden": true }, "title": "Slot ID", "type": "string" }, "module": { "description": "Type of the module plugged to the slot", "enumSource": [ { "source": [ { "title": "None", "value": "" } ], "title": "{{item.title}}", "value": "{{item.value}}" }, { "filter": "{{if watched.slot_compatible intersect item.compatible_slots}}1{{endif}}", "source": "all_modules", "title": "{{item.description}}", "value": "{{item.id}}" } ], "propertyOrder": 2, "title": "Module type", "type": "string", "watch": { "all_modules": "modules", "slot_compatible": "slot_item.compatible" } }, "name": { "minLength": 1, "options": { "hidden": true }, "propertyOrder": 1, "title": "Name", "type": "string" }, "options": { "links": [ { "href": "#/definitions/module_{{if all_modules.[module_type] == \"\"}}none{{else}}{{module_type}}{{endif}}", "rel": "describedBy" } ], "options": { "disable_collapse": true }, "propertyOrder": 3, "title": " ", "type": "object", "watch": { "all_modules": "modules", "module_type": "slot_item.module" } } }, "required": [ "id", "name", "compatible", "module" ], "title": "Slot", "type": "object" } }, "description": "Lists additional hardare modules configuration", "limited": true, "properties": { "modules": { "items": { "$ref": "#/definitions/module" }, "options": { "hidden": true }, "type": "array" }, "slots": { "_format": "tabs", "description": "Lists available extension slots", "items": { "$ref": "#/definitions/slot" }, "options": { "disable_array_add": true, "disable_array_delete": true, "disable_array_reorder": true, "disable_collapse": true }, "propertyOrder": 1, "title": "List of extension slots", "type": "array" } }, "required": [ "slots" ], "strictProps": false, "title": "Hardware Modules Configuration", "type": "object" }
o33129
{ "id": "https://letsencrypt.org/schema/01/revocation#", "$schema": "http://json-schema.org/draft-04/schema#", "description": "Schema for a revocation message", "type": "object", "required": [ "type" ], "properties": { "type": { "enum": [ "revocation" ] } } }
o40355
{ "$schema": "http://json-schema.org/draft-04/schema#", "properties": { "encoding": { "enum": [ "UCS-4", "UCS-4BE", "UCS-4LE", "UCS-2", "UCS-2BE", "UCS-2LE", "UTF-32", "UTF-32BE", "UTF-32LE", "UTF-16", "UTF-16BE", "UTF-16LE", "UTF-7", "UTF7-IMAP", "UTF-8", "ASCII", "EUC-JP", "SJIS", "eucJP-win", "SJIS-win", "ISO-2022-JP", "ISO-2022-JP-MS", "CP932", "CP51932", "SJIS-mac", "MacJapanese", "SJIS-Mobile#DOCOMO", "SJIS-DOCOMO", "SJIS-Mobile#KDDI", "SJIS-KDDI", "SJIS-Mobile#SOFTBANK", "SJIS-SOFTBANK", "UTF-8-Mobile#DOCOMO", "UTF-8-DOCOMO", "UTF-8-Mobile#KDDI-A", "UTF-8-Mobile#KDDI-B", "UTF-8-KDDI", "UTF-8-Mobile#SOFTBANK", "UTF-8-SOFTBANK", "ISO-2022-JP-MOBILE#KDDI", "ISO-2022-JP-KDDI", "JIS", "JIS-ms", "CP50220", "CP50220raw", "CP50221", "CP50222", "ISO-8859-1", "ISO-8859-2", "ISO-8859-3", "ISO-8859-4", "ISO-8859-5", "ISO-8859-6", "ISO-8859-7", "ISO-8859-8", "ISO-8859-9", "ISO-8859-10", "ISO-8859-13", "ISO-8859-14", "ISO-8859-15", "byte2be", "byte2le", "byte4be", "byte4le", "BASE64", "HTML-ENTITIES", "7bit", "8bit", "EUC-CN", "CP936", "GB18030", "HZ", "EUC-TW", "CP950", "BIG-5", "EUC-KR", "UHC", "CP949", "ISO-2022-KR", "Windows-1251", "CP1251", "Windows-1252", "CP1252", "CP866", "IBM866", "KOI8-R", "ArmSCII-8", "ArmSCII8" ] }, "timeZone": { "pattern": "UTC|(Africa/[A-Za-z]+)|(America/[A-Za-z]+)|(Antarctica/[A-Za-z]+)|(Arctic/[A-Za-z]+)|(Asia/[A-Za-z]+)|(Atlantic/[A-Za-z]+)|(Australia/[A-Za-z]+)|(Europe/[A-Za-z]+)|(Indian/[A-Za-z]+)|(Pacific/[A-Za-z]+)" }, "dateFormat": { "enum": [ "ISO-8601" ] }, "dataFormats": { "maxItems": 1, "items": { "enum": [ "application/json" ] } }, "authenticationMechanism": { "enum": [ "Basic" ] }, "database": { "properties": { "dbms": { "enum": [ "MySQL", "Postgres", "SQLite", "SQL Server" ] } } }, "resources": { "properties": { "fields": { "properties": { "patternOptions": { "items": { "enum": [ "i", "m", "s", "x", "A", "D", "S", "U", "X", "J", "u" ] } } } }, "acceptExtraFields": { "enum": [ true ] } } } } }
o47657
{ "$schema": "http://json-schema.org/draft-04/schema#", "allOf": [ { "$ref": "#/definitions/job" }, { "type": "object", "properties": { "notifications": { "type": "object", "properties": { "webhooks": { "oneOf": [ { "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique" }, { "type": "boolean" }, { "$ref": "#/definitions/notificationObject/webhooks" }, { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "$ref": "#/definitions/notificationObject/webhooks" } } ] }, "slack": { "oneOf": [ { "$ref": "#/definitions/slackRoom" }, { "type": "boolean" }, { "$ref": "#/definitions/notificationObject/slack" }, { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "$ref": "#/definitions/notificationObject/slack" } } ] }, "email": { "oneOf": [ { "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique" }, { "type": "boolean" }, { "$ref": "#/definitions/notificationObject/email" }, { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "$ref": "#/definitions/notificationObject/email" } } ] }, "irc": { "oneOf": [ { "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique" }, { "type": "boolean" }, { "$ref": "#/definitions/notificationObject/irc" }, { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "$ref": "#/definitions/notificationObject/irc" } } ] }, "pushover": { "oneOf": [ { "$ref": "#/definitions/nonEmptyStringOrArrayOfNonEmptyStrings" }, { "type": "boolean" }, { "$ref": "#/definitions/notificationObject/pushover" }, { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "$ref": "#/definitions/notificationObject/pushover" } } ] }, "campfire": { "oneOf": [ { "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique" }, { "type": "boolean" }, { "$ref": "#/definitions/notificationObject/campfire" }, { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "$ref": "#/definitions/notificationObject/campfire" } } ] }, "flowdock": { "oneOf": [ { "$ref": "#/definitions/possiblySecretString" }, { "type": "boolean" }, { "$ref": "#/definitions/notificationObject/flowdock" }, { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "$ref": "#/definitions/notificationObject/flowdock" } } ] }, "hipchat": { "oneOf": [ { "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique" }, { "type": "boolean" }, { "$ref": "#/definitions/notificationObject/hipchat" }, { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "$ref": "#/definitions/notificationObject/hipchat" } } ] } }, "additionalProperties": false }, "matrix": { "type": "object", "properties": { "exclude": { "type": "array", "items": { "$ref": "#/definitions/job" } }, "include": { "type": "array", "items": { "$ref": "#/definitions/job" } }, "allow_failures": { "type": "array", "items": { "$ref": "#/definitions/job" } }, "fast_finish": { "type": "boolean", "description": "If some rows in the build matrix are allowed to fail, the build won't be marked as finished until they have completed. To mark the build as finished as soon as possible, add fast_finish: true" } }, "additionalProperties": false }, "jobs": { "type": "object", "additionalProperties": false, "properties": { "include": { "type": "array", "items": { "allOf": [ { "$ref": "#/definitions/job" }, { "type": "object", "properties": { "stage": { "type": "string", "description": "The name of the build stage", "default": "test" } } } ] } }, "exclude": { "type": "array", "items": { "allOf": [ { "$ref": "#/definitions/job" }, { "type": "object", "properties": { "stage": { "type": "string", "description": "The name of the build stage", "default": "test" } } } ] } }, "allow_failures": { "type": "array", "items": { "$ref": "#/definitions/job" } }, "fast_finish": { "type": "boolean", "description": "If some rows in the build matrix are allowed to fail, the build won't be marked as finished until they have completed. To mark the build as finished as soon as possible, add fast_finish: true" } } }, "stages": { "type": "array", "description": "Specifies the order of build stages", "items": { "oneOf": [ { "type": "string" }, { "type": "object", "additionalProperties": false, "properties": { "name": { "type": "string" }, "if": { "description": "Specifies a condition for the stage", "type": "string" } } } ] } }, "version": { "type": "string", "description": "Build config specification version", "pattern": "^(~>|>|>=|=|<=|<) (\\d+(?:\\.\\d+)?(?:\\.\\d+)?)$" }, "import": { "description": "Import YAML config snippets that can be shared across repositories.", "oneOf": [ { "type": "array", "uniqueItems": true, "items": { "$ref": "#/definitions/import" } }, { "$ref": "#/definitions/import" } ] } } } ], "definitions": { "nonEmptyString": { "type": "string", "minLength": 1 }, "notRequiredNonEmptyString": { "oneOf": [ { "$ref": "#/definitions/nonEmptyString" }, { "type": "null" } ] }, "arrayOfNonEmptyStrings": { "type": "array", "items": { "$ref": "#/definitions/nonEmptyString" } }, "nonEmptyStringOrArrayOfNonEmptyStrings": { "oneOf": [ { "$ref": "#/definitions/nonEmptyString" }, { "$ref": "#/definitions/arrayOfNonEmptyStrings" } ] }, "notRequiredNonEmptyStringOrArrayOfNonEmptyStrings": { "oneOf": [ { "$ref": "#/definitions/nonEmptyStringOrArrayOfNonEmptyStrings" }, { "type": "null" } ] }, "stringArrayUnique": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "$ref": "#/definitions/nonEmptyString" } }, "stringOrStringArrayUnique": { "oneOf": [ { "$ref": "#/definitions/nonEmptyString" }, { "$ref": "#/definitions/stringArrayUnique" } ] }, "stringOrNumber": { "oneOf": [ { "$ref": "#/definitions/nonEmptyString" }, { "type": "number" } ] }, "stringOrNumberAndBothAreTypeArrayUnique": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "$ref": "#/definitions/stringOrNumber" } }, "stringOrNumberOrAcceptBothTypeAsArrayUnique": { "oneOf": [ { "$ref": "#/definitions/stringOrNumber" }, { "$ref": "#/definitions/stringOrNumberAndBothAreTypeArrayUnique" } ] }, "secretString": { "type": "object", "additionalProperties": false, "properties": { "secure": { "$ref": "#/definitions/nonEmptyString" } } }, "possiblySecretString": { "oneOf": [ { "type": "string" }, { "type": "object", "additionalProperties": false, "properties": { "secure": { "type": "string" } } } ] }, "possiblySecretStringOrPossiblySecretStringTypeArrayUnique": { "oneOf": [ { "$ref": "#/definitions/possiblySecretString" }, { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "$ref": "#/definitions/possiblySecretString" } } ] }, "slackRoom": { "description": "Your account name, token and optional channel", "oneOf": [ { "type": "string", "pattern": ".+:.+(#.+)?" }, { "$ref": "#/definitions/secretString" } ] }, "notificationFrequency": { "enum": ["always", "never", "change"] }, "step": { "anyOf": [ { "type": "boolean" }, { "enum": ["skip", "ignore"] }, { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] }, "service": { "enum": [ "cassandra", "couchdb", "docker", "elasticsearch", "mariadb", "memcached", "mongodb", "mysql", "neo4j", "postgresql", "rabbitmq", "redis", "redis-server", "rethinkdb", "riak", "xvfb" ] }, "cache": { "enum": [ "apt", "bundler", "cargo", "ccache", "cocoapods", "packages", "pip", "yarn", "npm" ] }, "xcodeVersions": { "enum": [ "xcode6.4", "xcode7.3", "xcode8", "xcode8.3", "xcode9", "xcode9.1", "xcode9.2", "xcode9.3", "xcode9.4", "xcode10", "xcode10.1", "xcode10.2", "xcode10.3", "xcode11", "xcode11.1", "xcode11.2", "xcode11.3", "xcode11.4", "xcode11.4.1", "xcode11.5", "xcode11.6", "xcode12u", "xcode12", "xcode12.2", "xcode12.3", "xcode12.4", "xcode12.5", "xcode13.1", "xcode13.2", "xcode13.3", "xcode13.4", "xcode14", "xcode14.1", "xcode14.2" ] }, "envVars": { "oneOf": [ { "$ref": "#/definitions/envVar" }, { "type": "array", "items": { "$ref": "#/definitions/envVar" } } ] }, "envVar": { "oneOf": [ { "type": "string", "pattern": "[^=]+=.*" }, { "type": "object", "additionalProperties": false, "properties": { "secure": { "type": "string", "pattern": "[^=]+=.*" } } } ] }, "job": { "type": "object", "properties": { "language": { "enum": [ "android", "bash", "c", "c++", "clojure", "cpp", "crystal", "csharp", "d", "dart", "dartlang", "elixir", "elm", "erlang", "generic", "go", "golang", "groovy", "haskell", "haxe", "java", "javascript", "julia", "jvm", "matlab", "minimal", "nix", "node", "node.js", "node_js", "nodejs", "obj-c", "obj_c", "objective-c", "objective_c", "perl", "perl6", "php", "python", "r", "ruby", "rust", "scala", "sh", "shell", "smalltalk" ] }, "matlab": { "$ref": "#/definitions/stringOrStringArrayUnique" }, "elm": { "$ref": "#/definitions/stringOrStringArrayUnique" }, "elm-test": { "$ref": "#/definitions/nonEmptyString" }, "elm-format": { "$ref": "#/definitions/nonEmptyString" }, "haxe": { "type": "array", "items": { "type": "string" } }, "scala": { "type": "array", "items": { "type": "string" } }, "sbt_args": { "type": "string" }, "crystal": { "type": "array", "items": { "type": "string" } }, "neko": { "type": "string" }, "hxml": { "type": "array", "items": { "type": "string" } }, "smalltalk": { "type": "array", "items": { "type": "string" } }, "perl": { "type": "array", "items": { "type": "string" } }, "perl6": { "type": "array", "items": { "type": "string" } }, "d": { "type": "array", "items": { "type": "string" } }, "dart": { "type": "array", "items": { "type": "string" } }, "dart_task": { "type": "array", "items": { "type": "object", "properties": { "test": { "type": "string" }, "install_dartium": { "type": "boolean" }, "xvfb": { "type": "boolean" }, "dartanalyzer": { "type": "boolean" }, "dartfmt": { "type": "boolean" } } } }, "ghc": { "type": "array", "items": { "type": "string" } }, "lein": { "type": "string" }, "android": { "type": "object", "properties": { "components": { "type": "array", "items": { "type": "string" } }, "licenses": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false }, "node_js": { "$ref": "#/definitions/stringOrNumberOrAcceptBothTypeAsArrayUnique" }, "compiler": { "oneOf": [ { "type": "array", "items": { "enum": ["clang", "gcc"] } }, { "enum": ["clang", "gcc"] } ] }, "php": { "$ref": "#/definitions/stringOrNumberOrAcceptBothTypeAsArrayUnique" }, "go": { "oneOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "string" } ] }, "jdk": { "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] }, "solution": { "type": "string", "description": "When the optional solution key is present, Travis will run NuGet package restore and build the given solution." }, "mono": { "oneOf": [ { "enum": ["none"] }, { "type": "array", "items": { "type": "string" } } ] }, "xcode_project": { "type": "string" }, "xcode_workspace": { "type": "string" }, "xcode_scheme": { "type": "string" }, "xcode_sdk": { "type": "string" }, "podfile": { "type": "string", "description": "By default, Travis CI will assume that your Podfile is in the root of the repository. If this is not the case, you can specify where the Podfile is" }, "python": { "$ref": "#/definitions/stringOrNumberOrAcceptBothTypeAsArrayUnique" }, "elixir": { "oneOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "string" } ] }, "rust": { "oneOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "string" }, { "type": "number" } ] }, "erlang": { "oneOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "string" } ] }, "julia": { "$ref": "#/definitions/stringOrNumberOrAcceptBothTypeAsArrayUnique" }, "opt_release": { "oneOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "string" } ] }, "rvm": { "$ref": "#/definitions/stringOrNumberOrAcceptBothTypeAsArrayUnique" }, "gemfile": { "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] }, "bundler_args": { "type": "string" }, "r": { "oneOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "string" } ] }, "pandoc_version": { "type": "string" }, "brew_packages": { "type": "array", "description": "A list of packages to install via brew. This option is ignored on non-OS X builds.", "items": { "type": "string" } }, "r_binary_packages": { "type": "array", "items": { "type": "string" } }, "r_packages": { "type": "array", "items": { "type": "string" } }, "bioc_packages": { "type": "array", "items": { "type": "string" } }, "r_github_packages": { "type": "array", "items": { "type": "string" } }, "apt_packages": { "type": "array", "items": { "type": "string" } }, "cran": { "type": "string", "description": "CRAN mirror to use for fetching packages" }, "repos": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Dictionary of repositories to pass to options(repos)" }, "arch": { "description": "The CPU Architecture to run the job on", "oneOf": [ { "enum": [ "amd64", "x86_64", "arm64", "ppc64le", "s390x", "arm64-graviton2" ] }, { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "enum": [ "amd64", "arm64", "ppc64le", "s390x", "arm64-graviton2" ] } } ] }, "os": { "description": "The operating system to run the job on", "oneOf": [ { "enum": ["osx", "linux", "linux-ppc64le", "windows"] }, { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "enum": ["osx", "linux", "linux-ppc64le", "windows"] } } ] }, "osx_image": { "oneOf": [ { "$ref": "#/definitions/xcodeVersions" }, { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "$ref": "#/definitions/xcodeVersions" } } ], "default": "xcode9.4" }, "dist": { "description": "The Ubuntu distribution to use", "enum": ["precise", "trusty", "xenial", "bionic", "focal", "jammy"] }, "sudo": { "enum": [true, false, "", "required", "enabled"], "description": "sudo is deprecated" }, "addons": { "type": "object", "properties": { "apt": { "type": "object", "description": "To install packages not included in the default container-based-infrastructure you need to use the APT addon, as sudo apt-get is not available", "properties": { "update": { "type": "boolean", "description": "To update the list of available packages" }, "sources": { "type": "array", "items": { "oneOf": [ { "type": "object", "properties": { "sourceline": { "type": "string", "description": "Key-value pairs which will be added to /etc/apt/sources.list" }, "key_url": { "type": "string", "description": "When APT sources require GPG keys, you can specify this with key_url" } }, "required": ["sourceline"], "additionalProperties": false }, { "type": "string", "description": "Alias defined in source whitelist" } ] } }, "packages": { "type": "array", "description": "To install packages from the package whitelist before your custom build steps", "items": { "type": "string" } } }, "additionalProperties": false }, "hosts": { "description": "If your build requires setting up custom hostnames, you can specify a single host or a list of them. Travis CI will automatically setup the hostnames in /etc/hosts for both IPv4 and IPv6.", "oneOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "string" } ] }, "ssh_known_hosts": { "description": "Travis CI can add entries to ~/.ssh/known_hosts prior to cloning your git repository, which is necessary if there are git submodules from domains other than github.com, gist.github.com, or ssh.github.com.", "$ref": "#/definitions/stringOrStringArrayUnique" }, "artifacts": { "oneOf": [ { "enum": [true] }, { "type": "object", "properties": { "s3_region": { "type": "string" }, "paths": { "type": "array", "items": { "type": "string" } }, "working_dir": { "type": "string", "description": "If you'd like to upload file from a specific directory, you can change your working directory " }, "debug": { "type": "boolean", "description": "If you'd like to see more detail about what the artifacts addon is doing" } } } ] }, "firefox": { "description": "Firefox addon", "anyOf": [ { "type": "string", "enum": [ "latest", "latest-esr", "latest-beta", "latest-dev", "latest-nightly", "latest-unsigned" ] }, { "$ref": "#/definitions/nonEmptyString" } ] }, "chrome": { "description": "Chrome addon", "type": "string", "enum": ["stable", "beta"] }, "rethinkdb": { "description": "RethinkDB addon", "type": "string" }, "postgresql": { "description": "PostgreSQL addon", "type": "string" }, "mariadb": { "description": "MariaDB addon", "type": "string" }, "sauce_connect": { "description": "Sauce Connect addon", "oneOf": [ { "type": "object", "properties": { "username": { "type": "string" }, "access_key": { "type": "string" } } }, { "type": "boolean" } ] }, "sonarcloud": { "description": "SonarCloud addon", "type": "object", "properties": { "organization": { "type": "string" }, "token": { "$ref": "#/definitions/secretString" } } }, "coverity_scan": { "description": "Coverity Scan addon", "type": "object", "properties": { "project": { "description": "GitHub project metadata", "type": "object", "properties": { "name": { "type": "string" }, "version": { "type": "number" }, "description": { "type": "string" } }, "required": ["name"] }, "notification_email": { "description": "Where email notification of build analysis results will be sent", "type": "string" }, "build_command_prepend": { "description": "Commands to prepare for build_command", "type": "string" }, "build_command": { "description": "The command that will be added as an argument to 'cov-build' to compile your project for analysis", "type": "string" }, "branch_pattern": { "description": "Pattern to match selecting branches that will run analysis. We recommend leaving this set to 'coverity_scan'", "type": "string" } } }, "homebrew": { "description": "Homebrew addon", "type": "object", "additionalProperties": false, "properties": { "taps": { "$ref": "#/definitions/stringOrStringArrayUnique" }, "packages": { "$ref": "#/definitions/stringOrStringArrayUnique" }, "casks": { "$ref": "#/definitions/stringOrStringArrayUnique" }, "brewfile": { "oneOf": [ { "$ref": "#/definitions/nonEmptyString" }, { "type": "boolean", "default": true } ] }, "update": { "type": "boolean", "default": true } } }, "srcclr": { "description": "SourceClear addon", "oneOf": [ { "type": "boolean", "default": true }, { "type": "object", "additionalProperties": false, "properties": { "debug": { "type": "boolean", "default": true } } } ] }, "snaps": { "description": "Snaps addon", "oneOf": [ { "$ref": "#/definitions/nonEmptyString" }, { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "oneOf": [ { "$ref": "#/definitions/nonEmptyString" }, { "type": "object", "additionalProperties": false, "required": ["name"], "properties": { "name": { "$ref": "#/definitions/nonEmptyString" }, "channel": { "$ref": "#/definitions/nonEmptyString" }, "classic": { "type": "boolean", "description": "'classic:' is deprecated, use 'confinement:'" }, "confinement": { "enum": ["classic", "devmode"] } } } ] } } ] }, "browserstack": { "description": "BrowserStack addon", "type": "object", "properties": { "username": { "$ref": "#/definitions/nonEmptyString" }, "access_key": { "$ref": "#/definitions/possiblySecretString" }, "app_path": { "$ref": "#/definitions/nonEmptyString" }, "proxyHost": { "$ref": "#/definitions/nonEmptyString" }, "proxyPort": { "$ref": "#/definitions/nonEmptyString" }, "proxyUser": { "$ref": "#/definitions/nonEmptyString" }, "proxyPass": { "$ref": "#/definitions/nonEmptyString" }, "forcelocal": { "type": "boolean" }, "only": { "$ref": "#/definitions/nonEmptyString" } } } }, "additionalProperties": false }, "cache": { "oneOf": [ { "enum": [false] }, { "$ref": "#/definitions/cache" }, { "type": "array", "items": { "oneOf": [ { "$ref": "#/definitions/cache" }, { "type": "object", "additionalProperties": false, "properties": { "directories": { "type": "array", "items": { "type": "string" } } } } ] } }, { "type": "object", "properties": { "directories": { "type": "array", "items": { "type": "string" } }, "timeout": { "type": "number", "description": "Upload timeout in seconds", "default": 1800 }, "apt": { "type": "boolean" }, "bundler": { "type": "boolean" }, "cocoapods": { "type": "boolean" }, "pip": { "type": "boolean" }, "yarn": { "type": "boolean" }, "ccache": { "type": "boolean" }, "packages": { "type": "boolean" }, "cargo": { "type": "boolean" }, "npm": { "type": "boolean" } }, "additionalProperties": false } ] }, "services": { "oneOf": [ { "$ref": "#/definitions/service" }, { "type": "array", "items": { "$ref": "#/definitions/service" } } ] }, "git": { "type": "object", "properties": { "depth": { "oneOf": [ { "type": "integer", "description": "Set the git clone depth", "default": 50 }, { "enum": [false] } ] }, "quiet": { "type": "boolean", "description": "Travis CI clones repositories without the quiet flag (-q) by default. Enabling the quiet flag can be useful if you're trying to avoid log file size limits or even if you just don't need to include it." }, "submodules": { "type": "boolean", "description": "Control whether submodules should be cloned" }, "lfs_skip_smudge": { "type": "boolean", "description": "Skip fetching the git-lfs files during the initial git clone (equivalent to git lfs smudge --skip)," }, "clone": { "type": "boolean", "description": "In some work flows, like build stages, it might be beneficial to skip the automatic git clone step." }, "sparse_checkout": { "$ref": "#/definitions/nonEmptyString", "description": "Is a path to the existing file in the current repository with data you'd like to put into $GIT_DIR/info/sparse-checkout file of format described in Git documentation." }, "autocrlf": { "oneOf": [ { "type": "boolean" }, { "type": "string", "enum": ["input"] } ], "description": "Specify handling of line endings when cloning repository" } }, "additionalProperties": false }, "branches": { "type": "object", "description": "Specify which branches to build", "properties": { "except": { "type": "array", "items": { "type": "string" } }, "only": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false }, "env": { "oneOf": [ { "$ref": "#/definitions/envVars" }, { "type": "object", "properties": { "global": { "$ref": "#/definitions/envVars" }, "matrix": { "$ref": "#/definitions/envVars" }, "jobs": { "$ref": "#/definitions/envVars" } }, "additionalProperties": false } ] }, "before_install": { "$ref": "#/definitions/step" }, "install": { "$ref": "#/definitions/step" }, "before_script": { "$ref": "#/definitions/step" }, "script": { "$ref": "#/definitions/step" }, "before_cache": { "$ref": "#/definitions/step" }, "after_success": { "$ref": "#/definitions/step" }, "after_failure": { "$ref": "#/definitions/step" }, "before_deploy": { "$ref": "#/definitions/step" }, "deploy": { "oneOf": [ { "type": "array", "items": { "$ref": "#/definitions/deployment" } }, { "$ref": "#/definitions/deployment" } ] }, "after_deploy": { "$ref": "#/definitions/step" }, "after_script": { "$ref": "#/definitions/step" } } }, "deployment": { "allOf": [ { "type": "object", "properties": { "on": { "type": "object", "properties": { "tags": { "description": "Tell Travis CI to only deploy on tagged commits", "oneOf": [ { "type": "boolean" }, { "type": "string" } ] }, "branch": { "type": "string" }, "all_branches": { "type": "boolean" }, "skip_cleanup": { "type": "boolean", "description": "After your tests ran and before the release, Travis CI will clean up any additional files and changes you made. Maybe that is not what you want, as you might generate some artifacts that are supposed to be released, too." }, "repo": { "type": "string" }, "condition": { "type": "string", "description": "if [[ <condition> ]]; then <deploy>; fi" } } } } }, { "oneOf": [ { "type": "object", "properties": { "provider": { "enum": ["script"] }, "script": { "type": "string" } }, "required": ["provider", "script"] }, { "type": "object", "properties": { "provider": { "enum": ["npm"] }, "email": { "$ref": "#/definitions/possiblySecretString" }, "api_key": { "$ref": "#/definitions/possiblySecretString" }, "api_token": { "$ref": "#/definitions/possiblySecretString" }, "tag": { "type": "string" } }, "oneOf": [ { "required": ["provider", "email", "api_key"] }, { "required": ["provider", "email", "api_token"] } ] }, { "type": "object", "properties": { "provider": { "enum": ["surge"] }, "project": { "type": "string" }, "domain": { "type": "string" } }, "required": ["provider"] }, { "type": "object", "properties": { "provider": { "enum": ["releases"] }, "api_key": { "$ref": "#/definitions/possiblySecretString" }, "user": { "$ref": "#/definitions/possiblySecretString" }, "password": { "$ref": "#/definitions/possiblySecretString" }, "file": { "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] }, "file_glob": { "type": "boolean" }, "overwrite": { "type": "boolean", "description": "If you need to overwrite existing files" } }, "required": ["provider"] }, { "type": "object", "description": "deploy to heroku, to see https://docs.travis-ci.com/user/deployment/heroku/", "properties": { "provider": { "enum": ["heroku"] }, "api_key": { "description": "heroku auth token", "anyOf": [ { "$ref": "#/definitions/possiblySecretString" }, { "type": "object", "additionalProperties": { "$ref": "#/definitions/possiblySecretString" } } ] }, "app": { "oneOf": [ { "type": "string", "description": "Deploy master branch to heroku app" }, { "type": "object", "description": "Deploy the different branch to the different heroku app", "additionalProperties": { "type": "string" } } ] }, "run": { "description": "to run a command on Heroku after a successful deploy", "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] }, "skip_cleanup": { "type": "boolean", "description": "Travis CI default will clean up any additional files and changes you made, you can by it to skip the clean up" }, "strategy": { "enum": ["api", "git"], "description": "Travis CI supports different mechanisms for deploying to Heroku: api is default" } }, "required": ["provider", "api_key"] }, { "type": "object", "properties": { "provider": { "enum": ["s3"] }, "access_key_id": { "$ref": "#/definitions/possiblySecretString" }, "secret_access_key": { "$ref": "#/definitions/possiblySecretString" }, "bucket": { "type": "string" }, "region": { "type": "string" }, "skip_cleanup": { "type": "boolean", "default": false }, "acl": { "enum": [ "private", "public_read", "public_read_write", "authenticated_read", "bucket_owner_read", "bucket_owner_full_control" ] }, "local_dir": { "type": "string" }, "upload-dir": { "type": "string" }, "detect_encoding": { "type": "boolean", "default": false }, "default_text_charset": { "type": "string" }, "cache_control": { "type": "string" }, "expires": { "type": "string" }, "endpoint": { "type": "string" } }, "required": [ "provider", "access_key_id", "secret_access_key", "bucket" ] }, { "type": "object", "properties": { "provider": { "type": "string", "not": { "enum": [ "script", "npm", "surge", "releases", "heroku", "s3" ] } } }, "required": ["provider"] } ] } ] }, "notificationObject": { "webhooks": { "type": "object", "additionalProperties": false, "properties": { "disabled": { "type": "boolean" }, "enabled": { "type": "boolean" }, "urls": { "oneOf": [ { "type": "string", "format": "uri" }, { "$ref": "#/definitions/secretString" }, { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "oneOf": [ { "type": "string", "format": "uri" }, { "$ref": "#/definitions/secretString" } ] } } ] }, "on_success": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_failure": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_start": { "$ref": "#/definitions/notificationFrequency", "default": "never" }, "on_cancel": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_error": { "$ref": "#/definitions/notificationFrequency", "default": "always" } } }, "slack": { "type": "object", "additionalProperties": false, "properties": { "disabled": { "type": "boolean" }, "enabled": { "type": "boolean" }, "rooms": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "$ref": "#/definitions/slackRoom" } }, "on_pull_requests": { "type": "boolean" }, "template": { "$ref": "#/definitions/notRequiredNonEmptyStringOrArrayOfNonEmptyStrings" }, "on_success": { "$ref": "#/definitions/notificationFrequency" }, "on_failure": { "$ref": "#/definitions/notificationFrequency" }, "on_start": { "$ref": "#/definitions/notificationFrequency", "default": "never" }, "on_cancel": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_error": { "$ref": "#/definitions/notificationFrequency", "default": "always" } } }, "email": { "type": "object", "additionalProperties": false, "properties": { "disabled": { "type": "boolean" }, "enabled": { "type": "boolean" }, "recipients": { "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique" }, "on_success": { "$ref": "#/definitions/notificationFrequency", "default": "change" }, "on_failure": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_start": { "$ref": "#/definitions/notificationFrequency", "default": "never" }, "on_cancel": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_error": { "$ref": "#/definitions/notificationFrequency", "default": "always" } } }, "irc": { "type": "object", "additionalProperties": false, "properties": { "disabled": { "type": "boolean" }, "enabled": { "type": "boolean" }, "channels": { "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique" }, "channel_key": { "$ref": "#/definitions/possiblySecretString" }, "nick": { "$ref": "#/definitions/nonEmptyString" }, "password": { "$ref": "#/definitions/possiblySecretString" }, "template": { "$ref": "#/definitions/notRequiredNonEmptyStringOrArrayOfNonEmptyStrings" }, "on_success": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_failure": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_start": { "$ref": "#/definitions/notificationFrequency", "default": "never" }, "on_cancel": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_error": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "skip_join": { "type": "boolean" }, "use_notice": { "type": "boolean" } } }, "pushover": { "type": "object", "additionalProperties": false, "properties": { "disabled": { "type": "boolean" }, "enabled": { "type": "boolean" }, "api_key": { "$ref": "#/definitions/possiblySecretString" }, "users": { "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique" }, "template": { "$ref": "#/definitions/notRequiredNonEmptyStringOrArrayOfNonEmptyStrings" }, "on_success": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_failure": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_start": { "$ref": "#/definitions/notificationFrequency", "default": "never" }, "on_cancel": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_error": { "$ref": "#/definitions/notificationFrequency", "default": "always" } } }, "campfire": { "type": "object", "additionalProperties": false, "properties": { "disabled": { "type": "boolean" }, "enabled": { "type": "boolean" }, "rooms": { "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique" }, "template": { "$ref": "#/definitions/nonEmptyStringOrArrayOfNonEmptyStrings" }, "on_success": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_failure": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_start": { "$ref": "#/definitions/notificationFrequency", "default": "never" }, "on_cancel": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_error": { "$ref": "#/definitions/notificationFrequency", "default": "always" } } }, "flowdock": { "type": "object", "additionalProperties": false, "properties": { "disabled": { "type": "boolean" }, "enabled": { "type": "boolean" }, "api_token": { "$ref": "#/definitions/nonEmptyString" }, "on_success": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_failure": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_start": { "$ref": "#/definitions/notificationFrequency", "default": "never" }, "on_cancel": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_error": { "$ref": "#/definitions/notificationFrequency", "default": "always" } } }, "hipchat": { "type": "object", "additionalProperties": false, "properties": { "disabled": { "type": "boolean" }, "enabled": { "type": "boolean" }, "notify": { "type": "boolean" }, "on_pull_requests": { "type": "boolean" }, "rooms": { "$ref": "#/definitions/possiblySecretStringOrPossiblySecretStringTypeArrayUnique" }, "format": { "enum": ["html", "text"] }, "template": { "$ref": "#/definitions/nonEmptyStringOrArrayOfNonEmptyStrings" }, "on_success": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_failure": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_start": { "$ref": "#/definitions/notificationFrequency", "default": "never" }, "on_cancel": { "$ref": "#/definitions/notificationFrequency", "default": "always" }, "on_error": { "$ref": "#/definitions/notificationFrequency", "default": "always" } } } }, "import": { "anyOf": [ { "type": "object", "additionalProperties": false, "required": ["source"], "properties": { "source": { "$ref": "#/definitions/nonEmptyString", "description": "The source to import build config from" }, "mode": { "type": "string", "enum": [ "merge", "deep_merge", "deep_merge_append", "deep_merge_prepend" ], "description": "How to merge the imported config into the target config (defaults to deep_merge_append)" }, "if": { "$ref": "#/definitions/nonEmptyString", "description": "Specifies a condition for the import" } } }, { "$ref": "#/definitions/nonEmptyString" } ] } }, "id": "https://json.schemastore.org/travis.json", "title": "JSON schema for Travis CI configuration files" }
travis
{ "$schema": "http://json-schema.org/draft-04/schema#", "id": "https://github.com/route4me/json-schemas/blob/master/DataObjectRoute.dtd", "title": "DataObjectRoute", "type": "object", "properties": { "route_id": { "type": [ "string" ], "title": "Route ID", "descrption": "Route Unique Identifier" }, "member_id": { "type": [ "string", "null" ], "title": "Member ID", "descrption": "User ID who is assigned to the route" }, "member_email": { "type": [ "string", "null" ], "title": "Member Email", "format": "email", "descrption": "User email" }, "vehicle_alias": { "type": [ "string", "null" ], "title": "Vehicle Alias", "descrption": "Name of vehicle_id" }, "driver_alias": { "type": [ "string", "null" ], "title": "Driver Alias", "descrption": "Name of driver_id" }, "route_cost": { "type": [ "number", "null" ], "title": "Route Cost", "descrption": "Route cost" }, "route_revenue": { "type": [ "number", "null" ], "title": "Route Revenue", "descrption": "Route Revenue" }, "net_revenue_per_distance_unit": { "type": [ "number", "null" ], "title": "Net Revenue per Distance Unit", "descrption": "equal to (Revenue - cost) / distance units" }, "created_timestamp": { "type": [ "integer", "null" ], "title": "Created Timestamp", "descrption": "When was the route created" }, "mpg": { "type": [ "string", "null" ], "title": "Miles per Gallon", "descrption": "Miles per gallon (used to compute fuel consumption)" }, "trip_distance": { "type": [ "number", "null" ], "title": "Trip Distance", "descrption": "Route length (the unit is given by distance_unit)" }, "gas_price": { "type": [ "number", "null" ], "title": "Gas Price", "descrption": "Price of gas (used to compute route costs)" }, "route_duration_sec": { "type": [ "integer", "null" ], "title": "Route Duration (sec)", "descrption": "Estimated drive time of route\u00a0(Seconds)" } }, "required": [ "route_id", "member_id" ] }
o71405
{ "definitions": { "filter": { "properties": { "column": { "type": "string" }, "not": { "type": "boolean" }, "operator": { "enum": [ "equals", "regex" ] }, "value": { "type": "string" } }, "required": [ "column", "operator", "value" ], "type": "object" }, "linkout": { "oneOf": [ { "required": [ "featuretype" ] }, { "required": [ "featuretypePattern" ] } ], "properties": { "featuretype": { "type": "string" }, "featuretypePattern": { "type": "string" }, "isLinkingService": { "default": false, "type": "boolean" }, "text": { "type": "string" }, "url": { "type": "string" } }, "required": [ "url" ], "type": "object" } }, "description": "For more info, see https://github.com/ncgr/cmap-js", "properties": { "#": { "type": "string" }, "attribution": { "type": "string" }, "header": { "type": "string" }, "initialView": { "items": { "properties": { "filters": { "items": { "$ref": "#/definitions/filter" }, "type": "array" }, "map": { "type": "string" }, "source": { "type": "string" } }, "required": [ "source", "map" ], "type": "object" }, "type": "array" }, "sources": { "items": { "properties": { "#": { "type": "string" }, "data": { "type": "object" }, "filters": { "items": { "$ref": "#/definitions/filter" }, "type": "array" }, "id": { "type": "string" }, "linkouts": { "items": { "$ref": "#/definitions/linkout" }, "type": "array" }, "method": { "type": "string" }, "url": { "type": "string" } }, "required": [ "url", "method", "id" ], "type": "object" }, "type": "array" } }, "required": [ "header", "attribution", "sources" ], "title": "cmap-js schema", "type": "object" }
o63158
{ "definitions": { "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeAffinity": { "description": "Node affinity is a group of node affinity scheduling rules.", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PreferredSchedulingTerm" }, "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSelector", "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node." } }, "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_PodAffinity": { "description": "Pod affinity is a group of inter pod affinity scheduling rules.", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_WeightedPodAffinityTerm" }, "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAffinityTerm" }, "type": "array" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAffinityTerm": { "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running", "properties": { "labelSelector": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector", "description": "A label query over a set of resources, in this case pods." }, "namespaces": { "description": "namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\"", "items": { "type": "string" }, "type": "array" }, "topologyKey": { "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.", "type": "string" } }, "required": [ "topologyKey" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAntiAffinity": { "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", "properties": { "preferredDuringSchedulingIgnoredDuringExecution": { "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_WeightedPodAffinityTerm" }, "type": "array" }, "requiredDuringSchedulingIgnoredDuringExecution": { "description": "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAffinityTerm" }, "type": "array" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PreferredSchedulingTerm": { "description": "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", "properties": { "preference": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSelectorTerm", "description": "A node selector term, associated with the corresponding weight." }, "weight": { "_format": "int32", "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", "type": "integer" } }, "required": [ "weight", "preference" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_WeightedPodAffinityTerm": { "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", "properties": { "podAffinityTerm": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAffinityTerm", "description": "Required. A pod affinity term, associated with the corresponding weight." }, "weight": { "_format": "int32", "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", "type": "integer" } }, "required": [ "weight", "podAffinityTerm" ], "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": "Affinity is a group of affinity scheduling rules.", "properties": { "nodeAffinity": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeAffinity", "description": "Describes node affinity scheduling rules for the pod." }, "podAffinity": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAffinity", "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))." }, "podAntiAffinity": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAntiAffinity", "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))." } }, "type": "object" }
kb_0_Normalized
{ "$schema": "http://json-schema.org/draft-04/schema#", "description": "Parameters for a senpy analysis", "type": "object", "properties": { "name": { "type": "string", "description": "Name of the parameter" }, "prov:value": { "@type": "any", "description": "Value of the parameter" } }, "required": [ "name", "prov:value" ] }
o44986
{ "properties": { "customer_name": { "description": "The name of the customer", "type": "string" }, "item_list": { "items": { "properties": { "item_name": { "description": "The name of the item", "type": "string" }, "price": { "description": "The price of the item", "type": "number" }, "quantity": { "description": "The quantity of the item", "type": "integer" } }, "required": [ "item_name", "quantity", "price" ], "type": "object" }, "type": "array" } }, "required": [ "customer_name", "item_list" ], "type": "object" }
generate_invoice_9e0c23b0
{ "type": "object", "properties": { "var1": { "type": [ "string", "number" ] }, "var2": { "anyOf": [ { "type": "array", "items": { "type": "number" } }, { "type": "string" } ] } }, "required": [ "var1", "var2" ], "$schema": "http://json-schema.org/draft-04/schema#" }
o25981
{ "properties": { "location": { "description": "The location to search for hotels", "type": "string" }, "price_range": { "properties": { "max_price": { "description": "The maximum price per night", "type": "number" }, "min_price": { "description": "The minimum price per night", "type": "number" } }, "required": [ "min_price", "max_price" ], "type": "object" }, "radius": { "description": "The search radius in kilometers", "type": "number" } }, "required": [ "location", "radius", "price_range" ], "type": "object" }
find_nearest_hotels_90112305
{ "additionalProperties": false, "description": "Schema for SQL Query enrichment configuration", "properties": { "enabled": { "type": "boolean" }, "name": { "type": "string" }, "parameters": { "additionalProperties": false, "properties": { "cache": { "additionalProperties": false, "properties": { "size": { "minimum": 0, "type": "integer" }, "ttl": { "maximum": 86400, "minimum": 0, "type": "integer" } }, "required": [ "size", "ttl" ], "type": "object" }, "database": { "additionalProperties": true, "oneOf": [ { "additionalProperties": false, "properties": { "postgresql": { "additionalProperties": false, "properties": { "database": { "minLength": 1, "type": "string" }, "host": { "type": "string" }, "password": { "type": "string" }, "port": { "maximum": 65535, "minimum": 1, "type": "integer" }, "sslMode": { "type": "boolean" }, "username": { "minLength": 1, "type": "string" } }, "required": [ "host", "port", "sslMode", "username", "password", "database" ], "type": "object" } }, "required": [ "postgresql" ], "type": "object" }, { "properties": { "mysql": { "additionalProperties": false, "properties": { "database": { "minLength": 1, "type": "string" }, "host": { "type": "string" }, "password": { "type": "string" }, "port": { "maximum": 65535, "minimum": 1, "type": "integer" }, "sslMode": { "type": "boolean" }, "username": { "minLength": 1, "type": "string" } }, "required": [ "host", "port", "sslMode", "username", "password", "database" ], "type": "object" } }, "required": [ "mysql" ], "type": "object" } ] }, "inputs": { "items": { "additionalProperties": false, "maxProperties": 2, "minProperties": 2, "properties": { "json": { "additionalProperties": false, "properties": { "field": { "enum": [ "unstruct_event", "contexts", "derived_contexts" ], "type": "string" }, "jsonPath": { "type": "string" }, "schemaCriterion": { "pattern": "^iglu:([a-zA-Z0-9-_.]+)/([a-zA-Z0-9-_]+)/([a-zA-Z0-9-_]+)/([1-9][0-9]*|\\*)-((?:0|[1-9][0-9]*)|\\*)-((?:0|[1-9][0-9]*)|\\*)$", "type": "string" } }, "required": [ "field", "schemaCriterion", "jsonPath" ], "type": "object" }, "placeholder": { "maximum": 64, "minimum": 1, "type": "integer" }, "pojo": { "additionalProperties": false, "properties": { "field": { "type": "string" } }, "required": [ "field" ], "type": "object" } }, "required": [ "placeholder" ], "type": "object" }, "type": "array" }, "output": { "additionalProperties": false, "properties": { "expectedRows": { "enum": [ "AT_LEAST_ONE", "AT_LEAST_ZERO", "AT_MOST_ONE", "EXACTLY_ONE" ], "type": "string" }, "json": { "additionalProperties": false, "properties": { "describes": { "enum": [ "ALL_ROWS", "EVERY_ROW" ], "type": "string" }, "propertyNames": { "enum": [ "AS_IS", "CAMEL_CASE", "PASCAL_CASE", "SNAKE_CASE", "LOWER_CASE", "UPPER_CASE" ], "type": "string" }, "schema": { "pattern": "^iglu:([a-zA-Z0-9-_.]+)/([a-zA-Z0-9-_]+)/([a-zA-Z0-9-_]+)/([1-9][0-9]*(?:-(?:0|[1-9][0-9]*)){2})$", "type": "string" } }, "required": [ "schema", "propertyNames", "describes" ], "type": "object" } }, "type": "object" }, "query": { "additionalProperties": false, "properties": { "sql": { "type": "string" } }, "required": [ "sql" ], "type": "object" } }, "required": [ "inputs", "database", "query", "output", "cache" ], "type": "object" }, "vendor": { "type": "string" } }, "required": [ "name", "vendor", "enabled", "parameters" ], "self": { "format": "jsonschema", "name": "sql_query_enrichment_config", "vendor": "com.snowplowanalytics.snowplow.enrichments", "version": "1-0-0" }, "type": "object" }
sp_353_Normalized
{ "definitions": { "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_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": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.", "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": [ "Binding" ], "type": [ "string", "null" ] }, "metadata": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "target": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ObjectReference", "description": "The target object that you want to bind to the standard object." } }, "required": [ "target" ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "", "kind": "Binding", "version": "v1" } ] }
kb_58_Normalized
{ "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "schema_version": { "description": "The version of this schema is ...", "pattern": "^0.0.3$", "type": "string" }, "time_stamp": { "_format": "date-time", "description": "ISO 8601 / RFC 3339", "type": "string" }, "uuid": { "description": "uuid with all lower case or all upper case characters", "oneOf": [ { "description": "lower case", "pattern": "^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$" }, { "description": "upper case", "pattern": "^[0-9A-F]{8}-([0-9A-F]{4}-){3}[0-9A-F]{12}$" } ], "type": "string" } }, "description": "This is UCSC Genomics Core's schema for an analysis workflow's metadata record. It is based on the schema defined in metadata_schema.json.", "properties": { "analysis_type": { "description": "The analysis type needs to be tightly controlled because it is used in the metadata merging script to assign flags.", "enum": [ "sequence_upload", "alignment", "rna_seq_quantification", "germline_variant_calling", "somatic_variant_calling", "immuno_target_pipelines" ] }, "bundle_uuid": { "$ref": "#/definitions/uuid" }, "parent_uuids": { "description": "parent UUIDs for this workflow", "items": { "$ref": "#/definitions/uuid" }, "type": "array" }, "timestamp": { "$ref": "#/definitions/time_stamp", "description": "We want this time stamp in detached analysis data, but not required when uploading via upload tool." }, "workflow_name": { "type": "string" }, "workflow_outputs": { "items": { "properties": { "file_path": { "type": "string" }, "file_type": { "type": "string" }, "file_uuid": { "$ref": "#/definitions/uuid" } }, "required": [ "file_path", "file_type" ], "type": "object" }, "type": "array" }, "workflow_version": { "type": "string" } }, "required": [ "parent_uuids", "timestamp", "analysis_type", "bundle_uuid", "workflow_name", "workflow_version", "workflow_outputs" ], "title": "analysis_schema", "type": "object" }
o2067
{ "properties": { "annual_return_rate": { "description": "The annual return rate", "type": "number" }, "current_savings": { "description": "The current savings", "type": "number" }, "monthly_contribution": { "description": "The monthly contribution", "type": "number" }, "years_until_retirement": { "description": "The number of years until retirement", "type": "integer" } }, "required": [ "current_savings", "monthly_contribution", "years_until_retirement", "annual_return_rate" ], "type": "object" }
calculate_retirement_savings_24712980
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "Place an order for a platform user.", "type": "object", "properties": { "customer": { "description": "The platform's customer.", "type": "string", "minLength": 3, "maxLength": 96 }, "account_identifier": { "description": "The identifier of the account for whom to place the order.", "type": "string", "minLength": 5, "maxLength": 96, "pattern": "^[\\+\\w-]{5,96}$" }, "recipient": { "description": "The information for the person who is to receive this reward.", "type": "object", "properties": { "name": { "description": "The name of the recipient.", "type": "string", "minLength": 2, "maxLength": 255 }, "email": { "description": "The email address of the recipient.", "type": "string", "pattern": "^\\S+@\\S+$" } }, "required": [ "name", "email" ] }, "sku": { "description": "The SKU identifying the reward to be purchased.", "type": "string" }, "amount": { "description": "The desired amount (for variable-priced SKUs) of the reward. Must be present for variable-price SKUs, must not be present for static-price SKUs.", "type": "number", "minimum": 1, "maximum": 100000, "optional": true }, "reward_subject": { "description": "An optional subject line for the reward email.", "type": "string", "minLength": 1, "maxLength": 255, "optional": true }, "reward_message": { "description": "An optional message to the recipient.", "type": "string", "minLength": 0, "maxLength": 255, "optional": true }, "reward_from": { "description": "An optional 'from name' to display to the recipient.", "type": "string", "minLength": 0, "maxLength": 255, "optional": true }, "send_reward": { "description": "Whether Tango Card should send the reward. If this is false the returned object will contain the order details. Defaults to true.", "type": "boolean", "optional": true } }, "required": [ "customer", "account_identifier", "recipient", "sku" ] }
o50683
{ "properties": { "channelnumber": { "readonly": true, "type": "integer" }, "destip": { "readonly": true, "type": "string" }, "destport": { "readonly": true, "type": "integer" }, "domain": { "readonly": true, "type": "string" }, "nodeid": { "type": "integer" }, "peid": { "readonly": true, "type": "integer" }, "srcip": { "readonly": true, "type": "string" }, "srcport": { "readonly": true, "type": "integer" }, "username": { "type": "string" } }, "title": "vpnicadtlsconnection", "type": "object" }
o31168
{ "$schema": "http://json-schema.org/draft-04/schema", "description": "validation of the Jupyter Notebook document level metadata for ipypublish", "type": "object", "properties": { "ipub": { "type": "object", "additionalProperties": false, "properties": { "language": { "description": "the language can be any specified in the babel package", "type": "string", "default": "english" }, "customcss": { "description": "additional custom stylesheet to link" }, "titlepage": { "description": "options for creating the title page", "type": [ "boolean", "object" ], "additionalProperties": false, "properties": { "author": { "type": "string", "description": "Authors Name" }, "email": { "type": "string", "description": "authors email, e.g. [email protected]" }, "supervisors": { "description": "list of supervisors", "type": "array", "items": { "type": "string" } }, "title": { "type": "string", "description": "Main Title" }, "subtitle": { "type": "string", "description": "Sub Title" }, "tagline": { "type": "string", "description": "A tagline for the report" }, "institution": { "description": "the publishing institution", "type": "array", "items": { "type": "string" } }, "logo": { "type": "string", "description": "the path to the logo image file (absolute or relative)" } } }, "toc": { "type": [ "boolean", "object" ], "description": "output a table of contents", "default": "false", "properties": { "depth": { "description": "the depth of subheaders to show", "type": "number", "minimum": 1 } } }, "listfigures": { "type": "boolean", "description": "output a list of figures", "default": "false" }, "listtables": { "type": "boolean", "description": "output a list of tables", "default": "false" }, "listcode": { "type": "boolean", "description": "output a list of code", "default": "false" }, "figure": { "type": "object", "properties": { "placement": { "type": "string", "description": "default float placement of figures" } } }, "table": { "type": "object", "properties": { "placement": { "type": "string", "description": "default float placement of tables" } } }, "bibliography": { "description": "the path to the bibliography bibtex file (absolute or relative)", "type": "string" }, "bibstyle": { "description": "a natbib stylename, to control the output style of the bibliography", "type": "string" }, "biboptions": { "description": "a list of options to parse to natbib", "type": "array", "items": { "type": "string" }, "default": [ "numbers", "square", "super", "sort&compress" ] }, "bibglossary": { "description": "option for a glossary, controlled by a custom bibtex file", "type": "object", "additionalProperties": false, "properties": { "filepath": { "description": "path to the bibtex file (absolute or relative)", "type": "string" }, "style_main": { "description": "style of the output (main) glossary", "type": "string", "enum": [ "list", "long", "listgroup", "listhypergroup", "altlist", "altlistgroup", "altlisthypergroup" ], "default": "altlist" }, "style_acronyms": { "description": "style of the output acronym glossary", "type": "string", "enum": [ "list", "long", "listgroup", "listhypergroup", "altlist", "altlistgroup", "altlisthypergroup" ], "default": "list" }, "style_symbols": { "description": "style of the output symbols glossary", "type": "string", "enum": [ "list", "long", "listgroup", "listhypergroup", "altlist", "altlistgroup", "altlisthypergroup" ], "default": "list" } } }, "pandoc": { "description": "settings for running the ipypandoc filters, to convert markdown to other formats", "type": "object", "additionalProperties": false, "properties": { "apply_filters": { "description": "whether to apply filters to markdown", "type": "boolean", "default": true }, "convert_raw": { "description": "attempt to extract non-markdown formats and convert them to the target format, e.g. rst roles to latex tags", "type": "boolean", "default": true }, "hide_raw": { "description": "if the extracted non-markdown does not match the output format, this controls if it is shown in the output document", "type": "boolean", "default": false }, "at_notation": { "description": "interpret +@label as a reference type based on its prefix modifier", "type": "boolean", "default": true }, "use_numref": { "description": "in rst, whether to use the ``:numref:`` role or just ``:ref:``", "type": "boolean", "default": true }, "reftag": { "description": "in latex, default tag for citations", "type": "string", "default": "cite" } } }, "latex": { "description": "settings specific to outputting a latex document", "type": "object", "additionalProperties": false, "properties": { "no_glossary": { "description": "suppress the `\\printglossary` command(s) that will be output at the end of the file (if bibglossary set)", "type": "boolean", "default": false } } }, "sphinx": { "description": "settings specific to outputting a sphinx document", "type": "object", "additionalProperties": false, "properties": { "orphan": { "description": "whether the :orphan: directive is added to the top of the file (to suppress warnings if it is not included in a toc tree)", "type": "boolean", "default": false }, "no_bib": { "description": "suppress the `.. bibliography::` directive that will be output at the end of the file (if bibliography set)", "type": "boolean", "default": false }, "no_glossary": { "description": "suppress the `.. bibglossary::` directive that will be output at the end of the file (if bibglossary set)", "type": "boolean", "default": false }, "bib_title": { "description": "created as '.. rubric:: bib_title'", "type": "string", "default": "Bibliography" }, "glossary_title": { "description": "created as '.. rubric:: glossary_title'", "type": "string", "default": "Glossary" }, "toggle_input": { "description": "add toggle buttons to the right of all nbinput cells, to hide/show their content", "type": "boolean", "default": false }, "toggle_input_all": { "description": "add a toggle button at the top of the top of the document (using `:toggle-input-all:`), which will show/hide all nbinput cell's content", "type": "boolean", "default": false }, "toggle_output": { "description": "add toggle buttons to the right of all nboutput cells, to hide/show their content", "type": "boolean", "default": false }, "toggle_output_all": { "description": "add a toggle button at the top of the top of the document (using `:toggle-output-all:`), which will show/hide all nboutput cell's content", "type": "boolean", "default": false } } } } } } }
o31290
{ "$schema": "http://json-schema.org/draft-07/schema", "definitions": { "color": { "oneOf": [ { "type": "string", "examples": [ "red", "green", "yellow", "blue", "magenta", "cyan", "bold", "underlined", "red_bold", "green_bold", "yellow_bold", "blue_bold", "magenta_bold", "cyan_bold", "red_underlined", "green_underlined", "yellow_underlined", "blue_underlined", "magenta_underlined", "cyan_underlined" ] }, { "type": "null" } ] } }, "title": "settings", "description": "Settings of the current application\nhttps://bashly.dannyb.co/usage/settings/#settings", "type": "object", "properties": { "source_dir": { "title": "source dir", "description": "A directory with source files of the current script\nhttps://bashly.dannyb.co/usage/settings/#source_dir", "type": "string", "minLength": 1, "default": "src" }, "config_path": { "title": "config path", "description": "A path to bashly.yml of the current script\nhttps://bashly.dannyb.co/usage/settings/#config_path", "type": "string", "minLength": 1, "default": "%{source_dir}/bashly.yml" }, "target_dir": { "title": "target dir", "description": "A directory of the current script\nhttps://bashly.dannyb.co/usage/settings/#target_dir", "type": "string", "minLength": 1, "default": "." }, "lib_dir": { "title": "lib dir", "description": "A directory to common library files of the current script\nhttps://bashly.dannyb.co/usage/settings/#lib_dir", "type": "string", "minLength": 1, "default": "lib" }, "commands_dir": { "title": "commands dir", "description": "A directory to nested command files of the current script\nhttps://bashly.dannyb.co/usage/settings/#commands_dir", "oneOf": [ { "type": "string", "minLength": 1 }, { "type": "null" } ] }, "strict": { "title": "strict", "description": "Bash initialiation options of the current script\nhttps://bashly.dannyb.co/usage/settings/#strict", "oneOf": [ { "type": "boolean" }, { "type": "string", "examples": [ "set -o pipefail" ] } ], "default": false }, "tab_indent": { "title": "tab indent", "description": "Whether to use tabs in the the current script\nhttps://bashly.dannyb.co/usage/settings/#tab_indent", "type": "boolean", "default": false }, "compact_short_flags": { "title": "compact short flags", "description": "Whether to expand short flags of the current script\nhttps://bashly.dannyb.co/usage/settings/#compact_short_flags", "type": "boolean", "default": true }, "env": { "title": "env", "description": "Whether to include development related comments in the current script\nhttps://bashly.dannyb.co/usage/settings/#env", "type": "string", "enum": [ "development", "production" ], "default": "development" }, "partials_extension": { "title": "partials extension", "description": "A partial snippet extension of the current script\nhttps://bashly.dannyb.co/usage/settings/#partials_extension", "type": "string", "minLength": 1, "default": "sh" }, "usage_colors": { "title": "usage colors", "description": "Usage colors of the current script\nhttps://bashly.dannyb.co/usage/settings/#usage_colors", "type": "object", "properties": { "caption": { "title": "caption", "description": "A caption color of the current script\nhttps://bashly.dannyb.co/usage/settings/#usage_colors", "$ref": "#/definitions/color" }, "command": { "title": "command", "description": "A command color of the current script\nhttps://bashly.dannyb.co/usage/settings/#usage_colors", "$ref": "#/definitions/color" }, "arg": { "title": "arg", "description": "An argument color of the current script\nhttps://bashly.dannyb.co/usage/settings/#usage_colors", "$ref": "#/definitions/color" }, "flag": { "title": "flag", "description": "A flag color of the current script\nhttps://bashly.dannyb.co/usage/settings/#usage_colors", "$ref": "#/definitions/color" }, "environment_variable": { "title": "environment variable", "description": "An environment variable color of the current script\nhttps://bashly.dannyb.co/usage/settings/#usage_colors", "$ref": "#/definitions/color" } }, "additionalProperties": false } }, "additionalProperties": false }
settings
{ "$schema": "http://json-schema.org/draft-04/schema#", "description": "The value returned by GET /", "properties": { "couchdb": { "pattern": "^Welcome$", "type": "string" }, "uuid": { "type": "string" }, "vendor": { "type": "object", "properties": { "name": { "type": "string" }, "version": { "type": "string" } }, "required": [ "name", "version" ] }, "version": { "type": "string" } }, "required": [ "couchdb", "uuid", "vendor", "version" ], "title": "CouchDB root", "type": "object" }
o60107
{ "$schema": "http://json-schema.org/draft-04/schema#", "description": "schema for Sync pings, documentation avaliable in toolkit/components/telemetry/docs/sync-ping.rst", "type": "object", "additionalProperties": false, "required": [ "version", "syncs", "why", "uid" ], "properties": { "version": { "type": "integer", "minimum": 0 }, "discarded": { "type": "integer", "minimum": 1 }, "why": { "enum": [ "shutdown", "schedule", "idchange" ] }, "uid": { "type": "string", "pattern": "^[0-9a-f]{32}$" }, "deviceID": { "type": "string", "pattern": "^[0-9a-f]{64}$" }, "syncs": { "type": "array", "minItems": 1, "items": { "$ref": "#/definitions/payload" } }, "events": { "type": "array", "minItems": 1, "items": { "$ref": "#/definitions/event" } } }, "definitions": { "payload": { "type": "object", "additionalProperties": false, "required": [ "when", "took" ], "properties": { "didLogin": { "type": "boolean" }, "when": { "type": "integer" }, "devices": { "type": "array", "items": { "$ref": "#/definitions/device" } }, "status": { "type": "object", "anyOf": [ { "required": [ "sync" ] }, { "required": [ "service" ] } ], "additionalProperties": false, "properties": { "sync": { "type": "string" }, "service": { "type": "string" } } }, "why": { "enum": [ "startup", "schedule", "score", "user", "tabs" ] }, "took": { "type": "integer", "minimum": -1 }, "failureReason": { "$ref": "#/definitions/error" }, "engines": { "type": "array", "minItems": 1, "items": { "$ref": "#/definitions/engine" } } } }, "device": { "required": [ "os", "id", "version" ], "additionalProperties": false, "type": "object", "properties": { "id": { "type": "string", "pattern": "^[0-9a-f]{64}$" }, "os": { "type": "string" }, "version": { "type": "string" } } }, "engine": { "required": [ "name" ], "additionalProperties": false, "properties": { "failureReason": { "$ref": "#/definitions/error" }, "name": { "enum": [ "addons", "bookmarks", "clients", "forms", "history", "passwords", "prefs", "tabs" ] }, "took": { "type": "integer", "minimum": 1 }, "status": { "type": "string" }, "incoming": { "type": "object", "additionalProperties": false, "anyOf": [ { "required": [ "applied" ] }, { "required": [ "failed" ] }, { "required": [ "newFailed" ] }, { "required": [ "reconciled" ] } ], "properties": { "applied": { "type": "integer", "minimum": 1 }, "failed": { "type": "integer", "minimum": 1 }, "newFailed": { "type": "integer", "minimum": 1 }, "reconciled": { "type": "integer", "minimum": 1 } } }, "outgoing": { "type": "array", "minItems": 1, "items": { "$ref": "#/definitions/outgoingBatch" } }, "validation": { "type": "object", "additionalProperties": false, "anyOf": [ { "required": [ "checked" ] }, { "required": [ "failureReason" ] } ], "properties": { "checked": { "type": "integer", "minimum": 0 }, "failureReason": { "$ref": "#/definitions/error" }, "took": { "type": "integer" }, "version": { "type": "integer" }, "problems": { "type": "array", "minItems": 1, "$ref": "#/definitions/validationProblem" } } } } }, "outgoingBatch": { "type": "object", "additionalProperties": false, "anyOf": [ { "required": [ "sent" ] }, { "required": [ "failed" ] } ], "properties": { "sent": { "type": "integer", "minimum": 1 }, "failed": { "type": "integer", "minimum": 1 } } }, "event": { "type": "array", "minItems": 4, "maxItems": 6 }, "error": { "oneOf": [ { "$ref": "#/definitions/httpError" }, { "$ref": "#/definitions/nsError" }, { "$ref": "#/definitions/shutdownError" }, { "$ref": "#/definitions/authError" }, { "$ref": "#/definitions/otherError" }, { "$ref": "#/definitions/unexpectedError" }, { "$ref": "#/definitions/sqlError" } ] }, "httpError": { "required": [ "name", "code" ], "properties": { "name": { "enum": [ "httperror" ] }, "code": { "type": "integer" } } }, "nsError": { "required": [ "name", "code" ], "properties": { "name": { "enum": [ "nserror" ] }, "code": { "type": "integer" } } }, "shutdownError": { "required": [ "name" ], "properties": { "name": { "enum": [ "shutdownerror" ] } } }, "authError": { "required": [ "name" ], "properties": { "name": { "enum": [ "autherror" ] }, "from": { "enum": [ "tokenserver", "fxaccounts", "hawkclient" ] } } }, "otherError": { "required": [ "name" ], "properties": { "name": { "enum": [ "othererror" ] }, "error": { "type": "string" } } }, "unexpectedError": { "required": [ "name" ], "properties": { "name": { "enum": [ "unexpectederror" ] }, "error": { "type": "string" } } }, "sqlError": { "required": [ "name" ], "properties": { "name": { "enum": [ "sqlerror" ] }, "code": { "type": "integer" } } }, "validationProblem": { "required": [ "name", "count" ], "properties": { "name": { "type": "string" }, "count": { "type": "integer" } } } } }
o17700
{ "title": "JSON Schema for Beef Database code-generation (https://github.com/Avanade/Beef).", "$schema": "http://json-schema.org/draft-04/schema", "definitions": { "CodeGeneration": { "type": "object", "title": "'CodeGeneration' object (database-driven)", "description": "The 'CodeGeneration' object defines global properties that are used to drive the underlying database-driven code generation.", "properties": { "schema": { "type": "string", "title": "The name of the 'Schema' where the artefacts are defined in, or should be created in, the database.", "description": "This is used as the default 'Schema' for all child objects." }, "columnNameIsDeleted": { "type": "string", "title": "The column name for the 'IsDeleted' capability.", "description": "Defaults to 'IsDeleted'." }, "columnNameTenantId": { "type": "string", "title": "The column name for the 'TenantId' capability.", "description": "Defaults to 'TenantId'." }, "columnNameOrgUnitId": { "type": "string", "title": "The column name for the 'OrgUnitId' capability.", "description": "Defaults to 'OrgUnitId'." }, "columnNameRowVersion": { "type": "string", "title": "The column name for the 'RowVersion' capability.", "description": "Defaults to 'RowVersion'." }, "columnNameCreatedBy": { "type": "string", "title": "The column name for the 'CreatedBy' capability.", "description": "Defaults to 'CreatedBy'." }, "columnNameCreatedDate": { "type": "string", "title": "The column name for the 'CreatedDate' capability.", "description": "Defaults to 'CreatedDate'." }, "columnNameUpdatedBy": { "type": "string", "title": "The column name for the 'UpdatedBy' capability.", "description": "Defaults to 'UpdatedBy'." }, "columnNameUpdatedDate": { "type": "string", "title": "The column name for the 'UpdatedDate' capability.", "description": "Defaults to 'UpdatedDate'." }, "columnNameDeletedBy": { "type": "string", "title": "The column name for the 'DeletedBy' capability.", "description": "Defaults to 'UpdatedBy'." }, "columnNameDeletedDate": { "type": "string", "title": "The column name for the 'DeletedDate' capability.", "description": "Defaults to 'UpdatedDate'." }, "orgUnitJoinSql": { "type": "string", "title": "The SQL table or function that is to be used to join against for security-based 'OrgUnitId' verification.", "description": "Defaults to '[Sec].[fnGetUserOrgUnits]()'." }, "checkUserPermissionSql": { "type": "string", "title": "The SQL stored procedure that is to be used for 'Permission' verification.", "description": "Defaults to '[Sec].[spCheckUserHasPermission]'." }, "getUserPermissionSql": { "type": "string", "title": "The SQL function that is to be used for 'Permission' verification.", "description": "Defaults to '[Sec].[fnGetUserHasPermission]'." }, "autoDotNetRename": { "type": "string", "title": "The option to automatically rename the SQL Tables and Columns for use in .NET.", "description": "Defaults 'SnakeKebabToPascalCase' that will remove any underscores or hyphens separating each word and capitalize the first character of each; e.g. 'internal-customer_id' would be renamed as 'InternalCustomerId'. The 'PascalCase' option will capatilize the first character only.", "enum": [ "None", "PascalCase", "SnakeKebabToPascalCase" ] }, "preprocessorDirectives": { "type": "boolean", "title": "Indicates whether to use preprocessor directives in the generated output." }, "efModel": { "type": "boolean", "title": "Indicates whether an 'Entity Framework' .NET (C#) model is to be generated for all tables.", "description": "This can be overridden within the 'Table'(s)." }, "outbox": { "type": "boolean", "title": "Indicates whether to generate the event outbox SQL and .NET artefacts.", "description": "Defaults to 'false'." }, "outboxSchema": { "type": "string", "title": "The schema name of the event outbox table.", "description": "Defaults to 'Outbox' (literal)." }, "outboxSchemaCreate": { "type": "boolean", "title": "Indicates whether to create the 'OutboxSchema' within the database.", "description": "Defaults to 'true'." }, "outboxTable": { "type": "string", "title": "The name of the event outbox table.", "description": "Defaults to 'EventOutbox' (literal)." }, "outboxEnqueueStoredProcedure": { "type": "string", "title": "The stored procedure name for the event outbox enqueue.", "description": "Defaults to 'spEventOutboxEnqueue' (literal)." }, "outboxDequeueStoredProcedure": { "type": "string", "title": "The stored procedure name for the event outbox dequeue.", "description": "Defaults to 'spEventOutboxDequeue' (literal)." }, "pathBase": { "type": "string", "title": "The base path (directory) prefix for the Database-related artefacts; other 'Path*' properties append to this value when they are not specifically overridden.", "description": "Defaults to 'Company' (runtime parameter) + '.' + 'AppName' (runtime parameter). For example 'Beef.Demo'." }, "pathDatabaseSchema": { "type": "string", "title": "The path (directory) for the Schema Database-related artefacts.", "description": "Defaults to 'PathBase' + '.Database/Schema' (literal). For example 'Beef.Demo.Database/Schema'." }, "pathDatabaseMigrations": { "type": "string", "title": "The path (directory) for the Schema Database-related artefacts.", "description": "Defaults to 'PathBase' + '.Database/Migrations' (literal). For example 'Beef.Demo.Database/Migrations'." }, "pathBusiness": { "type": "string", "title": "The path (directory) for the Business-related (.NET) artefacts.", "description": "Defaults to 'PathBase' + '.Business' (literal). For example 'Beef.Demo.Business'." }, "orgUnitImmutable": { "type": "boolean", "title": "Indicates whether the 'OrgUnitId' column is considered immutable, in that it can not be changed once set.", "description": "This is only applicable for stored procedures." }, "namespaceBase": { "type": "string", "title": "The base Namespace (root) for the .NET artefacts.", "description": "Defaults to 'Company' (runtime parameter) + '.' + 'AppName' (runtime parameter). For example 'Beef.Demo'." }, "namespaceCommon": { "type": "string", "title": "The Namespace (root) for the Common-related .NET artefacts.", "description": "Defaults to 'NamespaceBase' + '.Common' (literal). For example 'Beef.Demo.Common'." }, "namespaceBusiness": { "type": "string", "title": "The Namespace (root) for the Business-related .NET artefacts.", "description": "Defaults to 'NamespaceBase' + '.Business' (literal). For example 'Beef.Demo.Business'." }, "namespaceOutbox": { "type": "string", "title": "The Namespace (root) for the Outbox-related Publisher .NET artefacts.", "description": "Defaults to 'NamespaceBusiness'." }, "tables": { "type": "array", "title": "The corresponding 'Table' collection.", "items": { "$ref": "#/definitions/Table" } }, "queries": { "type": "array", "title": "The corresponding 'Query' collection.", "items": { "$ref": "#/definitions/Query" } } } }, "Table": { "type": "object", "title": "'Table' object (entity-driven)", "description": "The 'Table' object identifies an existing database 'Table' (or 'View') and defines its code-generation characteristics.", "properties": { "name": { "type": "string", "title": "The name of the 'Table' in the database." }, "schema": { "type": "string", "title": "The name of the 'Schema' where the 'Table' is defined in the database.", "description": "Defaults to 'CodeGeneration.Schema'." }, "alias": { "type": "string", "title": "The 'Schema.Table' alias name.", "description": "Will automatically default where not specified." }, "includeColumns": { "type": "array", "title": "The list of 'Column' names to be included in the underlying generated output.", "description": "Where not specified this indicates that all 'Columns' are to be included.", "items": { "type": "string" } }, "excludeColumns": { "type": "array", "title": "The list of 'Column' names to be excluded from the underlying generated output.", "description": "Where not specified this indicates no 'Columns' are to be excluded.", "items": { "type": "string" } }, "aliasColumns": { "type": "array", "title": "The list of 'Column' and 'Alias' pairs (split by a '^' lookup character) to enable column aliasing/renaming.", "description": "Each alias value should be formatted as 'Column' + '^' + 'Alias'; e.g. 'PCODE^ProductCode'.", "items": { "type": "string" } }, "get": { "type": "boolean", "title": "Indicates whether a 'Get' stored procedure is to be automatically generated where not otherwise explicitly specified." }, "getAll": { "type": "boolean", "title": "Indicates whether a 'GetAll' stored procedure is to be automatically generated where not otherwise explicitly specified.", "description": "The 'GetAllOrderBy' is used to specify the 'GetAll' query sort order." }, "getAllOrderBy": { "type": "array", "title": "The list of 'Column' names (including sort order 'ASC'/'DESC' literal) to be used as the 'GetAll' query sort order.", "description": "This relates to the 'GetAll' selection.", "items": { "type": "string" } }, "create": { "type": "boolean", "title": "Indicates whether a 'Create' stored procedure is to be automatically generated where not otherwise explicitly specified." }, "update": { "type": "boolean", "title": "Indicates whether a 'Update' stored procedure is to be automatically generated where not otherwise explicitly specified." }, "upsert": { "type": "boolean", "title": "Indicates whether a 'Upsert' stored procedure is to be automatically generated where not otherwise explicitly specified." }, "delete": { "type": "boolean", "title": "Indicates whether a 'Delete' stored procedure is to be automatically generated where not otherwise explicitly specified." }, "merge": { "type": "boolean", "title": "Indicates whether a 'Merge' (insert/update/delete of 'Udt' list) stored procedure is to be automatically generated where not otherwise explicitly specified.", "description": "This will also require a 'Udt' (SQL User Defined Table) and 'Tvp' (.NET Table-Valued Parameter) to function." }, "efModel": { "type": "boolean", "title": "Indicates whether an 'Entity Framework' .NET (C#) model is to be generated.", "description": "Defaults to 'CodeGeneration.EfModel'." }, "efModelName": { "type": "string", "title": "The .NET (C#) EntityFramework (EF) model name.", "description": "Defaults to 'Name' applying the 'CodeGeneration.AutoDotNetRename'." }, "udt": { "type": "boolean", "title": "Indicates whether a 'User Defined Table (UDT)' type should be created." }, "udtExcludeColumns": { "type": "array", "title": "The list of 'Column' names to be excluded from the 'User Defined Table (UDT)'.", "description": "Where not specified this indicates that no 'Columns' are to be excluded.", "items": { "type": "string" } }, "tvp": { "type": "string", "title": "The name of the .NET entity associated with the 'Udt' so that it can be expressed (created) as a Table-Valued Parameter for usage within the corresponding 'DbMapper'." }, "permission": { "type": "string", "title": "The permission (prefix) to be used for security permission checking (suffix defaults to 'Read', 'Write' or 'Delete' and can be overridden in the underlying stored procedure)." }, "orgUnitImmutable": { "type": "boolean", "title": "Indicates whether the 'OrgUnitId' column is considered immutable, in that it can not be changed once set.", "description": "Defaults to 'CodeGeneration.OrgUnitImmutable'. This is only applicable for stored procedures." }, "columnNameIsDeleted": { "type": "string", "title": "The column name for the 'IsDeleted' capability.", "description": "Defaults to 'CodeGeneration.IsDeleted'." }, "columnNameTenantId": { "type": "string", "title": "The column name for the 'TenantId' capability.", "description": "Defaults to 'CodeGeneration.TenantId'." }, "columnNameOrgUnitId": { "type": "string", "title": "The column name for the 'OrgUnitId' capability.", "description": "Defaults to 'CodeGeneration.OrgUnitId'." }, "columnNameRowVersion": { "type": "string", "title": "The column name for the 'RowVersion' capability.", "description": "Defaults to 'CodeGeneration.RowVersion'." }, "columnNameCreatedBy": { "type": "string", "title": "The column name for the 'CreatedBy' capability.", "description": "Defaults to 'CodeGeneration.CreatedBy'." }, "columnNameCreatedDate": { "type": "string", "title": "The column name for the 'CreatedDate' capability.", "description": "Defaults to 'CodeGeneration.CreatedDate'." }, "columnNameUpdatedBy": { "type": "string", "title": "The column name for the 'UpdatedBy' capability.", "description": "Defaults to 'CodeGeneration.UpdatedBy'." }, "columnNameUpdatedDate": { "type": "string", "title": "The column name for the 'UpdatedDate' capability.", "description": "Defaults to 'CodeGeneration.UpdatedDate'." }, "columnNameDeletedBy": { "type": "string", "title": "The column name for the 'DeletedBy' capability.", "description": "Defaults to 'CodeGeneration.UpdatedBy'." }, "columnNameDeletedDate": { "type": "string", "title": "The column name for the 'DeletedDate' capability.", "description": "Defaults to 'CodeGeneration.UpdatedDate'." }, "storedProcedures": { "type": "array", "title": "The corresponding 'StoredProcedure' collection.", "items": { "$ref": "#/definitions/StoredProcedure" } }, "relationships": { "type": "array", "title": "The corresponding Entity Frameworrk (EF) 'Relationship' collection.", "items": { "$ref": "#/definitions/Relationship" } } }, "required": [ "name" ] }, "StoredProcedure": { "type": "object", "title": "'StoredProcedure' object (database-driven)", "description": "The code generation for an 'StoredProcedure' is primarily driven by the 'Type' property. This encourages (enforces) a consistent implementation for the standardised **CRUD** (Create, Read, Update and Delete) actions, as well as supporting 'Upsert', 'Merge' and ad-hoc queries as required.", "properties": { "name": { "type": "string", "title": "The name of the 'StoredProcedure'; generally the verb/action, i.e. 'Get', 'Update', etc.", "description": "See 'StoredProcedureName' for the actual name used in the database." }, "type": { "type": "string", "title": "The stored procedure operation type.", "description": "Defaults to 'GetColl'.", "enum": [ "Get", "GetColl", "Create", "Update", "Upsert", "Delete", "Merge" ] }, "paging": { "type": "boolean", "title": "Indicates whether standardized paging support should be added.", "description": "This only applies where the stored procedure operation 'Type' is 'GetColl'." }, "storedProcedureName": { "type": "string", "title": "The 'StoredProcedure' name in the database.", "description": "Defaults to 'sp' + 'Table.Name' + 'Name'; e.g. 'spTableName' or 'spPersonGet'." }, "reselectStatement": { "type": "string", "title": "The SQL statement to perform the reselect after a 'Create', 'Update' or 'Upsert' stored procedure operation 'Type'.", "description": "Defaults to '[{{Table.Schema}}].[sp{{Table.Name}}Get]' passing the primary key column(s)." }, "intoTempTable": { "type": "boolean", "title": "Indicates whether to select into a '#TempTable' to allow other statements access to the selected data.", "description": "A 'Select * from #TempTable' is also performed (code-generated) where the stored procedure operation 'Type' is 'GetColl'." }, "withHints": { "type": "string", "title": "the table hints using the SQL Server 'WITH()' statement; the value specified will be used as-is; e.g. 'NOLOCK' will result in 'WITH(NOLOCK)'." }, "mergeOverrideIdentityColumns": { "type": "array", "title": "The list of 'Column' names to be used in the 'Merge' statement to determine whether to _insert_, _update_ or _delete_.", "description": "This is used to override the default behaviour of using the primary key column(s).", "items": { "type": "string" } }, "permission": { "type": "string", "title": "The name of the 'StoredProcedure' in the database." }, "orgUnitImmutable": { "type": "boolean", "title": "Indicates whether the 'OrgUnitId' column is considered immutable, in that it can not be changed once set.", "description": "Defaults to 'Table.OrgUnitImmutable'." }, "includeColumns": { "type": "array", "title": "The list of 'Column' names to be included in the underlying generated _settable_ output (further filters 'Table.IncludeColumns').", "description": "Where not specified this indicates that all 'Columns' are to be included. Only filters the columns where 'Type' is 'Get', 'GetColl', 'Create', 'Update' or 'Upsert'.", "items": { "type": "string" } }, "excludeColumns": { "type": "array", "title": "The list of 'Column' names to be excluded from the underlying generated _settable_ output (further filters 'Table.ExcludeColumns').", "description": "Where not specified this indicates no 'Columns' are to be excluded. Only filters the columns where 'Type' is 'Get', 'GetColl', 'Create', 'Update' or 'Upsert'.", "items": { "type": "string" } }, "parameters": { "type": "array", "title": "The corresponding 'Parameter' collection.", "items": { "$ref": "#/definitions/Parameter" } }, "where": { "type": "array", "title": "The corresponding 'Where' collection.", "items": { "$ref": "#/definitions/Where" } }, "orderby": { "type": "array", "title": "The corresponding 'OrderBy' collection.", "items": { "$ref": "#/definitions/OrderBy" } }, "execute": { "type": "array", "title": "The corresponding 'Execute' collection.", "items": { "$ref": "#/definitions/Execute" } } }, "required": [ "name" ] }, "Parameter": { "type": "object", "title": "'Parameter' object (database-driven)", "description": "The 'Parameter' is used to define a stored procedure parameter and its charateristics. These are in addition to those that are automatically inferred (added) by the selected 'StoredProcedure.Type'.", "properties": { "name": { "type": "string", "title": "The parameter name (without the '@' prefix)." }, "column": { "type": "string", "title": "The corresponding column name; used to infer characteristics.", "description": "Defaults to 'Name'." }, "sqlType": { "type": "string", "title": "The SQL type definition (overrides inherited Column definition) including length/precision/scale." }, "nullable": { "type": "boolean", "title": "Indicates whether the parameter is nullable.", "description": "Note that when the parameter value is 'NULL' it will not be included in the query." }, "treatColumnNullAs": { "type": "boolean", "title": "Indicates whether the column value where NULL should be treated as the specified value; results in: 'ISNULL([x].[col], value)'." }, "collection": { "type": "boolean", "title": "Indicates whether the parameter is a collection (one or more values to be included 'IN' the query)." }, "operator": { "type": "string", "title": "The where clause equality operator", "description": "Defaults to 'EQ'.", "enum": [ "EQ", "NE", "LT", "LE", "GT", "GE", "LIKE" ] } }, "required": [ "name" ] }, "Where": { "type": "object", "title": "'Where' object (database-driven)", "description": "The 'Where' object defines an additional where 'Statement' to be added. This is in addition to those automatically added based on the 'StoredProcedure.Type'.", "properties": { "statement": { "type": "string", "title": "The where statement (TSQL)." } }, "required": [ "statement" ] }, "OrderBy": { "type": "object", "title": "'OrderBy' object (database-driven)", "description": "The 'OrderBy' object defines the query order. Only valid for 'StoredProcedure.Type' of 'GetAll'.", "properties": { "name": { "type": "string", "title": "The name of the 'Column' to order by." }, "order": { "type": "string", "title": "The corresponding sort order.", "description": "Defaults to 'Ascending'.", "enum": [ "Ascending", "Descending" ] } }, "required": [ "name" ] }, "Execute": { "type": "object", "title": "'Execute' object (database-driven)", "description": "The _Execute_ object enables additional TSQL statements to be embedded within the stored procedure.", "properties": { "statement": { "type": "string", "title": "The additional TSQL statement." }, "location": { "type": "string", "title": "The location of the statement in relation to the underlying primary stored procedure statement.", "description": "Defaults to 'After'.", "enum": [ "Before", "After" ] } }, "required": [ "statement" ] }, "Relationship": { "type": "object", "title": "'Relationship' object (database-driven)", "description": "The 'Relationship' object enables the definition of an entity framework (EF) model relationship.", "properties": { "name": { "type": "string", "title": "The name of the primary table of the query." }, "schema": { "type": "string", "title": "The schema name of the primary table of the view.", "description": "Defaults to 'CodeGeneration.Schema'." }, "type": { "type": "string", "title": "The relationship type between the parent and child (self).", "description": "Defaults to 'OneToMany'.", "enum": [ "OneToMany", "ManyToOne" ] }, "foreignKeyColumns": { "type": "array", "title": "The list of 'Column' names from the related table that reference the parent.", "items": { "type": "string" } }, "principalKeyColumns": { "type": "array", "title": "The list of 'Column' names from the principal table that reference the child.", "description": " Typically this is only used where referencing property(s) other than the primary key as the principal property(s).", "items": { "type": "string" } }, "onDelete": { "type": "string", "title": "The operation applied to dependent entities in the relationship when the principal is deleted or the relationship is severed.", "description": "Defaults to 'NoAction'. See https://learn.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.deletebehavior for more information.", "enum": [ "NoAction", "Cascade", "ClientCascade", "ClientNoAction", "ClientSetNull", "Restrict", "SetNull" ] }, "autoInclude": { "type": "boolean", "title": "Indicates whether to automatically include navigation to the property.", "description": "Defaults to 'false'." }, "propertyName": { "type": "string", "title": "The corresponding property name within the entity framework (EF) model.", "description": "Defaults to 'Name' using the 'CodeGeneration.AutoDotNetRename' option." }, "efModelName": { "type": "string", "title": "The corresponding entity framework (EF) model name (.NET Type).", "description": "Defaults to 'Name' using the 'CodeGeneration.AutoDotNetRename' option." } }, "required": [ "name" ] }, "Query": { "type": "object", "title": "'Query' object (database-driven)", "description": "The 'Query' object enables the definition of more complex multi-table queries ('Joins') that would primarily result in a database _View_. The primary table 'Name' for the query is required to be specified. Multiple queries can be specified for the same table(s). The 'IncludeColumns' and 'ExcludeColumns' provide a shorthand to include or exclude selected columns; with the 'AliasColumns' providing a means to rename where required (for example duplicate name). Additional 'Where' and 'Order' configuration can also be added as required.", "properties": { "name": { "type": "string", "title": "The name of the primary table of the query." }, "schema": { "type": "string", "title": "The schema name of the primary table of the view.", "description": "Defaults to 'CodeGeneration.Schema'." }, "alias": { "type": "string", "title": "The 'Schema.Table' alias name.", "description": "Will automatically default where not specified." }, "includeColumns": { "type": "array", "title": "The list of 'Column' names to be included in the underlying generated output.", "description": "Where not specified this indicates that all 'Columns' are to be included.", "items": { "type": "string" } }, "excludeColumns": { "type": "array", "title": "The list of 'Column' names to be excluded from the underlying generated output.", "description": "Where not specified this indicates no 'Columns' are to be excluded.", "items": { "type": "string" } }, "aliasColumns": { "type": "array", "title": "The list of 'Column' and 'Alias' pairs (split by a '^' lookup character) to enable column aliasing/renaming.", "description": "Each alias value should be formatted as 'Column' + '^' + 'Alias'; e.g. 'PCODE^ProductCode'", "items": { "type": "string" } }, "view": { "type": "boolean", "title": "Indicates whether a 'View' is to be generated." }, "viewName": { "type": "string", "title": "The 'View' name.", "description": "Defaults to 'vw' + 'Name'; e.g. 'vwTableName'." }, "viewSchema": { "type": "string", "title": "The schema name for the 'View'.", "description": "Defaults to 'Schema'." }, "permission": { "type": "string", "title": "The permission to be used for security permission checking.", "description": "The suffix is optional, and where not specified will default to '.READ'." }, "columnNameIsDeleted": { "type": "string", "title": "The column name for the 'IsDeleted' capability.", "description": "Defaults to 'CodeGeneration.IsDeleted'." }, "columnNameTenantId": { "type": "string", "title": "The column name for the 'TenantId' capability.", "description": "Defaults to 'CodeGeneration.TenantId'." }, "columnNameOrgUnitId": { "type": "string", "title": "The column name for the 'OrgUnitId' capability.", "description": "Defaults to 'CodeGeneration.OrgUnitId'." }, "columnNameRowVersion": { "type": "string", "title": "The column name for the 'RowVersion' capability.", "description": "Defaults to 'CodeGeneration.RowVersion'." }, "columnNameCreatedBy": { "type": "string", "title": "The column name for the 'CreatedBy' capability.", "description": "Defaults to 'CodeGeneration.CreatedBy'." }, "columnNameCreatedDate": { "type": "string", "title": "The column name for the 'CreatedDate' capability.", "description": "Defaults to 'CodeGeneration.CreatedDate'." }, "columnNameUpdatedBy": { "type": "string", "title": "The column name for the 'UpdatedBy' capability.", "description": "Defaults to 'CodeGeneration.UpdatedBy'." }, "columnNameUpdatedDate": { "type": "string", "title": "The column name for the 'UpdatedDate' capability.", "description": "Defaults to 'CodeGeneration.UpdatedDate'." }, "columnNameDeletedBy": { "type": "string", "title": "The column name for the 'DeletedBy' capability.", "description": "Defaults to 'CodeGeneration.UpdatedBy'." }, "columnNameDeletedDate": { "type": "string", "title": "The column name for the 'DeletedDate' capability.", "description": "Defaults to 'CodeGeneration.UpdatedDate'." }, "joins": { "type": "array", "title": "The corresponding 'Join' collection.", "items": { "$ref": "#/definitions/QueryJoin" } }, "order": { "type": "array", "title": "The corresponding 'Order' collection.", "items": { "$ref": "#/definitions/QueryOrder" } }, "where": { "type": "array", "title": "The corresponding 'Where' collection.", "items": { "$ref": "#/definitions/QueryWhere" } } }, "required": [ "name" ] }, "QueryJoin": { "type": "object", "title": "'QueryJoin' object (database-driven)", "description": "The 'QueryJoin' object defines a join to another (or same) table within a query. The 'Type' defines the join type, such as inner join, etc. The 'IncludeColumns' and 'ExcludeColumns' provide a shorthand to include or exclude selected columns; with the 'AliasColumns' providing a means to rename where required (for example duplicate name).", "properties": { "name": { "type": "string", "title": "The name of the table to join." }, "schema": { "type": "string", "title": "The schema name of the table to join.", "description": "Defaults to 'Table.Schema'; i.e. same schema." }, "alias": { "type": "string", "title": "The 'Schema.Table' alias name.", "description": "Will automatically default where not specified." }, "type": { "type": "string", "title": "The SQL join type.", "description": "Defaults to 'Inner'.", "enum": [ "Inner", "Left", "Right", "Full" ] }, "includeColumns": { "type": "array", "title": "The list of 'Column' names to be included in the underlying generated output.", "description": "Where not specified this indicates that all 'Columns' are to be included.", "items": { "type": "string" } }, "excludeColumns": { "type": "array", "title": "The list of 'Column' names to be excluded from the underlying generated output.", "description": "Where not specified this indicates no 'Columns' are to be excluded.", "items": { "type": "string" } }, "aliasColumns": { "type": "array", "title": "The list of 'Column' and 'Alias' pairs (split by a '^' lookup character) to enable column renaming.", "description": "Each alias value should be formatted as 'Column' + '^' + 'Alias'; e.g. 'PCODE^ProductCode'", "items": { "type": "string" } }, "columnNameIsDeleted": { "type": "string", "title": "The column name for the 'IsDeleted' capability.", "description": "Defaults to 'CodeGeneration.IsDeleted'." }, "columnNameTenantId": { "type": "string", "title": "The column name for the 'TenantId' capability.", "description": "Defaults to 'CodeGeneration.TenantId'." }, "columnNameOrgUnitId": { "type": "string", "title": "The column name for the 'OrgUnitId' capability.", "description": "Defaults to 'CodeGeneration.OrgUnitId'." }, "columnNameRowVersion": { "type": "string", "title": "The column name for the 'RowVersion' capability.", "description": "Defaults to 'CodeGeneration.RowVersion'." }, "columnNameCreatedBy": { "type": "string", "title": "The column name for the 'CreatedBy' capability.", "description": "Defaults to 'CodeGeneration.CreatedBy'." }, "columnNameCreatedDate": { "type": "string", "title": "The column name for the 'CreatedDate' capability.", "description": "Defaults to 'CodeGeneration.CreatedDate'." }, "columnNameUpdatedBy": { "type": "string", "title": "The column name for the 'UpdatedBy' capability.", "description": "Defaults to 'CodeGeneration.UpdatedBy'." }, "columnNameUpdatedDate": { "type": "string", "title": "The column name for the 'UpdatedDate' capability.", "description": "Defaults to 'CodeGeneration.UpdatedDate'." }, "columnNameDeletedBy": { "type": "string", "title": "The column name for the 'DeletedBy' capability.", "description": "Defaults to 'CodeGeneration.UpdatedBy'." }, "columnNameDeletedDate": { "type": "string", "title": "The column name for the 'DeletedDate' capability.", "description": "Defaults to 'CodeGeneration.UpdatedDate'." }, "on": { "type": "array", "title": "The corresponding 'JoinOn' collection.", "items": { "$ref": "#/definitions/QueryJoinOn" } } }, "required": [ "name" ] }, "QueryJoinOn": { "type": "object", "title": "'QueryJoinOn' object (database-driven)", "description": "The 'QueryJoinOn' object defines the join on characteristics for a join within a query.", "properties": { "name": { "type": "string", "title": "The name of the join column (from the 'Join' table)." }, "toSchema": { "type": "string", "title": "The name of the other join to table schema.", "description": "Defaults to 'Table.Schema'; i.e. same schema. See also 'ToTable' and 'ToColumn' as these all relate." }, "toTable": { "type": "string", "title": "The name of the other join to table.", "description": "Defaults to 'Table.Name'; i.e. primary table. See also 'ToSchema' and 'ToColumn' as these all relate." }, "toColumn": { "type": "string", "title": "The name of the other join to column.", "description": "Defaults to 'Name'; i.e. assumes same name. See also 'ToSchema' and 'ToTable' as these all relate." }, "toStatement": { "type": "string", "title": "The fully qualified name ('Alias.Name') of the other column being joined to or other valid SQL (e.g. function) bypassing the corresponding 'Schema', 'Table' and 'Column' logic." } }, "required": [ "name" ] }, "QueryOrder": { "type": "object", "title": "'QueryOrder' object (database-driven)", "description": "The 'QueryOrder' object that defines the query order.", "properties": { "name": { "type": "string", "title": "The name of the 'Column' to order by.", "description": "See also 'Schema' and 'Table' as these all relate." }, "schema": { "type": "string", "title": "The name of order by table schema. See also 'Name' and 'Column' as these all relate.", "description": "Defaults to 'Query.Schema'." }, "table": { "type": "string", "title": "The name of the order by table.", "description": "Defaults to 'Table.Name'; i.e. primary table. See also 'Schema' and 'Column' as these all relate." }, "order": { "type": "string", "title": "The corresponding sort order.", "description": "Defaults to 'Ascending'.", "enum": [ "Ascending", "Descending" ] } }, "required": [ "name" ] }, "QueryWhere": { "type": "object", "title": "'QueryWhere' object (database-driven)", "description": "The 'QueryWhere' object defines an additional where 'Statement' to be added.", "properties": { "statement": { "type": "string", "title": "The where TSQL statement." } }, "required": [ "statement" ] } }, "allOf": [ { "$ref": "#/definitions/CodeGeneration" } ] }
database
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "properties": { "test1": { "maxLength": 200, "minLength": 10, "pattern": ".+[@].+[.]___", "type": "string" }, "test2": { "maximum": 99999999.0, "minimum": 0.0, "type": "number" }, "test3": { "_format": "date-time", "description": "Description", "title": "test3", "type": "string" }, "test4": { "properties": { "lname": { "title": "Last Name", "type": "string" }, "name": { "title": "Name", "type": "string" } }, "title": "Object", "type": "object" }, "test5": { "enum": [ 0, 1, 2 ], "enumNames": [ "e1", "e2", "e3" ], "title": "enums", "type": "integer", "typeName": "testenum" } }, "required": [ "test1", "test2", "test3", "test5" ], "title": "test", "type": "object", "typeName": "test" }
o17563
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "items": { "type": "array", "items": { "title": "Application Certificate", "description": "Schema for a single Application Certificate", "type": "object", "properties": { "id": { "type": "string", "pattern": "^[A-Fa-f\\d]{24}$" }, "applicationCertificateId": { "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" }, "status": { "type": "string", "enum": [ "active", "inactive" ] }, "description": { "type": "string", "maxLength": 32767 }, "deviceIds": { "type": "array", "items": { "type": "string", "pattern": "^[A-Fa-f\\d]{24}$" }, "maxItems": 1000 }, "deviceTags": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string", "pattern": "^[0-9a-zA-Z_-]{1,255}$" }, "value": { "type": "string", "minLength": 1, "maxLength": 255 } }, "additionalProperties": false }, "maxItems": 100 }, "certificateInfo": { "type": "object", "properties": { "serialNumber": { "type": "string", "minLength": 1, "maxLength": 1024 }, "fingerprint": { "type": "string", "minLength": 1, "maxLength": 1024 }, "commonName": { "type": "string", "maxLength": 1024 }, "issuerName": { "type": "string", "maxLength": 1024 }, "notValidBefore": { "type": "string", "format": "date-time" }, "notValidAfter": { "type": "string", "format": "date-time" } } }, "filterType": { "oneOf": [ { "type": "string", "enum": [ "all", "whitelist", "blacklist" ] }, { "type": "string", "enum": [ "none" ] } ] }, "pubTopics": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 1024 } }, "subTopics": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 1024 } } } } }, "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}$" } } }
o9776
{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Representation of a fluid medium.", "description": "Contains relevant property values of a fluid medium.\nSchema on github: https://github.com/Engineer2B/PowerCalculator-Schemas", "type": "object", "required": [ "Name", "Density", "Acoustic attenuation", "Speed of sound", "Heat absorption fraction", "Isobaric mass heat capacity", "Thermal conductivity" ], "properties": { "Name": { "type": "string", "description": "A unique identifier of the fluid medium.", "examples": [ "Water", "Markoil", "Muscle" ] }, "Speed of sound": { "description": "The speed of sound in the medium.\n\ud83d\udd17https://en.wikipedia.org/wiki/Speed_of_sound \nUnit: [m/s].", "type": "number", "exclusiveMinimum": 0, "examples": [ 997, 1500 ] }, "Acoustic attenuation": { "description": "The attenuation of an acoustic wave in the medium.\nCan also be an equation string with parameter 'T' for temperature in [K].\n\ud83d\udd17https://en.wikipedia.org/wiki/Attenuation \n\ud83d\udd17https://en.wikipedia.org/wiki/Neper\nUnit: [Np/m].", "oneOf": [ { "type": "number", "inclusiveMinimum": 0, "examples": [ 0, 2, 3.3 ] }, { "type": "string", "examples": [ "e^(T-37)" ] } ] }, "Density": { "description": "The amount of mass per volume.\nCan also be an equation string with parameter 'T' for temperature in [K].\n \ud83d\udd17https://en.wikipedia.org/wiki/Density \nUnit: [kg/(m^3)].", "oneOf": [ { "type": "number", "exclusiveMinimum": 0, "examples": [ 997, 1500 ] }, { "type": "string", "examples": [ "1000*(T-37)" ] } ] }, "Heat absorption fraction": { "description": "The fraction of the heat that contributes to a temperature increase.\nUnit: [-].", "type": "number", "inclusiveMinimum": 0, "inclusiveMaximum": 1, "examples": [ 1, 0, 0.3 ] }, "Isobaric mass heat capacity": { "description": "The ratio of the heat added to (or removed from) an object to the resulting temperature change per unit mass at a constant pressure.\n\ud83d\udd17https://en.wikipedia.org/w/index.php?title=Table_of_specific_heat_capacities&oldid=896766640 \nUnit: [(m^2)/(K s^2)] or, more familiar, [J/(kg K)].", "type": "number", "exclusiveMinimum": 0, "examples": [ 0.84 ] }, "Thermal conductivity": { "description": "The property of a material to conduct heat evaluated in terms of Fourier's Law for heat conduction.\n\ud83d\udd17https://en.wikipedia.org/wiki/Thermal_conductivity \n\ud83d\udd17https://en.wikipedia.org/wiki/Laser_flash_analysis \nUnit: [(kg m)/(s^3 K)] or, more familiar, [(W m)/K].", "type": "number", "exclusiveMinimum": 0, "examples": [ 0.15 ] }, "Atmospheric pressure freezing point": { "description": "The temperature at 1 atm at which the medium changes to the solid phase.\nUnit: [K]", "type": "number", "exclusiveMinimum": 0, "examples": [ 273 ] } } }
o5265
{ "$schema": "http://json-schema.org/draft-04/schema#", "id": "http://judkins.house/apis/k2/v1/gkeNodeProviderConfig.json", "$$target": "gkeNodeProviderConfig.json", "title": "GKE Provider Node Configuration", "description": "Describes GKE specific node configuration.", "properties": { "diskSize": { "description": "The amount of disk that should be allocated to the node, in GB.", "type": "number" }, "machineType": { "description": "The machine type that should be used for the node (n1-standard-1, etc.).", "type": "string" }, "scopes": { "description": "The scopes given to the node.", "items": { "type": "string" }, "type": "array" } }, "required": [ "diskSize", "machineType", "scopes" ], "additionalProperties": false, "type": "object" }
o90388
{ "$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." }, "attachments_with_thumbnails": { "description": "An ordered list of attachments", "items": { "description": "Generated HTML for each attachment including thumbnail and download link", "type": "string" }, "type": "array" }, "body": { "description": "The main content provided as HTML rendered from govspeak", "type": "string" }, "brexit_no_deal_notice": { "description": "A list of URLs and titles for a brexit no deal notice.", "items": { "additionalProperties": false, "properties": { "href": { "type": "string" }, "title": { "type": "string" } }, "required": [ "title", "href" ], "type": "object" }, "type": "array" }, "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": { "attachments": { "description": "An ordered list of asset links", "items": { "$ref": "#/definitions/publication_attachment_asset" }, "type": "array" }, "body": { "$ref": "#/definitions/body" }, "brexit_no_deal_notice": { "$ref": "#/definitions/brexit_no_deal_notice" }, "change_history": { "$ref": "#/definitions/change_history" }, "documents": { "$ref": "#/definitions/attachments_with_thumbnails" }, "emphasised_organisations": { "$ref": "#/definitions/emphasised_organisations" }, "featured_attachments": { "description": "An ordered list of attachments to feature below the document", "items": { "type": "string" }, "type": "array", "_uniqueItems": true }, "first_public_at": { "$ref": "#/definitions/first_public_at" }, "government": { "$ref": "#/definitions/government" }, "national_applicability": { "$ref": "#/definitions/national_applicability" }, "political": { "$ref": "#/definitions/political" }, "tags": { "$ref": "#/definitions/tags" } }, "required": [ "body", "documents", "political" ], "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 }, "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" }, "nation_applicability": { "additionalProperties": false, "description": "An object specifying the applicability of a particular nation.", "properties": { "alternative_url": { "description": "An optional alternative URL to link to for more information on this content item pertaining to this nation.", "type": "string" }, "applicable": { "description": "Whether the content applies to this nation or not.", "type": "boolean" }, "label": { "description": "The pretty-printed, translated label for this nation.", "type": "string" } }, "type": "object" }, "national_applicability": { "additionalProperties": false, "description": "An object specifying the applicable nations for this content item. If it applies to all nations, it should be omitted.", "properties": { "england": { "$ref": "#/definitions/nation_applicability" }, "northern_ireland": { "$ref": "#/definitions/nation_applicability" }, "scotland": { "$ref": "#/definitions/nation_applicability" }, "wales": { "$ref": "#/definitions/nation_applicability" } }, "type": "object" }, "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" }, "publication_attachment_asset": { "oneOf": [ { "additionalProperties": false, "properties": { "accessible": { "type": "boolean" }, "alternative_format_contact_email": { "type": "string" }, "attachment_type": { "enum": [ "file" ], "type": "string" }, "command_paper_number": { "type": "string" }, "content_type": { "type": "string" }, "file_size": { "type": "integer" }, "filename": { "type": "string" }, "hoc_paper_number": { "type": "string" }, "id": { "type": "string" }, "isbn": { "type": "string" }, "locale": { "$ref": "#/definitions/locale" }, "number_of_pages": { "type": "integer" }, "parliamentary_session": { "type": "string" }, "preview_url": { "_format": "uri", "type": "string" }, "title": { "type": "string" }, "unique_reference": { "type": "string" }, "unnumbered_command_paper": { "type": "boolean" }, "unnumbered_hoc_paper": { "type": "boolean" }, "url": { "_format": "uri", "type": "string" } }, "required": [ "attachment_type", "content_type", "id", "url" ], "type": "object" }, { "additionalProperties": false, "properties": { "attachment_type": { "enum": [ "html" ], "type": "string" }, "command_paper_number": { "type": "string" }, "hoc_paper_number": { "type": "string" }, "id": { "type": "string" }, "isbn": { "type": "string" }, "locale": { "$ref": "#/definitions/locale" }, "parliamentary_session": { "type": "string" }, "title": { "type": "string" }, "unique_reference": { "type": "string" }, "unnumbered_command_paper": { "type": "boolean" }, "unnumbered_hoc_paper": { "type": "boolean" }, "url": { "_format": "uri", "type": "string" } }, "required": [ "attachment_type", "id", "url" ], "type": "object" }, { "additionalProperties": false, "properties": { "attachment_type": { "enum": [ "external" ], "type": "string" }, "command_paper_number": { "type": "string" }, "hoc_paper_number": { "type": "string" }, "id": { "type": "string" }, "isbn": { "type": "string" }, "locale": { "$ref": "#/definitions/locale" }, "parliamentary_session": { "type": "string" }, "title": { "type": "string" }, "unique_reference": { "type": "string" }, "unnumbered_command_paper": { "type": "boolean" }, "unnumbered_hoc_paper": { "type": "boolean" }, "url": { "_format": "uri", "type": "string" } }, "required": [ "attachment_type", "id", "url" ], "type": "object" } ] }, "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": [ "guidance", "form", "foi_release", "promotional", "notice", "correspondence", "research", "official_statistics", "transparency", "statutory_guidance", "independent_report", "national_statistics", "corporate_report", "policy_paper", "decision", "map", "regulation", "international_treaty", "impact_assessment", "imported" ], "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" }, "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" }, "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_statistical_data_sets": { "$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" }, "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" }, "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" }, "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" }, "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" }, "related_statistical_data_sets": { "$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" }, "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" }, "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": [ "publication" ], "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" }
o21328
{ "$id": "urn:aerleon:schemas:aerleon-definitions:1.0.0", "$schema": "http://json-schema.org/draft-07/schema#", "$comment": "https://aerleon.readthedocs.io/en/latest/reference/naming/", "title": "Aerleon Network & Service Definitions", "type": "object", "additionalProperties": false, "properties": { "networks": { "title": "Network Definition Section", "description": "Policy files can reference the networks in this section by name. A network is a list of IP addresses or CIDR IP address ranges and may contain other networks.", "type": "object", "additionalProperties": { "$ref": "#/$defs/networkDefinition" }, "propertyNames": { "$ref": "#/$defs/token" } }, "services": { "title": "Service Definition Section", "description": "Policy files can reference the services in this section by name. A service is a list of port/protocol pairs (e.g. port: 80, protocol: tcp) and can include port ranges. A service can include other services.", "type": "object", "additionalProperties": { "$ref": "#/$defs/serviceDefinition" }, "propertyNames": { "$ref": "#/$defs/token" } } }, "$defs": { "token": { "type": "string", "pattern": "^[-_a-zA-Z0-9]+$" }, "comment": { "description": "Attach a comment directly to a value. This comment may be included in generated output on platforms that support it.", "type": "string" }, "address": { "description": "Specifies an IP address or CIDR IP address range expression.", "type": "string" }, "fqdn": { "description": "Specifies a fully qualified domain name with two or more labels.", "type": "string", "pattern": "^(?!.*://)(?=.{1,255}$)((.{1,63}\\.){1,127}(?![0-9]*$)[a-z0-9-]+\\.?)$" }, "port": { "description": "Specifies a port or port range.", "oneOf": [ { "type": "string", "pattern": "^\\d+-\\d+|^\\d+$" }, { "type": "integer" } ] }, "protocol": { "description": "Specifies a protocol by name or number.", "oneOf": [{ "type": "integer" }, { "type": "string" }] }, "networkDefinition": { "type": "object", "title": "Network Definition", "description": "Defines a named network, composed of IP addresses, IP address ranges, and references to other networks.\nAn object with the \"address\" property adds that address or address range to the network.\nAn object with the \"name\" property includes the contents of that network into this one.\nA single string also includes the content of that network into this one.", "additionalProperties": false, "required": ["values"], "properties": { "values": { "description": "Defines a named network, composed of IP addresses, IP address ranges, and references to other networks.\nAn object with the \"address\" property adds that address or address range to the network.\nAn object with the \"name\" property includes the contents of that network into this one.\nA single string also includes the content of that network into this one.", "type": "array", "items": { "oneOf": [ { "type": "string", "title": "Network Reference", "description": "Include another network by name.", "$ref": "#/$defs/token" }, { "type": "object", "required": ["address"], "properties": { "address": { "$ref": "#/$defs/address" }, "comment": { "$ref": "#/$defs/comment" } }, "additionalProperties": false }, { "type": "object", "required": ["fqdn"], "properties": { "fqdn": { "$ref": "#/$defs/fqdn" }, "comment": { "$ref": "#/$defs/comment" } }, "additionalProperties": false }, { "type": "object", "title": "Network Reference", "required": ["name"], "properties": { "name": { "description": "Include another network by name.", "$ref": "#/$defs/token" }, "comment": { "$ref": "#/$defs/comment" } }, "additionalProperties": false } ] } } } }, "serviceDefinition": { "type": "array", "title": "Service Definition", "description": "Defines a named service, composed of portocol, port pairs and/or references to other services.", "items": { "oneOf": [ { "type": "object", "required": ["port", "protocol"], "properties": { "port": { "$ref": "#/$defs/port" }, "protocol": { "$ref": "#/$defs/protocol" }, "comment": { "$ref": "#/$defs/comment" } }, "additionalProperties": false }, { "type": "object", "title": "Service Reference", "description": "Include another service by name.", "required": ["name"], "properties": { "name": { "description": "Include another service by name.", "$ref": "#/$defs/token" }, "comment": { "$ref": "#/$defs/comment" } }, "additionalProperties": false } ] } } } }
aerleon-definitions
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "Hotels Micro Services Pipeline Setup", "description": "Deployment of the Hotels Micro Services", "longDescription": "The Delivery Pipeline for DevOps Services allows you to automate your continuous deployment setup. To avoid conflicts, make sure to use unique application names. We recommend to use a common prefix like your name or initials.", "type": "object", "properties": { "selected-region": { "description": "The Bluemix region", "type": "string" }, "selected-organization": { "description": "The Bluemix org", "type": "string" }, "selected-space": { "description": "The Bluemix space", "type": "string" }, "ui-app-name": { "description": "Name of the UI", "type": "string" }, "dealsQ-app-name": { "description": "Name of the deals Query app", "type": "string" }, "hotelQ-app-name": { "description": "Name of the hotels Query App", "type": "string" }, "locationQ-app-name": { "description": "Name of the hotels Query App", "type": "string" }, "controller-app-name": { "description": "Name of the hotels Query App", "type": "string" }, "openwhisk_auth": { "type": "string" }, "apic-username": { "description": "APIC username", "type": "string" }, "apic-password": { "description": "APIC password", "type": "string" }, "api-app-name": { "description": "API cf app name", "type": "string" } }, "required": [ "selected-region", "selected-organization", "selected-space", "ui-app-name", "dealsQ-app-name", "hotelQ-app-name", "locationQ-app-name", "controller-app-name", "messaging-app-name" ], "form": [ { "type": "validator", "url": "/devops/setup/bm-helper/helper.html" }, { "type": "text", "readonly": false, "title": "Hotels UI App Name", "key": "ui-app-name" }, { "type": "text", "readonly": false, "title": "Hotels Query App Name", "key": "hotelQ-app-name" }, { "type": "text", "readonly": false, "title": " Deals Query App Name", "key": "dealsQ-app-name" }, { "type": "text", "readonly": false, "title": "Hotels Location App Name", "key": "locationQ-app-name" }, { "type": "text", "readonly": false, "title": "Messaging App Name", "key": "messaging-app-name" }, { "type": "text", "readonly": false, "title": "Hotels Controller App Name", "key": "controller-app-name" }, { "type": "text", "readonly": false, "title": "APIC Username", "key": "apic-username" }, { "type": "text", "readonly": false, "title": "APIC Password", "key": "apic-password" }, { "type": "text", "readonly": false, "title": "API APP Name", "key": "api-app-name" }, { "type": "table", "columnCount": 3, "widths": [ "20%", "20%", "20%" ], "items": [ { "type": "label", "title": "Region" }, { "type": "label", "title": "Organization" }, { "type": "label", "title": "Space" }, { "type": "select", "key": "selected-region" }, { "type": "select", "key": "selected-organization" }, { "type": "select", "key": "selected-space", "readonly": false } ] }, { "type": "label", "title": "The HotelsEvent Handler service relies on OpenWhisk actions. To deploy these actions, the pipeline requires your OpenWhisk authorization key. Make sure to enter the authorization key associated with the space where the applications will be deployed." }, { "type": "text", "readonly": false, "title": "OpenWhisk Authorization Key", "key": "openwhisk_auth" }, { "type": "label", "title": "The Bootstrap openwhisk action requires API Key and Secret to make API calls to initialize events db with registered properties and locations. Make sure to enter API Key and Secret of the Registered consumer app." }, { "type": "text", "readonly": false, "title": "API Key", "key": "api_key" }, { "type": "text", "readonly": false, "title": "API Secret", "key": "api_secret" }, { "type": "text", "readonly": false, "title": "API Hostname", "key": "api_host" } ] }
o54610
{ "additionalProperties": false, "description": "Schema for a remove-from-cart event", "properties": { "category": { "type": "string" }, "currency": { "type": "string" }, "name": { "type": "string" }, "quantity": { "type": "number" }, "sku": { "type": "string" }, "unitPrice": { "type": "number" } }, "required": [ "sku", "quantity" ], "self": { "format": "jsonschema", "name": "remove_from_cart", "vendor": "com.snowplowanalytics.snowplow", "version": "1-0-0" }, "type": "object" }
sp_314_Normalized
{ "$id": "https://json.schemastore.org/behat.json", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": { "title": "Profile name", "$ref": "#/definitions/profile" }, "definitions": { "profile": { "title": "Profile", "type": "object", "properties": { "autoload": { "type": "object", "additionalProperties": { "type": "string" } }, "formatters": { "title": "How to format tests output", "default": "pretty", "type": "object", "properties": { "pretty": { "title": "Prints the feature as is", "type": "boolean" }, "progress": { "title": "Prints one character per step", "type": "boolean" }, "junit": { "title": "Outputs the failures in JUnit compatible files.", "type": "boolean" } }, "additionalProperties": false }, "suites": { "title": "Test suites", "type": "object", "additionalProperties": { "$ref": "#/definitions/suite" } }, "extensions": { "title": "Behat extensions", "type": "object", "additionalProperties": { "type": "object" } } } }, "suite": { "title": "Test suite", "type": "object", "properties": { "paths": { "title": "Paths to execute", "type": "array", "items": { "type": "string" }, "uniqueItems": true }, "contexts": { "title": "Suite contexts", "type": "array", "items": { "type": ["string", "object"] }, "uniqueItems": true }, "filters": { "title": "Suite filters", "type": "object", "properties": { "tags": { "type": "string" }, "role": { "type": "string" } } } } } }, "properties": { "default": { "title": "Default profile", "$ref": "#/definitions/profile" }, "imports": { "type": "array", "items": { "type": "string" }, "uniqueItems": true } }, "title": "JSON schema for Behat configuration files", "type": "object" }
behat
{ "definitions": { "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_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": "CronJobStatus represents the current state of a cron job.", "properties": { "active": { "description": "A list of pointers to currently running jobs.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ObjectReference" }, "type": [ "array", "null" ] }, "lastScheduleTime": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time", "description": "Information when was the last time the job was successfully scheduled." } }, "type": "object" }
kb_152_Normalized
{ "definitions": { "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta1_CrossVersionObjectReference": { "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", "properties": { "apiVersion": { "description": "API version of the referent", "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: http://kubernetes.io/docs/user-guide/identifiers#names", "type": "string" } }, "required": [ "kind", "name" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta1_ExternalMetricStatus": { "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", "properties": { "currentAverageValue": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity", "description": "currentAverageValue is the current value of metric averaged over autoscaled pods." }, "currentValue": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity", "description": "currentValue is the current value of the metric (as a quantity)" }, "metricName": { "description": "metricName is the name of a metric used for autoscaling in metric system.", "type": "string" }, "metricSelector": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector", "description": "metricSelector is used to identify a specific time series within a given metric." } }, "required": [ "metricName", "currentValue" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta1_HorizontalPodAutoscalerCondition": { "description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.", "properties": { "lastTransitionTime": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time", "description": "lastTransitionTime is the last time the condition transitioned from one status to another" }, "message": { "description": "message is a human-readable explanation containing details about the transition", "type": "string" }, "reason": { "description": "reason is the reason for the condition's last transition.", "type": "string" }, "status": { "description": "status is the status of the condition (True, False, Unknown)", "type": "string" }, "type": { "description": "type describes the current condition", "type": "string" } }, "required": [ "type", "status" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta1_MetricStatus": { "description": "MetricStatus describes the last-read state of a single metric.", "properties": { "external": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta1_ExternalMetricStatus", "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." }, "object": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta1_ObjectMetricStatus", "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." }, "pods": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta1_PodsMetricStatus", "description": "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value." }, "resource": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta1_ResourceMetricStatus", "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source." }, "type": { "description": "type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object.", "type": "string" } }, "required": [ "type" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta1_ObjectMetricStatus": { "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "properties": { "averageValue": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity", "description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)" }, "currentValue": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity", "description": "currentValue is the current value of the metric (as a quantity)." }, "metricName": { "description": "metricName is the name of the metric in question.", "type": "string" }, "selector": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector", "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics." }, "target": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta1_CrossVersionObjectReference", "description": "target is the described Kubernetes object." } }, "required": [ "target", "metricName", "currentValue" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta1_PodsMetricStatus": { "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).", "properties": { "currentAverageValue": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity", "description": "currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)" }, "metricName": { "description": "metricName is the name of the metric in question", "type": "string" }, "selector": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector", "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics." } }, "required": [ "metricName", "currentAverageValue" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta1_ResourceMetricStatus": { "description": "ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", "properties": { "currentAverageUtilization": { "_format": "int32", "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", "type": "integer" }, "currentAverageValue": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity", "description": "currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. It will always be set, regardless of the corresponding metric specification." }, "name": { "description": "name is the name of the resource in question.", "type": "string" } }, "required": [ "name", "currentAverageValue" ], "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_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" }, "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": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", "properties": { "conditions": { "description": "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta1_HorizontalPodAutoscalerCondition" }, "type": [ "array", "null" ] }, "currentMetrics": { "description": "currentMetrics is the last read state of the metrics used by this autoscaler.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta1_MetricStatus" }, "type": [ "array", "null" ] }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", "format": "int32", "type": [ "integer", "null" ] }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", "format": "int32", "type": [ "integer", "null" ] }, "lastScaleTime": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time", "description": "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed." }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", "format": "int64", "type": [ "integer", "null" ] } }, "required": [ "currentReplicas", "desiredReplicas", "conditions" ], "type": "object" }
kb_407_Normalized
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { "IDType": { "pattern": "^\\d{10}$", "type": "string" }, "ISO8601-Date": { "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, "ISO8601-Timestamp": { "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2})?(([+-]\\d{2}(:\\d{2})?)|Z)", "type": "string" }, "LISAManagerReferenceNumberType": { "pattern": "^Z\\d{6}$", "type": "string" }, "financialPeriodType": { "properties": { "endDate": { "$ref": "#/definitions/ISO8601-Date" }, "startDate": { "$ref": "#/definitions/ISO8601-Date" } }, "type": "object" }, "paymentDirectionType": { "enum": [ "credit", "debit" ], "type": "string" }, "paymentMethodType": { "enum": [ "directDebit", "BACS" ], "type": "string" }, "paymentStatusType": { "enum": [ "pending", "submitted", "completed" ], "type": "string" } }, "properties": { "LISAManagerReferenceNumber": { "$ref": "#/definitions/LISAManagerReferenceNumberType" }, "_links": { "type": "object" }, "amount": { "type": "number" }, "direction": { "$ref": "#/definitions/paymentDirectionType" }, "financialPeriod": { "$ref": "#/definitions/financialPeriodType" }, "method": { "$ref": "#/definitions/paymentMethodType" }, "paymentDate": { "$ref": "#/definitions/ISO8601-Date" }, "paymentReference": { "$ref": "#/definitions/IDType" }, "status": { "$ref": "#/definitions/paymentStatusType" } }, "required": [ "LISAManagerReferenceNumber", "paymentReference", "method", "direction", "paymentDate", "amount", "financialPeriod" ], "type": "object" }
o70369
{ "$schema": "http://json-schema.org/draft-04/schema#", "id": "http://www.atilf.fr/tcof/01#", "type": "object", "additionalProperties": true, "properties": { "nom_corpus": { "id": "http://www.atilf.fr/tcof/01#nom_corpus", "type": "string" }, "type_corpus": { "id": "http://www.atilf.fr/tcof/01#type_corpus", "type": "string" }, "cadre": { "id": "http://www.atilf.fr/tcof/01#cadre", "type": "string" }, "genre": { "id": "http://www.atilf.fr/tcof/01#genre", "type": "string" }, "canal": { "id": "http://www.atilf.fr/tcof/01#canal", "type": "string" }, "association": { "id": "http://www.atilf.fr/tcof/01#association", "type": "string" }, "support_dialogue": { "id": "http://www.atilf.fr/tcof/01#support_dialogue", "type": "string" }, "resume": { "id": "http://www.atilf.fr/tcof/01#resume", "type": "string" }, "relation": { "id": "http://www.atilf.fr/tcof/01#relation", "type": "string" } } }
o12496
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "fileSize": { "type": "number" }, "contentType": { "type": "string", "maxLength": 1024 }, "fileDimensions": { "type": "object", "properties": { "width": { "type": "number" }, "height": { "type": "number" } } } } }
o9900
{ "definitions": { "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TopologySelectorLabelRequirement": { "description": "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.", "properties": { "key": { "description": "The label key that the selector applies to.", "type": "string" }, "values": { "description": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed.", "items": { "type": "string" }, "type": "array" } }, "required": [ "key", "values" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TopologySelectorTerm": { "description": "A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.", "properties": { "matchLabelExpressions": { "description": "A list of topology selector requirements by labels.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TopologySelectorLabelRequirement" }, "type": "array" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_storage_v1_StorageClass": { "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", "type": "boolean" }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TopologySelectorTerm" }, "type": "array" }, "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" }, "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": [ "StorageClass" ], "type": "string" }, "metadata": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "mountOptions": { "description": "Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid.", "items": { "type": "string" }, "type": "array" }, "parameters": { "additionalProperties": { "type": "string" }, "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", "type": "object" }, "provisioner": { "description": "Provisioner indicates the type of the provisioner.", "type": "string" }, "reclaimPolicy": { "description": "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.", "type": "string" }, "volumeBindingMode": { "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.", "type": "string" } }, "required": [ "provisioner" ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "storage.k8s.io", "kind": "StorageClass", "version": "v1" } ] }, "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_ListMeta": { "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", "properties": { "continue": { "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.", "type": "string" }, "remainingItemCount": { "_format": "int64", "description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.", "type": "integer" }, "resourceVersion": { "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. 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" } }, "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": "StorageClassList is a collection of storage classes.", "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", "enum": [ "storage.k8s.io/v1" ], "type": [ "string", "null" ] }, "items": { "description": "Items is the list of StorageClasses", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_storage_v1_StorageClass" }, "type": [ "array", "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": [ "StorageClassList" ], "type": [ "string", "null" ] }, "metadata": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ListMeta", "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ "items" ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "storage.k8s.io", "kind": "StorageClassList", "version": "v1" } ] }
kb_1029_Normalized
{ "additionalProperties": false, "description": "A Snowplow identify event.", "properties": { "email": { "description": "The user email address.", "maxLength": 256, "type": [ "string", "null" ] }, "id": { "description": "The user identifier.", "maxLength": 256, "type": [ "string", "null" ] } }, "self": { "format": "jsonschema", "name": "identify", "vendor": "com.snowplowanalytics.snowplow", "version": "1-0-0" }, "type": "object" }
sp_290_Normalized
{ "additionalProperties": true, "properties": { "asm_group_id": { "maximum": 32767, "minimum": 0, "type": "integer" }, "attempt": { "type": "string" }, "category": { "items": { "type": "string" }, "type": [ "array", "string" ] }, "cert_error": { "type": "string" }, "email": { "type": "string" }, "ip": { "_format": "ipv4", "type": "string" }, "newsletter": { "additionalProperties": true, "properties": { "newsletter_id": { "type": "string" }, "newsletter_send_id": { "type": "string" }, "newsletter_user_list_id": { "type": "string" } }, "type": "object" }, "response": { "type": "string" }, "sg_event_id": { "type": "string" }, "sg_message_id": { "type": "string" }, "smtp-id": { "type": "string" }, "timestamp": { "_format": "date-time", "type": "string" }, "tls": { "type": [ "string", "integer" ] } }, "self": { "format": "jsonschema", "name": "deferred", "vendor": "com.sendgrid", "version": "1-0-0" }, "type": "object" }
sp_182_Normalized
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "error": { "type": "object", "properties": { "code": { "type": "integer" }, "message": { "type": "string" }, "details": { "type": "array", "items": { "type": "string" } } }, "required": [ "code", "message", "details" ] } }, "required": [ "error" ] }
o43004
{ "properties": { "service": { "properties": { "name": { "default": "zeppelin", "type": "string" }, "zeppelin_java_opts": { "default": "-Dspark.mesos.coarse=true -Dspark.mesos.executor.home=/opt/spark/dist", "description": "Sets ZEPPELIN_JAVA_OPTS. You can use this to set arbitrary spark configuration properties (e.g. spark.mesos.uris)", "type": "string" } }, "type": "object" }, "spark": { "properties": { "cores_max": { "default": "", "description": "Sets spark.cores.max", "type": "string" }, "executor_docker_image": { "description": "The docker image to launch Spark executors with. By default, this will use this value specified in this package's resource.json", "type": "string" }, "executor_memory": { "default": "4g", "description": "Sets spark.executor.memory", "type": "string" }, "uri": { "description": "A URI serving the Spark distribution to use for the local Zeppelin Spark context. By default, this will use the value specified in this package's resource.json", "type": "string" } }, "type": "object" } }, "type": "object" }
o90828
{ "$schema": "http://json-schema.org/draft-07/schema", "title": "strings", "description": "Strings of the current application\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "object", "properties": { "usage": { "title": "usage", "description": "A usage caption of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Usage:" }, "options": { "title": "options", "description": "An option caption of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Options:" }, "arguments": { "title": "arguments", "description": "An argument caption of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Arguments:" }, "commands": { "title": "commands", "description": "A command caption of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Commands:" }, "examples": { "title": "examples", "description": "An example caption of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Examples:" }, "environment_variables": { "title": "environment variables", "description": "An environment variable caption of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Environment Variables:" }, "group": { "title": "group", "description": "A group caption of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "%{group} Commands:" }, "command_alias": { "title": "command alias", "description": "An alias helper of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Alias: %{alias}" }, "default_command_summary": { "title": "default command summary", "description": "A default command summary helper of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "%{summary} (default)" }, "required": { "title": "required", "description": "A required helper of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "(required)" }, "repeatable": { "title": "repeatable", "description": "A repeatable helper of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "(repeatable)" }, "default": { "title": "default", "description": "A default helper of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Default: %{value}" }, "allowed": { "title": "allowed", "description": "An allowed helper of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Allowed: %{values}" }, "help_flag_text": { "title": "help flag text", "description": "A help flag of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Show this help" }, "version_flag_text": { "title": "version flag text", "description": "A version flag of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "Show version number" }, "flag_requires_an_argument": { "title": "flag requires an argument", "description": "A missing flag argument error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "%{name} requires an argument: %{usage}" }, "invalid_argument": { "title": "invalid argument", "description": "An invalid argument error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "invalid argument: %s" }, "invalid_flag": { "title": "invalid flag", "description": "An invalid option error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "invalid option: %s" }, "invalid_command": { "title": "invalid command", "description": "An invalid command error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "invalid command: %s" }, "conflicting_flags": { "title": "conflicting flags", "description": "A conflicting options error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "conflicting options: %s cannot be used with %s" }, "missing_required_argument": { "title": "missing required argument", "description": "A missing required argument error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "missing required argument: %{arg}\\nusage: %{usage}" }, "missing_required_flag": { "title": "missing required flag", "description": "A missing required flag error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "missing required flag: %{usage}" }, "missing_required_environment_variable": { "title": "missing required environment variable", "description": "A missing required environment variable error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "missing required environment variable: %{var}" }, "missing_dependency": { "title": "missing dependency", "description": "A missing dependency error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "missing dependency: %{dependency}" }, "disallowed_flag": { "title": "disallowed flag", "description": "A forbidden flag error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "%{name} must be one of: %{allowed}" }, "disallowed_argument": { "title": "disallowed argument", "description": "A forbidden argument error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "%{name} must be one of: %{allowed}" }, "unsupported_bash_version": { "title": "unsupported bash version", "description": "An unsupported Bash version error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "bash version 4 or higher is required" }, "validation_error": { "title": "validation error", "description": "A validation error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", "type": "string", "minLength": 1, "default": "validation error in %s:\\n%s" } }, "additionalProperties": false }
strings
{ "properties": { "customer_name": { "description": "The name of the customer", "type": "string" }, "items": { "description": "The items purchased", "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" }, "total_amount": { "description": "The total amount of the transaction", "type": "number" } }, "required": [ "customer_name", "total_amount", "items" ], "type": "object" }
generate_invoice_ab8f4ea7
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "DataPackage", "description": "DataPackage is a format and specification for convenient delivery, installation and management of data. This is the base profile for DataPackage.", "type": "object", "definitions": { "license": { "title": "License", "oneOf": [ { "type": "string" }, { "type": "object", "properties": { "type": { "type": "string" }, "url": { "type": "string" } }, "anyOf": [ { "title": "type required", "required": [ "type" ] }, { "title": "url required", "required": [ "url" ] } ] } ] } }, "properties": { "name": { "title": "Name", "description": "A lower-case string with only alphanumeric characters along with '.', '_' or '-' characters.", "type": "string", "pattern": "^([a-z0-9._-])+$", "propertyOrder": 10 }, "title": { "title": "Title", "description": "A human-readable title for this package.", "type": "string", "propertyOrder": 20 }, "description": { "title": "Description", "description": "A text description of the package.", "type": "string", "propertyOrder": 30, "format": "textarea" }, "homepage": { "title": "Home Page", "description": "The URL for this data package's website.", "type": "string", "propertyOrder": 40 }, "version": { "title": "Version", "description": "A semantic versioning string for this package.", "type": "string", "propertyOrder": 50 }, "license": { "$ref": "#/definitions/license", "description": "The license under which this package is published", "propertyOrder": 60 }, "author": { "title": "Author", "description": "The main contributor to this package.", "type": "string", "propertyOrder": 70 }, "contributors": { "title": "Contributors", "description": "The contributors to this package.", "type": "array", "propertyOrder": 80, "options": { "hidden": true }, "items": { "oneOf": [ { "type": "string" }, { "type": "object", "properties": { "name": { "type": "string" }, "email": { "type": "string" }, "web": { "type": "string" } }, "required": [ "name" ] } ] } }, "resources": { "title": "Resources", "description": "The data resources that this package describes.", "type": "array", "propertyOrder": 90, "minItems": 0, "items": { "type": "object", "properties": { "name": { "title": "Name", "description": "A lower-case string with only alphanumeric characters along with '.', '_' or '-' characters.", "type": "string", "pattern": "^([a-z0-9._-])+$", "propertyOrder": 10 }, "title": { "title": "Title", "description": "A human-readable title for this package.", "type": "string", "propertyOrder": 20 }, "description": { "title": "Description", "description": "A text description of the package.", "type": "string", "propertyOrder": 30, "format": "textarea" }, "schema": { "title": "Schema", "description": "The schema of this resource.", "oneOf": [ { "type": "string" }, { "type": "object" } ], "propertyOrder": 40 }, "url": { "title": "URL", "description": "The URL for this resource.", "type": "string", "propertyOrder": 50 }, "path": { "title": "Path", "description": "The relative path to this resource.", "type": "string", "propertyOrder": 60 }, "format": { "title": "Format", "description": "The file format of this resource.", "type": "string", "propertyOrder": 70 }, "mediatype": { "title": "Media Type", "description": "The media type of this resource.", "type": "string", "propertyOrder": 80, "pattern": "^(.+)/(.+)$" }, "encoding": { "title": "Encoding", "description": "The file encoding of this resource.", "type": "string", "propertyOrder": 90 }, "bytes": { "title": "Bytes", "description": "The size of this resource in bytes.", "type": "integer", "propertyOrder": 100 }, "hash": { "title": "Hash", "type": "string", "description": "The MD5 hash of this resource. Other hash algorithms can be used by prefixing the hash value with the algorithm name in lowercase, followed by a colon.", "propertyOrder": 110, "pattern": "^([^:]+:[a-fA-F0-9]+|[a-fA-F0-9]{32})$" }, "dialect": { "title": "Dialect", "description": "The dialect of this resource file type.", "type": "object", "propertyOrder": 120, "options": { "hidden": true } }, "sources": { "title": "Sources", "description": "The raw sources for this resource.", "type": "array", "propertyOrder": 130, "options": { "hidden": true }, "items": { "type": "object", "properties": { "name": { "type": "string" }, "web": { "type": "string" }, "email": { "type": "string" } }, "anyOf": [ { "title": "name required", "required": [ "name" ] }, { "title": "web required", "required": [ "web" ] }, { "title": "email required", "required": [ "email" ] } ] } }, "licence": { "$ref": "#/definitions/license", "description": "The license under which the resource is published.", "propertyOrder": 140 } }, "anyOf": [ { "title": "url required", "required": [ "url" ] }, { "title": "path required", "required": [ "path" ] } ] } }, "keywords": { "title": "Keywords", "description": "A list of keywords that describe this package.", "type": "array", "propertyOrder": 100, "items": { "type": "string" } }, "sources": { "title": "Sources", "description": "The raw sources for this package.", "type": "array", "propertyOrder": 110, "options": { "hidden": true }, "items": { "type": "object", "properties": { "name": { "type": "string" }, "web": { "type": "string" }, "email": { "type": "string" } }, "anyOf": [ { "title": "name required", "required": [ "name" ] }, { "title": "web required", "required": [ "web" ] }, { "title": "email required", "required": [ "email" ] } ] } }, "image": { "title": "Image", "description": "A image to represent this package.", "type": "string", "propertyOrder": 120, "options": { "hidden": true } }, "base": { "title": "Base", "description": "A base URI used to resolve resources that specify relative paths.", "type": "string", "propertyOrder": 130, "options": { "hidden": true } }, "dataDependencies": { "title": "Data Dependencies", "description": "Pre-requisite Data Packages on which this package requires in order to install.", "type": "object", "propertyOrder": 140, "options": { "hidden": true } } }, "required": [ "name" ] }
o84205
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "minItems": 1, "_uniqueItems": true, "items": { "type": "object", "properties": { "deviceName": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "marketingName": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "manufacturer": { "type": "string" }, "brand": { "type": "string" }, "display": { "type": "object", "properties": { "width": { "anyOf": [ { "type": "integer", "minimum": 0 }, { "type": "null" } ] }, "height": { "anyOf": [ { "type": "integer", "minimum": 0 }, { "type": "null" } ] }, "touch": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ] }, "size": { "anyOf": [ { "type": "number", "minimum": 0 }, { "type": "null" } ] } }, "required": [ "width", "height", "touch", "size" ] }, "type": { "type": "string" } }, "required": [ "deviceName", "marketingName", "manufacturer", "brand", "display", "type" ] } }
o60837
{ "description": "Supplier", "properties": { "customerId": { "type": "string" }, "description": { "type": "string" }, "name": { "example": "My Supplier", "type": "string" } }, "type": "object" }
o63285
{ "$schema": "http://json-schema.org/draft-04/schema#", "required": [ "config", "inputs" ], "type": "object", "properties": { "inputs": { "required": [ "input_wm", "input_gm" ], "type": "object", "properties": { "input_gm": { "type": "object", "properties": {} }, "output_image": { "type": "object", "properties": {} }, "input_wm": { "type": "object", "properties": {} } } }, "config": { "required": [ "num_threads" ], "type": "object", "properties": { "num_threads": { "default": 1, "type": "integer" }, "prior_thickness": { "type": "number" }, "args": { "type": "string" }, "smooth_param": { "type": "number" }, "opt_tolerance": { "type": "number" }, "sulcus_prior": { "type": "boolean" }, "dT": { "type": "number" } } } }, "title": "Invocation manifest for LaplacianThickness" }
o41372
{ "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "site-config-output": { "type": "object", "properties": { "central_url": { "type": "string" }, "ssl_cert": { "type": [ "null", "string" ] }, "api_url": { "type": "string" }, "registered": { "type": "boolean" }, "id": { "type": "string" }, "name": { "type": "string" } }, "required": [ "central_url", "ssl_cert", "api_url", "registered", "id", "name" ] }, "config-auth-output": { "type": "object", "properties": { "verify_endpoint": { "type": "string" }, "client_id": { "type": "string" }, "client_secret": { "type": "string" }, "auth_endpoint": { "type": "string" }, "refresh_endpoint": { "type": "string" } } }, "config-output": { "type": "object", "properties": { "site": { "$ref": "#/definitions/site-config-output" }, "modified": { "type": "string" }, "auth": { "type": "object", "patternProperties": { "^[0-9a-z]*$": { "$ref": "#/definitions/config-auth-output" } } }, "created": { "type": "string" } }, "required": [ "site", "modified", "auth", "created" ] } }, "properties": { "site-config-output": { "$ref": "#/definitions/site-config-output" }, "config-auth-output": { "$ref": "#/definitions/config-auth-output" }, "config-output": { "$ref": "#/definitions/config-output" } }, "required": [ "site-config-output", "config-auth-output", "config-output" ] }
o74176
{ "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 or triangle", "type": "number" }, "radius": { "description": "The radius of the circle", "type": "number" }, "width": { "description": "The width of the rectangle", "type": "number" } }, "required": [ "radius", "length", "width", "base", "height" ], "type": "object" }, "shape": { "description": "The type of shape, e.g. circle, rectangle, triangle", "type": "string" } }, "required": [ "shape", "dimensions" ], "type": "object" }
calculate_area_6f0a28c6
{ "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", "properties": { "type": { "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required.", "type": [ "string", "null" ] } }, "required": [ "type" ], "type": "object" }
kb_361_Normalized
{ "definitions": { "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TypedLocalObjectReference": { "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.", "properties": { "apiGroup": { "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", "type": "string" }, "kind": { "description": "Kind is the type of resource being referenced", "type": "string" }, "name": { "description": "Name is the name of resource being referenced", "type": "string" } }, "required": [ "kind", "name" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_IngressBackend": { "description": "IngressBackend describes all endpoints for a given service and port.", "properties": { "resource": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TypedLocalObjectReference", "description": "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified." }, "serviceName": { "description": "Specifies the name of the referenced service.", "type": "string" }, "servicePort": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_util_intstr_IntOrString", "description": "Specifies the port of the referenced service." } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_util_intstr_IntOrString": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] } }, "description": "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.", "properties": { "backend": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_IngressBackend", "description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to." }, "path": { "description": "Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched.", "type": [ "string", "null" ] }, "pathType": { "description": "PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types. Defaults to ImplementationSpecific.", "type": [ "string", "null" ] } }, "required": [ "backend" ], "type": "object" }
kb_426_Normalized
{ "definitions": { "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" } }, "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", "null" ] }, "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", "null" ] } }, "type": "object" }
kb_627_Normalized
{ "properties": { "completedfliptime": { "readonly": true, "type": "integer" }, "curflips": { "readonly": true, "type": "integer" }, "deadinterval": { "type": "integer" }, "disifaces": { "readonly": true, "type": "string" }, "enaifaces": { "readonly": true, "type": "string" }, "failsafe": { "enum": [ "ON", "OFF" ], "type": "string" }, "flags": { "readonly": true, "type": "integer" }, "hamonifaces": { "readonly": true, "type": "string" }, "haprop": { "enum": [ "ENABLED", "DISABLED" ], "type": "string" }, "hastatus": { "enum": [ "ENABLED", "STAYSECONDARY", "DISABLED", "STAYPRIMARY" ], "type": "string" }, "hasync": { "enum": [ "ENABLED", "DISABLED" ], "type": "string" }, "hellointerval": { "type": "integer" }, "id": { "type": "integer" }, "ifaces": { "readonly": true, "type": "string" }, "inc": { "enum": [ "ENABLED", "DISABLED" ], "type": "string" }, "ipaddress": { "type": "string" }, "masterstatetime": { "readonly": true, "type": "integer" }, "maxflips": { "type": "integer" }, "maxfliptime": { "type": "integer" }, "name": { "readonly": true, "type": "string" }, "netmask": { "readonly": true, "type": "string" }, "network": { "readonly": true, "type": "string" }, "pfifaces": { "readonly": true, "type": "string" }, "routemonitor": { "readonly": true, "type": "string" }, "ssl2": { "enum": [ "DOWN", "UP", "NOT PRESENT", "UNKNOWN" ], "readonly": true, "type": "string" }, "state": { "enum": [ "Primary", "Secondary", "UNKNOWN" ], "readonly": true, "type": "string" }, "syncvlan": { "type": "integer" } }, "title": "hanode", "type": "object" }
o31835
{ "properties": { "length": { "description": "The length of the password", "type": "integer" }, "lowercase_letters": { "description": "Include lowercase letters in the password", "type": "boolean" }, "numbers": { "description": "Include numbers in the password", "type": "boolean" }, "special_characters": { "description": "Include special characters in the password", "type": "boolean" }, "uppercase_letters": { "description": "Include uppercase letters in the password", "type": "boolean" } }, "required": [ "length" ], "type": "object" }
generate_random_password_dd3a84c3
{ "$schema": "http://json-schema.org/draft-04/schema", "definitions": { "___content_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": {}, "description": "Holds common attributes of ANS Content objects.", "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "address": { "$ref": "#/definitions/trait_address_json" }, "alignment": { "$ref": "#/definitions/trait_alignment_json" }, "canonical_url": { "$ref": "#/definitions/trait_canonical_url_json" }, "channels": { "$ref": "#/definitions/trait_channel_json" }, "comments": { "$ref": "#/definitions/trait_comments_json" }, "content_aliases": { "$ref": "#/definitions/trait_content_aliases_json" }, "content_restrictions": { "$ref": "#/definitions/trait_content_restrictions_json" }, "contributors": { "$ref": "#/definitions/trait_contributors_json" }, "copyright": { "$ref": "#/definitions/trait_copyright_json" }, "created_date": { "$ref": "#/definitions/trait_created_date_json" }, "credits": { "$ref": "#/definitions/trait_credits_json" }, "description": { "$ref": "#/definitions/trait_description_json" }, "display_date": { "$ref": "#/definitions/trait_display_date_json" }, "distributor": { "$ref": "#/definitions/trait_distributor_json" }, "editor_note": { "$ref": "#/definitions/trait_editor_note_json" }, "first_publish_date": { "$ref": "#/definitions/trait_first_publish_date_json" }, "geo": { "$ref": "#/definitions/trait_geo_json" }, "headlines": { "$ref": "#/definitions/trait_headlines_json" }, "label": { "$ref": "#/definitions/trait_label_json" }, "language": { "$ref": "#/definitions/trait_locale_json" }, "last_updated_date": { "$ref": "#/definitions/trait_last_updated_date_json" }, "location": { "$ref": "#/definitions/trait_location_json" }, "owner": { "$ref": "#/definitions/trait_owner_json" }, "pitches": { "$ref": "#/definitions/trait_pitches_json" }, "planning": { "$ref": "#/definitions/trait_planning_json" }, "promo_items": { "$ref": "#" }, "publish_date": { "$ref": "#/definitions/trait_publish_date_json" }, "related_content": { "$ref": "#/definitions/trait_related_content_json" }, "revision": { "$ref": "#/definitions/trait_revision_json" }, "short_url": { "$ref": "#/definitions/trait_short_url_json" }, "slug": { "$ref": "#/definitions/trait_slug_json" }, "source": { "$ref": "#/definitions/trait_source_json" }, "status": { "$ref": "#/definitions/trait_status_json" }, "subheadlines": { "$ref": "#/definitions/trait_subheadlines_json" }, "subtype": { "$ref": "#/definitions/trait_subtype_json" }, "syndication": { "$ref": "#/definitions/trait_syndication_json" }, "taxonomy": { "$ref": "#/definitions/trait_taxonomy_json" }, "tracking": { "$ref": "#/definitions/trait_tracking_json" }, "type": { "type": "string" }, "vanity_credits": { "$ref": "#/definitions/trait_vanity_credits_json" }, "version": { "$ref": "#/definitions/trait_version_json" }, "workflow": { "$ref": "#/definitions/trait_workflow_json" } }, "required": [ "type", "version" ], "title": "A content object.", "type": "object" }, "___image_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Holds attributes of an ANS image component. In the Arc ecosystem, these are stored in Anglerfish.", "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "address": { "$ref": "#/definitions/trait_address_json" }, "alignment": { "$ref": "#/definitions/trait_alignment_json" }, "alt_text": { "$ref": "#/definitions/trait_alt_text_json" }, "canonical_url": { "$ref": "#/definitions/trait_canonical_url_json" }, "caption": { "description": "Caption for the image.", "type": "string" }, "channels": { "$ref": "#/definitions/trait_channel_json" }, "comments": { "$ref": "#/definitions/trait_comments_json" }, "content_restrictions": { "$ref": "#/definitions/trait_content_restrictions_json" }, "contributors": { "$ref": "#/definitions/trait_contributors_json" }, "copyright": { "$ref": "#/definitions/trait_copyright_json" }, "created_date": { "$ref": "#/definitions/trait_created_date_json" }, "credits": { "$ref": "#/definitions/trait_credits_json" }, "description": { "$ref": "#/definitions/trait_description_json" }, "display_date": { "$ref": "#/definitions/trait_display_date_json" }, "distributor": { "$ref": "#/definitions/trait_distributor_json" }, "editor_note": { "$ref": "#/definitions/trait_editor_note_json" }, "first_publish_date": { "$ref": "#/definitions/trait_first_publish_date_json" }, "focal_point": { "$ref": "#/definitions/trait_focal_point_json" }, "geo": { "$ref": "#/definitions/trait_geo_json" }, "headlines": { "$ref": "#/definitions/trait_headlines_json" }, "height": { "description": "Height for the image.", "type": "integer" }, "image_type": { "$ref": "#/definitions/trait_image_type_json" }, "label": { "$ref": "#/definitions/trait_label_json" }, "language": { "$ref": "#/definitions/trait_locale_json" }, "last_updated_date": { "$ref": "#/definitions/trait_last_updated_date_json" }, "licensable": { "description": "True if the image can legally be licensed to others.", "type": "boolean" }, "location": { "$ref": "#/definitions/trait_location_json" }, "owner": { "$ref": "#/definitions/trait_owner_json" }, "pitches": { "$ref": "#/definitions/trait_pitches_json" }, "planning": { "$ref": "#/definitions/trait_planning_json" }, "promo_items": { "$ref": "#" }, "publish_date": { "$ref": "#/definitions/trait_publish_date_json" }, "related_content": { "$ref": "#/definitions/trait_related_content_json" }, "revision": { "$ref": "#/definitions/trait_revision_json" }, "short_url": { "$ref": "#/definitions/trait_short_url_json" }, "slug": { "$ref": "#/definitions/trait_slug_json" }, "source": { "$ref": "#/definitions/trait_source_json" }, "status": { "$ref": "#/definitions/trait_status_json" }, "subheadlines": { "$ref": "#/definitions/trait_subheadlines_json" }, "subtitle": { "description": "Subtitle for the image.", "type": "string" }, "subtype": { "$ref": "#/definitions/trait_subtype_json" }, "syndication": { "$ref": "#/definitions/trait_syndication_json" }, "taxonomy": { "$ref": "#/definitions/trait_taxonomy_json" }, "tracking": { "$ref": "#/definitions/trait_tracking_json" }, "type": { "enum": [ "image" ], "type": "string" }, "url": { "description": "URL for the image.", "type": "string" }, "vanity_credits": { "$ref": "#/definitions/trait_vanity_credits_json" }, "version": { "$ref": "#/definitions/trait_version_json" }, "width": { "description": "Width for the image.", "type": "integer" }, "workflow": { "$ref": "#/definitions/trait_workflow_json" } }, "required": [ "type", "version" ], "title": "An image.", "type": "object" }, "___redirect_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "A redirect to another story.", "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "canonical_url": { "$ref": "#/definitions/trait_canonical_url_json" }, "owner": { "$ref": "#/definitions/trait_owner_json" }, "redirect_url": { "$ref": "#/definitions/trait_canonical_url_json" }, "revision": { "$ref": "#/definitions/trait_revision_json" }, "type": { "enum": [ "redirect" ], "type": "string" }, "version": { "$ref": "#/definitions/trait_version_json" } }, "required": [ "type", "version", "canonical_url", "redirect_url" ], "title": "A redirect object.", "type": "object" }, "___story_elements_custom_embed_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "A custom embed element. Can be used to reference content from external providers about which little is known.", "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "alignment": { "$ref": "#/definitions/trait_alignment_json" }, "channels": { "$ref": "#/definitions/trait_channel_json" }, "embed": { "additionalProperties": false, "description": "The embed data.", "properties": { "config": { "additionalProperties": false, "description": "Arbitrary configuration data generated by a plugin. Users are responsible for maintaining schema.", "patternProperties": { "^([a-zA-Z0-9_])*$": {} }, "properties": { "referent": { "not": {} }, "type": { "not": {} }, "version": { "not": {} } }, "title": "Embed Configuration", "type": "object" }, "id": { "description": "Foreign ID of embedded item.", "maxLength": 128, "minLength": 1, "title": "Embed ID", "type": "string" }, "url": { "description": "Provider URL for this embed item. When concatenated with Embed ID, should produce a URL that returns json metadata about the embedded content.", "maxLength": 512, "minLength": 1, "title": "Embed Provider URL", "type": "string" } }, "required": [ "id", "url" ], "title": "Embed", "type": "object" }, "subtype": { "$ref": "#/definitions/trait_subtype_json" }, "type": { "enum": [ "custom_embed" ], "type": "string" } }, "required": [ "type", "embed" ], "title": "Custom Embed", "type": "object" }, "___story_elements_raw_html_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "An html content element", "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "alignment": { "$ref": "#/definitions/trait_alignment_json" }, "channels": { "$ref": "#/definitions/trait_channel_json" }, "content": { "description": "Any arbitrary chunk of HTML.", "type": "string" }, "subtype": { "$ref": "#/definitions/trait_subtype_json" }, "type": { "enum": [ "raw_html" ] } }, "required": [ "type", "content" ], "type": "object" }, "___utils_author_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Models attribution to an individual or group for contribution towards some content item. In the Arc ecosystem, these are stored in the arc-author-service.", "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "affiliation": { "description": "The name of an organization the author is affiliated with. E.g., The Washington Post, or George Mason University.", "title": "Affiliation", "type": "string" }, "awards": { "description": "A list of awards the author has received.", "items": { "additionalProperties": false, "properties": { "award_name": { "description": "The name of the award.", "title": "Award Name", "type": "string" } }, "type": "object" }, "title": "Awards", "type": "array" }, "bio": { "description": "A one or two sentence description of the author.", "title": "Short Biography", "type": "string" }, "books": { "description": "A list of books written by the author.", "items": { "additionalProperties": false, "properties": { "book_title": { "description": "The book title.", "title": "Title", "type": "string" }, "book_url": { "description": "A link to a page to purchase or learn more about the book.", "title": "URL", "type": "string" } }, "title": "Book", "type": "object" }, "title": "Books", "type": "array" }, "byline": { "description": "The public-facing name, or nom-de-plume, name of the author.", "title": "Byline", "type": "string" }, "contributor": { "description": "If true, this author is an external contributor to the publication.", "title": "Contributor", "type": "boolean" }, "division": { "description": "The desk or group that this author normally reports to. E.g., 'Politics' or 'Sports.'", "title": "Division", "type": "string" }, "education": { "description": "A list of schools that this author has graduated from.", "items": { "additionalProperties": false, "properties": { "school_name": { "description": "The name of the school.", "title": "School Name", "type": "string" } }, "title": "School", "type": "object" }, "title": "Education", "type": "array" }, "email": { "_format": "email", "description": "The professional email address of this author.", "title": "E-mail", "type": "string" }, "expertise": { "description": "A comma-delimited list of subjects the author in which the author has expertise.", "title": "Expertise", "type": "string" }, "first_name": { "description": "The real first name of a human author.", "title": "First Name", "type": "string" }, "image": { "$ref": "#/definitions/___image_json" }, "languages": { "description": "A description of list of languages that the author is somewhat fluent in, excluding the native language of the parent publication, and identified in the language of the parent publication. E.g., Russian, Japanese, Greek.", "title": "Languages", "type": "string" }, "last_name": { "description": "The real last name of a human author.", "title": "Last Name", "type": "string" }, "location": { "description": "The city or locality that the author resides in or is primarily associated with.", "title": "Location", "type": "string" }, "long_bio": { "description": "The full biography of the author.", "title": "Long Biography", "type": "string" }, "middle_name": { "description": "The real middle name of a human author.", "title": "Middle Name", "type": "string" }, "name": { "description": "The full human name of contributor. See also byline, first_name, last_name, middle_name, suffix.", "title": "Name", "type": "string" }, "org": { "description": "Deprecated. In ANS 0.5.8 and prior versions, this field is populated with the 'location' field from Arc Author Service. New implementations should use the 'location' and 'affiliation' field. Content should be identical to 'location.'", "title": "Org", "type": "string" }, "role": { "description": "The organizational role or title of this author.", "title": "Role", "type": "string" }, "slug": { "$ref": "#/definitions/trait_slug_json" }, "socialLinks": { "$ref": "#/definitions/trait_social_json", "description": "Deperecated. Included for backwards-compatibility. Content should be identical to social_links." }, "social_links": { "$ref": "#/definitions/trait_social_json" }, "suffix": { "description": "The real suffix of a human author.", "title": "Suffix", "type": "string" }, "type": { "description": "Indicates that this is an author", "enum": [ "author" ], "type": "string" }, "url": { "description": "A link to an author's landing page on the website, or a personal website.", "type": "string" }, "version": { "$ref": "#/definitions/trait_version_json" } }, "required": [ "type", "name" ], "title": "An author of a piece of content.", "type": "object" }, "___utils_auxiliary_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Models a auxiliary used in targeting a piece of content.", "properties": { "_id": { "description": "The unique identifier for this auxiliary.", "type": "string" }, "name": { "description": "The general name for this auxiliary.", "type": "string" }, "uid": { "description": "A short identifier for this auxiliary. Usually used in cases where a long form id cannot work.", "type": "string" } }, "required": [ "_id", "uid" ], "title": "Auxiliary", "type": "object" }, "___utils_dictionary_json": { "$schema": "http://json-schema.org/draft-04/schema#", "patternProperties": { ".*": { "type": "string" } }, "properties": { "basic": { "type": "string" } }, "required": [ "basic" ] }, "___utils_keyword_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Models a keyword used in describing a piece of content.", "properties": { "frequency": { "description": "An optional count of the frequency of the keyword as it appears in the content it describes", "type": "integer" }, "keyword": { "description": "The keyword used to describe a piece of content", "type": "string" }, "score": { "description": "An arbitrary weighting to give the keyword", "type": "number" }, "tag": { "description": "The Part of Speech tag for this keyword.", "type": "string" } }, "required": [ "keyword", "score" ], "title": "Keyword", "type": "object" }, "___utils_named_entity_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Models a named entity (i.e. name of a person, place, or organization) used in a piece of content.", "properties": { "_id": { "description": "A unique identifier for the concept of the named entity.", "type": "string" }, "name": { "description": "The actual string of text that was identified as a named entity.", "type": "string" }, "score": { "decription": "An optional relevancy for this named entitiy.", "type": "number" }, "type": { "description": "A description of what the named entity is. E.g. 'organization', 'person', or 'location'.", "type": "string" } }, "required": [ "_id", "name", "type" ], "title": "Named Entity", "type": "object" }, "___utils_reference_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "This represents a reference to external content that should be denormalized", "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "alignment": { "$ref": "#/definitions/trait_alignment_json" }, "channels": { "$ref": "#/definitions/trait_channel_json" }, "referent": { "additionalProperties": false, "dependencies": { "website": { "properties": { "type": { "enum": [ "section" ], "type": "string" } } } }, "properties": { "id": { "description": "The id passed to the provider to retrieve an ANS document", "type": "string" }, "provider": { "description": "A URL that can resolve the id into an ANS element", "type": "string" }, "referent_properties": { "additionalProperties": {}, "description": "An object for key-value pairs that should override the values of keys with the same name in the denormalized object", "type": "object" }, "service": { "description": "The type of interaction the provider expects. E.g., 'oembed'", "type": "string" }, "type": { "description": "The ANS type that the provider should return.", "type": "string" }, "website": { "description": "The website which the referenced id belongs to. Currently supported only for sections.", "type": "string" } }, "required": [ "id" ], "type": "object" }, "subtype": { "$ref": "#/definitions/trait_subtype_json" }, "type": { "enum": [ "reference" ], "type": "string" } }, "required": [ "type", "referent" ], "title": "Representation of a normalized element", "type": "object" }, "___utils_section_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "A hierarchical section in a taxonomy. In the Arc ecosystem, these are stored in the arc-site-service.", "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "_website": { "$ref": "#/definitions/trait_website_json" }, "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "description": { "description": "A short description or tagline about this site", "type": "string" }, "name": { "description": "The name of this site", "type": "string" }, "parent": { "description": "The id of this section's parent section in various commonly-used hierarchies, where available.", "properties": { "default": { "type": "string" } }, "type": "object" }, "parent_id": { "description": "The id of this section's parent section in the default hierarchy, if any.", "type": "string" }, "path": { "description": "The url path to this site", "type": "string" }, "primary": { "description": "Is this the primary site?", "type": "boolean" }, "type": { "enum": [ "section" ] }, "version": { "$ref": "#/definitions/trait_version_json" } }, "required": [ "type", "version", "name" ], "title": "Section", "type": "object" }, "___utils_site_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "A hierarchical section or 'site' in a taxonomy. In the Arc ecosystem, these are stored in the arc-site-service.", "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "description": { "description": "A short description or tagline about this site", "type": "string" }, "name": { "description": "The name of this site", "type": "string" }, "parent_id": { "description": "The id of this section's parent site, if any", "type": "string" }, "path": { "description": "The url path to this site", "type": "string" }, "primary": { "description": "Is this the primary site?", "type": "boolean" }, "type": { "enum": [ "site" ] }, "version": { "$ref": "#/definitions/trait_version_json" } }, "required": [ "type", "version", "name" ], "title": "Site", "type": "object" }, "___utils_tag_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Models a keyword used in describing a piece of content.", "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "description": { "description": "A more detailed description of the tag.", "type": "string" }, "slug": { "$ref": "#/definitions/trait_slug_json" }, "subtype": { "$ref": "#/definitions/trait_subtype_json" }, "text": { "description": "The text of the tag as displayed to users.", "type": "string" }, "type": { "enum": [ "tag" ] } }, "required": [ "text" ], "title": "Tag", "type": "object" }, "___utils_topic_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Models a topic used in describing a piece of content.", "properties": { "_id": { "description": "The unique identifier for this topic.", "type": "string" }, "name": { "description": "The general name for this topic.", "type": "string" }, "score": { "description": "An arbitrary weighting to give the topic", "type": "number" }, "uid": { "description": "A short identifier for this topic. Usually used in cases where a long form id cannot work.", "type": "string" } }, "required": [ "_id", "score", "uid" ], "title": "Topic", "type": "object" }, "trait_additional_properties_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": {}, "description": "A grab-bag object for non-validatable data.", "title": "Has additional properties", "type": "object" }, "trait_address_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "dependencies": { "extended_address": [ "street_address" ], "post_office_box": [ "street_address" ] }, "description": "An Address following the convention of http://microformats.org/wiki/hcard", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "country_name": { "type": "string" }, "extended_address": { "type": "string" }, "locality": { "type": "string" }, "post_office_box": { "type": "string" }, "postal_code": { "type": "string" }, "region": { "type": "string" }, "street_address": { "type": "string" } }, "title": "Address", "type": "object" }, "trait_alignment_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "A property used to determine horizontal positioning of a content element relative to the elements that immediately follow it in the element sequence.", "enum": [ "left", "right", "center" ], "title": "Alignment", "type": "string" }, "trait_alt_text_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "The direct ANS equivalent of the HTML 'alt' attribute. A description of the contents of an image for improved accessibility.", "title": "Alt Text", "type": "string" }, "trait_canonical_url_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "The relative URL to this document on the website specified by the `canonical_website` field. In the Arc ecosystem, this will be populated by the content api from the arc-canonical-url service if present based on the canonical_website. In conjunction with canonical_website, it can be used to determine the SEO canonical url or open graph url. In a multi-site context, this field may be different from the website_url field.", "title": "Canonical URL", "type": "string" }, "trait_channel_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "An optional list of output types for which this element should be visible", "items": { "type": "string" }, "title": "Channel trait", "type": "array" }, "trait_comments_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": {}, "description": "Comment configuration data", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "allow_comments": { "description": "If false, commenting is disabled on this content.", "type": "boolean" }, "comments_period": { "description": "How long (in days) after publish date until comments are closed.", "type": "integer" }, "display_comments": { "description": "If false, do not render comments on this content.", "type": "boolean" }, "moderation_required": { "description": "If true, comments must be moderator-approved before being displayed.", "type": "boolean" } }, "title": "Comments", "type": "object" }, "trait_content_aliases_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "An list of alternate names that this content can be fetched by instead of id.", "items": { "pattern": "^([a-z])([a-z0-9-])*$", "type": "string" }, "title": "Aliases trait", "type": "array" }, "trait_content_restrictions_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Trait that applies contains the content restrictions of an ANS object.", "properties": { "content_code": { "description": "The content restriction code/level/flag associated with the ANS object", "type": "string" }, "embargo": { "additionalProperties": false, "description": "Embargo configuration to enforce publishing restrictions. Embargoed content must not go live.", "properties": { "active": { "description": "The boolean flag to indicate if the embargo is active or not. If this field is false, ignore the embargo.", "type": "boolean" }, "description": { "description": "An optional description for the embargo.", "type": "string" }, "end_time": { "_format": "date-time", "description": "An optional end time for the embargo to indicate when it ends. When it's not defined, it means the embargo keeps applying. The end time should be ignored if active flag is false.", "type": "string" } }, "required": [ "active" ], "type": "object" }, "geo": { "additionalProperties": false, "description": "Geo-Restriction configuration that contains the restriction ids that this content should be associated with.", "properties": { "restrictions": { "description": "An array containing the geo-restriction objects. Limited to a size of 1 for now.", "items": { "additionalProperties": false, "description": "An object specifying the _id of the restriction this content should be associated with.", "properties": { "restriction_id": { "description": "The _id of the restriction that is stored in Global Settings.", "type": "string" } }, "required": [ "restriction_id" ], "type": "object" }, "maxItems": 1, "minItems": 1, "type": "array" } }, "required": [ "restrictions" ], "type": "object" } }, "title": "Content Restrictions", "type": "object" }, "trait_contributors_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Trait that holds information on who created and contributed to a given document in Arc.", "properties": { "created_by": { "description": "The Creator of the Document.", "properties": { "display_name": { "description": "The display name of the Arc user who created the Document", "type": "string" }, "user_id": { "description": "The unique ID of the Arc user who created the Document", "type": "string" } }, "type": "object" } }, "title": "Contributors", "type": "object" }, "trait_copyright_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "A copyright notice for the legal owner of this content. E.g., '\u00a9 1996-2018 The Washington Post.' Format may vary between organizations.", "title": "Copyright information", "type": "string" }, "trait_created_date_json": { "$schema": "http://json-schema.org/draft-04/schema#", "_format": "date-time", "description": "When the content was originally created (RFC3339-formatted). In the Arc ecosystem, this will be automatically generated for stories in the Story API.", "title": "Created Date", "type": "string" }, "trait_credits_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "A list of people and groups attributed to this content, keyed by type of contribution. In the Arc ecosystem, references in this list will be denormalized into author objects from the arc-author-service.", "patternProperties": { "^[a-zA-Z0-9_]*": { "items": { "anyOf": [ { "$ref": "#/definitions/___utils_author_json" }, { "$ref": "#/definitions/___utils_reference_json" } ], "type": "object" }, "type": "array" } }, "properties": { "by": { "description": "The primary author(s) of this document. For a story, is is the writer or reporter. For an image, it is the photographer.", "items": { "anyOf": [ { "$ref": "#/definitions/___utils_author_json" }, { "$ref": "#/definitions/___utils_reference_json" } ], "type": "object" }, "title": "By", "type": "array" }, "photos_by": { "description": "The photographer(s) of supplementary images included in this document, if it is a story. Note that if this document is an image, the photographer(s) should appear in the 'by' slot.", "items": { "anyOf": [ { "$ref": "#/definitions/___utils_author_json" }, { "$ref": "#/definitions/___utils_reference_json" } ], "type": "object" }, "title": "Photos by", "type": "array" } }, "title": "Credit trait", "type": "object" }, "trait_description_json": { "$ref": "#/definitions/___utils_dictionary_json", "$schema": "http://json-schema.org/draft-04/schema#", "description": "The descriptions, or blurbs, for the content.", "title": "Description", "type": "object" }, "trait_display_date_json": { "$schema": "http://json-schema.org/draft-04/schema#", "_format": "date-time", "description": "The RFC3339-formatted dated time of the most recent date the story was (re)displayed on a public site.", "title": "Display_Date", "type": "string" }, "trait_distributor_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Information about a third party that provided this content from outside this document's hosted organization.", "oneOf": [ { "additionalProperties": false, "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "category": { "description": "The machine-readable category of how this content was produced. Use 'staff' if this content was produced by an employee of the organization who owns this document repository. (Multisite note: content produced within a single *organization*, but shared across multiple *websites* should still be considered 'staff.') Use \u2018wires\u2019 if this content was produced for another organization and shared with the one who owns this document repository. Use 'freelance' if this content was produced by an individual on behalf of the organization who owns this document repository. Use 'stock' if this content is stock media distributed directly from a stock media provider. Use 'handout' if this is content provided from a source for an article (usually promotional media distributed directly from a company). Use 'other' for all other cases.", "enum": [ "staff", "wires", "freelance", "stock", "handout", "other" ], "type": "string" }, "mode": { "enum": [ "custom" ], "type": "string" }, "name": { "description": "The human-readable name of the distributor of this content. E.g., Reuters.", "type": "string" }, "subcategory": { "description": "The machine-readable subcategory of how this content was produced. E.g., 'freelance - signed'. May vary between organizations.", "type": "string" } } }, { "additionalProperties": false, "properties": { "mode": { "enum": [ "reference" ], "type": "string" }, "reference_id": { "description": "The ARC UUID of the distributor of this content. E.g., ABCDEFGHIJKLMNOPQRSTUVWXYZ.", "type": "string" } }, "required": [ "reference_id", "mode" ] } ], "title": "Distributor", "type": "object" }, "trait_editor_note_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Additional information to be displayed near the content from the editor.", "title": "Editor_Note", "type": "string" }, "trait_first_publish_date_json": { "$schema": "http://json-schema.org/draft-04/schema#", "_format": "date-time", "description": "When the story was first published.", "title": "First Publish Date", "type": "string" }, "trait_focal_point_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Coordinates representing the 'visual center' of an image. The X axis is horizontal line and the Y axis the vertical line, with 0,0 being the LEFT, TOP of the image.", "properties": { "x": { "description": "The coordinate point on the horizontal axis", "type": "number" }, "y": { "description": "The coordinate point on the vertical axis", "type": "number" } }, "required": [ "x", "y" ], "title": "Focal Point", "type": "object" }, "trait_geo_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Latitidue and Longitude of the content", "properties": { "latitude": { "type": "number" }, "longitude": { "type": "number" } }, "title": "Geo", "type": "object" }, "trait_headlines_json": { "$ref": "#/definitions/___utils_dictionary_json", "$schema": "http://json-schema.org/draft-04/schema#", "description": "The headline(s) or title for this content. The 'basic' key is required.", "title": "Headlines", "type": "object" }, "trait_id_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "A globally unique identifier of the content in the ANS repository.", "title": "Globally Unique ID trait", "type": "string" }, "trait_image_type_json": { "$schema": "http://json-schema.org/draft-04/schema#", "category": { "description": "The machine-readable enumeration of valid image types.", "enum": [ "photograph", "graphic", "illustration", "thumbnail" ], "type": "string" }, "description": "A more specific category for an image.", "title": "Image Type", "type": "string" }, "trait_label_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "What the Washington Post calls a Kicker", "patternProperties": { "^[a-zA-Z0-9_]*$": { "additionalProperties": false, "description": "Additional user-defined keyed label objects.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "display": { "description": "If false, this label should be hidden.", "type": "boolean" }, "text": { "description": "The text of this label.", "type": "string" }, "url": { "description": "An optional destination url of this label.", "type": "string" } }, "required": [ "text" ], "type": "object" } }, "properties": { "basic": { "additionalProperties": false, "description": "The default label object for this piece of content.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "display": { "description": "If false, this label should be hidden.", "type": "boolean" }, "text": { "description": "The text of this label.", "type": "string" }, "url": { "description": "An optional destination url of this label.", "type": "string" } }, "required": [ "text" ], "type": "object" } }, "title": "Label", "type": "object" }, "trait_last_updated_date_json": { "$schema": "http://json-schema.org/draft-04/schema#", "_format": "date-time", "description": "When the content was last updated (RFC3339-formatted).", "title": "Last Updated Date", "type": "string" }, "trait_locale_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "The primary language of the content. The value should follow IETF BCP47. (e.g. 'en', 'es-419', etc.) ", "title": "Locale", "type": "string" }, "trait_location_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "A description of the location, useful if a full address or lat/long specification is overkill.", "title": "Location related trait", "type": "string" }, "trait_owner_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Various unrelated fields that should be preserved for backwards-compatibility reasons. See also trait_source.", "properties": { "id": { "description": "The machine-readable unique identifier of the organization whose database this content is stored in. In Arc, this is equivalent to ARC_ORG_NAME.", "type": "string" }, "name": { "description": "Deprecated in 0.10.9. See `distributor.name`. (Formerly: The human-readable name of original producer of content. Distinguishes between Wires, Staff and other sources.)", "type": "string" }, "sponsored": { "description": "True if this content is advertorial or native advertising.", "type": "boolean" } }, "title": "Owner information ", "type": "object" }, "trait_pitches_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Trait that represents a story's pitches. In the Arc ecosystem, this data is generated by WebSked.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "platform": { "description": "A list of the story's pitches to a platform.", "items": { "$ref": "#/definitions/trait_platform_pitch_json" }, "type": "array" }, "publication": { "description": "A list of the story's pitches to a publication.", "items": { "$ref": "#/definitions/trait_publication_pitch_json" }, "type": "array" } }, "title": "Pitches", "type": "object" }, "trait_planning_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Trait that applies planning information to a document or resource. In the Arc ecosystem, this data is generated by WebSked. Newsroom use only. All these fields should be available and editable in WebSked.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "budget_line": { "description": "Used for the newsroom to identify what the story is about, especially if a user is unfamiliar with the slug of a story and the headline or they do not yet exist. Newsroom use only.", "title": "Budget Line", "type": "string" }, "deadline_miss": { "description": "The delta between the story's planned publish date and actual first publish time, in minutes.", "type": "integer" }, "internal_note": { "description": "This note is used for shared communication inside the newsroom.", "title": "Internal Note", "type": "string" }, "scheduling": { "additionalProperties": false, "description": "Scheduling information.", "properties": { "planned_publish_date": { "_format": "date-time", "description": "When the content is planned to be published.", "type": "string" }, "scheduled_publish_date": { "_format": "date-time", "description": "When the content was first published.", "type": "string" }, "will_have_gallery": { "description": "Will this content have galleries?", "type": "boolean" }, "will_have_graphic": { "description": "Will this content have graphics?", "type": "boolean" }, "will_have_image": { "description": "Will this content have images?", "type": "boolean" }, "will_have_video": { "description": "Will this content have videos?", "type": "boolean" } }, "type": "object" }, "story_length": { "additionalProperties": false, "description": "Story length information.", "properties": { "character_count_actual": { "description": "The current number of characters in the story.", "type": "integer" }, "character_count_planned": { "description": "The anticipated number of characters in the story.", "type": "integer" }, "character_encoding": { "description": "The encoding used for counting characters in the story.", "type": "string" }, "inch_count_actual": { "description": "The current length of the story in inches.", "type": "integer" }, "inch_count_planned": { "description": "The anticipated length of the story in inches.", "type": "integer" }, "line_count_actual": { "description": "The current length of the story in lines.", "type": "integer" }, "line_count_planned": { "description": "The anticipated length of the story in lines.", "type": "integer" }, "word_count_actual": { "description": "Current number of words.", "type": "integer" }, "word_count_planned": { "description": "The anticipated number of words in the story.", "type": "integer" } }, "type": "object" }, "websked_sort_date": { "_format": "date-time", "description": "Date to be used for chronological sorting in WebSked.", "type": "string" } }, "title": "Scheduling information", "type": "object" }, "trait_platform_pitch_event_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Trait that represents an update event for a pitch to a platform. In the Arc ecosystem, this data is generated by WebSked.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "note": { "description": "Optional note associated with this update.", "type": "string" }, "status": { "description": "The current status of the pitch.", "pattern": "^([a-z]|[ ])*$", "type": "string" }, "time": { "_format": "date-time", "description": "The time of this update.", "type": "string" }, "user_id": { "description": "The ID of the user who made this update.", "type": "string" } }, "title": "Platform pitch event", "type": "object" }, "trait_platform_pitch_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Trait that represents a pitch to a platform. In the Arc ecosystem, this data is generated by WebSked.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "creation_event": { "$ref": "#/definitions/trait_platform_pitch_event_json" }, "latest_event": { "$ref": "#/definitions/trait_platform_pitch_event_json" }, "platform_path": { "description": "The path of the platform that this pitch targets.", "type": "string" } }, "title": "Platform pitch", "type": "object" }, "trait_publication_pitch_event_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Trait that represents an update event for a pitch to a publication. In the Arc ecosystem, this data is generated by WebSked.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "edition_id": { "description": "The ID of the publication edition that this pitch targets.", "type": "string" }, "edition_time": { "_format": "date-time", "description": "The time of the publication edition that this pitch targets.", "type": "string" }, "note": { "description": "Optional note associated with this update.", "type": "string" }, "status": { "description": "The current status of the pitch.", "pattern": "^([a-z]|[ ])*$", "type": "string" }, "time": { "_format": "date-time", "description": "The time of this update.", "type": "string" }, "user_id": { "description": "The ID of the user who made this update.", "type": "string" } }, "title": "Publication pitch event", "type": "object" }, "trait_publication_pitch_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Trait that represents a pitch to a publication. In the Arc ecosystem, this data is generated by WebSked.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "creation_event": { "$ref": "#/definitions/trait_publication_pitch_event_json" }, "latest_event": { "$ref": "#/definitions/trait_publication_pitch_event_json" }, "publication_id": { "description": "The ID of the publication that this pitch targets.", "type": "string" } }, "title": "Publication pitch", "type": "object" }, "trait_publish_date_json": { "$schema": "http://json-schema.org/draft-04/schema#", "_format": "date-time", "description": "When the story was published.", "title": "Publish_Date", "type": "string" }, "trait_related_content_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Lists of content items or references this story is related to, arbitrarily keyed. In the Arc ecosystem, references in this object will be denormalized into the fully-inflated content objects they represent.", "patternProperties": { ".*": { "items": { "anyOf": [ { "$ref": "#/definitions/___content_json" }, { "$ref": "#/definitions/___utils_reference_json" }, { "$ref": "#/definitions/___story_elements_custom_embed_json" } ], "type": "object" }, "type": "array" } }, "properties": { "redirect": { "description": "An attached redirect. In Arc, when this content item is fetched by url, content api will instead return this redirect object with appropriate headers. In all other cases, this content should be treated normally.", "items": { "$ref": "#/definitions/___redirect_json" }, "maxItems": 1, "type": "array" } }, "title": "Related_Content", "type": "object" }, "trait_revision_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Trait that applies revision information to a document. In the Arc ecosystem, many of these fields are populated in stories by the Story API.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "branch": { "description": "The name of the branch this revision was created on.", "type": "string" }, "editions": { "description": "A list of identifiers of editions that point to this revision.", "items": { "type": "string" }, "type": "array" }, "parent_id": { "description": "The unique id of the revision that this revisions was branched from, or preceded it on the current branch.", "type": "string" }, "published": { "description": "Whether or not this revision's parent story is published, in any form or place", "type": "boolean" }, "revision_id": { "description": "The unique id of this revision.", "type": "string" }, "user_id": { "description": "The unique user id of the person who created this revision.", "type": "string" } }, "title": "Revision", "type": "object" }, "trait_short_url_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "A url-shortened version of the canonical url.", "title": "Short_Url", "type": "string" }, "trait_slug_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "A short reference name for internal editorial use", "title": "Slug", "type": "string" }, "trait_social_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Links to various social media", "items": { "additionalProperties": {}, "properties": { "site": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "title": "Social Links", "type": "array" }, "trait_source_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Information about the original source and/or owner of this content", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "edit_url": { "description": "A link to edit this content in its source CMS.", "type": "string" }, "name": { "description": "Deprecated in 0.10.9. See `distributor.name`. (Formerly: The human-readable name of the organization who first produced this content. E.g., 'Reuters'.)", "type": "string" }, "source_id": { "description": "The id of this content in a foreign CMS.", "type": "string" }, "source_type": { "description": "Deprecated in 0.10.9. See `distributor.category` and `distributor.subcategory`. (Formerly: The method used to enter this content. E.g. 'staff', 'wires'.)", "type": "string" }, "system": { "description": "The software (CMS or editor) that was used to enter this content. E.g., 'wordpress', 'ellipsis'.", "type": "string" } }, "title": "Source", "type": "object" }, "trait_status_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Optional field to story story workflow related status (e.g. published/embargoed/etc)", "title": "Status", "type": "string" }, "trait_subheadlines_json": { "$ref": "#/definitions/___utils_dictionary_json", "$schema": "http://json-schema.org/draft-04/schema#", "description": "The sub-headline(s) for the content.", "title": "Sub-Headlines", "type": "object" }, "trait_subtype_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "A user-defined categorization method to supplement type. In Arc, this field is reserved for organization-defined purposes, such as selecting the PageBuilder template that should be used to render a document.", "title": "Subtype or Template", "type": "string" }, "trait_syndication_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Key-boolean pair of syndication services where this article may go", "patternProperties": { ".*": { "type": "boolean" } }, "properties": { "external_distribution": { "description": "Necessary for fulfilling contractual agreements with third party clients", "type": "boolean" }, "search": { "description": "Necessary so that we can filter out all articles that editorial has deemed should not be discoverable via search", "type": "boolean" } }, "title": "Syndication", "type": "object" }, "trait_taxonomy_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Holds the collection of tags, categories, keywords, etc that describe content.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "associated_tasks": { "description": "A list of WebSked task IDs that this content was created or curated to satisfy.", "items": { "pattern": "^[0-9a-fA-F]{24}$", "type": "string" }, "maxItems": 200, "type": "array" }, "auxiliaries": { "description": "A list of auxiliaries. In the Arc ecosystem, this list is populated by Clavis.", "items": { "$ref": "#/definitions/___utils_auxiliary_json" }, "type": "array" }, "keywords": { "description": "A list of keywords. In the Arc ecosystem, this list is populated by Clavis.", "items": { "$ref": "#/definitions/___utils_keyword_json" }, "type": "array" }, "named_entities": { "description": "A list of named entities. In the Arc ecosystem, this list is populated by Clavis.", "items": { "$ref": "#/definitions/___utils_named_entity_json" }, "type": "array" }, "primary_section": { "description": "A primary section object or reference to one. In the Arc ecosystem, a reference here is denormalized into a site from the arc-site-service.", "oneOf": [ { "$ref": "#/definitions/___utils_section_json" }, { "allOf": [ { "$ref": "#/definitions/___utils_reference_json" }, { "properties": { "referent": { "properties": { "type": { "enum": [ "section" ] } } } } } ] } ] }, "primary_site": { "description": "Deprecated in 0.10.9. (See `primary_section` instead.) A primary site object or reference to one. In the Arc ecosystem, a reference here is denormalized into a site from the arc-site-service.", "oneOf": [ { "$ref": "#/definitions/___utils_site_json" }, { "allOf": [ { "$ref": "#/definitions/___utils_reference_json" }, { "properties": { "referent": { "properties": { "type": { "enum": [ "site" ] } } } } } ] } ] }, "sections": { "description": "A list of site objects or references to them. In the Arc ecosystem, references in this list are denormalized into sites from the arc-site-service. In a multi-site context, sites will be denormalized against an organization's default website only.", "items": { "oneOf": [ { "$ref": "#/definitions/___utils_section_json" }, { "allOf": [ { "$ref": "#/definitions/___utils_reference_json" }, { "properties": { "referent": { "properties": { "type": { "enum": [ "section" ] } } } } } ] } ] }, "type": "array" }, "seo_keywords": { "description": "A list of user-editable manually entered keywords for search purposes. In the Arc ecosystem, these can be generated and saved in source CMS systems, editors, etc.", "items": { "type": "string" }, "type": "array" }, "sites": { "description": "Deprecated in 0.10.9. (See `sections` instead.) A list of site objects or references to them. In the Arc ecosystem, references in this list are denormalized into sites from the arc-site-service. In a multi-site context, sites will be denormalized against an organization's default website only.", "items": { "oneOf": [ { "$ref": "#/definitions/___utils_site_json" }, { "allOf": [ { "$ref": "#/definitions/___utils_reference_json" }, { "properties": { "referent": { "properties": { "type": { "enum": [ "site" ] } } } } } ] } ] }, "type": "array" }, "stock_symbols": { "description": "A list of stock symbols of companies related to this content. In the Arc ecosystem, these can be generated and saved in source CMS systems, editors, etc.", "items": { "type": "string" }, "type": "array" }, "tags": { "items": { "$ref": "#/definitions/___utils_tag_json" }, "type": "array" }, "topics": { "description": "A list of topics. In the Arc ecosystem, this list is populated by Clavis.", "items": { "$ref": "#/definitions/___utils_topic_json" }, "type": "array" } }, "title": "Taxonomy", "type": "object" }, "trait_tracking_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": {}, "description": "Tracking information, probably implementation-dependent", "title": "Tracking", "type": "object" }, "trait_vanity_credits_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Similar to the credits trait, but to be used only when ANS is being directly rendered to readers natively. For legal and technical reasons, the `credits` trait is preferred when converting ANS into feeds or other distribution formats. However, when present, `vanity_credits` allows more sophisticated credits presentation to override the default without losing that original data.", "patternProperties": { "^[a-zA-Z0-9_]*": { "items": { "anyOf": [ { "$ref": "#/definitions/___utils_author_json" }, { "$ref": "#/definitions/___utils_reference_json" } ], "type": "object" }, "type": "array" } }, "properties": { "by": { "description": "The primary author(s) of this document. For a story, is is the writer or reporter. For an image, it is the photographer.", "items": { "anyOf": [ { "$ref": "#/definitions/___utils_author_json" }, { "$ref": "#/definitions/___utils_reference_json" } ], "type": "object" }, "title": "By", "type": "array" }, "photos_by": { "description": "The photographer(s) of supplementary images included in this document, if it is a story. Note that if this document is an image, the photographer(s) should appear in the 'by' slot.", "items": { "anyOf": [ { "$ref": "#/definitions/___utils_author_json" }, { "$ref": "#/definitions/___utils_reference_json" } ], "type": "object" }, "title": "Photos by", "type": "array" } }, "title": "Vanity Credits trait", "type": "object" }, "trait_version_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "The version of ANS that this object was serialized as, in major.minor.patch format. For top-level content objects, this is a required trait.", "enum": [ "0.10.9" ], "title": "Describes the ANS version of this object", "type": "string" }, "trait_website_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "The _id of the website on which this document exists. This field is only available in Content API. If different from canonical_website, then this document was originally sourced from the canonical_website. Generated at fetch time by Content API.", "title": "Website", "type": "string" }, "trait_workflow_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Trait that applies workflow information to a document or resource. In the Arc ecosystem, this data is generated by WebSked.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "note": { "description": "This note will be used for any task automatically generated via WebSked task triggers.", "type": "string" }, "status_code": { "description": "Code indicating the story's current workflow status. This number should match the values configured in WebSked.", "minimum": 1, "type": "integer" } }, "title": "Workflow information", "type": "object" } }, "description": "Lists of promotional content to use when highlighting the story. In the Arc ecosystem, references in these lists will be denormalized.", "patternProperties": { ".*": { "oneOf": [ { "$ref": "#/definitions/___content_json" }, { "$ref": "#/definitions/___utils_reference_json" }, { "$ref": "#/definitions/___story_elements_raw_html_json" }, { "$ref": "#/definitions/___story_elements_custom_embed_json" } ] } }, "properties": { "basic": { "oneOf": [ { "$ref": "#/definitions/___content_json" }, { "$ref": "#/definitions/___utils_reference_json" }, { "$ref": "#/definitions/___story_elements_raw_html_json" }, { "$ref": "#/definitions/___story_elements_custom_embed_json" } ] } }, "title": "Promo Items", "type": "object" }
wp_78_Normalized
{ "properties": { "customer": { "properties": { "address": { "description": "The address of the customer", "type": "string" }, "name": { "description": "The name of the customer", "type": "string" } }, "required": [ "name", "address" ], "type": "object" }, "items": { "items": { "properties": { "name": { "description": "The name of the item", "type": "string" }, "price": { "description": "The price of the item", "type": "number" }, "quantity": { "description": "The quantity of the item", "type": "integer" } }, "required": [ "name", "quantity", "price" ], "type": "object" }, "type": "array" } }, "required": [ "items", "customer" ], "type": "object" }
generate_invoice_a8a2d840
{ "properties": { "encalgo": { "enum": [ "AES", "3DES", "AES192", "AES256" ], "type": "object" }, "hashalgo": { "enum": [ "HMAC_SHA1", "HMAC_SHA256", "HMAC_SHA384", "HMAC_SHA512", "HMAC_MD5" ], "type": "object" }, "ikeretryinterval": { "type": "integer" }, "ikeversion": { "enum": [ "V1", "V2" ], "type": "string" }, "lifetime": { "type": "integer" }, "livenesscheckinterval": { "type": "integer" }, "perfectforwardsecrecy": { "enum": [ "ENABLE", "DISABLE" ], "type": "string" }, "replaywindowsize": { "type": "integer" }, "responderonly": { "enum": [ "YES", "NO" ], "readonly": true, "type": "string" }, "retransmissiontime": { "type": "integer" } }, "title": "ipsecparameter", "type": "object" }
o30517
{ "$id": "https://json.schemastore.org/minecraft-particle.json", "$schema": "http://json-schema.org/draft-07/schema#", "description": "A particle for a Minecraft resource pack config schema", "properties": { "textures": { "type": "array", "items": { "type": "string" } } }, "required": ["textures"], "title": "Minecraft Resource Pack Particle", "type": "object" }
minecraft-particle
{ "$schema": "http://json-schema.org/draft-04/schema#", "id": "http://localhost:3000/schemas/post-device-request.json#", "title": "Post device request", "type": "object", "additionalProperties": false, "required": [ "user_agent", "user_id" ], "properties": { "user_agent": { "type": "string", "minLength": 1 }, "user_id": { "type": "string", "minLength": 1 } } }
o20470
{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://github.com/Enfernuz/quik-lua-rpc/json/schema/getFuturesLimit.result.scheme.json", "title": "\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b getFuturesLimit", "description": "\u0421\u0445\u0435\u043c\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u0437\u043e\u0432\u0430 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b getFuturesLimit", "type": "object", "properties": { "futures_limit": { "description": "\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442", "type": "object", "properties": { "firmid": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 firmid", "type": "string" }, "trdaccid": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 trdaccid", "type": "string" }, "limit_type": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 limit_type", "type": "number" }, "liquidity_coef": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 liquidity_coef", "type": "string" }, "cbp_prev_limit": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 cbp_prev_limit", "type": "string" }, "cbplimit": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 cbplimit", "type": "string" }, "cbplused": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 cbplused", "type": "string" }, "cbplplanned": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 cbplplanned", "type": "string" }, "varmargin": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 varmargin", "type": "string" }, "accruedint": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 accruedint", "type": "string" }, "cbplused_for_orders": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 cbplused_for_orders", "type": "string" }, "cbplused_for_positions": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 cbplused_for_positions", "type": "string" }, "options_premium": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 options_premium", "type": "string" }, "ts_comission": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 ts_comission", "type": "string" }, "kgo": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 kgo", "type": "string" }, "currcode": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 currcode", "type": "string" }, "real_varmargin": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 real_varmargin", "type": "string" } }, "required": [ "firmid", "trdaccid", "limit_type", "currcode" ] } }, "additionalProperties": false }
o5225
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "required": [ "info", "updates" ], "properties": { "info": { "type": "object", "required": [ "name", "version" ], "properties": { "name": { "type": "string" }, "version": { "type": "string" } } }, "updates": { "type": "array", "minItems": 0, "items": { "required": [ "property", "type" ], "type": "object", "properties": { "property": { "type": "string" }, "type": { "type": "string" } } }, "_uniqueItems": true } } }
o67516
{ "additionalProperties": false, "description": "Schema for a Google Analytics enhanced e-commerce product impression list entity", "properties": { "index": { "maximum": 200, "minimum": 1, "type": "integer" }, "name": { "type": [ "string", "null" ] } }, "self": { "format": "jsonschema", "name": "product_impression_list", "vendor": "com.google.analytics.measurement-protocol", "version": "1-0-0" }, "type": "object" }
sp_57_Normalized
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "map_id": { "type": "number" }, "started": { "type": "string" }, "ended": { "type": "string" }, "result": { "type": "string" }, "team": { "type": "string" }, "profession": { "type": "string" }, "rating_type": { "type": "string" }, "scores": { "type": "object", "properties": { "red": { "type": "number" }, "blue": { "type": "number" } } } }, "required": [ "id", "map_id", "started", "ended", "result", "team", "profession", "rating_type", "scores" ] }, "properties": {}, "additionalProperties": false }
o45198
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": { "$ref": "#" }, "definitions": { "@jdt.path": { "type": "string", "description": "Use JSONPath syntax to navigate to the node where the transform should be applied." }, "@jdt.value": { "type": "string", "description": "The transformation value that should be applied." } }, "id": "https://json.schemastore.org/jdt.json", "properties": { "@jdt.rename": { "anyOf": [ { "type": "object", "description": "Renames nodes", "properties": { "@jdt.path": { "$ref": "#/definitions/@jdt.path" }, "@jdt.value": { "$ref": "#/definitions/@jdt.value" } } }, { "type": "array", "description": "Renames nodes", "items": { "properties": { "@jdt.path": { "$ref": "#/definitions/@jdt.path" }, "@jdt.value": { "$ref": "#/definitions/@jdt.value" } } } } ] }, "@jdt.replace": { "type": ["array", "object"], "description": "Replaces the current node with the given value. ", "properties": { "@jdt.path": { "$ref": "#/definitions/@jdt.path" }, "@jdt.value": { "$ref": "#/definitions/@jdt.value" } }, "items": { "properties": { "@jdt.path": { "$ref": "#/definitions/@jdt.path" }, "@jdt.value": { "$ref": "#/definitions/@jdt.value" } } } }, "@jdt.remove": { "type": ["array", "boolean", "object", "string"], "description": "Removes the node with the given name from the current level.", "properties": { "@jdt.path": { "$ref": "#/definitions/@jdt.path" } }, "items": { "type": ["boolean", "integer", "null", "number", "object", "string"] } }, "@jdt.merge": { "description": "Merges the current node value with the given object.", "type": ["object", "array"], "properties": { "@jdt.path": { "$ref": "#/definitions/@jdt.path" }, "@jdt.value": { "$ref": "#/definitions/@jdt.value" } }, "items": { "properties": { "@jdt.path": { "$ref": "#/definitions/@jdt.path" }, "@jdt.value": { "$ref": "#/definitions/@jdt.value" } } } } }, "title": "JSON schema for JSON Document Transforms", "type": "object" }
jdt
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "array", "minItems": 1, "_uniqueItems": true, "items": { "type": "object", "properties": { "match": { "type": "string" }, "lite": { "type": "boolean" }, "standard": { "type": "boolean" }, "inherits": { "type": "string" }, "properties": { "type": "object", "properties": { "Platform": { "type": "string" }, "Platform_Version": { "type": "string" }, "Platform_Description": { "type": "string" }, "Platform_Maker": { "type": "string" }, "Win16": { "type": "boolean" }, "Win32": { "type": "boolean" }, "Win64": { "type": "boolean" }, "Browser_Bits": { "type": "integer" }, "Platform_Bits": { "type": "integer" } }, "required": [ "Platform_Version" ] } }, "required": [ "match", "lite", "standard" ] } }
o60848
{ "properties": { "cuisine": { "description": "The cuisine type of the restaurants to filter by", "type": "string" }, "location": { "description": "The location of the restaurants to filter by", "type": "string" }, "price_range": { "properties": { "max": { "description": "The maximum price range", "type": "number" }, "min": { "description": "The minimum price range", "type": "number" } }, "required": [ "min", "max" ], "type": "object" } }, "required": [ "cuisine" ], "type": "object" }
search_restaurants_ef675516
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "required": [ "users", "releases", "companies", "repos", "project_types" ], "properties": { "users": { "type": "array", "items": { "type": "object", "properties": { "launchpad_id": { "type": "string", "pattern": "^[a-z\\d\\.\\+-]+$" }, "github_id": { "type": "string" }, "gerrit_id": { "type": "string" }, "ldap_id": { "type": "string" }, "zanata_id": { "type": "string" }, "user_name": { "type": "string" }, "emails": { "type": "array", "items": { "type": "string", "pattern": "^[a-z\\d_\\.\\+-]+@([a-z\\d\\.-]+\\.)*(([a-z]+)|\\(none\\))$" }, "minItems": 1 }, "companies": { "type": "array", "items": { "type": "object", "properties": { "company_name": { "type": "string" }, "end_date": { "$ref": "#/definitions/date_format" } }, "required": [ "company_name", "end_date" ], "additionalProperties": false }, "minItems": 1 } }, "required": [ "user_name", "emails" ], "additionalProperties": false } }, "releases": { "type": "array", "items": { "type": "object", "properties": { "release_name": { "type": "string" }, "end_date": { "$ref": "#/definitions/date_format" }, "refs": { "type": "object" } }, "required": [ "release_name", "end_date" ], "additionalProperties": false } }, "repos": { "type": "array", "items": { "type": "object", "properties": { "uri": { "type": "string" }, "organization": { "type": "string" }, "module": { "type": "string" }, "releases": { "type": "array", "items": { "type": "object", "properties": { "branch": { "type": "string" }, "tag_from": { "type": "string" }, "tag_to": { "type": "string" }, "release_name": { "type": "string" } }, "required": [ "tag_from", "tag_to", "release_name" ] } }, "aliases": { "type": "array", "items": { "type": "string" } }, "default_branch": { "type": "string" } }, "required": [ "uri", "module", "organization" ], "additionalProperties": false } }, "companies": { "type": "array", "items": { "type": "object", "properties": { "company_name": { "type": "string" }, "domains": { "type": "array", "items": { "type": "string", "pattern": "^[a-z\\d\\.-]*$" } }, "aliases": { "type": "array", "items": { "type": "string" } } }, "required": [ "company_name", "domains" ], "additionalProperties": false } }, "project_sources": { "type": "array", "items": { "type": "object", "properties": { "organization": { "type": "string" }, "uri": { "type": "string" }, "git_base_uri": { "type": "string" }, "ssh_key_filename": { "type": "string" }, "ssh_username": { "type": "string" }, "exclude": { "type": "array", "items": { "type": "string" } }, "default_branch": { "type": "string" }, "module_group_id": { "type": "string" } }, "required": [ "organization" ], "additionalProperties": false } }, "module_groups": { "type": "array", "items": { "type": "object", "properties": { "module_group_name": { "type": "string", "pattern": "^[\\w-]+$" }, "modules": { "type": [ "array" ], "items": { "type": "string" } } }, "required": [ "module_group_name", "modules" ], "additionalProperties": false } }, "mail_lists": { "type": "array", "items": { "type": "string" } }, "member_lists": { "type": "array", "items": { "type": "string" } }, "project_types": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string", "pattern": "^[\\w:-]+$" }, "child": { "type": "boolean" }, "title": { "type": "string" }, "modules": { "type": [ "array" ], "items": { "type": "string", "pattern": "^[\\w:-]+$" } } }, "required": [ "id", "title", "modules" ], "additionalProperties": false } } }, "definitions": { "date_format": { "type": [ "string", "null" ], "pattern": "^20\\d{2}-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-[0-3]\\d$" } } }
o10532
{ "$id": "https://json.schemastore.org/sarif-2.1.0-rtm.5.json", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "definitions": { "address": { "description": "A physical or virtual address, or a range of addresses, in an 'addressable region' (memory or a binary file).", "additionalProperties": false, "type": "object", "properties": { "absoluteAddress": { "description": "The address expressed as a byte offset from the start of the addressable region.", "type": "integer", "minimum": -1, "default": -1 }, "relativeAddress": { "description": "The address expressed as a byte offset from the absolute address of the top-most parent object.", "type": "integer" }, "length": { "description": "The number of bytes in this range of addresses.", "type": "integer" }, "kind": { "description": "An open-ended string that identifies the address kind. 'data', 'function', 'header','instruction', 'module', 'page', 'section', 'segment', 'stack', 'stackFrame', 'table' are well-known values.", "type": "string" }, "name": { "description": "A name that is associated with the address, e.g., '.text'.", "type": "string" }, "fullyQualifiedName": { "description": "A human-readable fully qualified name that is associated with the address.", "type": "string" }, "offsetFromParent": { "description": "The byte offset of this address from the absolute or relative address of the parent object.", "type": "integer" }, "index": { "description": "The index within run.addresses of the cached object for this address.", "type": "integer", "default": -1, "minimum": -1 }, "parentIndex": { "description": "The index within run.addresses of the parent object.", "type": "integer", "default": -1, "minimum": -1 }, "properties": { "description": "Key/value pairs that provide additional information about the address.", "$ref": "#/definitions/propertyBag" } } }, "artifact": { "description": "A single artifact. In some cases, this artifact might be nested within another artifact.", "additionalProperties": false, "type": "object", "properties": { "description": { "description": "A short description of the artifact.", "$ref": "#/definitions/message" }, "location": { "description": "The location of the artifact.", "$ref": "#/definitions/artifactLocation" }, "parentIndex": { "description": "Identifies the index of the immediate parent of the artifact, if this artifact is nested.", "type": "integer", "default": -1, "minimum": -1 }, "offset": { "description": "The offset in bytes of the artifact within its containing artifact.", "type": "integer", "minimum": 0 }, "length": { "description": "The length of the artifact in bytes.", "type": "integer", "default": -1, "minimum": -1 }, "roles": { "description": "The role or roles played by the artifact in the analysis.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "enum": [ "analysisTarget", "attachment", "responseFile", "resultFile", "standardStream", "tracedFile", "unmodified", "modified", "added", "deleted", "renamed", "uncontrolled", "driver", "extension", "translation", "taxonomy", "policy", "referencedOnCommandLine", "memoryContents", "directory", "userSpecifiedConfiguration", "toolSpecifiedConfiguration", "debugOutputFile" ] } }, "mimeType": { "description": "The MIME type (RFC 2045) of the artifact.", "type": "string", "pattern": "[^/]+/.+" }, "contents": { "description": "The contents of the artifact.", "$ref": "#/definitions/artifactContent" }, "encoding": { "description": "Specifies the encoding for an artifact object that refers to a text file.", "type": "string" }, "sourceLanguage": { "description": "Specifies the source language for any artifact object that refers to a text file that contains source code.", "type": "string" }, "hashes": { "description": "A dictionary, each of whose keys is the name of a hash function and each of whose values is the hashed value of the artifact produced by the specified hash function.", "type": "object", "additionalProperties": { "type": "string" } }, "lastModifiedTimeUtc": { "description": "The Coordinated Universal Time (UTC) date and time at which the artifact was most recently modified. See \"Date/time properties\" in the SARIF spec for the required format.", "type": "string", "format": "date-time" }, "properties": { "description": "Key/value pairs that provide additional information about the artifact.", "$ref": "#/definitions/propertyBag" } } }, "artifactChange": { "description": "A change to a single artifact.", "additionalProperties": false, "type": "object", "properties": { "artifactLocation": { "description": "The location of the artifact to change.", "$ref": "#/definitions/artifactLocation" }, "replacements": { "description": "An array of replacement objects, each of which represents the replacement of a single region in a single artifact specified by 'artifactLocation'.", "type": "array", "minItems": 1, "uniqueItems": false, "items": { "$ref": "#/definitions/replacement" } }, "properties": { "description": "Key/value pairs that provide additional information about the change.", "$ref": "#/definitions/propertyBag" } }, "required": ["artifactLocation", "replacements"] }, "artifactContent": { "description": "Represents the contents of an artifact.", "type": "object", "additionalProperties": false, "properties": { "text": { "description": "UTF-8-encoded content from a text artifact.", "type": "string" }, "binary": { "description": "MIME Base64-encoded content from a binary artifact, or from a text artifact in its original encoding.", "type": "string" }, "rendered": { "description": "An alternate rendered representation of the artifact (e.g., a decompiled representation of a binary region).", "$ref": "#/definitions/multiformatMessageString" }, "properties": { "description": "Key/value pairs that provide additional information about the artifact content.", "$ref": "#/definitions/propertyBag" } } }, "artifactLocation": { "description": "Specifies the location of an artifact.", "additionalProperties": false, "type": "object", "properties": { "uri": { "description": "A string containing a valid relative or absolute URI.", "type": "string", "format": "uri-reference" }, "uriBaseId": { "description": "A string which indirectly specifies the absolute URI with respect to which a relative URI in the \"uri\" property is interpreted.", "type": "string" }, "index": { "description": "The index within the run artifacts array of the artifact object associated with the artifact location.", "type": "integer", "default": -1, "minimum": -1 }, "description": { "description": "A short description of the artifact location.", "$ref": "#/definitions/message" }, "properties": { "description": "Key/value pairs that provide additional information about the artifact location.", "$ref": "#/definitions/propertyBag" } } }, "attachment": { "description": "An artifact relevant to a result.", "type": "object", "additionalProperties": false, "properties": { "description": { "description": "A message describing the role played by the attachment.", "$ref": "#/definitions/message" }, "artifactLocation": { "description": "The location of the attachment.", "$ref": "#/definitions/artifactLocation" }, "regions": { "description": "An array of regions of interest within the attachment.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/region" } }, "rectangles": { "description": "An array of rectangles specifying areas of interest within the image.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/rectangle" } }, "properties": { "description": "Key/value pairs that provide additional information about the attachment.", "$ref": "#/definitions/propertyBag" } }, "required": ["artifactLocation"] }, "codeFlow": { "description": "A set of threadFlows which together describe a pattern of code execution relevant to detecting a result.", "additionalProperties": false, "type": "object", "properties": { "message": { "description": "A message relevant to the code flow.", "$ref": "#/definitions/message" }, "threadFlows": { "description": "An array of one or more unique threadFlow objects, each of which describes the progress of a program through a thread of execution.", "type": "array", "minItems": 1, "uniqueItems": false, "items": { "$ref": "#/definitions/threadFlow" } }, "properties": { "description": "Key/value pairs that provide additional information about the code flow.", "$ref": "#/definitions/propertyBag" } }, "required": ["threadFlows"] }, "configurationOverride": { "description": "Information about how a specific rule or notification was reconfigured at runtime.", "type": "object", "additionalProperties": false, "properties": { "configuration": { "description": "Specifies how the rule or notification was configured during the scan.", "$ref": "#/definitions/reportingConfiguration" }, "descriptor": { "description": "A reference used to locate the descriptor whose configuration was overridden.", "$ref": "#/definitions/reportingDescriptorReference" }, "properties": { "description": "Key/value pairs that provide additional information about the configuration override.", "$ref": "#/definitions/propertyBag" } }, "required": ["configuration", "descriptor"] }, "conversion": { "description": "Describes how a converter transformed the output of a static analysis tool from the analysis tool's native output format into the SARIF format.", "additionalProperties": false, "type": "object", "properties": { "tool": { "description": "A tool object that describes the converter.", "$ref": "#/definitions/tool" }, "invocation": { "description": "An invocation object that describes the invocation of the converter.", "$ref": "#/definitions/invocation" }, "analysisToolLogFiles": { "description": "The locations of the analysis tool's per-run log files.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/artifactLocation" } }, "properties": { "description": "Key/value pairs that provide additional information about the conversion.", "$ref": "#/definitions/propertyBag" } }, "required": ["tool"] }, "edge": { "description": "Represents a directed edge in a graph.", "type": "object", "additionalProperties": false, "properties": { "id": { "description": "A string that uniquely identifies the edge within its graph.", "type": "string" }, "label": { "description": "A short description of the edge.", "$ref": "#/definitions/message" }, "sourceNodeId": { "description": "Identifies the source node (the node at which the edge starts).", "type": "string" }, "targetNodeId": { "description": "Identifies the target node (the node at which the edge ends).", "type": "string" }, "properties": { "description": "Key/value pairs that provide additional information about the edge.", "$ref": "#/definitions/propertyBag" } }, "required": ["id", "sourceNodeId", "targetNodeId"] }, "edgeTraversal": { "description": "Represents the traversal of a single edge during a graph traversal.", "type": "object", "additionalProperties": false, "properties": { "edgeId": { "description": "Identifies the edge being traversed.", "type": "string" }, "message": { "description": "A message to display to the user as the edge is traversed.", "$ref": "#/definitions/message" }, "finalState": { "description": "The values of relevant expressions after the edge has been traversed.", "type": "object", "additionalProperties": { "$ref": "#/definitions/multiformatMessageString" } }, "stepOverEdgeCount": { "description": "The number of edge traversals necessary to return from a nested graph.", "type": "integer", "minimum": 0 }, "properties": { "description": "Key/value pairs that provide additional information about the edge traversal.", "$ref": "#/definitions/propertyBag" } }, "required": ["edgeId"] }, "exception": { "description": "Describes a runtime exception encountered during the execution of an analysis tool.", "type": "object", "additionalProperties": false, "properties": { "kind": { "type": "string", "description": "A string that identifies the kind of exception, for example, the fully qualified type name of an object that was thrown, or the symbolic name of a signal." }, "message": { "description": "A message that describes the exception.", "type": "string" }, "stack": { "description": "The sequence of function calls leading to the exception.", "$ref": "#/definitions/stack" }, "innerExceptions": { "description": "An array of exception objects each of which is considered a cause of this exception.", "type": "array", "minItems": 0, "uniqueItems": false, "default": [], "items": { "$ref": "#/definitions/exception" } }, "properties": { "description": "Key/value pairs that provide additional information about the exception.", "$ref": "#/definitions/propertyBag" } } }, "externalProperties": { "description": "The top-level element of an external property file.", "type": "object", "additionalProperties": false, "properties": { "schema": { "description": "The URI of the JSON schema corresponding to the version of the external property file format.", "type": "string", "format": "uri" }, "version": { "description": "The SARIF format version of this external properties object.", "enum": ["2.1.0"] }, "guid": { "description": "A stable, unique identifier for this external properties object, in the form of a GUID.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, "runGuid": { "description": "A stable, unique identifier for the run associated with this external properties object, in the form of a GUID.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, "conversion": { "description": "A conversion object that will be merged with a separate run.", "$ref": "#/definitions/conversion" }, "graphs": { "description": "An array of graph objects that will be merged with a separate run.", "type": "array", "minItems": 0, "default": [], "uniqueItems": true, "items": { "$ref": "#/definitions/graph" } }, "externalizedProperties": { "description": "Key/value pairs that provide additional information that will be merged with a separate run.", "$ref": "#/definitions/propertyBag" }, "artifacts": { "description": "An array of artifact objects that will be merged with a separate run.", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "$ref": "#/definitions/artifact" } }, "invocations": { "description": "Describes the invocation of the analysis tool that will be merged with a separate run.", "type": "array", "minItems": 0, "uniqueItems": false, "default": [], "items": { "$ref": "#/definitions/invocation" } }, "logicalLocations": { "description": "An array of logical locations such as namespaces, types or functions that will be merged with a separate run.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/logicalLocation" } }, "threadFlowLocations": { "description": "An array of threadFlowLocation objects that will be merged with a separate run.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/threadFlowLocation" } }, "results": { "description": "An array of result objects that will be merged with a separate run.", "type": "array", "minItems": 0, "uniqueItems": false, "default": [], "items": { "$ref": "#/definitions/result" } }, "taxonomies": { "description": "Tool taxonomies that will be merged with a separate run.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/toolComponent" } }, "driver": { "description": "The analysis tool object that will be merged with a separate run.", "$ref": "#/definitions/toolComponent" }, "extensions": { "description": "Tool extensions that will be merged with a separate run.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/toolComponent" } }, "policies": { "description": "Tool policies that will be merged with a separate run.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/toolComponent" } }, "translations": { "description": "Tool translations that will be merged with a separate run.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/toolComponent" } }, "addresses": { "description": "Addresses that will be merged with a separate run.", "type": "array", "minItems": 0, "uniqueItems": false, "default": [], "items": { "$ref": "#/definitions/address" } }, "webRequests": { "description": "Requests that will be merged with a separate run.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/webRequest" } }, "webResponses": { "description": "Responses that will be merged with a separate run.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/webResponse" } }, "properties": { "description": "Key/value pairs that provide additional information about the external properties.", "$ref": "#/definitions/propertyBag" } } }, "externalPropertyFileReference": { "description": "Contains information that enables a SARIF consumer to locate the external property file that contains the value of an externalized property associated with the run.", "type": "object", "additionalProperties": false, "properties": { "location": { "description": "The location of the external property file.", "$ref": "#/definitions/artifactLocation" }, "guid": { "description": "A stable, unique identifier for the external property file in the form of a GUID.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, "itemCount": { "description": "A non-negative integer specifying the number of items contained in the external property file.", "type": "integer", "default": -1, "minimum": -1 }, "properties": { "description": "Key/value pairs that provide additional information about the external property file.", "$ref": "#/definitions/propertyBag" } }, "anyOf": [ { "required": ["location"] }, { "required": ["guid"] } ] }, "externalPropertyFileReferences": { "description": "References to external property files that should be inlined with the content of a root log file.", "additionalProperties": false, "type": "object", "properties": { "conversion": { "description": "An external property file containing a run.conversion object to be merged with the root log file.", "$ref": "#/definitions/externalPropertyFileReference" }, "graphs": { "description": "An array of external property files containing a run.graphs object to be merged with the root log file.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/externalPropertyFileReference" } }, "externalizedProperties": { "description": "An external property file containing a run.properties object to be merged with the root log file.", "$ref": "#/definitions/externalPropertyFileReference" }, "artifacts": { "description": "An array of external property files containing run.artifacts arrays to be merged with the root log file.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/externalPropertyFileReference" } }, "invocations": { "description": "An array of external property files containing run.invocations arrays to be merged with the root log file.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/externalPropertyFileReference" } }, "logicalLocations": { "description": "An array of external property files containing run.logicalLocations arrays to be merged with the root log file.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/externalPropertyFileReference" } }, "threadFlowLocations": { "description": "An array of external property files containing run.threadFlowLocations arrays to be merged with the root log file.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/externalPropertyFileReference" } }, "results": { "description": "An array of external property files containing run.results arrays to be merged with the root log file.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/externalPropertyFileReference" } }, "taxonomies": { "description": "An array of external property files containing run.taxonomies arrays to be merged with the root log file.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/externalPropertyFileReference" } }, "addresses": { "description": "An array of external property files containing run.addresses arrays to be merged with the root log file.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/externalPropertyFileReference" } }, "driver": { "description": "An external property file containing a run.driver object to be merged with the root log file.", "$ref": "#/definitions/externalPropertyFileReference" }, "extensions": { "description": "An array of external property files containing run.extensions arrays to be merged with the root log file.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/externalPropertyFileReference" } }, "policies": { "description": "An array of external property files containing run.policies arrays to be merged with the root log file.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/externalPropertyFileReference" } }, "translations": { "description": "An array of external property files containing run.translations arrays to be merged with the root log file.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/externalPropertyFileReference" } }, "webRequests": { "description": "An array of external property files containing run.requests arrays to be merged with the root log file.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/externalPropertyFileReference" } }, "webResponses": { "description": "An array of external property files containing run.responses arrays to be merged with the root log file.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/externalPropertyFileReference" } }, "properties": { "description": "Key/value pairs that provide additional information about the external property files.", "$ref": "#/definitions/propertyBag" } } }, "fix": { "description": "A proposed fix for the problem represented by a result object. A fix specifies a set of artifacts to modify. For each artifact, it specifies a set of bytes to remove, and provides a set of new bytes to replace them.", "additionalProperties": false, "type": "object", "properties": { "description": { "description": "A message that describes the proposed fix, enabling viewers to present the proposed change to an end user.", "$ref": "#/definitions/message" }, "artifactChanges": { "description": "One or more artifact changes that comprise a fix for a result.", "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/definitions/artifactChange" } }, "properties": { "description": "Key/value pairs that provide additional information about the fix.", "$ref": "#/definitions/propertyBag" } }, "required": ["artifactChanges"] }, "graph": { "description": "A network of nodes and directed edges that describes some aspect of the structure of the code (for example, a call graph).", "type": "object", "additionalProperties": false, "properties": { "description": { "description": "A description of the graph.", "$ref": "#/definitions/message" }, "nodes": { "description": "An array of node objects representing the nodes of the graph.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/node" } }, "edges": { "description": "An array of edge objects representing the edges of the graph.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/edge" } }, "properties": { "description": "Key/value pairs that provide additional information about the graph.", "$ref": "#/definitions/propertyBag" } } }, "graphTraversal": { "description": "Represents a path through a graph.", "type": "object", "additionalProperties": false, "properties": { "runGraphIndex": { "description": "The index within the run.graphs to be associated with the result.", "type": "integer", "default": -1, "minimum": -1 }, "resultGraphIndex": { "description": "The index within the result.graphs to be associated with the result.", "type": "integer", "default": -1, "minimum": -1 }, "description": { "description": "A description of this graph traversal.", "$ref": "#/definitions/message" }, "initialState": { "description": "Values of relevant expressions at the start of the graph traversal that may change during graph traversal.", "type": "object", "additionalProperties": { "$ref": "#/definitions/multiformatMessageString" } }, "immutableState": { "description": "Values of relevant expressions at the start of the graph traversal that remain constant for the graph traversal.", "type": "object", "additionalProperties": { "$ref": "#/definitions/multiformatMessageString" } }, "edgeTraversals": { "description": "The sequences of edges traversed by this graph traversal.", "type": "array", "minItems": 0, "uniqueItems": false, "default": [], "items": { "$ref": "#/definitions/edgeTraversal" } }, "properties": { "description": "Key/value pairs that provide additional information about the graph traversal.", "$ref": "#/definitions/propertyBag" } }, "oneOf": [ { "required": ["runGraphIndex"] }, { "required": ["resultGraphIndex"] } ] }, "invocation": { "description": "The runtime environment of the analysis tool run.", "additionalProperties": false, "type": "object", "properties": { "commandLine": { "description": "The command line used to invoke the tool.", "type": "string" }, "arguments": { "description": "An array of strings, containing in order the command line arguments passed to the tool from the operating system.", "type": "array", "minItems": 0, "uniqueItems": false, "items": { "type": "string" } }, "responseFiles": { "description": "The locations of any response files specified on the tool's command line.", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "$ref": "#/definitions/artifactLocation" } }, "startTimeUtc": { "description": "The Coordinated Universal Time (UTC) date and time at which the invocation started. See \"Date/time properties\" in the SARIF spec for the required format.", "type": "string", "format": "date-time" }, "endTimeUtc": { "description": "The Coordinated Universal Time (UTC) date and time at which the invocation ended. See \"Date/time properties\" in the SARIF spec for the required format.", "type": "string", "format": "date-time" }, "exitCode": { "description": "The process exit code.", "type": "integer" }, "ruleConfigurationOverrides": { "description": "An array of configurationOverride objects that describe rules related runtime overrides.", "type": "array", "minItems": 0, "default": [], "uniqueItems": true, "items": { "$ref": "#/definitions/configurationOverride" } }, "notificationConfigurationOverrides": { "description": "An array of configurationOverride objects that describe notifications related runtime overrides.", "type": "array", "minItems": 0, "default": [], "uniqueItems": true, "items": { "$ref": "#/definitions/configurationOverride" } }, "toolExecutionNotifications": { "description": "A list of runtime conditions detected by the tool during the analysis.", "type": "array", "minItems": 0, "uniqueItems": false, "default": [], "items": { "$ref": "#/definitions/notification" } }, "toolConfigurationNotifications": { "description": "A list of conditions detected by the tool that are relevant to the tool's configuration.", "type": "array", "minItems": 0, "uniqueItems": false, "default": [], "items": { "$ref": "#/definitions/notification" } }, "exitCodeDescription": { "description": "The reason for the process exit.", "type": "string" }, "exitSignalName": { "description": "The name of the signal that caused the process to exit.", "type": "string" }, "exitSignalNumber": { "description": "The numeric value of the signal that caused the process to exit.", "type": "integer" }, "processStartFailureMessage": { "description": "The reason given by the operating system that the process failed to start.", "type": "string" }, "executionSuccessful": { "description": "Specifies whether the tool's execution completed successfully.", "type": "boolean" }, "machine": { "description": "The machine on which the invocation occurred.", "type": "string" }, "account": { "description": "The account under which the invocation occurred.", "type": "string" }, "processId": { "description": "The id of the process in which the invocation occurred.", "type": "integer" }, "executableLocation": { "description": "An absolute URI specifying the location of the executable that was invoked.", "$ref": "#/definitions/artifactLocation" }, "workingDirectory": { "description": "The working directory for the invocation.", "$ref": "#/definitions/artifactLocation" }, "environmentVariables": { "description": "The environment variables associated with the analysis tool process, expressed as key/value pairs.", "type": "object", "additionalProperties": { "type": "string" } }, "stdin": { "description": "A file containing the standard input stream to the process that was invoked.", "$ref": "#/definitions/artifactLocation" }, "stdout": { "description": "A file containing the standard output stream from the process that was invoked.", "$ref": "#/definitions/artifactLocation" }, "stderr": { "description": "A file containing the standard error stream from the process that was invoked.", "$ref": "#/definitions/artifactLocation" }, "stdoutStderr": { "description": "A file containing the interleaved standard output and standard error stream from the process that was invoked.", "$ref": "#/definitions/artifactLocation" }, "properties": { "description": "Key/value pairs that provide additional information about the invocation.", "$ref": "#/definitions/propertyBag" } }, "required": ["executionSuccessful"] }, "location": { "description": "A location within a programming artifact.", "additionalProperties": false, "type": "object", "properties": { "id": { "description": "Value that distinguishes this location from all other locations within a single result object.", "type": "integer", "minimum": -1, "default": -1 }, "physicalLocation": { "description": "Identifies the artifact and region.", "$ref": "#/definitions/physicalLocation" }, "logicalLocations": { "description": "The logical locations associated with the result.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/logicalLocation" } }, "message": { "description": "A message relevant to the location.", "$ref": "#/definitions/message" }, "annotations": { "description": "A set of regions relevant to the location.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/region" } }, "relationships": { "description": "An array of objects that describe relationships between this location and others.", "type": "array", "default": [], "minItems": 0, "uniqueItems": true, "items": { "$ref": "#/definitions/locationRelationship" } }, "properties": { "description": "Key/value pairs that provide additional information about the location.", "$ref": "#/definitions/propertyBag" } } }, "locationRelationship": { "description": "Information about the relation of one location to another.", "type": "object", "additionalProperties": false, "properties": { "target": { "description": "A reference to the related location.", "type": "integer", "minimum": 0 }, "kinds": { "description": "A set of distinct strings that categorize the relationship. Well-known kinds include 'includes', 'isIncludedBy' and 'relevant'.", "type": "array", "default": ["relevant"], "uniqueItems": true, "items": { "type": "string" } }, "description": { "description": "A description of the location relationship.", "$ref": "#/definitions/message" }, "properties": { "description": "Key/value pairs that provide additional information about the location relationship.", "$ref": "#/definitions/propertyBag" } }, "required": ["target"] }, "logicalLocation": { "description": "A logical location of a construct that produced a result.", "additionalProperties": false, "type": "object", "properties": { "name": { "description": "Identifies the construct in which the result occurred. For example, this property might contain the name of a class or a method.", "type": "string" }, "index": { "description": "The index within the logical locations array.", "type": "integer", "default": -1, "minimum": -1 }, "fullyQualifiedName": { "description": "The human-readable fully qualified name of the logical location.", "type": "string" }, "decoratedName": { "description": "The machine-readable name for the logical location, such as a mangled function name provided by a C++ compiler that encodes calling convention, return type and other details along with the function name.", "type": "string" }, "parentIndex": { "description": "Identifies the index of the immediate parent of the construct in which the result was detected. For example, this property might point to a logical location that represents the namespace that holds a type.", "type": "integer", "default": -1, "minimum": -1 }, "kind": { "description": "The type of construct this logical location component refers to. Should be one of 'function', 'member', 'module', 'namespace', 'parameter', 'resource', 'returnType', 'type', 'variable', 'object', 'array', 'property', 'value', 'element', 'text', 'attribute', 'comment', 'declaration', 'dtd' or 'processingInstruction', if any of those accurately describe the construct.", "type": "string" }, "properties": { "description": "Key/value pairs that provide additional information about the logical location.", "$ref": "#/definitions/propertyBag" } } }, "message": { "description": "Encapsulates a message intended to be read by the end user.", "type": "object", "additionalProperties": false, "properties": { "text": { "description": "A plain text message string.", "type": "string" }, "markdown": { "description": "A Markdown message string.", "type": "string" }, "id": { "description": "The identifier for this message.", "type": "string" }, "arguments": { "description": "An array of strings to substitute into the message string.", "type": "array", "minItems": 0, "uniqueItems": false, "default": [], "items": { "type": "string" } }, "properties": { "description": "Key/value pairs that provide additional information about the message.", "$ref": "#/definitions/propertyBag" } }, "anyOf": [ { "required": ["text"] }, { "required": ["id"] } ] }, "multiformatMessageString": { "description": "A message string or message format string rendered in multiple formats.", "type": "object", "additionalProperties": false, "properties": { "text": { "description": "A plain text message string or format string.", "type": "string" }, "markdown": { "description": "A Markdown message string or format string.", "type": "string" }, "properties": { "description": "Key/value pairs that provide additional information about the message.", "$ref": "#/definitions/propertyBag" } }, "required": ["text"] }, "node": { "description": "Represents a node in a graph.", "type": "object", "additionalProperties": false, "properties": { "id": { "description": "A string that uniquely identifies the node within its graph.", "type": "string" }, "label": { "description": "A short description of the node.", "$ref": "#/definitions/message" }, "location": { "description": "A code location associated with the node.", "$ref": "#/definitions/location" }, "children": { "description": "Array of child nodes.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/node" } }, "properties": { "description": "Key/value pairs that provide additional information about the node.", "$ref": "#/definitions/propertyBag" } }, "required": ["id"] }, "notification": { "description": "Describes a condition relevant to the tool itself, as opposed to being relevant to a target being analyzed by the tool.", "type": "object", "additionalProperties": false, "properties": { "locations": { "description": "The locations relevant to this notification.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/location" } }, "message": { "description": "A message that describes the condition that was encountered.", "$ref": "#/definitions/message" }, "level": { "description": "A value specifying the severity level of the notification.", "default": "warning", "enum": ["none", "note", "warning", "error"] }, "threadId": { "description": "The thread identifier of the code that generated the notification.", "type": "integer" }, "timeUtc": { "description": "The Coordinated Universal Time (UTC) date and time at which the analysis tool generated the notification.", "type": "string", "format": "date-time" }, "exception": { "description": "The runtime exception, if any, relevant to this notification.", "$ref": "#/definitions/exception" }, "descriptor": { "description": "A reference used to locate the descriptor relevant to this notification.", "$ref": "#/definitions/reportingDescriptorReference" }, "associatedRule": { "description": "A reference used to locate the rule descriptor associated with this notification.", "$ref": "#/definitions/reportingDescriptorReference" }, "properties": { "description": "Key/value pairs that provide additional information about the notification.", "$ref": "#/definitions/propertyBag" } }, "required": ["message"] }, "physicalLocation": { "description": "A physical location relevant to a result. Specifies a reference to a programming artifact together with a range of bytes or characters within that artifact.", "additionalProperties": false, "type": "object", "properties": { "address": { "description": "The address of the location.", "$ref": "#/definitions/address" }, "artifactLocation": { "description": "The location of the artifact.", "$ref": "#/definitions/artifactLocation" }, "region": { "description": "Specifies a portion of the artifact.", "$ref": "#/definitions/region" }, "contextRegion": { "description": "Specifies a portion of the artifact that encloses the region. Allows a viewer to display additional context around the region.", "$ref": "#/definitions/region" }, "properties": { "description": "Key/value pairs that provide additional information about the physical location.", "$ref": "#/definitions/propertyBag" } }, "anyOf": [ { "required": ["address"] }, { "required": ["artifactLocation"] } ] }, "propertyBag": { "description": "Key/value pairs that provide additional information about the object.", "type": "object", "additionalProperties": true, "properties": { "tags": { "description": "A set of distinct strings that provide additional information.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "type": "string" } } } }, "rectangle": { "description": "An area within an image.", "additionalProperties": false, "type": "object", "properties": { "top": { "description": "The Y coordinate of the top edge of the rectangle, measured in the image's natural units.", "type": "number" }, "left": { "description": "The X coordinate of the left edge of the rectangle, measured in the image's natural units.", "type": "number" }, "bottom": { "description": "The Y coordinate of the bottom edge of the rectangle, measured in the image's natural units.", "type": "number" }, "right": { "description": "The X coordinate of the right edge of the rectangle, measured in the image's natural units.", "type": "number" }, "message": { "description": "A message relevant to the rectangle.", "$ref": "#/definitions/message" }, "properties": { "description": "Key/value pairs that provide additional information about the rectangle.", "$ref": "#/definitions/propertyBag" } } }, "region": { "description": "A region within an artifact where a result was detected.", "additionalProperties": false, "type": "object", "properties": { "startLine": { "description": "The line number of the first character in the region.", "type": "integer", "minimum": 1 }, "startColumn": { "description": "The column number of the first character in the region.", "type": "integer", "minimum": 1 }, "endLine": { "description": "The line number of the last character in the region.", "type": "integer", "minimum": 1 }, "endColumn": { "description": "The column number of the character following the end of the region.", "type": "integer", "minimum": 1 }, "charOffset": { "description": "The zero-based offset from the beginning of the artifact of the first character in the region.", "type": "integer", "default": -1, "minimum": -1 }, "charLength": { "description": "The length of the region in characters.", "type": "integer", "minimum": 0 }, "byteOffset": { "description": "The zero-based offset from the beginning of the artifact of the first byte in the region.", "type": "integer", "default": -1, "minimum": -1 }, "byteLength": { "description": "The length of the region in bytes.", "type": "integer", "minimum": 0 }, "snippet": { "description": "The portion of the artifact contents within the specified region.", "$ref": "#/definitions/artifactContent" }, "message": { "description": "A message relevant to the region.", "$ref": "#/definitions/message" }, "sourceLanguage": { "description": "Specifies the source language, if any, of the portion of the artifact specified by the region object.", "type": "string" }, "properties": { "description": "Key/value pairs that provide additional information about the region.", "$ref": "#/definitions/propertyBag" } } }, "replacement": { "description": "The replacement of a single region of an artifact.", "additionalProperties": false, "type": "object", "properties": { "deletedRegion": { "description": "The region of the artifact to delete.", "$ref": "#/definitions/region" }, "insertedContent": { "description": "The content to insert at the location specified by the 'deletedRegion' property.", "$ref": "#/definitions/artifactContent" }, "properties": { "description": "Key/value pairs that provide additional information about the replacement.", "$ref": "#/definitions/propertyBag" } }, "required": ["deletedRegion"] }, "reportingDescriptor": { "description": "Metadata that describes a specific report produced by the tool, as part of the analysis it provides or its runtime reporting.", "additionalProperties": false, "type": "object", "properties": { "id": { "description": "A stable, opaque identifier for the report.", "type": "string" }, "deprecatedIds": { "description": "An array of stable, opaque identifiers by which this report was known in some previous version of the analysis tool.", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "type": "string" } }, "guid": { "description": "A unique identifier for the reporting descriptor in the form of a GUID.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, "deprecatedGuids": { "description": "An array of unique identifies in the form of a GUID by which this report was known in some previous version of the analysis tool.", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" } }, "name": { "description": "A report identifier that is understandable to an end user.", "type": "string" }, "deprecatedNames": { "description": "An array of readable identifiers by which this report was known in some previous version of the analysis tool.", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "type": "string" } }, "shortDescription": { "description": "A concise description of the report. Should be a single sentence that is understandable when visible space is limited to a single line of text.", "$ref": "#/definitions/multiformatMessageString" }, "fullDescription": { "description": "A description of the report. Should, as far as possible, provide details sufficient to enable resolution of any problem indicated by the result.", "$ref": "#/definitions/multiformatMessageString" }, "messageStrings": { "description": "A set of name/value pairs with arbitrary names. Each value is a multiformatMessageString object, which holds message strings in plain text and (optionally) Markdown format. The strings can include placeholders, which can be used to construct a message in combination with an arbitrary number of additional string arguments.", "type": "object", "additionalProperties": { "$ref": "#/definitions/multiformatMessageString" } }, "defaultConfiguration": { "description": "Default reporting configuration information.", "$ref": "#/definitions/reportingConfiguration" }, "helpUri": { "description": "A URI where the primary documentation for the report can be found.", "type": "string", "format": "uri" }, "help": { "description": "Provides the primary documentation for the report, useful when there is no online documentation.", "$ref": "#/definitions/multiformatMessageString" }, "relationships": { "description": "An array of objects that describe relationships between this reporting descriptor and others.", "type": "array", "default": [], "minItems": 0, "uniqueItems": true, "items": { "$ref": "#/definitions/reportingDescriptorRelationship" } }, "properties": { "description": "Key/value pairs that provide additional information about the report.", "$ref": "#/definitions/propertyBag" } }, "required": ["id"] }, "reportingConfiguration": { "description": "Information about a rule or notification that can be configured at runtime.", "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Specifies whether the report may be produced during the scan.", "type": "boolean", "default": true }, "level": { "description": "Specifies the failure level for the report.", "default": "warning", "enum": ["none", "note", "warning", "error"] }, "rank": { "description": "Specifies the relative priority of the report. Used for analysis output only.", "type": "number", "default": -1, "minimum": -1, "maximum": 100 }, "parameters": { "description": "Contains configuration information specific to a report.", "$ref": "#/definitions/propertyBag" }, "properties": { "description": "Key/value pairs that provide additional information about the reporting configuration.", "$ref": "#/definitions/propertyBag" } } }, "reportingDescriptorReference": { "description": "Information about how to locate a relevant reporting descriptor.", "type": "object", "additionalProperties": false, "properties": { "id": { "description": "The id of the descriptor.", "type": "string" }, "index": { "description": "The index into an array of descriptors in toolComponent.ruleDescriptors, toolComponent.notificationDescriptors, or toolComponent.taxonomyDescriptors, depending on context.", "type": "integer", "default": -1, "minimum": -1 }, "guid": { "description": "A guid that uniquely identifies the descriptor.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, "toolComponent": { "description": "A reference used to locate the toolComponent associated with the descriptor.", "$ref": "#/definitions/toolComponentReference" }, "properties": { "description": "Key/value pairs that provide additional information about the reporting descriptor reference.", "$ref": "#/definitions/propertyBag" } }, "anyOf": [ { "required": ["index"] }, { "required": ["guid"] }, { "required": ["id"] } ] }, "reportingDescriptorRelationship": { "description": "Information about the relation of one reporting descriptor to another.", "type": "object", "additionalProperties": false, "properties": { "target": { "description": "A reference to the related reporting descriptor.", "$ref": "#/definitions/reportingDescriptorReference" }, "kinds": { "description": "A set of distinct strings that categorize the relationship. Well-known kinds include 'canPrecede', 'canFollow', 'willPrecede', 'willFollow', 'superset', 'subset', 'equal', 'disjoint', 'relevant', and 'incomparable'.", "type": "array", "default": ["relevant"], "uniqueItems": true, "items": { "type": "string" } }, "description": { "description": "A description of the reporting descriptor relationship.", "$ref": "#/definitions/message" }, "properties": { "description": "Key/value pairs that provide additional information about the reporting descriptor reference.", "$ref": "#/definitions/propertyBag" } }, "required": ["target"] }, "result": { "description": "A result produced by an analysis tool.", "additionalProperties": false, "type": "object", "properties": { "ruleId": { "description": "The stable, unique identifier of the rule, if any, to which this result is relevant.", "type": "string" }, "ruleIndex": { "description": "The index within the tool component rules array of the rule object associated with this result.", "type": "integer", "default": -1, "minimum": -1 }, "rule": { "description": "A reference used to locate the rule descriptor relevant to this result.", "$ref": "#/definitions/reportingDescriptorReference" }, "kind": { "description": "A value that categorizes results by evaluation state.", "default": "fail", "enum": [ "notApplicable", "pass", "fail", "review", "open", "informational" ] }, "level": { "description": "A value specifying the severity level of the result.", "default": "warning", "enum": ["none", "note", "warning", "error"] }, "message": { "description": "A message that describes the result. The first sentence of the message only will be displayed when visible space is limited.", "$ref": "#/definitions/message" }, "analysisTarget": { "description": "Identifies the artifact that the analysis tool was instructed to scan. This need not be the same as the artifact where the result actually occurred.", "$ref": "#/definitions/artifactLocation" }, "locations": { "description": "The set of locations where the result was detected. Specify only one location unless the problem indicated by the result can only be corrected by making a change at every specified location.", "type": "array", "minItems": 0, "uniqueItems": false, "default": [], "items": { "$ref": "#/definitions/location" } }, "guid": { "description": "A stable, unique identifier for the result in the form of a GUID.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, "correlationGuid": { "description": "A stable, unique identifier for the equivalence class of logically identical results to which this result belongs, in the form of a GUID.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, "occurrenceCount": { "description": "A positive integer specifying the number of times this logically unique result was observed in this run.", "type": "integer", "minimum": 1 }, "partialFingerprints": { "description": "A set of strings that contribute to the stable, unique identity of the result.", "type": "object", "additionalProperties": { "type": "string" } }, "fingerprints": { "description": "A set of strings each of which individually defines a stable, unique identity for the result.", "type": "object", "additionalProperties": { "type": "string" } }, "stacks": { "description": "An array of 'stack' objects relevant to the result.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/stack" } }, "codeFlows": { "description": "An array of 'codeFlow' objects relevant to the result.", "type": "array", "minItems": 0, "uniqueItems": false, "default": [], "items": { "$ref": "#/definitions/codeFlow" } }, "graphs": { "description": "An array of zero or more unique graph objects associated with the result.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/graph" } }, "graphTraversals": { "description": "An array of one or more unique 'graphTraversal' objects.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/graphTraversal" } }, "relatedLocations": { "description": "A set of locations relevant to this result.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/location" } }, "suppressions": { "description": "A set of suppressions relevant to this result.", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "$ref": "#/definitions/suppression" } }, "baselineState": { "description": "The state of a result relative to a baseline of a previous run.", "enum": ["new", "unchanged", "updated", "absent"] }, "rank": { "description": "A number representing the priority or importance of the result.", "type": "number", "default": -1, "minimum": -1, "maximum": 100 }, "attachments": { "description": "A set of artifacts relevant to the result.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/attachment" } }, "hostedViewerUri": { "description": "An absolute URI at which the result can be viewed.", "type": "string", "format": "uri" }, "workItemUris": { "description": "The URIs of the work items associated with this result.", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "type": "string", "format": "uri" } }, "provenance": { "description": "Information about how and when the result was detected.", "$ref": "#/definitions/resultProvenance" }, "fixes": { "description": "An array of 'fix' objects, each of which represents a proposed fix to the problem indicated by the result.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/fix" } }, "taxa": { "description": "An array of references to taxonomy reporting descriptors that are applicable to the result.", "type": "array", "default": [], "minItems": 0, "uniqueItems": true, "items": { "$ref": "#/definitions/reportingDescriptorReference" } }, "webRequest": { "description": "A web request associated with this result.", "$ref": "#/definitions/webRequest" }, "webResponse": { "description": "A web response associated with this result.", "$ref": "#/definitions/webResponse" }, "properties": { "description": "Key/value pairs that provide additional information about the result.", "$ref": "#/definitions/propertyBag" } }, "required": ["message"] }, "resultProvenance": { "description": "Contains information about how and when a result was detected.", "additionalProperties": false, "type": "object", "properties": { "firstDetectionTimeUtc": { "description": "The Coordinated Universal Time (UTC) date and time at which the result was first detected. See \"Date/time properties\" in the SARIF spec for the required format.", "type": "string", "format": "date-time" }, "lastDetectionTimeUtc": { "description": "The Coordinated Universal Time (UTC) date and time at which the result was most recently detected. See \"Date/time properties\" in the SARIF spec for the required format.", "type": "string", "format": "date-time" }, "firstDetectionRunGuid": { "description": "A GUID-valued string equal to the automationDetails.guid property of the run in which the result was first detected.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, "lastDetectionRunGuid": { "description": "A GUID-valued string equal to the automationDetails.guid property of the run in which the result was most recently detected.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, "invocationIndex": { "description": "The index within the run.invocations array of the invocation object which describes the tool invocation that detected the result.", "type": "integer", "default": -1, "minimum": -1 }, "conversionSources": { "description": "An array of physicalLocation objects which specify the portions of an analysis tool's output that a converter transformed into the result.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/physicalLocation" } }, "properties": { "description": "Key/value pairs that provide additional information about the result.", "$ref": "#/definitions/propertyBag" } } }, "run": { "description": "Describes a single run of an analysis tool, and contains the reported output of that run.", "additionalProperties": false, "type": "object", "properties": { "tool": { "description": "Information about the tool or tool pipeline that generated the results in this run. A run can only contain results produced by a single tool or tool pipeline. A run can aggregate results from multiple log files, as long as context around the tool run (tool command-line arguments and the like) is identical for all aggregated files.", "$ref": "#/definitions/tool" }, "invocations": { "description": "Describes the invocation of the analysis tool.", "type": "array", "minItems": 0, "uniqueItems": false, "default": [], "items": { "$ref": "#/definitions/invocation" } }, "conversion": { "description": "A conversion object that describes how a converter transformed an analysis tool's native reporting format into the SARIF format.", "$ref": "#/definitions/conversion" }, "language": { "description": "The language of the messages emitted into the log file during this run (expressed as an ISO 639-1 two-letter lowercase culture code) and an optional region (expressed as an ISO 3166-1 two-letter uppercase subculture code associated with a country or region). The casing is recommended but not required (in order for this data to conform to RFC5646).", "type": "string", "default": "en-US", "pattern": "^[a-zA-Z]{2}|^[a-zA-Z]{2}-[a-zA-Z]{2}?$" }, "versionControlProvenance": { "description": "Specifies the revision in version control of the artifacts that were scanned.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/versionControlDetails" } }, "originalUriBaseIds": { "description": "The artifact location specified by each uriBaseId symbol on the machine where the tool originally ran.", "type": "object", "additionalProperties": { "$ref": "#/definitions/artifactLocation" } }, "artifacts": { "description": "An array of artifact objects relevant to the run.", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "$ref": "#/definitions/artifact" } }, "logicalLocations": { "description": "An array of logical locations such as namespaces, types or functions.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/logicalLocation" } }, "graphs": { "description": "An array of zero or more unique graph objects associated with the run.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/graph" } }, "results": { "description": "The set of results contained in an SARIF log. The results array can be omitted when a run is solely exporting rules metadata. It must be present (but may be empty) if a log file represents an actual scan.", "type": "array", "minItems": 0, "uniqueItems": false, "items": { "$ref": "#/definitions/result" } }, "automationDetails": { "description": "Automation details that describe this run.", "$ref": "#/definitions/runAutomationDetails" }, "runAggregates": { "description": "Automation details that describe the aggregate of runs to which this run belongs.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/runAutomationDetails" } }, "baselineGuid": { "description": "The 'guid' property of a previous SARIF 'run' that comprises the baseline that was used to compute result 'baselineState' properties for the run.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, "redactionTokens": { "description": "An array of strings used to replace sensitive information in a redaction-aware property.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "type": "string" } }, "defaultEncoding": { "description": "Specifies the default encoding for any artifact object that refers to a text file.", "type": "string" }, "defaultSourceLanguage": { "description": "Specifies the default source language for any artifact object that refers to a text file that contains source code.", "type": "string" }, "newlineSequences": { "description": "An ordered list of character sequences that were treated as line breaks when computing region information for the run.", "type": "array", "minItems": 1, "uniqueItems": true, "default": ["\r\n", "\n"], "items": { "type": "string" } }, "columnKind": { "description": "Specifies the unit in which the tool measures columns.", "enum": ["utf16CodeUnits", "unicodeCodePoints"] }, "externalPropertyFileReferences": { "description": "References to external property files that should be inlined with the content of a root log file.", "$ref": "#/definitions/externalPropertyFileReferences" }, "threadFlowLocations": { "description": "An array of threadFlowLocation objects cached at run level.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/threadFlowLocation" } }, "taxonomies": { "description": "An array of toolComponent objects relevant to a taxonomy in which results are categorized.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/toolComponent" } }, "addresses": { "description": "Addresses associated with this run instance, if any.", "type": "array", "minItems": 0, "uniqueItems": false, "default": [], "items": { "$ref": "#/definitions/address" } }, "translations": { "description": "The set of available translations of the localized data provided by the tool.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/toolComponent" } }, "policies": { "description": "Contains configurations that may potentially override both reportingDescriptor.defaultConfiguration (the tool's default severities) and invocation.configurationOverrides (severities established at run-time from the command line).", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/toolComponent" } }, "webRequests": { "description": "An array of request objects cached at run level.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/webRequest" } }, "webResponses": { "description": "An array of response objects cached at run level.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/webResponse" } }, "specialLocations": { "description": "A specialLocations object that defines locations of special significance to SARIF consumers.", "$ref": "#/definitions/specialLocations" }, "properties": { "description": "Key/value pairs that provide additional information about the run.", "$ref": "#/definitions/propertyBag" } }, "required": ["tool"] }, "runAutomationDetails": { "description": "Information that describes a run's identity and role within an engineering system process.", "additionalProperties": false, "type": "object", "properties": { "description": { "description": "A description of the identity and role played within the engineering system by this object's containing run object.", "$ref": "#/definitions/message" }, "id": { "description": "A hierarchical string that uniquely identifies this object's containing run object.", "type": "string" }, "guid": { "description": "A stable, unique identifier for this object's containing run object in the form of a GUID.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, "correlationGuid": { "description": "A stable, unique identifier for the equivalence class of runs to which this object's containing run object belongs in the form of a GUID.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, "properties": { "description": "Key/value pairs that provide additional information about the run automation details.", "$ref": "#/definitions/propertyBag" } } }, "specialLocations": { "description": "Defines locations of special significance to SARIF consumers.", "type": "object", "additionalProperties": false, "properties": { "displayBase": { "description": "Provides a suggestion to SARIF consumers to display file paths relative to the specified location.", "$ref": "#/definitions/artifactLocation" }, "properties": { "description": "Key/value pairs that provide additional information about the special locations.", "$ref": "#/definitions/propertyBag" } } }, "stack": { "description": "A call stack that is relevant to a result.", "additionalProperties": false, "type": "object", "properties": { "message": { "description": "A message relevant to this call stack.", "$ref": "#/definitions/message" }, "frames": { "description": "An array of stack frames that represents a sequence of calls, rendered in reverse chronological order, that comprise the call stack.", "type": "array", "minItems": 0, "uniqueItems": false, "items": { "$ref": "#/definitions/stackFrame" } }, "properties": { "description": "Key/value pairs that provide additional information about the stack.", "$ref": "#/definitions/propertyBag" } }, "required": ["frames"] }, "stackFrame": { "description": "A function call within a stack trace.", "additionalProperties": false, "type": "object", "properties": { "location": { "description": "The location to which this stack frame refers.", "$ref": "#/definitions/location" }, "module": { "description": "The name of the module that contains the code of this stack frame.", "type": "string" }, "threadId": { "description": "The thread identifier of the stack frame.", "type": "integer" }, "parameters": { "description": "The parameters of the call that is executing.", "type": "array", "minItems": 0, "uniqueItems": false, "default": [], "items": { "type": "string", "default": [] } }, "properties": { "description": "Key/value pairs that provide additional information about the stack frame.", "$ref": "#/definitions/propertyBag" } } }, "suppression": { "description": "A suppression that is relevant to a result.", "additionalProperties": false, "type": "object", "properties": { "guid": { "description": "A stable, unique identifier for the suppression in the form of a GUID.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, "kind": { "description": "A string that indicates where the suppression is persisted.", "enum": ["inSource", "external"] }, "status": { "description": "A string that indicates the review status of the suppression.", "enum": ["accepted", "underReview", "rejected"] }, "justification": { "description": "A string representing the justification for the suppression.", "type": "string" }, "location": { "description": "Identifies the location associated with the suppression.", "$ref": "#/definitions/location" }, "properties": { "description": "Key/value pairs that provide additional information about the suppression.", "$ref": "#/definitions/propertyBag" } }, "required": ["kind"] }, "threadFlow": { "description": "Describes a sequence of code locations that specify a path through a single thread of execution such as an operating system or fiber.", "type": "object", "additionalProperties": false, "properties": { "id": { "description": "An string that uniquely identifies the threadFlow within the codeFlow in which it occurs.", "type": "string" }, "message": { "description": "A message relevant to the thread flow.", "$ref": "#/definitions/message" }, "initialState": { "description": "Values of relevant expressions at the start of the thread flow that may change during thread flow execution.", "type": "object", "additionalProperties": { "$ref": "#/definitions/multiformatMessageString" } }, "immutableState": { "description": "Values of relevant expressions at the start of the thread flow that remain constant.", "type": "object", "additionalProperties": { "$ref": "#/definitions/multiformatMessageString" } }, "locations": { "description": "A temporally ordered array of 'threadFlowLocation' objects, each of which describes a location visited by the tool while producing the result.", "type": "array", "minItems": 1, "uniqueItems": false, "items": { "$ref": "#/definitions/threadFlowLocation" } }, "properties": { "description": "Key/value pairs that provide additional information about the thread flow.", "$ref": "#/definitions/propertyBag" } }, "required": ["locations"] }, "threadFlowLocation": { "description": "A location visited by an analysis tool while simulating or monitoring the execution of a program.", "additionalProperties": false, "type": "object", "properties": { "index": { "description": "The index within the run threadFlowLocations array.", "type": "integer", "default": -1, "minimum": -1 }, "location": { "description": "The code location.", "$ref": "#/definitions/location" }, "stack": { "description": "The call stack leading to this location.", "$ref": "#/definitions/stack" }, "kinds": { "description": "A set of distinct strings that categorize the thread flow location. Well-known kinds include 'acquire', 'release', 'enter', 'exit', 'call', 'return', 'branch', 'implicit', 'false', 'true', 'caution', 'danger', 'unknown', 'unreachable', 'taint', 'function', 'handler', 'lock', 'memory', 'resource', 'scope' and 'value'.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "type": "string" } }, "taxa": { "description": "An array of references to rule or taxonomy reporting descriptors that are applicable to the thread flow location.", "type": "array", "default": [], "minItems": 0, "uniqueItems": true, "items": { "$ref": "#/definitions/reportingDescriptorReference" } }, "module": { "description": "The name of the module that contains the code that is executing.", "type": "string" }, "state": { "description": "A dictionary, each of whose keys specifies a variable or expression, the associated value of which represents the variable or expression value. For an annotation of kind 'continuation', for example, this dictionary might hold the current assumed values of a set of global variables.", "type": "object", "additionalProperties": { "$ref": "#/definitions/multiformatMessageString" } }, "nestingLevel": { "description": "An integer representing a containment hierarchy within the thread flow.", "type": "integer", "minimum": 0 }, "executionOrder": { "description": "An integer representing the temporal order in which execution reached this location.", "type": "integer", "default": -1, "minimum": -1 }, "executionTimeUtc": { "description": "The Coordinated Universal Time (UTC) date and time at which this location was executed.", "type": "string", "format": "date-time" }, "importance": { "description": "Specifies the importance of this location in understanding the code flow in which it occurs. The order from most to least important is \"essential\", \"important\", \"unimportant\". Default: \"important\".", "enum": ["important", "essential", "unimportant"], "default": "important" }, "webRequest": { "description": "A web request associated with this thread flow location.", "$ref": "#/definitions/webRequest" }, "webResponse": { "description": "A web response associated with this thread flow location.", "$ref": "#/definitions/webResponse" }, "properties": { "description": "Key/value pairs that provide additional information about the threadflow location.", "$ref": "#/definitions/propertyBag" } } }, "tool": { "description": "The analysis tool that was run.", "additionalProperties": false, "type": "object", "properties": { "driver": { "description": "The analysis tool that was run.", "$ref": "#/definitions/toolComponent" }, "extensions": { "description": "Tool extensions that contributed to or reconfigured the analysis tool that was run.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/toolComponent" } }, "properties": { "description": "Key/value pairs that provide additional information about the tool.", "$ref": "#/definitions/propertyBag" } }, "required": ["driver"] }, "toolComponent": { "description": "A component, such as a plug-in or the driver, of the analysis tool that was run.", "additionalProperties": false, "type": "object", "properties": { "guid": { "description": "A unique identifier for the tool component in the form of a GUID.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, "name": { "description": "The name of the tool component.", "type": "string" }, "organization": { "description": "The organization or company that produced the tool component.", "type": "string" }, "product": { "description": "A product suite to which the tool component belongs.", "type": "string" }, "productSuite": { "description": "A localizable string containing the name of the suite of products to which the tool component belongs.", "type": "string" }, "shortDescription": { "description": "A brief description of the tool component.", "$ref": "#/definitions/multiformatMessageString" }, "fullDescription": { "description": "A comprehensive description of the tool component.", "$ref": "#/definitions/multiformatMessageString" }, "fullName": { "description": "The name of the tool component along with its version and any other useful identifying information, such as its locale.", "type": "string" }, "version": { "description": "The tool component version, in whatever format the component natively provides.", "type": "string" }, "semanticVersion": { "description": "The tool component version in the format specified by Semantic Versioning 2.0.", "type": "string" }, "dottedQuadFileVersion": { "description": "The binary version of the tool component's primary executable file expressed as four non-negative integers separated by a period (for operating systems that express file versions in this way).", "type": "string", "pattern": "[0-9]+(\\.[0-9]+){3}" }, "releaseDateUtc": { "description": "A string specifying the UTC date (and optionally, the time) of the component's release.", "type": "string" }, "downloadUri": { "description": "The absolute URI from which the tool component can be downloaded.", "type": "string", "format": "uri" }, "informationUri": { "description": "The absolute URI at which information about this version of the tool component can be found.", "type": "string", "format": "uri" }, "globalMessageStrings": { "description": "A dictionary, each of whose keys is a resource identifier and each of whose values is a multiformatMessageString object, which holds message strings in plain text and (optionally) Markdown format. The strings can include placeholders, which can be used to construct a message in combination with an arbitrary number of additional string arguments.", "type": "object", "additionalProperties": { "$ref": "#/definitions/multiformatMessageString" } }, "notifications": { "description": "An array of reportingDescriptor objects relevant to the notifications related to the configuration and runtime execution of the tool component.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/reportingDescriptor" } }, "rules": { "description": "An array of reportingDescriptor objects relevant to the analysis performed by the tool component.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/reportingDescriptor" } }, "taxa": { "description": "An array of reportingDescriptor objects relevant to the definitions of both standalone and tool-defined taxonomies.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/reportingDescriptor" } }, "locations": { "description": "An array of the artifactLocation objects associated with the tool component.", "type": "array", "minItems": 0, "default": [], "items": { "$ref": "#/definitions/artifactLocation" } }, "language": { "description": "The language of the messages emitted into the log file during this run (expressed as an ISO 639-1 two-letter lowercase language code) and an optional region (expressed as an ISO 3166-1 two-letter uppercase subculture code associated with a country or region). The casing is recommended but not required (in order for this data to conform to RFC5646).", "type": "string", "default": "en-US", "pattern": "^[a-zA-Z]{2}|^[a-zA-Z]{2}-[a-zA-Z]{2}?$" }, "contents": { "description": "The kinds of data contained in this object.", "type": "array", "uniqueItems": true, "default": ["localizedData", "nonLocalizedData"], "items": { "enum": ["localizedData", "nonLocalizedData"] } }, "isComprehensive": { "description": "Specifies whether this object contains a complete definition of the localizable and/or non-localizable data for this component, as opposed to including only data that is relevant to the results persisted to this log file.", "type": "boolean", "default": false }, "localizedDataSemanticVersion": { "description": "The semantic version of the localized strings defined in this component; maintained by components that provide translations.", "type": "string" }, "minimumRequiredLocalizedDataSemanticVersion": { "description": "The minimum value of localizedDataSemanticVersion required in translations consumed by this component; used by components that consume translations.", "type": "string" }, "associatedComponent": { "description": "The component which is strongly associated with this component. For a translation, this refers to the component which has been translated. For an extension, this is the driver that provides the extension's plugin model.", "$ref": "#/definitions/toolComponentReference" }, "translationMetadata": { "description": "Translation metadata, required for a translation, not populated by other component types.", "$ref": "#/definitions/translationMetadata" }, "supportedTaxonomies": { "description": "An array of toolComponentReference objects to declare the taxonomies supported by the tool component.", "type": "array", "minItems": 0, "uniqueItems": true, "default": [], "items": { "$ref": "#/definitions/toolComponentReference" } }, "properties": { "description": "Key/value pairs that provide additional information about the tool component.", "$ref": "#/definitions/propertyBag" } }, "required": ["name"] }, "toolComponentReference": { "description": "Identifies a particular toolComponent object, either the driver or an extension.", "type": "object", "additionalProperties": false, "properties": { "name": { "description": "The 'name' property of the referenced toolComponent.", "type": "string" }, "index": { "description": "An index into the referenced toolComponent in tool.extensions.", "type": "integer", "default": -1, "minimum": -1 }, "guid": { "description": "The 'guid' property of the referenced toolComponent.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, "properties": { "description": "Key/value pairs that provide additional information about the toolComponentReference.", "$ref": "#/definitions/propertyBag" } } }, "translationMetadata": { "description": "Provides additional metadata related to translation.", "type": "object", "additionalProperties": false, "properties": { "name": { "description": "The name associated with the translation metadata.", "type": "string" }, "fullName": { "description": "The full name associated with the translation metadata.", "type": "string" }, "shortDescription": { "description": "A brief description of the translation metadata.", "$ref": "#/definitions/multiformatMessageString" }, "fullDescription": { "description": "A comprehensive description of the translation metadata.", "$ref": "#/definitions/multiformatMessageString" }, "downloadUri": { "description": "The absolute URI from which the translation metadata can be downloaded.", "type": "string", "format": "uri" }, "informationUri": { "description": "The absolute URI from which information related to the translation metadata can be downloaded.", "type": "string", "format": "uri" }, "properties": { "description": "Key/value pairs that provide additional information about the translation metadata.", "$ref": "#/definitions/propertyBag" } }, "required": ["name"] }, "versionControlDetails": { "description": "Specifies the information necessary to retrieve a desired revision from a version control system.", "type": "object", "additionalProperties": false, "properties": { "repositoryUri": { "description": "The absolute URI of the repository.", "type": "string", "format": "uri" }, "revisionId": { "description": "A string that uniquely and permanently identifies the revision within the repository.", "type": "string" }, "branch": { "description": "The name of a branch containing the revision.", "type": "string" }, "revisionTag": { "description": "A tag that has been applied to the revision.", "type": "string" }, "asOfTimeUtc": { "description": "A Coordinated Universal Time (UTC) date and time that can be used to synchronize an enlistment to the state of the repository at that time.", "type": "string", "format": "date-time" }, "mappedTo": { "description": "The location in the local file system to which the root of the repository was mapped at the time of the analysis.", "$ref": "#/definitions/artifactLocation" }, "properties": { "description": "Key/value pairs that provide additional information about the version control details.", "$ref": "#/definitions/propertyBag" } }, "required": ["repositoryUri"] }, "webRequest": { "description": "Describes an HTTP request.", "type": "object", "additionalProperties": false, "properties": { "index": { "description": "The index within the run.webRequests array of the request object associated with this result.", "type": "integer", "default": -1, "minimum": -1 }, "protocol": { "description": "The request protocol. Example: 'http'.", "type": "string" }, "version": { "description": "The request version. Example: '1.1'.", "type": "string" }, "target": { "description": "The target of the request.", "type": "string" }, "method": { "description": "The HTTP method. Well-known values are 'GET', 'PUT', 'POST', 'DELETE', 'PATCH', 'HEAD', 'OPTIONS', 'TRACE', 'CONNECT'.", "type": "string" }, "headers": { "description": "The request headers.", "type": "object", "additionalProperties": { "type": "string" } }, "parameters": { "description": "The request parameters.", "type": "object", "additionalProperties": { "type": "string" } }, "body": { "description": "The body of the request.", "$ref": "#/definitions/artifactContent" }, "properties": { "description": "Key/value pairs that provide additional information about the request.", "$ref": "#/definitions/propertyBag" } } }, "webResponse": { "description": "Describes the response to an HTTP request.", "type": "object", "additionalProperties": false, "properties": { "index": { "description": "The index within the run.webResponses array of the response object associated with this result.", "type": "integer", "default": -1, "minimum": -1 }, "protocol": { "description": "The response protocol. Example: 'http'.", "type": "string" }, "version": { "description": "The response version. Example: '1.1'.", "type": "string" }, "statusCode": { "description": "The response status code. Example: 451.", "type": "integer" }, "reasonPhrase": { "description": "The response reason. Example: 'Not found'.", "type": "string" }, "headers": { "description": "The response headers.", "type": "object", "additionalProperties": { "type": "string" } }, "body": { "description": "The body of the response.", "$ref": "#/definitions/artifactContent" }, "noResponseReceived": { "description": "Specifies whether a response was received from the server.", "type": "boolean", "default": false }, "properties": { "description": "Key/value pairs that provide additional information about the response.", "$ref": "#/definitions/propertyBag" } } } }, "description": "Static Analysis Results Format (SARIF) Version 2.1.0-rtm.5 JSON Schema: a standard format for the output of static analysis tools.", "properties": { "$schema": { "description": "The URI of the JSON schema corresponding to the version.", "type": "string", "format": "uri" }, "version": { "description": "The SARIF format version of this log file.", "enum": ["2.1.0"] }, "runs": { "description": "The set of runs contained in this log file.", "type": "array", "minItems": 0, "uniqueItems": false, "items": { "$ref": "#/definitions/run" } }, "inlineExternalProperties": { "description": "References to external property files that share data between runs.", "type": "array", "minItems": 0, "uniqueItems": true, "items": { "$ref": "#/definitions/externalProperties" } }, "properties": { "description": "Key/value pairs that provide additional information about the log file.", "$ref": "#/definitions/propertyBag" } }, "required": ["version", "runs"], "title": "Static Analysis Results Format (SARIF) Version 2.1.0-rtm.5 JSON Schema", "type": "object" }
sarif-2
{ "$schema": "http://json-schema.org/draft-04/schema#", "properties": { "date": { "description": "The time at which the traits were measured", "type": "string" }, "description": { "description": "A longer description of the trait", "type": "string" }, "id": { "description": "Integer data. Ex: 2673", "type": "integer" }, "latitude": { "description": "Latitude", "type": "string" }, "longitude": { "description": "Longitude", "type": "string" }, "name": { "description": "The name of the measured trait", "type": "string" }, "owner": { "description": "A single related resource. Can be either a URI or set of nested resource data.", "type": "string" }, "resource_uri": { "description": "Unicode string data. Ex: \"Hello World\"", "type": "string" }, "units": { "description": "Units in which the trait was measured", "type": "string" }, "value": { "description": "The value of the trait", "type": "string" } }, "required": [ "name", "owner", "value" ], "title": "Schema for trait objects", "type": "object" }
o58607