json_schema
stringlengths
43
1.28M
unique_id
stringlengths
2
41
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "required": [ "ResourceId", "ScalableDimension", "ServiceNamespace" ], "properties": { "ResourceId": { "type": "string" }, "ScalableDimension": { "type": "string" }, "ServiceNamespace": { "type": "string" }, "PolicyType": { "type": "string" }, "StepScalingPolicyConfiguration": { "type": "object" } } }
o25106
{ "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_api_discovery_v1beta1_Endpoint": { "description": "Endpoint represents a single logical \"backend\" implementing a service.", "properties": { "addresses": { "description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.", "items": { "type": "string" }, "type": "array", "x-kubernetes-list-type": "set" }, "conditions": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_discovery_v1beta1_EndpointConditions", "description": "conditions contains information about the current status of the endpoint." }, "hostname": { "description": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must pass DNS Label (RFC 1123) validation.", "type": "string" }, "targetRef": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ObjectReference", "description": "targetRef is a reference to a Kubernetes object that represents this endpoint." }, "topology": { "additionalProperties": { "type": "string" }, "description": "topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node\n where the endpoint is located. This should match the corresponding\n node label.\n* topology.kubernetes.io/zone: the value indicates the zone where the\n endpoint is located. This should match the corresponding node label.\n* topology.kubernetes.io/region: the value indicates the region where the\n endpoint is located. This should match the corresponding node label.", "type": "object" } }, "required": [ "addresses" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_discovery_v1beta1_EndpointConditions": { "description": "EndpointConditions represents the current condition of an endpoint.", "properties": { "ready": { "description": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready.", "type": "boolean" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_discovery_v1beta1_EndpointPort": { "description": "EndpointPort represents a Port used by an EndpointSlice", "properties": { "appProtocol": { "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol.", "type": "string" }, "name": { "description": "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string.", "type": "string" }, "port": { "_format": "int32", "description": "The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer.", "type": "integer" }, "protocol": { "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.", "type": "string" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_discovery_v1beta1_EndpointSlice": { "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", "properties": { "addressType": { "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.", "type": "string" }, "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" }, "endpoints": { "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_discovery_v1beta1_Endpoint" }, "type": "array", "x-kubernetes-list-type": "atomic" }, "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": [ "EndpointSlice" ], "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." }, "ports": { "description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_discovery_v1beta1_EndpointPort" }, "type": "array", "x-kubernetes-list-type": "atomic" } }, "required": [ "addressType", "endpoints" ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "discovery.k8s.io", "kind": "EndpointSlice", "version": "v1beta1" } ] }, "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": "EndpointSliceList represents a list of endpoint slices", "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" ] }, "items": { "description": "List of endpoint slices", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_discovery_v1beta1_EndpointSlice" }, "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": [ "EndpointSliceList" ], "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." } }, "required": [ "items" ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "discovery.k8s.io", "kind": "EndpointSliceList", "version": "v1beta1" } ] }
kb_311_Normalized
{ "title": "From Parameter JQ Publisher", "required": [ "publisher_type" ], "additionalProperties": false, "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "tryExact": { "default": true, "type": "boolean" }, "publisher_type": { "enum": [ "fromparjq-pub" ], "type": "string" }, "glob": { "default": false, "type": "boolean" }, "relative_paths": { "default": false, "type": "boolean" }, "script": { "default": ".", "type": "string" } } }
o66163
{ "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "dog": { "type": "string", "maxLength": 10 } }, "properties": { "dog": { "$ref": "#/definitions/dog" } }, "required": [ "dog" ] }
o41665
{ "properties": { "dimensions": { "description": "The dimensions of the shape", "properties": { "base": { "description": "The base of the triangle", "type": "number" }, "height": { "description": "The height of the triangle", "type": "number" }, "length": { "description": "The length of the rectangle or square", "type": "number" }, "radius": { "description": "The radius of the circle", "type": "number" }, "width": { "description": "The width of the rectangle", "type": "number" } }, "required": [ "radius" ], "type": "object" }, "shape": { "description": "The shape for which the area needs to be calculated", "enum": [ "circle", "rectangle", "triangle", "square" ], "type": "string" } }, "required": [ "shape", "dimensions" ], "type": "object" }
calculate_area_173b983f
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "ipv4-address", "type": "object", "allOf": [ { "properties": { "address": { "type": "string" } } } ], "tlo": false }
o51227
{ "properties": { "date": { "description": "The departure date", "type": "string" }, "departure": { "description": "The departure airport", "type": "string" }, "destination": { "description": "The destination airport", "type": "string" }, "flight_number": { "description": "The flight number", "type": "string" }, "passengers": { "description": "The number of passengers", "type": "integer" } }, "required": [ "flight_number", "departure", "destination", "date", "passengers" ], "type": "object" }
book_flight_5ede04d0
{ "description": "Description of MyObject, a top level object,\nwhich also has a comment that spans\nmultiple lines", "additionalProperties": false, "type": "object", "properties": { "opacity": { "type": "number", "description": "Description of opacity, a field with min/max values", "minimum": 0, "maximum": 100 }, "position": { "description": "Description of field position, of aliased type Vector3D, which should inherit its annotations", "minItems": 3, "maxItems": 3, "type": "array", "items": { "type": "number" } }, "rotation": { "type": "object", "properties": { "yaw": { "type": "number", "description": "Description of the value yaw inside an anonymous type, with min/max annotations", "minimum": -90, "maximum": 90 } }, "required": [ "yaw" ], "description": "Description of rotation, a field with an anonymous type" } }, "required": [ "opacity", "position", "rotation" ], "$schema": "http://json-schema.org/draft-04/schema#" }
o25945
{ "$schema": "http://json-schema.org/draft-06/schema#", "title": "Geniventure Authoring", "description": "Geniventure's authoring document", "type": "object", "properties": { "application": { "description": "Configuration for the levels and missions that comprise the application", "type": "object", "properties": { "levels": { "description": "Configuration for the levels that comprise the application", "type": "array", "items": { "description": "Each entry corresponds to a level", "type": "object", "properties": { "missions": { "description": "Configuration for the missions that comprise the level", "type": "array", "items": { "description": "Each entry corresponds to a mission", "type": "object", "properties": { "challenges": { "description": "The list of challenges provided by this mission", "type": "array", "items": { "description": "Each entry corresponds to a challenge", "type": "object", "properties": { "about": { "description": "Information about the challenge", "type": "object", "properties": { "description": { "description": "A description of the challenge", "type": "string" }, "tip": { "description": "A hint provided to the user", "type": "string" }, "type": { "description": "The type of the challenge", "type": "string" } }, "required": [ "description", "type" ], "additionalProperties": false }, "dialog": { "description": "The dialog spoken by the characters during the challenge", "type": "object", "properties": { "end": { "$ref": "#/definitions/endDialogSequence" }, "start": { "$ref": "#/definitions/dialogSequence" } }, "required": [ "end", "start" ], "additionalProperties": false }, "id": { "description": "The ID of the challenge, which should correspond to an ID in the challenges map", "type": "string" }, "name": { "description": "The name of the challenge", "type": "string" }, "room": { "$ref": "#/definitions/room" } }, "required": [ "about", "dialog", "id", "name", "room" ], "additionalProperties": false } }, "dialog": { "description": "The dialog text spoken by the characters in the mission", "type": "object", "properties": { "end": { "$ref": "#/definitions/dialogSequence" }, "middle": { "$ref": "#/definitions/dialogSequence" }, "start": { "$ref": "#/definitions/dialogSequence" } }, "required": [ "end", "middle", "start" ], "additionalProperties": false }, "name": { "description": "The name of the mission", "type": "string" } }, "required": [ "challenges", "dialog", "name" ] } }, "name": { "description": "The name of the mission", "type": "string" } }, "required": [ "missions", "name" ], "additionalProperties": false } } }, "required": [ "levels" ], "additionalProperties": false }, "challenges": { "description": "Configuration of the challenges provided by the application", "type": "object", "patternProperties": { "^.+$": { "description": "Each entry represents a challenge", "type": "object", "oneOf": [ { "$ref": "#/definitions/challenge" }, { "$ref": "#/definitions/ClutchGame" }, { "$ref": "#/definitions/FVEggGame" }, { "$ref": "#/definitions/FVEggSortGame" }, { "$ref": "#/definitions/FVGenomeChallenge" } ] } } }, "rooms": { "description": "Configuration of the locations available within the application", "type": "object", "patternProperties": { "^.+$": { "description": "Each entry represents a room", "type": "object", "properties": { "defaultCharacter": { "description": "The narrative character present by default in the room", "type": "string" }, "name": { "description": "The name of the room", "type": "string" } }, "required": [ "name" ] } }, "additionalProperties": false } }, "required": [ "application", "challenges", "rooms" ], "additionalProperties": false, "definitions": { "biologicaAlleles": { "description": "A set of alleles that can be used to specify an organism in the 'a:b:' format used by BioLogica", "comment": "Note that this excludes the A2 allele which is not used by Geniventure.", "type": "string", "pattern": "^(((a|b):(T|Tk|t|M|m|W|w|H|h|C|c|Fl|fl|Hl|hl|A1|a|B|b|D|d|Rh|rh|Bog|bog))|,)*$" }, "biologicaDashAlleles": { "description": "A set of alleles that can be used to specify an organism in the 'a-a' format", "comment": "Note that this excludes the A2 allele which is not used by Geniventure.", "type": "string", "pattern": "^(((T|Tk|t)?-(T|Tk|t)?)|((M|m)?-(M|m)?)|((W|w)?-(W|w)?)|((H|h)?-(H|h)?)|((C|c)?-(C|c)?)|((Fl|fl)?-(Fl|fl)?)|((Hl|hl)?-(Hl|hl)?)|((A1|a)?-(A1|a)?)|((B|b)?-(B|b)?)|((D|d)?-(D|d)?)|((Rh|rh)?-(Rh|rh)?)|((Bog|bog)?-(Bog|bog)?)|(, ))*$" }, "biologicaSex": { "description": "Numeric value to indicate sex -- 0: male, 1: female", "type": "number", "enum": [ 0, 1 ] }, "challenge": { "description": "Configuration of an individual challenge", "type": "object", "properties": { "linkedGenes": { "$ref": "#/definitions/linkedGenes" }, "template": { "$ref": "#/definitions/template" }, "patternProperties": { "^.+$": { "description": "Challenge properties are defined by the template and vary among challenges." } } }, "required": [ "template" ], "additionalProperties": true }, "character": { "description": "The name of the character", "type": "string", "enum": [ "ELLIS", "HATCH", "HERRERA", "NETANYA", "RAJPUT", "WEAVER", "YEUNG" ] }, "ClutchGame": { "description": "A challenge that uses the ClutchGame template", "type": "object", "properties": { "challengeType": { "description": "The type of challenge", "type": "string", "enum": [ "match-target", "submit-parents", "test-cross" ] }, "comment": { "description": "A description of the challenge", "type": "string" }, "container": { "description": "The container for the challenge", "type": "string", "enum": [ "FVContainer" ] }, "father": { "description": "Specifies the father's genetics", "type": "array", "items": { "$ref": "#/definitions/dashDrakeOrRandomMatched" } }, "goalMoves": { "type": "array", "items": { "$ref": "#/definitions/goalMovesOrArray" } }, "hiddenAlleles": { "$ref": "#/definitions/hiddenAlleles" }, "hiddenParent": { "description": "Attributes of the hidden parent", "type": "object", "properties": { "hiddenGenotype": { "description": "Whether to hide the genotype of the parent", "type": "boolean" }, "sex": { "$ref": "#/definitions/biologicaSex" } } }, "linkedGenes": { "$ref": "#/definitions/linkedGenes" }, "mother": { "description": "Specifies the mother's genetics", "type": "array", "items": { "$ref": "#/definitions/dashDrakeOrRandomMatched" } }, "targetDrakes": { "description": "Specifies the target drake's genetics", "type": "array", "items": { "$ref": "#/definitions/dashDrakeOrRandomMatched" } }, "template": { "type": "string", "enum": [ "ClutchGame" ] }, "userChangeableGenes": { "description": "The genes the user can manipulate for each parent in the trial", "type": "array", "items": { "description": "The genes the user can manipulate within a single trial", "type": "object", "properties": { "father": { "$ref": "#/definitions/genesString" }, "mother": { "$ref": "#/definitions/genesString" } }, "required": [ "father", "mother" ], "additionalProperties": false } }, "visibleGenes": { "$ref": "#/definitions/genes" } }, "required": [ "challengeType", "container", "father", "goalMoves", "hiddenAlleles", "template", "userChangeableGenes" ], "additionalProperties": false }, "dialogSequence": { "description": "A sequence of spoken dialog items", "type": "array", "items": { "description": "Each item corresponds to a piece of dialog from one of the characters", "type": "object", "properties": { "character": { "$ref": "#/definitions/character" }, "text": { "description": "The text spoken by the character", "type": "string" } }, "required": [ "character", "text" ], "additionalProperties": false } }, "dashDrake": { "description": "Specification for a drake using dash alleles format", "type": "object", "properties": { "alleles": { "$ref": "#/definitions/biologicaDashAlleles" }, "sex": { "$ref": "#/definitions/biologicaSex" } }, "required": [ "alleles" ], "additionalProperties": false }, "dashDrakeOrRandomMatched": { "description": "A drake or a set of drakes from which one is to be randomly selected.", "oneOf": [ { "$ref": "#/definitions/dashDrake" }, { "$ref": "#/definitions/dashDrakeRandomMatched" } ] }, "dashDrakeRandomMatched": { "description": "Specification for a set of drakes from which one is to be randomly selected.", "type": "object", "properties": { "randomMatched": { "description": "The set of drakes from which one is to be randomly selected.", "type": "array", "items": { "oneOf": [ { "$ref": "#/definitions/dashDrake" }, { "type": "array", "items": { "$ref": "#/definitions/dashDrake" } } ] } } }, "required": [ "randomMatched" ], "additionalProperties": false }, "drake": { "description": "Specification for a drake using BioLogica alleles format", "type": "object", "properties": { "alleles": { "$ref": "#/definitions/biologicaAlleles" }, "sex": { "$ref": "#/definitions/biologicaSex" } }, "required": [ "alleles" ], "additionalProperties": false }, "drakeOrArray": { "description": "Specification for a single drake or an array of drakes", "oneOf": [ { "$ref": "#/definitions/drake" }, { "type": "array", "items": { "$ref": "#/definitions/drake" } } ] }, "drakeOrRandomMatched": { "description": "A drake or a set of drakes from which one is to be randomly selected.", "oneOf": [ { "$ref": "#/definitions/drake" }, { "$ref": "#/definitions/drakeRandomMatched" } ] }, "drakeRandomMatched": { "description": "Specification for a set of drakes from which one is to be randomly selected.", "type": "object", "properties": { "randomMatched": { "description": "The set of drakes from which one is to be randomly selected.", "type": "array", "items": { "$ref": "#/definitions/drake" } } }, "required": [ "randomMatched" ], "additionalProperties": false }, "endDialogSequence": { "description": "Alternative dialog sequences spoken at the end of a challenge or mission", "type": "object", "properties": { "failure": { "$ref": "#/definitions/dialogSequence" }, "success": { "$ref": "#/definitions/dialogSequence" } }, "required": [ "failure", "success" ], "additionalProperties": false }, "FVEggGame": { "description": "A challenge that uses the FVEggGame template", "type": "object", "properties": { "challengeType": { "type": "string", "enum": [ "create-unique", "match-target" ] }, "comment": { "description": "A descriptive comment for the challenge", "type": "string" }, "container": { "description": "The container for the challenge", "type": "string", "enum": [ "FVContainer" ] }, "father": { "$ref": "#/definitions/drakeOrRandomMatched" }, "gameteCounts": { "description": "Array of gamete counts for each trial. Each entry is number of parent gametes in form [father, mother].", "type": "array", "items": { "type": "array", "items": { "type": "number" } } }, "instructions": { "description": "Instructions presented to the user", "type": "string" }, "interactionType": { "description": "Whether the user is to select chromosomes or gametes.", "type": "string", "enum": [ "select-chromosomes", "select-gametes" ] }, "mother": { "$ref": "#/definitions/drakeOrRandomMatched" }, "numTrials": { "description": "The number of trials in this challenge", "type": "integer", "minimum": 1 }, "showIntroductionAnimations": { "description": "Whether to show/hide the introductory animations", "type": "boolean" }, "showUserDrake": { "description": "Whether the user drake is shown or hidden", "type": "boolean" }, "targetDrakes": { "description": "Constraints on the generated target drakes", "type": "array", "items": { "$ref": "#/definitions/drakeOrRandomMatched" } }, "template": { "type": "string", "enum": [ "FVEggGame" ] }, "visibleGenes": { "$ref": "#/definitions/genes" } }, "required": [ "challengeType", "container", "father", "interactionType", "mother", "numTrials", "showUserDrake", "template", "visibleGenes" ], "additionalProperties": false }, "FVEggSortGame": { "description": "A challenge that uses the FVEggSortGame template", "type": "object", "properties": { "baskets": { "type": "array", "items": { "type": "object", "properties": { "alleles": { "type": "array", "items": { "$ref": "#/definitions/biologicaAlleles" } }, "label": { "type": "string" }, "sex": { "$ref": "#/definitions/biologicaSex" } }, "required": [ "alleles", "label" ], "additionalProperties": false } }, "comment": { "type": "string" }, "container": { "type": "string", "enum": [ "FVContainer" ] }, "template": { "description": "The template identifies the React component that implements the challenge", "type": "string", "enum": [ "FVEggSortGame" ] }, "trialGenerator": { "type": "object", "properties": { "baseDrake": { "$ref": "#/definitions/biologicaAlleles" }, "drakes": { "type": "array", "items": { "$ref": "#/definitions/drake" } }, "type": { "type": "string", "enum": [ "randomize-order" ] } }, "required": [ "baseDrake", "drakes", "type" ], "additionalProperties": false }, "visibleGenes": { "$ref": "#/definitions/genes" } }, "required": [ "baskets", "container", "template", "trialGenerator" ], "additionalProperties": false }, "FVGenomeChallenge": { "description": "A challenge that uses the FVGenomeChallenge template", "type": "object", "properties": { "challengeType": { "type": "string", "enum": [ "create-unique", "match-target" ] }, "comment": { "type": "string" }, "container": { "type": "string", "enum": [ "FVContainer" ] }, "hiddenAlleles": { "$ref": "#/definitions/hiddenAlleles" }, "initialDrake": { "description": "Specifies a single drake or an array of drakes", "oneOf": [ { "$ref": "#/definitions/drake" }, { "type": "array", "items": { "$ref": "#/definitions/drake" } } ] }, "instructions": { "description": "Instructions displayed to the user", "type": "string" }, "linkedGenes": { "$ref": "#/definitions/linkedGenes" }, "numTrials": { "description": "The number of trials", "type": "integer", "minimum": 1 }, "randomizeTrials": { "description": "Whether the order of the trials should be randomized", "type": "boolean" }, "showDrakeColorHint": { "description": "Whether to show text next to a drake image to describe the color (copper, lava, etc)", "type": "boolean" }, "showUserDrake": { "description": "Whether the user's drake should be visible", "type": "boolean" }, "targetDrakes": { "description": "Specifies the target drakes to be matched", "type": "array", "items": { "$ref": "#/definitions/drake" } }, "template": { "type": "string", "enum": [ "FVGenomeChallenge" ] }, "trialGenerator": { "description": "Specifies the randomization of the trials", "type": "object", "properties": { "baseDrake": { "$ref": "#/definitions/biologicaAlleles" }, "initialDrakeCombos": { "description": "Specifies the combinations of alleles used to generated the initial drakes", "type": "array", "items": { "description": "Specifies a set of alleles, one of which is to be randomly selected", "type": "array", "items": { "$ref": "#/definitions/biologicaAlleles" } } }, "targetDrakeCombos": { "description": "Specifies the combinations of alleles used to generated the target drakes", "type": "array", "items": { "description": "Specifies a set of alleles, one of which is to be randomly selected", "type": "array", "items": { "$ref": "#/definitions/biologicaAlleles" } } }, "type": { "description": "The type of randomization used to generate the trials", "type": "string", "enum": [ "all-combinations" ] } }, "required": [ "baseDrake", "initialDrakeCombos", "targetDrakeCombos", "type" ], "additionalProperties": false }, "userChangeableGenes": { "$ref": "#/definitions/genes" }, "visibleGenes": { "$ref": "#/definitions/genes" } }, "required": [ "challengeType", "container", "showUserDrake", "template", "userChangeableGenes" ], "additionalProperties": false }, "genes": { "description": "An array of gene strings or a string containing a comma-separated list of genes", "oneOf": [ { "$ref": "#/definitions/genesArray" }, { "$ref": "#/definitions/genesString" } ] }, "genesArray": { "description": "An array of gene strings", "type": "array", "items": { "type": "string", "enum": [ "tail", "metallic", "wings", "horns", "color", "black", "forelimbs", "hindlimbs", "armor", "dilute", "bogbreath", "nose" ] } }, "genesString": { "description": "A comma-separated list of gene strings", "type": "string", "pattern": "^(tail|metallic|wings|horns|color|black|forelimbs|hindlimbs|armor|dilute|bogbreath|nose|(, ))*$" }, "goalMovesArray": { "description": "The number of moves required to match multiple targets", "type": "array", "items": { "$ref": "#/definitions/goalMovesSingle" } }, "goalMovesOrArray": { "oneOf": [ { "$ref": "#/definitions/goalMovesSingle" }, { "$ref": "#/definitions/goalMovesArray" } ] }, "goalMovesSingle": { "description": "The number of moves required to match the target", "type": "integer", "minimum": 0 }, "hiddenAlleles": { "description": "A list of alleles that should not be selectable by the user", "type": "string", "pattern": "^((T|Tk|t|M|m|W|w|H|h|C|c|Fl|fl|Hl|hl|A1|A2|a|B|b|D|d|Rh|rh|Bog|bog)|,)*$" }, "linkedGenes": { "description": "Specifies genes that should be synchronized between multiple drakes for one or more trials", "oneOf": [ { "$ref": "#/definitions/linkedGenesTrial" }, { "type": "array", "items": { "$ref": "#/definitions/linkedGenesTrial" } } ] }, "linkedGenesTrial": { "description": "Specifies genes that should be synchronized between multiple drakes", "type": "object", "properties": { "drakes": { "description": "Specifies the drakes that should be linked by their indices", "type": "array", "items": { "description": "Indices of the drakes to be linked", "type": "number" } }, "genes": { "$ref": "#/definitions/genes" }, "minChanges": { "description": "The minimum number of allele changes required to match the drakes after linking genes", "type": "integer", "minimum": 0 } } }, "room": { "description": "The room/location of the challenge", "type": "string", "enum": [ "breedingbarn", "hatchery", "home", "simroom", "zoomroom" ] }, "template": { "description": "The template identifies the React component that implements the challenge", "type": "string", "enum": [ "EggGame", "EggSortGame", "GenomeChallenge", "GenomePlayground", "ZoomChallenge" ] } } }
o33032
{ "$schema": "http://json-schema.org/draft-04/schema#", "description": "Schema for GeoBlacklight. See https://github.com/geoblacklight/geoblacklight/wiki/Schema for more details.", "id": "http://geoblacklight.org/v1.0/schema", "title": "GeoBlacklight Schema", "definitions": { "layer": { "title": "layer", "description": "A GIS data layer. See [this example](https://github.com/OpenGeoMetadata/edu.stanford.purl/blob/master/bb/099/zb/1450/geoblacklight.json) metadata layer.", "type": "object", "required": [ "dc_title_s", "dc_identifier_s", "dc_rights_s", "dct_provenance_s", "layer_slug_s", "solr_geom" ], "properties": { "uuid": { "type": "string", "description": "*DEPRECATED* (use `dc_identifier_s`): Unique identifier for layer that is globally unique.", "example": "http://purl.stanford.edu/vr593vj7147" }, "dc_identifier_s": { "type": "string", "description": "Unique identifier for layer as a URI. It should be globally unique across all institutions, assumed not to be end-user visible, and is usually of the form `http://institution/id`. See https://github.com/geoblacklight/geoblacklight/wiki/Schema for more detailed documentation.", "example": "http://purl.stanford.edu/vr593vj7147" }, "dc_title_s": { "type": "string", "description": "Title for the layer.", "example": "My Title" }, "dc_description_s": { "type": "string", "description": "Description for the layer. *Optional*", "example": "My Description" }, "dc_rights_s": { "type": "string", "enum": [ "Public", "Restricted" ], "description": "Access rights for the layer." }, "dct_provenance_s": { "type": "string", "description": "Institution who holds the layer.", "example": "Stanford" }, "dct_references_s": { "type": "string", "description": "External resources that are available for the layer. The value is a JSON hash where each key is a URI for the protocol or format, and the value is the URL to the external resource. See `dct_references_s` [detailed documentation](http://geoblacklight.org/tutorial/2015/02/09/geoblacklight-overview.html). *Optional*", "pattern": "\\{.*\\}", "example": "{ ... }" }, "georss_box_s": { "type": "string", "description": "*DEPRECATED* (use `solr_geom`): Bounding box for the layer, as maximum values for S W N E.", "example": "12.6 -119.4 19.9 84.8" }, "layer_id_s": { "type": "string", "description": "The complete identifier for the layer via WMS/WFS/WCS protocol. *Optional*", "example": "druid:vr593vj7147" }, "layer_geom_type_s": { "type": "string", "enum": [ "Point", "Line", "Polygon", "Raster", "Scanned Map", "Image", "Mixed" ], "description": "Geometry type for layer data, using controlled vocabulary. *Optional*" }, "layer_modified_dt": { "type": "string", "format": "date-time", "description": "Last modification date for the metadata record, using XML Schema dateTime format (YYYY-MM-DDThh:mm:ssZ). *Optional*" }, "layer_slug_s": { "type": "string", "description": "Identifies a layer in human-readable keywords. Note this value is visible to the user, and used for Permalinks. The value should be alpha-numeric characters separated by dashes, and is typically of the form `institution-keyword1-keyword2`. It should also be globally unique across all institutions in *your* GeoBlacklight index. See https://github.com/geoblacklight/geoblacklight/wiki/Schema for more detailed documentation.", "pattern": "^[-a-zA-Z0-9]+$", "example": "stanford-andhra-pradesh-village-boundaries" }, "solr_geom": { "type": "string", "pattern": "ENVELOPE(.*,.*,.*,.*)", "description": "Bounding box of the layer as a ENVELOPE WKT (from the CQL standard) using coordinates in (West, East, North, South) order. Note that this field is indexed as a Solr spatial (RPT) field.", "example": "ENVELOPE(76.76, 84.76, 19.91, 12.62)" }, "solr_year_i": { "type": "integer", "description": "*DEPRECATED* (only used by the Blacklight range plugin, not core GeoBlacklight, and generally you want a multi-valued field here): *Derived from* `dct_temporal_sm`. Year for which layer is valid and only a single value. Note that this field is indexed as a Solr numeric field.", "example": "1989" }, "dc_creator_sm": { "type": "array", "items": { "type": "string" }, "description": "Author(s) of the layer. *Optional*", "example": "George Washington, Thomas Jefferson" }, "dc_format_s": { "type": "string", "description": "File format for the layer, ideally using a controlled vocabulary. *Optional*", "example": "Shapefile, GeoTIFF, ArcGRID" }, "dc_language_s": { "type": "string", "description": "Language for the layer. *Optional*. Note that future versions of the schema may make this a multi-valued field.", "example": "English" }, "dc_publisher_s": { "type": "string", "description": "Publisher of the layer. *Optional*", "example": "ML InfoMap" }, "dc_subject_sm": { "type": "array", "items": { "type": "string" }, "description": "Subjects for the layer, preferrably in a controlled vocabulary. *Optional*", "example": "Census, Human settlements" }, "dc_type_s": { "type": "string", "enum": [ "Dataset", "Image", "PhysicalObject" ], "description": "Resource type of the layer, using DCMI Type Vocabulary, usually a `Dataset`. *Optional*" }, "dct_spatial_sm": { "type": "array", "items": { "type": "string" }, "description": "Spatial coverage and place names for the layer, preferrably in a controlled vocabulary. *Optional*", "example": "Paris, San Francisco" }, "dct_temporal_sm": { "type": "array", "items": { "type": "string" }, "description": "Temporal coverage for the layer, typically years or dates. Note that this field is not in a specific date format. *Optional*", "example": "1989, circa 2010, 2007-2009" }, "dct_issued_dt": { "type": "string", "format": "date-time", "description": "Issued date for the layer, using XML Schema dateTime format (YYYY-MM-DDThh:mm:ssZ). *Optional*" }, "dct_isPartOf_sm": { "type": "array", "items": { "type": "string" }, "description": "Holding entity for the layer, such as the title of a collection. *Optional*", "example": "Village Maps of India" }, "georss_point_s": { "type": "string", "description": "*DEPRECATED* (use `georss_box_s`): Point representation for layer as y, x - i.e., centroid", "example": "12.6 -119.4" }, "dc_relation_sm": { "type": "array", "items": { "type": "string" }, "description": "*DEPRECATED* (use `dct_isPartOf_sm`). A reference to a related resource for this layer. *Optional*", "example": "http://purl.stanford.edu/vr593vj7147" }, "dc_source_sm": { "type": "array", "items": { "type": "string" }, "description": "The identity of a layer from which this layer's data was derived. *Optional*", "example": "stanford-vr593vj7147" }, "geoblacklight_version": { "type": "string", "description": "The version of the GeoBlacklight Schema to which this metadata record conforms.", "enum": [ "1.0" ] } } } }, "anyOf": [ { "$ref": "#/definitions/layer" }, { "type": "array", "items": { "$ref": "#/definitions/layer" } } ] }
o42989
{ "$schema": "http://json-schema.org/draft-04/schema#", "properties": { "confidence": { "type": "string" }, "data_type": { "enum": [ "financial_payment" ] }, "properties": { "properties": { "csv_line_number": { "description": "If the source for the data is a CSV file, you can optionally include the line number of the CSV from which this data was retrieved", "type": [ "string", "null" ] }, "currency": { "description": "The currency of the payment (three letter symbol, e.g. USD, GBP, EUR)", "type": "string" }, "date": { "_format": "date", "description": "The date on which the payment was made", "type": "string" }, "department_name": { "description": "The name of the government department which the entity belongs to (if relevant), e.g. Department of Health", "type": [ "string", "null" ] }, "description": { "description": "The description of the transaction as given in the raw data", "type": [ "string", "null" ] }, "entity_name": { "description": "The name of the government entity that made the payment, e.g. Environment Agency", "type": "string" }, "entity_uri": { "description": "A unique URL (ideally a dereferencable URI) for the government entity", "type": [ "string", "null" ] }, "expense_area": { "description": "category (in words) of the expenditure", "type": [ "string", "null" ] }, "expense_type": { "description": "The type of expense -- can be either capital, revenue (i.e. current expenditure) or null", "enum": [ "capital", "revenue", null ] }, "jurisdiction": { "description": "The jurisdiction of the body that made the payment, eg. UK, France, Delaware, Manchester", "type": "string" }, "more_details_url": { "description": "A url from which more details can be seen (may be the same as the source_url)", "type": [ "string", "null" ] }, "payee_name": { "description": "The name of the payee (the entity that received the money)", "type": "string" }, "transaction_number": { "description": "The unique identifier for the transaction, scoped to this bot", "type": "string" }, "value": { "description": "The amount transacted (e.g. 19.95)", "type": "string" } }, "required": [ "value", "payee_name", "date", "currency" ], "type": "object" }, "source_url": { "type": "string" } }, "required": [ "data_type", "properties", "source_url", "confidence" ], "type": "object" }
o65452
{ "anyOf": [ { "$ref": "#/definitions/SkaffoldConfig" } ], "definitions": { "Artifact": { "anyOf": [ { "additionalProperties": false, "preferredOrder": [ "image", "context", "sync" ], "properties": { "context": { "type": "string" }, "image": { "type": "string" }, "sync": { "additionalProperties": { "type": "string" }, "default": "{}", "type": "object" } } }, { "additionalProperties": false, "preferredOrder": [ "image", "context", "sync", "docker" ], "properties": { "context": { "type": "string" }, "docker": { "$ref": "#/definitions/DockerArtifact" }, "image": { "type": "string" }, "sync": { "additionalProperties": { "type": "string" }, "default": "{}", "type": "object" } } }, { "additionalProperties": false, "preferredOrder": [ "image", "context", "sync", "bazel" ], "properties": { "bazel": { "$ref": "#/definitions/BazelArtifact" }, "context": { "type": "string" }, "image": { "type": "string" }, "sync": { "additionalProperties": { "type": "string" }, "default": "{}", "type": "object" } } }, { "additionalProperties": false, "preferredOrder": [ "image", "context", "sync", "jibMaven" ], "properties": { "context": { "type": "string" }, "image": { "type": "string" }, "jibMaven": { "$ref": "#/definitions/JibMavenArtifact" }, "sync": { "additionalProperties": { "type": "string" }, "default": "{}", "type": "object" } } }, { "additionalProperties": false, "preferredOrder": [ "image", "context", "sync", "jibGradle" ], "properties": { "context": { "type": "string" }, "image": { "type": "string" }, "jibGradle": { "$ref": "#/definitions/JibGradleArtifact" }, "sync": { "additionalProperties": { "type": "string" }, "default": "{}", "type": "object" } } } ], "description": "represents items that need to be built, along with the context in which they should be built.", "x-intellij-html-description": "represents items that need to be built, along with the context in which they should be built." }, "BazelArtifact": { "additionalProperties": false, "description": "describes an artifact built with Bazel.", "preferredOrder": [ "target", "args" ], "properties": { "args": { "default": "[]", "items": { "type": "string" }, "type": "array" }, "target": { "type": "string" } }, "x-intellij-html-description": "describes an artifact built with Bazel." }, "BuildConfig": { "anyOf": [ { "additionalProperties": false, "preferredOrder": [ "artifacts", "tagPolicy" ], "properties": { "artifacts": { "items": { "$ref": "#/definitions/Artifact" }, "type": "array" }, "tagPolicy": { "$ref": "#/definitions/TagPolicy" } } }, { "additionalProperties": false, "preferredOrder": [ "artifacts", "tagPolicy", "local" ], "properties": { "artifacts": { "items": { "$ref": "#/definitions/Artifact" }, "type": "array" }, "local": { "$ref": "#/definitions/LocalBuild" }, "tagPolicy": { "$ref": "#/definitions/TagPolicy" } } }, { "additionalProperties": false, "preferredOrder": [ "artifacts", "tagPolicy", "googleCloudBuild" ], "properties": { "artifacts": { "items": { "$ref": "#/definitions/Artifact" }, "type": "array" }, "googleCloudBuild": { "$ref": "#/definitions/GoogleCloudBuild" }, "tagPolicy": { "$ref": "#/definitions/TagPolicy" } } }, { "additionalProperties": false, "preferredOrder": [ "artifacts", "tagPolicy", "kaniko" ], "properties": { "artifacts": { "items": { "$ref": "#/definitions/Artifact" }, "type": "array" }, "kaniko": { "$ref": "#/definitions/KanikoBuild" }, "tagPolicy": { "$ref": "#/definitions/TagPolicy" } } } ], "description": "contains all the configuration for the build steps", "x-intellij-html-description": "contains all the configuration for the build steps" }, "DateTimeTagger": { "additionalProperties": false, "description": "contains the configuration for the DateTime tagger.", "preferredOrder": [ "format", "timezone" ], "properties": { "format": { "type": "string" }, "timezone": { "type": "string" } }, "x-intellij-html-description": "contains the configuration for the DateTime tagger." }, "DeployConfig": { "anyOf": [ { "additionalProperties": false }, { "additionalProperties": false, "preferredOrder": [ "helm" ], "properties": { "helm": { "$ref": "#/definitions/HelmDeploy" } } }, { "additionalProperties": false, "preferredOrder": [ "kubectl" ], "properties": { "kubectl": { "$ref": "#/definitions/KubectlDeploy" } } }, { "additionalProperties": false, "preferredOrder": [ "kustomize" ], "properties": { "kustomize": { "$ref": "#/definitions/KustomizeDeploy" } } } ], "description": "contains all the configuration needed by the deploy steps", "x-intellij-html-description": "contains all the configuration needed by the deploy steps" }, "DockerArtifact": { "additionalProperties": false, "description": "describes an artifact built from a Dockerfile, usually using `docker build`.", "preferredOrder": [ "dockerfile", "buildArgs", "cacheFrom", "target" ], "properties": { "buildArgs": { "additionalProperties": { "type": "string" }, "default": "{}", "type": "object" }, "cacheFrom": { "default": "[]", "items": { "type": "string" }, "type": "array" }, "dockerfile": { "type": "string" }, "target": { "type": "string" } }, "x-intellij-html-description": "describes an artifact built from a Dockerfile, usually using <code>docker build</code>." }, "EnvTemplateTagger": { "additionalProperties": false, "description": "contains the configuration for the envTemplate tagger.", "preferredOrder": [ "template" ], "properties": { "template": { "type": "string" } }, "x-intellij-html-description": "contains the configuration for the envTemplate tagger." }, "GitTagger": { "description": "contains the configuration for the git tagger.", "x-intellij-html-description": "contains the configuration for the git tagger." }, "GoogleCloudBuild": { "additionalProperties": false, "description": "contains the fields needed to do a remote build on Google Cloud Build.", "preferredOrder": [ "projectId", "diskSizeGb", "machineType", "timeout", "dockerImage" ], "properties": { "diskSizeGb": { "type": "integer" }, "dockerImage": { "type": "string" }, "machineType": { "type": "string" }, "projectId": { "type": "string" }, "timeout": { "type": "string" } }, "x-intellij-html-description": "contains the fields needed to do a remote build on Google Cloud Build." }, "HelmConventionConfig": { "description": "represents image config in the syntax of image.repository and image.tag", "x-intellij-html-description": "represents image config in the syntax of image.repository and image.tag" }, "HelmDeploy": { "additionalProperties": false, "description": "contains the configuration needed for deploying with helm", "preferredOrder": [ "releases" ], "properties": { "releases": { "items": { "$ref": "#/definitions/HelmRelease" }, "type": "array" } }, "x-intellij-html-description": "contains the configuration needed for deploying with helm" }, "HelmFQNConfig": { "additionalProperties": false, "description": "represents image config to use the FullyQualifiedImageName as param to set", "preferredOrder": [ "property" ], "properties": { "property": { "type": "string" } }, "x-intellij-html-description": "represents image config to use the FullyQualifiedImageName as param to set" }, "HelmImageStrategy": { "anyOf": [ { "additionalProperties": false }, { "additionalProperties": false, "preferredOrder": [ "fqn" ], "properties": { "fqn": { "$ref": "#/definitions/HelmFQNConfig" } } }, { "additionalProperties": false, "preferredOrder": [ "helm" ], "properties": { "helm": { "$ref": "#/definitions/HelmConventionConfig" } } } ] }, "HelmPackaged": { "additionalProperties": false, "description": "represents parameters for packaging helm chart.", "preferredOrder": [ "version", "appVersion" ], "properties": { "appVersion": { "description": "set the appVersion on the chart to this version", "type": "string", "x-intellij-html-description": "set the appVersion on the chart to this version" }, "version": { "description": "sets the version on the chart to this semver version.", "type": "string", "x-intellij-html-description": "sets the version on the chart to this semver version." } }, "x-intellij-html-description": "represents parameters for packaging helm chart." }, "HelmRelease": { "additionalProperties": false, "preferredOrder": [ "name", "chartPath", "valuesFiles", "values", "namespace", "version", "setValues", "setValueTemplates", "wait", "recreatePods", "overrides", "packaged", "imageStrategy" ], "properties": { "chartPath": { "type": "string" }, "imageStrategy": { "$ref": "#/definitions/HelmImageStrategy" }, "name": { "type": "string" }, "namespace": { "type": "string" }, "overrides": {}, "packaged": { "$ref": "#/definitions/HelmPackaged" }, "recreatePods": { "default": "false", "type": "boolean" }, "setValueTemplates": { "additionalProperties": { "type": "string" }, "default": "{}", "type": "object" }, "setValues": { "additionalProperties": { "type": "string" }, "default": "{}", "type": "object" }, "values": { "additionalProperties": { "type": "string" }, "default": "{}", "type": "object" }, "valuesFiles": { "default": "[]", "items": { "type": "string" }, "type": "array" }, "version": { "type": "string" }, "wait": { "default": "false", "type": "boolean" } } }, "JibGradleArtifact": { "additionalProperties": false, "preferredOrder": [ "project" ], "properties": { "project": { "description": "Only multi-module", "type": "string", "x-intellij-html-description": "Only multi-module" } } }, "JibMavenArtifact": { "additionalProperties": false, "preferredOrder": [ "module", "profile" ], "properties": { "module": { "description": "Only multi-module", "type": "string", "x-intellij-html-description": "Only multi-module" }, "profile": { "type": "string" } } }, "KanikoBuild": { "additionalProperties": false, "description": "contains the fields needed to do a on-cluster build using the kaniko image", "preferredOrder": [ "buildContext", "cache", "pullSecret", "pullSecretName", "namespace", "timeout", "image" ], "properties": { "buildContext": { "$ref": "#/definitions/KanikoBuildContext" }, "cache": { "$ref": "#/definitions/KanikoCache" }, "image": { "type": "string" }, "namespace": { "type": "string" }, "pullSecret": { "type": "string" }, "pullSecretName": { "type": "string" }, "timeout": { "type": "string" } }, "x-intellij-html-description": "contains the fields needed to do a on-cluster build using the kaniko image" }, "KanikoBuildContext": { "additionalProperties": false, "description": "contains the different fields available to specify a kaniko build context", "preferredOrder": [ "gcsBucket", "localDir" ], "properties": { "gcsBucket": { "type": "string" }, "localDir": { "$ref": "#/definitions/LocalDir" } }, "x-intellij-html-description": "contains the different fields available to specify a kaniko build context" }, "KanikoCache": { "additionalProperties": false, "description": "contains fields related to kaniko caching", "preferredOrder": [ "repo" ], "properties": { "repo": { "type": "string" } }, "x-intellij-html-description": "contains fields related to kaniko caching" }, "KubectlDeploy": { "additionalProperties": false, "description": "contains the configuration needed for deploying with `kubectl apply`", "preferredOrder": [ "manifests", "remoteManifests", "flags" ], "properties": { "flags": { "$ref": "#/definitions/KubectlFlags" }, "manifests": { "default": "[]", "items": { "type": "string" }, "type": "array" }, "remoteManifests": { "default": "[]", "items": { "type": "string" }, "type": "array" } }, "x-intellij-html-description": "contains the configuration needed for deploying with <code>kubectl apply</code>" }, "KubectlFlags": { "additionalProperties": false, "description": "describes additional options flags that are passed on the command line to kubectl either on every command (Global), on creations (Apply) or deletions (Delete).", "preferredOrder": [ "global", "apply", "delete" ], "properties": { "apply": { "default": "[]", "items": { "type": "string" }, "type": "array" }, "delete": { "default": "[]", "items": { "type": "string" }, "type": "array" }, "global": { "default": "[]", "items": { "type": "string" }, "type": "array" } }, "x-intellij-html-description": "describes additional options flags that are passed on the command line to kubectl either on every command (Global), on creations (Apply) or deletions (Delete)." }, "KustomizeDeploy": { "additionalProperties": false, "description": "contains the configuration needed for deploying with kustomize.", "preferredOrder": [ "path", "flags" ], "properties": { "flags": { "$ref": "#/definitions/KubectlFlags" }, "path": { "type": "string" } }, "x-intellij-html-description": "contains the configuration needed for deploying with kustomize." }, "LocalBuild": { "additionalProperties": false, "description": "contains the fields needed to do a build on the local docker daemon and optionally push to a repository.", "preferredOrder": [ "push", "useDockerCLI", "useBuildkit" ], "properties": { "push": { "type": "boolean" }, "useBuildkit": { "default": "false", "type": "boolean" }, "useDockerCLI": { "default": "false", "type": "boolean" } }, "x-intellij-html-description": "contains the fields needed to do a build on the local docker daemon and optionally push to a repository." }, "LocalDir": { "description": "represents the local directory kaniko build context", "x-intellij-html-description": "represents the local directory kaniko build context" }, "Profile": { "additionalProperties": false, "description": "additional configuration that overrides default configuration when it is activated.", "preferredOrder": [ "name", "build", "test", "deploy" ], "properties": { "build": { "$ref": "#/definitions/BuildConfig" }, "deploy": { "$ref": "#/definitions/DeployConfig" }, "name": { "type": "string" }, "test": { "$ref": "#/definitions/TestConfig" } }, "x-intellij-html-description": "additional configuration that overrides default configuration when it is activated." }, "ShaTagger": { "description": "contains the configuration for the SHA tagger.", "x-intellij-html-description": "contains the configuration for the SHA tagger." }, "SkaffoldConfig": { "additionalProperties": false, "preferredOrder": [ "apiVersion", "kind", "build", "test", "deploy", "profiles" ], "properties": { "apiVersion": { "type": "string" }, "build": { "$ref": "#/definitions/BuildConfig" }, "deploy": { "$ref": "#/definitions/DeployConfig" }, "kind": { "type": "string" }, "profiles": { "items": { "$ref": "#/definitions/Profile" }, "type": "array" }, "test": { "$ref": "#/definitions/TestConfig" } } }, "TagPolicy": { "additionalProperties": false, "description": "contains all the configuration for the tagging step", "preferredOrder": [ "gitCommit", "sha256", "envTemplate", "dateTime" ], "properties": { "dateTime": { "$ref": "#/definitions/DateTimeTagger" }, "envTemplate": { "$ref": "#/definitions/EnvTemplateTagger" }, "gitCommit": { "$ref": "#/definitions/GitTagger" }, "sha256": { "$ref": "#/definitions/ShaTagger" } }, "x-intellij-html-description": "contains all the configuration for the tagging step" }, "TestCase": { "additionalProperties": false, "description": "a struct containing all the specified test configuration for an image.", "preferredOrder": [ "image", "structureTests" ], "properties": { "image": { "type": "string" }, "structureTests": { "default": "[]", "items": { "type": "string" }, "type": "array" } }, "x-intellij-html-description": "a struct containing all the specified test configuration for an image." }, "TestConfig": { "items": { "$ref": "#/definitions/TestCase" }, "type": "array" } }, "type": "object" }
o6349
{ "$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." }, "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": { "change_history": { "$ref": "#/definitions/change_history" }, "internal_name": { "$ref": "#/definitions/taxonomy_internal_name" }, "notes_for_editors": { "description": "Usage notes for editors when tagging content to a taxon.", "type": "string" }, "visible_to_departmental_editors": { "description": "Should this taxon be made visible to Content Editors in publishing apps? It's currently only a consideration for Root Taxons in a draft state.", "type": "boolean" } }, "type": "object" }, "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" }, "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" }, "payload_version": { "description": "Counter to indicate when the payload was generated", "type": "integer" }, "public_updated_at": { "_format": "date-time", "description": "When the content was last significantly changed (a major update). Shown to users. Automatically determined by the publishing-api, unless overridden by the publishing application.", "type": "string" }, "publishing_app_name": { "description": "The application that published this item.", "enum": [ "calculators", "calendars", "collections-publisher", "contacts", "content-publisher", "content-tagger", "email-alert-frontend", "external-link-tracker", "feedback", "frontend", "government-frontend", "hmrc-manuals-api", "info-frontend", "licencefinder", "local-links-manager", "manuals-frontend", "manuals-publisher", "maslow", "performanceplatform-big-screen-view", "publisher", "rummager", "search-admin", "search-api", "service-manual-publisher", "share-sale-publisher", "short-url-manager", "smartanswers", "special-route-publisher", "specialist-publisher", "static", "tariff", "travel-advice-publisher", "whitehall" ], "type": "string" }, "publishing_request_id": { "description": "A unique identifier used to track publishing requests to rendered content", "oneOf": [ { "type": "string" }, { "type": "null" } ] }, "rendering_app": { "description": "The application that renders this item.", "enum": [ "calculators", "calendars", "collections", "content-store", "email-alert-frontend", "email-campaign-frontend", "feedback", "finder-frontend", "frontend", "government-frontend", "info-frontend", "licencefinder", "manuals-frontend", "performanceplatform-big-screen-view", "rummager", "search-api", "service-manual-frontend", "smartanswers", "spotlight", "static", "tariff", "whitehall-admin", "whitehall-frontend" ], "type": "string" }, "route": { "additionalProperties": false, "properties": { "path": { "type": "string" }, "type": { "enum": [ "prefix", "exact" ] } }, "required": [ "path", "type" ], "type": "object" }, "routes": { "items": { "$ref": "#/definitions/route" }, "minItems": 1, "type": "array" }, "taxonomy_internal_name": { "description": "An internal name for taxonomy admin interfaces. Includes parent.", "type": "string" }, "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": [ "taxon" ], "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": { "associated_taxons": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "A list of associated taxons whose children should be included as children of this taxon" }, "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" }, "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." }, "legacy_taxons": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "Prior taxons (such as mainstream_browse_page, topic, policy_area, policy) before the single site-wide Topic Taxonomy was introduced" }, "level_one_taxons": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "Link type automatically added by Publishing API" }, "mainstream_browse_pages": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "Powers the /browse section of the site. These are known as sections in some legacy apps." }, "meets_user_needs": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "The user needs this piece of content meets." }, "ministers": { "$ref": "#/definitions/frontend_links", "description": "Link type automatically added by Publishing API" }, "ordered_related_items": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger." }, "ordered_related_items_overrides": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation." }, "organisations": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "All organisations linked to this content item. This should include lead organisations." }, "original_primary_publishing_organisation": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "The organisation that published the original version of the page. Corresponds to the first of the 'Lead organisations' in Whitehall for the first edition, and is empty for all other publishing applications." }, "parent": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "The parent content item.", "maxItems": 1 }, "parent_taxons": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "The list of taxon parents." }, "part_of_step_navs": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "Link type automatically added by Publishing API" }, "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_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" }, "root_taxon": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "Set to the root taxon (homepage) if this is a level one taxon." }, "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" }, "topics": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "Powers the /topic section of the site. These are known as specialist sectors in some legacy apps." } }, "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": { "associated_taxons": { "$ref": "#/definitions/guid_list", "description": "A list of associated taxons whose children should be included as children of this taxon" }, "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" }, "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." }, "legacy_taxons": { "$ref": "#/definitions/guid_list", "description": "Prior taxons (such as mainstream_browse_page, topic, policy_area, policy) before the single site-wide Topic Taxonomy was introduced" }, "mainstream_browse_pages": { "$ref": "#/definitions/guid_list", "description": "Powers the /browse section of the site. These are known as sections in some legacy apps." }, "meets_user_needs": { "$ref": "#/definitions/guid_list", "description": "The user needs this piece of content meets." }, "ordered_related_items": { "$ref": "#/definitions/guid_list", "description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger." }, "ordered_related_items_overrides": { "$ref": "#/definitions/guid_list", "description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation." }, "organisations": { "$ref": "#/definitions/guid_list", "description": "All organisations linked to this content item. This should include lead organisations." }, "original_primary_publishing_organisation": { "$ref": "#/definitions/guid_list", "description": "The organisation that published the original version of the page. Corresponds to the first of the 'Lead organisations' in Whitehall for the first edition, and is empty for all other publishing applications." }, "parent": { "$ref": "#/definitions/guid_list", "description": "The parent content item.", "maxItems": 1 }, "parent_taxons": { "$ref": "#/definitions/guid_list", "description": "The list of taxon parents." }, "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 }, "root_taxon": { "$ref": "#/definitions/guid_list", "description": "Set to the root taxon (homepage) if this is a level one taxon." }, "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" }, "topics": { "$ref": "#/definitions/guid_list", "description": "Powers the /topic section of the site. These are known as specialist sectors in some legacy apps." } }, "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": [ "taxon" ], "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" }
o21400
{ "definitions": { "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretReference": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", "properties": { "name": { "description": "Name is unique within a namespace to reference a secret resource.", "type": "string" }, "namespace": { "description": "Namespace defines the space within which the secret name must be unique.", "type": "string" } }, "type": "object" } }, "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", "null" ] }, "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", "null" ] }, "secretRef": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretReference", "description": "Optional: points to a secret object containing parameters used to connect to OpenStack." }, "volumeID": { "description": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", "type": [ "string", "null" ] } }, "required": [ "volumeID" ], "type": "object" }
kb_77_Normalized
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "array", "title": "Filtros de la b\u00fasqueda.", "items": { "type": "object", "title": "Objeto Filtro.", "properties": { "name": { "type": "string", "title": "Nombre del pasajero." }, "from": { "type": "string", "title": "L\u00edmite inferior del filtro." }, "to": { "type": "string", "title": "L\u00edmite superior del filtro." }, "companies": { "type": "array", "title": "Operadores de los que se quiere obtener los paquetes.", "items": { "type": "string", "title": "Nombre del Operador." } } }, "required": [ "name" ] } }
o82256
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "properties": { "HttpMethod": { "enum": [ "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT" ], "type": "string" }, "ResourceId": { "pattern": "^[a-z0-9]+$", "type": "string" }, "ResponseParameters": { "additionalProperties": false, "patternProperties": { "^method\\.response\\.header\\..+$": { "pattern": "^(integration\\.response\\.header\\..)|(integration\\.response\\.body\\..)|('.*')+$", "type": "string" } }, "properties": {}, "type": "object" }, "ResponseTemplates": { "additionalProperties": false, "patternProperties": { ".+": { "type": "string" } }, "properties": {}, "type": "object" }, "RestApiId": { "pattern": "^[a-z0-9]{10}$", "type": "string" }, "SelectionPattern": { "type": "string" }, "StatusCode": { "pattern": "^\\d{3}$", "type": "string" } }, "required": [ "StatusCode", "HttpMethod", "ResourceId", "RestApiId" ], "type": "object" }
o21850
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "@type": { "type": "string" }, "parameters": { "type": "object", "default": {} } }, "required": [ "@type" ] }
o44989
{ "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "pushdataentry": { "type": "object", "title": "pushdataentry", "properties": { "url": { "type": "string", "description": "full URL of the middleware to push data to e.g. http://127.0.0.1/push/data.json" } }, "required": [ "url" ] }, "local": { "type": "object", "properties": { "enabled": { "type": "boolean", "description": "should we start the local HTTPd for serving live readings?" }, "port": { "type": "integer", "default": 8080, "description": "the TCP port for the local HTTPd" }, "index": { "type": "boolean", "description": "should we provide a index listing of available channels if no UUID was requested?" }, "timeout": { "type": "integer" }, "buffer": { "type": "integer" } }, "required": [ "enabled" ] }, "channelNULL": { "type": "object", "title": "no channel, just local-httpd", "properties": { "api": { "type": "string", "enum": [ "null" ], "default": "null", "description": "middleware api to be used." }, "uuid": { "type": "string", "description": "uuid of this channel for index:false ", "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" }, "identifier": { "type": "string", "description": "identifier of this channel from the meter. E.g. 1-0:1.8.0 (for sml) or Impulse (for s0)" } }, "required": [ "api", "identifier" ] }, "channelVZ": { "type": "object", "title": "channel for volkszaehler", "properties": { "api": { "type": "string", "enum": [ "volkszaehler" ], "default": "volkszaehler", "description": "middleware/api/database to be used." }, "uuid": { "type": "string", "description": "uuid of this channel towards the middleware", "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" }, "identifier": { "type": "string", "description": "identifier of this channel from the meter. E.g. 1-0:1.8.0 (for sml) or Impulse (for s0)" }, "middleware": { "type": "string", "default": "http://localhost/middleware.php", "description": "path/url to the api/middleware" }, "aggmode": { "type": "string", "enum": [ "avg", "max", "sum", "none" ], "description": "AVeraGe for power (W), MAXimum for meter (Wh), SUMmary for counter (S0)", "default": "none" }, "duplicates": { "type": "integer", "minimum": 0, "default": 0, "description": "default 0 (send duplicate values), >0 = send duplicate values only each <duplicates> seconds. Activate only for abs. counter values (Zaehlerstaende) and not for impulses!" } }, "required": [ "api", "uuid", "identifier", "middleware", "aggmode", "duplicates" ] }, "channelmySmartGrid": { "type": "object", "title": "channel for mySmartGrid", "properties": { "api": { "type": "string", "enum": [ "mysmartgrid" ], "default": "volkszaehler", "description": "middleware/api/database to be used. Defaults to volkszaehler.org" }, "uuid": { "type": "string", "description": "uuid of this channel towards the middleware", "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" }, "identifier": { "type": "string", "description": "identifier of this channel from the meter. E.g. 1-0:1.8.0 (for sml) or Impulse (for s0)" }, "middleware": { "type": "string", "default": "https://api.mysmartgrid.de:8443", "description": "path/url to the api/middleware" }, "secretKey": { "type": "string", "description": "secret key to use to talk to MySmartGrid api." }, "interval": { "type": "integer", "default": 300, "description": "time between 2 logtuples" }, "type": { "type": "string", "enum": [ "device", "sensor" ], "default": "device", "description": "type of connected meter." }, "scaler": { "type": "integer", "default": 1, "description": "scaling factor to use." }, "aggmode": { "type": "string", "enum": [ "avg", "max", "sum", "none" ], "description": "AVeraGe for power (W), MAXimum for meter (Wh), SUMmary for counter (S0)", "default": "none" } }, "required": [ "api", "uuid", "identifier", "middleware", "type", "scaler", "duplicates" ] }, "channelInFluxDB": { "type": "object", "title": "channel for InFluxDB", "properties": { "api": { "type": "string", "enum": [ "influxdb" ], "default": "influxdb", "description": "middleware/api/database to be used." }, "uuid": { "type": "string", "description": "uuid of this channel towards the middleware", "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" }, "identifier": { "type": "string", "description": "identifier of this channel from the meter. E.g. 1-0:1.8.0 (for sml) or Impulse (for s0)" }, "host": { "type": "string", "default": "http://localhost:8086", "description": "path/url to the database" }, "database": { "type": "string", "description": "i.e. vzlogger, make sure this database exists in InfluxDB" }, "measurement_name": { "type": "string", "description": "i.e. vz_measurement, it is recommended that all your meters have the same InfluxDB measurement name" }, "tags": { "type": "string", "description": "Additional tags to append when inserting data. E.g. 'meter=main,location=home'" }, "username": { "type": "string", "description": "When InfluxDB Auth is enabled you need to set the correct user and password" }, "password": { "type": "string", "description": "When InfluxDB Auth is enabled you need to set the correct user and password" }, "max_batch_inserts": { "type": "integer", "default": 4500, "description": "Max number of measurements per request. No need to change this" }, "max_buffer_size": { "type": "integer", "default": 450000, "description": "Max number of measurements to be cached when InfluxDB is not available" }, "timeout": { "type": "integer", "default": 30, "description": "Time in seconds after which requests to InfluxDB time out" }, "aggmode": { "type": "string", "enum": [ "avg", "max", "sum", "none" ], "description": "AVeraGe for power (W), MAXimum for meter (Wh), SUMmary for counter (S0)", "default": "none" } }, "required": [ "api", "uuid", "identifier", "host" ] }, "meter": { "type": "object", "title": "meter", "properties": { "enabled": { "type": "boolean", "description": "enable or disable this meter. Disabled meter will be ignored.", "default": false }, "allowskip": { "type": "boolean", "description": "if enabled, errors when opening meter will lead to meter being ignored", "default": false }, "interval": { "type": "integer", "description": "delay in secs between queries to the meter", "default": -1 }, "aggtime": { "type": "integer", "description": "aggregate all signals and give one update to middleware every <aggtime> seconds", "default": -1 }, "aggfixedinterval": { "type": "boolean", "description": "round all timestamps to middleware to nearest aggtime", "default": false }, "channels": { "$ref": "#/definitions/channels" } }, "required": [ "enabled" ] }, "meterInvalid": { "title": "invalid config for a meter. Choose any of the supported ones.", "allOf": [ { "$ref": "#/definitions/meter" }, { "properties": { "protocol": { "type": "string", "enum": [ "invalid" ] } } } ] }, "meterS0": { "title": "S0 based meter", "allOf": [ { "$ref": "#/definitions/meter" }, { "properties": { "protocol": { "type": "string", "enum": [ "s0" ], "default": "s0" }, "device": { "type": "string", "description": "UART device the meter is connected to. E.g. /dev/ttyUSB0" }, "gpio": { "type": "integer", "default": -1, "description": "Number of GPIO port to be used. If this is set >-1 device will be ignored." }, "mmap": { "type": "string", "default": "", "description": "For gpio based devices and high frequency signals (>5-10kHz on a rpi2) memory mapped gpio can be used. Currently only supported on Raspberry-Pi 1 or 2. Leads to a constant but high CPU load depending on nonblocking_delay value. MMAPed GPIO pins need to be configured manually as input pins.", "enum": [ "", "rpi1", "rpi2" ] }, "gpio_dir": { "type": "integer", "default": -1, "description": "Number of GPIO port to be used as directional pin. If this pin is used and active Impulses_neg instead of Impulses is returned. Keep to -1 if unsure about the purpose." }, "configureGPIO": { "type": "boolean", "default": true, "description": "If true then vzlogger will export, configure,... the GPIO port. Needs proper access rights to /sys/class/gpio/." }, "resolution": { "type": "integer", "default": 1000, "description": "number of impulses per kWh" }, "send_zero": { "type": "boolean", "default": false, "description": "If active/true send data once a second even if no impulses have been received. Use aggregation is this case to reduce frequency." }, "debounce_delay": { "type": "integer", "default": 30, "description": "Delay in ms until the next edge is detected" }, "nonblocking_delay": { "type": "integer", "default": 100000, "description": "Delay in ns for polling/non-blocking interface. On an rpi2 e.g. 5000 can be used to detect up to 30kHz signals with mmap active." } }, "required": [ "protocol" ] } ] }, "meterD0dev": { "title": "D0 based meter connected by device", "allOf": [ { "$ref": "#/definitions/meter" }, { "properties": { "protocol": { "type": "string", "enum": [ "d0" ], "default": "d0" }, "device": { "type": "string", "description": "device the meter is connected to. E.g. /dev/ttyUSB0", "default": "/dev/lesekopf0", "pattern": "^/dev/[^/]+(/[^/]+)*$" }, "dump_file": { "type": "string", "description": "path/filename of the file for the serial dump" }, "pullseq": { "type": "string", "description": "sequence in hex to send to the meter before each read call. E.g. 2F3F210D0A" }, "ackseq": { "type": "string", "description": "Reply sequence towards the meter. Should indicate the baud rate wanted. Will be send with initial baudrate. E.g. 063030300d0a for 300 baud. Use 'auto' to let vzlogger determine.", "default": "auto" }, "baudrate": { "type": "integer", "enum": [ 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400 ], "default": 300, "description": "Baudrate to be used to for initial communication with the meter." }, "baudrate_read": { "type": "integer", "enum": [ 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400 ], "default": 300, "description": "Baudrate to be used after initial handshake (pullseq/answer/ackseq). Has to fit to ackseq. Will be determined automatically if ackseq 'auto' is used." }, "parity": { "type": "string", "enum": [ "8n1", "7n1", "7e1", "7o1" ], "default": "7e1", "description": "parity used for serial communication" }, "wait_sync": { "type": "string", "enum": [ "end", "off" ], "default": "off", "description": "Wait once for the sync pattern '!'. Intended for meters that start sending data automatically without pullseq." }, "read_timeout": { "type": "integer", "default": 10, "description": "Read timeout in secs. Data readout is considered finished if no state change after that timeout." }, "baudrate_change_delay": { "type": "integer", "default": 0, "description": "Delay in ms to apply before changing the baudrate. Defaults to 0 where tcdrain is used instead of a timeout." } }, "required": [ "protocol", "device", "baudrate", "parity" ] } ] }, "meterD0host": { "title": "D0 based meter connected by host", "allOf": [ { "$ref": "#/definitions/meter" }, { "properties": { "protocol": { "type": "string", "enum": [ "d0" ], "default": "d0" }, "host": { "type": "string", "description": "hostname or ip address of the meter" }, "dump_file": { "type": "string", "description": "path/filename of the file for the serial dump" }, "pullseq": { "type": "string", "description": "sequence in hex to send to the meter before each read call. E.g. 2F3F210D0A" }, "ackseq": { "type": "string", "description": "Reply sequence towards the meter. Should indicate the baud rate wanted. Will be send with initial baudrate. E.g. 063030300d0a for 300 baud. Use 'auto' to let vzlogger determine.", "default": "auto" }, "baudrate": { "type": "integer", "enum": [ 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400 ], "default": 300, "description": "Baudrate to be used to for initial communication with the meter." }, "baudrate_read": { "type": "integer", "enum": [ 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400 ], "default": 300, "description": "Baudrate to be used after initial handshake (pullseq/answer/ackseq). Has to fit to ackseq. Will be determined automatically if ackseq 'auto' is used." }, "parity": { "type": "string", "enum": [ "8n1", "7n1", "7e1", "7o1" ], "default": "7e1", "description": "parity used for serial communication" }, "wait_sync": { "type": "string", "enum": [ "end", "off" ], "default": "off", "description": "Wait once for the sync pattern '!'. Intended for meters that start sending data automatically without pullseq." }, "read_timeout": { "type": "integer", "default": 10, "description": "Read timeout in secs. Data readout is considered finished if no state change after that timeout." }, "baudrate_change_delay": { "type": "integer", "default": 0, "description": "Delay in ms to apply before changing the baudrate. Defaults to 0 where tcdrain is used instead of a timeout." } }, "required": [ "protocol", "host", "baudrate", "parity" ] } ] }, "meterSMLdev": { "title": "SML based meter connected by device", "allOf": [ { "$ref": "#/definitions/meter" }, { "properties": { "protocol": { "type": "string", "enum": [ "sml" ], "default": "sml" }, "device": { "type": "string", "description": "device the meter is connected to. E.g. /dev/ttyUSB0", "default": "/dev/lesekopf0", "pattern": "^/dev/[^/]+(/[^/]+)*$" }, "pullseq": { "type": "string", "description": "sequence in hex to send to the meter before each read call" }, "baudrate": { "type": "integer", "enum": [ 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400 ], "default": 9600, "description": "baudrate for serial communication" }, "parity": { "type": "string", "enum": [ "8n1", "7n1", "7e1", "7o1" ], "default": "8n1", "description": "parity used for serial communication" }, "use_local_time": { "type": "boolean", "default": false, "description": "use the local time for reading timestamp?" } }, "required": [ "protocol", "device", "baudrate", "parity" ] } ] }, "meterSMLhost": { "title": "SML based meter connected by host", "allOf": [ { "$ref": "#/definitions/meter" }, { "properties": { "protocol": { "type": "string", "enum": [ "sml" ], "default": "sml" }, "host": { "type": "string", "description": "hostname or ip address of the meter" }, "pullseq": { "type": "string", "description": "sequence in hex to send to the meter before each read call" }, "baudrate": { "type": "integer", "enum": [ 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400 ], "default": 9600, "description": "baudrate for serial communication" }, "parity": { "type": "string", "enum": [ "8n1", "7n1", "7e1", "7o1" ], "default": "8n1", "description": "parity used for serial communication" }, "use_local_time": { "type": "boolean", "default": false, "description": "use the local time for reading timestamp?" } }, "required": [ "protocol", "host", "baudrate", "parity" ] } ] }, "meterRandom": { "title": "example meter returning random values", "allOf": [ { "$ref": "#/definitions/meter" }, { "properties": { "protocol": { "type": "string", "enum": [ "random" ], "default": "random" }, "min": { "type": "number", "description": "minimum value (floating point) that will be returned. E.g. 0.0" }, "max": { "type": "number", "description": "maximum value (floating point) that will be returned. E.g. 10.0" } }, "required": [ "protocol", "min", "max" ] } ] }, "meterFile": { "title": "meter extracting data from a given file", "allOf": [ { "$ref": "#/definitions/meter" }, { "properties": { "protocol": { "type": "string", "enum": [ "file" ], "default": "file" }, "path": { "type": "string", "description": "file incl. path to be used for data extraction" }, "format": { "type": "string", "description": "optional format string. Supports $v for value, $i for identifier and $t for timestamp. E.g. $i:$v. If empty just a value is read from each line of the file." }, "rewind": { "type": "boolean", "description": "rewind the file handle at each read?", "default": false } }, "required": [ "path", "protocol" ] } ] }, "meterExec": { "title": "meter extracting data from the output of a shell command/executable", "allOf": [ { "$ref": "#/definitions/meter" }, { "properties": { "protocol": { "type": "string", "enum": [ "exec" ], "default": "exec" }, "command": { "type": "string", "description": "Command to be executed. Only possible if running as non root. Output will be parsed." }, "format": { "type": "string", "description": "optional format string. Supports $v for value, $i for identifier and $t for timestamp. E.g. $i:$v. If empty just a value is read from each line of the file." } }, "required": [ "command", "protocol" ] } ] }, "meterFluksoV2": { "title": "fluksov2 meter", "allOf": [ { "$ref": "#/definitions/meter" }, { "properties": { "protocol": { "type": "string", "enum": [ "fluksov2" ], "default": "fluksov2" }, "fifo": { "type": "string", "description": "fifo to be used.", "default": "/var/run/spid/delta/out" } }, "required": [ "fifo", "protocol" ] } ] }, "meterW1therm": { "title": "w1-therm / 1wire temperature sensors", "allOf": [ { "$ref": "#/definitions/meter" }, { "properties": { "protocol": { "type": "string", "enum": [ "w1therm" ], "default": "w1therm" } }, "required": [ "protocol" ] } ] }, "meterOMS": { "title": "OMS / OMS (M-Bus) based devices", "allOf": [ { "$ref": "#/definitions/meter" }, { "properties": { "protocol": { "type": "string", "enum": [ "oms" ], "default": "oms" }, "device": { "type": "string", "description": "serial device the meter is connected to. E.g. /dev/ttyUSB0", "default": "/dev/ttyUSB0", "pattern": "^/dev/[^/]+(/[^/]+)*$" }, "baudrate": { "type": "number", "default": 9600, "description": "Baudrate to use. Default to 9600." }, "key": { "type": "string", "description": "AES key for the device in hex. Needs to be exactly 32 characters. E.g. 0102030405060708090a0b0c0d0e0f10" }, "mbus_debug": { "type": "boolean", "default": false, "description": "provide some more debug output on console by calling some libmbus debug functions" }, "use_local_time": { "type": "boolean", "default": false, "description": "use the local time for reading timestamp?" } }, "required": [ "protocol", "device", "key" ] } ] }, "meterOCRBB": { "type": "object", "properties": { "identifier": { "type": "string", "description": "id (obis-like) for this reading" }, "scaler": { "type": "integer", "default": 0, "description": "Scaling factor by 10^<scaler>. E.g. 0 = *1, -1 = *0.1, 2 = *100" }, "digit": { "type": "boolean", "default": false, "description": "a single digit is expected (thus the recognized value can only be within -9..9)" } } }, "meterOCRBBInvalid": { "title": "invalid bounding-box. Choose any of the supported ones.", "allOf": [ { "$ref": "#/definitions/meterOCRBB" }, { "properties": { "type": { "type": "string", "enum": [ "invalid" ] } } } ] }, "meterOCRBBCircle": { "title": "bounding-box with a circle", "allOf": [ { "$ref": "#/definitions/meterOCRBB" }, { "properties": { "type": { "type": "string", "enum": [ "circle" ], "default": "circle" }, "circle": { "type": "object", "properties": { "cx": { "type": "integer", "description": "x coordinate of the center of the circle (top-left corner is (0,0))" }, "cy": { "type": "integer", "description": "y coordinate of the center of the circle" }, "cr": { "type": "integer", "default": 10, "description": "radius of the circle. 10 pixel minimum." }, "offset": { "type": "number", "default": 0.0, "description": "offset of this needle. E.g. if at 5.0 (2nd digit needle at zero) but this needle show ~4.6 enter offset 0.4." } } } }, "required": [ "type" ] } ] }, "meterOCRBBBox": { "title": "bounding-box with a rectangle", "allOf": [ { "$ref": "#/definitions/meterOCRBB" }, { "properties": { "type": { "type": "string", "enum": [ "box" ], "default": "box" }, "box": { "type": "object", "properties": { "x1": { "type": "integer", "description": "left coordinate of the rectangle" }, "y1": { "type": "integer", "description": "top coordinate of the rectangle" }, "x2": { "type": "integer", "description": "right coordinate of the rectangle" }, "y2": { "type": "integer", "description": "bottom coordinate of the rectangle" } } } }, "required": [ "type" ] } ] }, "meterOCRRecognizer": { "type": "object", "properties": { "boundingboxes": { "oneOf": [ { "$ref": "#/definitions/meterOCRBBInvalid" }, { "$ref": "#/definitions/meterOCRBBCircle" }, { "$ref": "#/definitions/meterOCRBBBox" } ] } } }, "meterOCRRecognizerInvalid": { "title": "invalid recognizer. Choose any of the supported ones.", "allOf": [ { "$ref": "#/definitions/meterOCRRecognizer" }, { "properties": { "type": { "type": "string", "enum": [ "invalid" ] } } } ] }, "meterOCRRecognizerNeedle": { "title": "needle type recognizer", "allOf": [ { "$ref": "#/definitions/meterOCRRecognizer" }, { "properties": { "type": { "type": "string", "enum": [ "needle" ], "default": "needle" }, "kernelColorString": { "type": "string", "description": "Color conversion 3x3 matrix. Default red channel only (2 -1 -1 0 0 0 0 0 0). First line channel red. Needles are detected for red color after matrix application. See leptonica:pixMultMatrixColor" } }, "required": [ "type" ] } ] }, "meterOCRRecognizerBinary": { "title": "binary (impulses) recognizer", "allOf": [ { "$ref": "#/definitions/meterOCRRecognizer" }, { "properties": { "type": { "type": "string", "enum": [ "binary" ], "default": "binary" }, "kernelColorString": { "type": "string", "description": "Color conversion 3x3 matrix. Default red channel only (2 -1 -1 0 0 0 0 0 0). First line channel red. Rectangle/pixes are detected for red color after matrix application. See leptonica:pixMultMatrixColor" } }, "required": [ "type" ] } ] }, "meterOCR": { "title": "meter extracting data from images (meterOCR)", "allOf": [ { "$ref": "#/definitions/meter" }, { "properties": { "protocol": { "type": "string", "enum": [ "ocr" ], "default": "ocr" }, "impulses": { "type": "integer", "default": 0, "description": "0 = report absolute values, >0 = report given impulses per unit" }, "file": { "type": "string", "default": "/mnt/ramdisk/image.png", "description": "filename of the image to be processed (or use v4l2_dev)" }, "v4l2_dev": { "type": "string", "description": "v4l2 device name (e.g. /dev/video0). Keep empty if file based image should be used. Has preference over file." }, "generate_debug_image": { "type": "boolean", "default": false, "description": "generate debug images to ease configuration. Will be created in /run/vzlogger<nr>_debug.jpg for v4l2 or as <file>_debug.jpg if file based detection is used." }, "rotate": { "type": "number", "default": 0.0, "description": "angle in degree for rotation of the image. Positive angle turn clockwise." }, "recognizer": { "type": "array", "items": { "oneOf": [ { "$ref": "#/definitions/meterOCRRecognizerInvalid" }, { "$ref": "#/definitions/meterOCRRecognizerNeedle" }, { "$ref": "#/definitions/meterOCRRecognizerBinary" } ] } } }, "required": [ "protocol" ] } ] }, "channels": { "type": "array", "items": { "oneOf": [ { "$ref": "#/definitions/channelNULL" }, { "$ref": "#/definitions/channelVZ" }, { "$ref": "#/definitions/channelmySmartGrid" }, { "$ref": "#/definitions/channelInFluxDB" } ] } }, "meters": { "type": "array", "minItems": 1, "items": { "oneOf": [ { "$ref": "#/definitions/meterInvalid" }, { "$ref": "#/definitions/meterS0" }, { "$ref": "#/definitions/meterD0dev" }, { "$ref": "#/definitions/meterD0host" }, { "$ref": "#/definitions/meterSMLdev" }, { "$ref": "#/definitions/meterSMLhost" }, { "$ref": "#/definitions/meterRandom" }, { "$ref": "#/definitions/meterFile" }, { "$ref": "#/definitions/meterExec" }, { "$ref": "#/definitions/meterFluksoV2" }, { "$ref": "#/definitions/meterOCR" }, { "$ref": "#/definitions/meterOMS" }, { "$ref": "#/definitions/meterW1therm" } ] } }, "push": { "type": "array", "minItems": 0, "items": { "oneOf": [ { "$ref": "#/definitions/pushdataentry" } ] }, "description": "list of middlewares receiving push data (i.e. non aggregated live data in single http request)" } }, "type": "object", "properties": { "retry": { "type": "integer", "description": "How long to sleep between failed requests, in seconds" }, "daemon": { "type": "boolean", "default": "true", "description": "Enable daemon mode" }, "verbosity": { "type": "integer", "enum": [ 0, 1, 3, 5, 10, 15 ], "default": 1, "description": "depth of loging. 0=log_alert, 1=log_error, 3=log-warning, 5=log_info, 10=log-debug, 15=log_finest" }, "log": { "type": "string", "description": "path to logfile", "default": "/var/log/vzlogger.log" }, "push": { "$ref": "#/definitions/push" }, "local": { "$ref": "#/definitions/local" }, "meters": { "$ref": "#/definitions/meters" } }, "required": [ "daemon", "log" ] }
o84330
{ "$schema": "http://json-schema.org/draft-06/schema#", "type": "object", "additionalProperties": false, "properties": { "mac_details": { "src": "https://spacetelescope.github.io/understanding-json-schema/reference/object.html#dependencies", "title": "MAC Details", "type": "object", "properties": { "mac_address": { "$id": "/properties/mac_address", "title": "Mac Address", "pattern": "^\\s*([A-Fa-f0-9]{2}(:{1}[A-Fa-f0-9]{2}){5})\\s*$", "type": "string" } }, "required": [ "mac_address" ] } } }
o8480
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "ModuleList", "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "url": { "type": [ "string", "null" ] } }, "required": [ "id", "name" ] } }
o42208
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "TenantDescriptor", "description": "Tenant information", "type": "object", "additionalProperties": false, "properties": { "id": { "description": "Tenant ID", "type": "string" }, "name": { "description": "Tenant name", "type": "string" }, "description": { "description": "Tenant description", "type": "string" } } }
o41731
{ "properties": { "check_in_date": { "description": "The check-in date in YYYY-MM-DD format", "format": "date", "type": "string" }, "check_out_date": { "description": "The check-out date in YYYY-MM-DD format", "format": "date", "type": "string" }, "location": { "description": "The location to search for hotels", "type": "string" }, "price_range": { "description": "The desired price range (e.g. $, $$, $$$)", "type": "string" } }, "required": [ "location", "check_in_date", "check_out_date" ], "type": "object" }
search_hotel_0d2b9430
{ "properties": { "items": { "items": { "properties": { "discount_percentage": { "description": "The percentage discount to apply to the item", "type": "number" }, "name": { "description": "The name of the item", "type": "string" }, "original_price": { "description": "The original price of the item", "type": "number" } }, "required": [ "name", "original_price", "discount_percentage" ], "type": "object" }, "type": "array" } }, "required": [ "items" ], "type": "object" }
calculate_discounted_price_92fe3b6f
{ "additionalProperties": false, "properties": { "port": { "default": 8080, "type": "integer" } }, "type": "object" }
o82286
{ "definitions": { "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_rbac_v1_AggregationRule": { "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", "properties": { "clusterRoleSelectors": { "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector" }, "type": "array" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_rbac_v1_ClusterRole": { "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", "properties": { "aggregationRule": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_rbac_v1_AggregationRule", "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, "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": [ "ClusterRole" ], "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." }, "rules": { "description": "Rules holds all the PolicyRules for this ClusterRole", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_rbac_v1_PolicyRule" }, "type": "array" } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "rbac.authorization.k8s.io", "kind": "ClusterRole", "version": "v1" } ] }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_rbac_v1_PolicyRule": { "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", "properties": { "apiGroups": { "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.", "items": { "type": "string" }, "type": "array" }, "nonResourceURLs": { "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", "items": { "type": "string" }, "type": "array" }, "resourceNames": { "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", "items": { "type": "string" }, "type": "array" }, "resources": { "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", "items": { "type": "string" }, "type": "array" }, "verbs": { "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", "items": { "type": "string" }, "type": "array" } }, "required": [ "verbs" ], "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_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_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": "ClusterRoleList is a collection of ClusterRoles", "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": [ "rbac.authorization.k8s.io/v1" ], "type": [ "string", "null" ] }, "items": { "description": "Items is a list of ClusterRoles", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_rbac_v1_ClusterRole" }, "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": [ "ClusterRoleList" ], "type": [ "string", "null" ] }, "metadata": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ListMeta", "description": "Standard object's metadata." } }, "required": [ "items" ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "rbac.authorization.k8s.io", "kind": "ClusterRoleList", "version": "v1" } ] }
kb_95_Normalized
{ "properties": { "billing_address": { "description": "The billing address of the customer", "type": "string" }, "customer_name": { "description": "The name of the customer", "type": "string" }, "items": { "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", "billing_address", "items" ], "type": "object" }
create_invoice_a516b5f4
{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": true, "definitions": { "rangeDependency": { "additionalProperties": { "type": "string" }, "description": "Dependencies are specified by [author name]/[package name]: [exact version or range]. Range versions look like: [1.0.0 <= v < 2.0.0].", "type": "object" } }, "properties": { "dependencies": { "$ref": "#/definitions/rangeDependency", "description": "A list of elm dependencies that your package needs." }, "elm-version": { "description": "The version of elm your package is targeting", "type": "string" }, "exposed-modules": { "description": "All modules that your project will make available to end users.", "items": { "type": "string" }, "type": "array" }, "license": { "description": "A license for your package.", "type": "string" }, "repository": { "description": "The project's github url.", "type": "string" }, "source-directories": { "description": "A list of directories that will be used to build your project.", "items": { "type": "string" }, "type": "array" }, "summary": { "description": "A helpful summary of your package, less than 80 characters", "maxLength": 79, "minLength": 1, "type": "string" }, "version": { "description": "Your package's version in semantic versioning format.", "pattern": "\\d+\\.\\d+\\.\\d+", "type": "string" } }, "required": [ "repository", "source-directories", "license", "summary", "version", "elm-version", "exposed-modules", "dependencies" ], "title": "JSON schema for elm-package.json configuration files", "type": "object" }
o73816
{ "definitions": { "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity": { "oneOf": [ { "type": "string" }, { "type": "number" } ] } }, "description": "ResourceQuotaStatus defines the enforced hard limits and observed use.", "properties": { "hard": { "additionalProperties": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity" }, "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", "type": [ "object", "null" ] }, "used": { "additionalProperties": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity" }, "description": "Used is the current observed total usage of the resource in the namespace.", "type": [ "object", "null" ] } }, "type": "object" }
kb_843_Normalized
{ "additionalProperties": false, "description": "Schema for a Mandrill message rejected event", "properties": { "_id": { "type": "string" }, "msg": { "additionalProperties": false, "properties": { "_id": { "type": "string" }, "_version": { "type": "string" }, "clicks": { "type": "array" }, "email": { "type": "string" }, "metadata": { "additionalProperties": true, "properties": { "user_id": { "type": "number" } }, "type": "object" }, "opens": { "type": "array" }, "reject": { "type": [ "string", "null", "object" ] }, "resends": { "type": "array" }, "sender": { "type": "string" }, "smtp_events": { "items": { "additionalProperties": true, "properties": { "destination_ip": { "type": "string" }, "diag": { "type": "string" }, "size": { "type": "integer" }, "source_ip": { "type": "string" }, "ts": { "_format": "date-time", "type": "string" }, "type": { "type": "string" } }, "type": "object" }, "type": "array" }, "state": { "type": "string" }, "subaccount": { "type": [ "string", "null" ] }, "subject": { "type": "string" }, "tags": { "items": { "type": "string" }, "type": "array" }, "template": { "type": [ "string", "null" ] }, "ts": { "_format": "date-time", "type": "string" } }, "type": "object" }, "ts": { "_format": "date-time", "type": "string" } }, "self": { "format": "jsonschema", "name": "message_rejected", "vendor": "com.mandrill", "version": "1-0-0" }, "type": "object" }
sp_131_Normalized
{ "$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." }, "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": { "change_history": { "$ref": "#/definitions/change_history" } }, "type": "object" }, "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" }, "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" }, "payload_version": { "description": "Counter to indicate when the payload was generated", "type": "integer" }, "public_updated_at": { "_format": "date-time", "description": "When the content was last significantly changed (a major update). Shown to users. Automatically determined by the publishing-api, unless overridden by the publishing application.", "type": "string" }, "publishing_app_name": { "description": "The application that published this item.", "enum": [ "calculators", "calendars", "collections-publisher", "contacts", "content-publisher", "content-tagger", "email-alert-frontend", "external-link-tracker", "feedback", "frontend", "government-frontend", "hmrc-manuals-api", "info-frontend", "licencefinder", "local-links-manager", "manuals-frontend", "manuals-publisher", "maslow", "performanceplatform-big-screen-view", "publisher", "rummager", "search-admin", "search-api", "service-manual-publisher", "share-sale-publisher", "short-url-manager", "smartanswers", "special-route-publisher", "specialist-publisher", "static", "tariff", "travel-advice-publisher", "whitehall" ], "type": "string" }, "publishing_request_id": { "description": "A unique identifier used to track publishing requests to rendered content", "oneOf": [ { "type": "string" }, { "type": "null" } ] }, "rendering_app": { "description": "The application that renders this item.", "enum": [ "calculators", "calendars", "collections", "content-store", "email-alert-frontend", "email-campaign-frontend", "feedback", "finder-frontend", "frontend", "government-frontend", "info-frontend", "licencefinder", "manuals-frontend", "performanceplatform-big-screen-view", "rummager", "search-api", "service-manual-frontend", "smartanswers", "spotlight", "static", "tariff", "whitehall-admin", "whitehall-frontend" ], "type": "string" }, "route": { "additionalProperties": false, "properties": { "path": { "type": "string" }, "type": { "enum": [ "prefix", "exact" ] } }, "required": [ "path", "type" ], "type": "object" }, "routes": { "items": { "$ref": "#/definitions/route" }, "minItems": 1, "type": "array" }, "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": [ "aaib_report", "about", "about_our_services", "accessible_documents_policy", "access_and_opening", "ambassador_role", "answer", "asylum_support_decision", "authored_article", "board_member_role", "business_finance_support_scheme", "calculator", "calendar", "case_study", "chief_professional_officer_role", "chief_scientific_officer_role", "chief_scientific_advisor_role", "closed_consultation", "cma_case", "coming_soon", "complaints_procedure", "completed_transaction", "consultation", "consultation_outcome", "contact", "coronavirus_landing_page", "corporate_report", "correspondence", "countryside_stewardship_grant", "decision", "deputy_head_of_mission_role", "detailed_guidance", "detailed_guide", "dfid_research_output", "document_collection", "drug_safety_update", "email_alert_signup", "employment_appeal_tribunal_decision", "employment_tribunal_decision", "equality_and_diversity", "esi_fund", "export_health_certificate", "external_content", "facet", "facet_group", "facet_value", "fatality_notice", "field_of_operation", "finder", "finder_email_signup", "foi_release", "form", "gone", "government", "government_response", "governor_role", "guidance", "guide", "help_page", "high_commissioner_role", "history", "hmrc_manual", "hmrc_manual_section", "homepage", "html_publication", "impact_assessment", "imported", "independent_report", "international_development_fund", "international_treaty", "knowledge_alpha", "licence", "license_finder", "local_transaction", "maib_report", "mainstream_browse_page", "manual", "manual_section", "map", "marine_notice", "media_enquiries", "medical_safety_alert", "membership", "military_role", "ministerial_role", "ministers_index", "national", "national_statistics", "national_statistics_announcement", "need", "news_article", "news_story", "notice", "official", "official_statistics", "official_statistics_announcement", "open_consultation", "oral_statement", "organisation", "our_energy_use", "our_governance", "person", "personal_information_charter", "petitions_and_campaigns", "place", "placeholder", "placeholder_ministerial_role", "placeholder_organisation", "placeholder_person", "placeholder_policy_area", "placeholder_topical_event", "placeholder_world_location", "placeholder_world_location_news_page", "placeholder_worldwide_organisation", "policy_area", "policy_paper", "press_release", "procurement", "promotional", "publication_scheme", "raib_report", "recruitment", "redirect", "regulation", "research", "residential_property_tribunal_decision", "role_appointment", "search", "service_manual_guide", "service_manual_homepage", "service_manual_service_standard", "service_manual_service_toolkit", "service_manual_topic", "service_sign_in", "service_standard_report", "services_and_information", "simple_smart_answer", "smart_answer", "social_media_use", "special_representative_role", "special_route", "speech", "staff_update", "statistical_data_set", "statistics", "statistics_announcement", "statutory_guidance", "statutory_instrument", "step_by_step_nav", "take_part", "tax_tribunal_decision", "taxon", "terms_of_reference", "topic", "topical_event", "topical_event_about_page", "traffic_commissioner_regulatory_decision", "traffic_commissioner_role", "transaction", "transparency", "travel_advice", "travel_advice_index", "unpublishing", "uk_market_conformity_assessment_body", "utaac_decision", "vanish", "welsh_language_scheme", "working_group", "world_location", "world_location_news_article", "world_news_story", "worldwide_office_staff_role", "worldwide_organisation", "written_statement" ], "type": "string" }, "email_document_supertype": { "description": "Document supertype grouping intended to power the Whitehall finders and email subscriptions", "type": "string" }, "expanded_links": { "additionalProperties": false, "properties": { "available_translations": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "Link type automatically added by Publishing API" }, "child_taxons": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "Link type automatically added by Publishing API" }, "children": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "Link type automatically added by Publishing API" }, "document_collections": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "Link type automatically added by Publishing API" }, "facet_groups": { "$ref": "#/definitions/frontend_links", "description": "Prototype-stage metadata tagging tree roots for this content item. A content item my belong to many facet groups without having any specific facet_values links." }, "facet_values": { "$ref": "#/definitions/frontend_links", "description": "Prototype-stage metadata tagging values for this content item, a content item can be linked to many facet values from varying facet groups." }, "finder": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "Powers links from content back to finders the content is surfaced on" }, "lead_organisations": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "DEPRECATED: A subset of organisations that should be emphasised in relation to this content item. All organisations specified here should also be part of the organisations array." }, "level_one_taxons": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "Link type automatically added by Publishing API" }, "mainstream_browse_pages": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "Powers the /browse section of the site. These are known as sections in some legacy apps." }, "meets_user_needs": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "The user needs this piece of content meets." }, "ministers": { "$ref": "#/definitions/frontend_links", "description": "Link type automatically added by Publishing API" }, "ordered_related_items": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger." }, "ordered_related_items_overrides": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation." }, "organisations": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "All organisations linked to this content item. This should include lead organisations." }, "original_primary_publishing_organisation": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "The organisation that published the original version of the page. Corresponds to the first of the 'Lead organisations' in Whitehall for the first edition, and is empty for all other publishing applications." }, "parent": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "The parent content item.", "maxItems": 1 }, "part_of_step_navs": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "Link type automatically added by Publishing API" }, "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_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" }, "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" }, "topics": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "Powers the /topic section of the site. These are known as specialist sectors in some legacy apps." } }, "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" }, "lead_organisations": { "$ref": "#/definitions/guid_list", "description": "DEPRECATED: A subset of organisations that should be emphasised in relation to this content item. All organisations specified here should also be part of the organisations array." }, "mainstream_browse_pages": { "$ref": "#/definitions/guid_list", "description": "Powers the /browse section of the site. These are known as sections in some legacy apps." }, "meets_user_needs": { "$ref": "#/definitions/guid_list", "description": "The user needs this piece of content meets." }, "ordered_related_items": { "$ref": "#/definitions/guid_list", "description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger." }, "ordered_related_items_overrides": { "$ref": "#/definitions/guid_list", "description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation." }, "organisations": { "$ref": "#/definitions/guid_list", "description": "All organisations linked to this content item. This should include lead organisations." }, "original_primary_publishing_organisation": { "$ref": "#/definitions/guid_list", "description": "The organisation that published the original version of the page. Corresponds to the first of the 'Lead organisations' in Whitehall for the first edition, and is empty for all other publishing applications." }, "parent": { "$ref": "#/definitions/guid_list", "description": "The parent content item.", "maxItems": 1 }, "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 }, "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" }, "topics": { "$ref": "#/definitions/guid_list", "description": "Powers the /topic section of the site. These are known as specialist sectors in some legacy apps." } }, "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": [ "generic" ], "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" }
o21228
{ "$comment": "https://www.mongodb.com/docs/atlas/atlas-search/index-definitions/#std-label-ref-index-definitions", "$id": "https://json.schemastore.org/mongodb-atlas-search-index-definition.json", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "definitions": { "CustomAnalyzer": { "type": "object", "additionalProperties": false, "properties": { "name": { "type": "string", "pattern": "^(?!^lucene\\.|builtin\\.|mongodb\\.).*", "description": "Name of the custom analyzer.\nNames must be unique within an index, and may not start with any of the following strings:\n- lucene.\n- builtin.\n- mongodb." }, "charFilters": { "type": "array", "items": { "$ref": "#/definitions/CharFilter" }, "description": "Array containing zero or more character filters." }, "tokenizer": { "$ref": "#/definitions/Tokenizer" }, "tokenFilters": { "type": "array", "items": { "$ref": "#/definitions/TokenFilter" }, "description": "Array containing zero or more token filters." } }, "required": ["name", "tokenizer"], "title": "Analyzer" }, "Tokenizer": { "type": "object", "additionalProperties": false, "properties": { "type": { "type": "string", "enum": [ "edgeGram", "keyword", "nGram", "regexCaptureGroup", "regexSplit", "standard", "uaxUrlEmail", "whitespace" ] } }, "required": ["type"], "title": "Tokenizer", "description": "Tokenizer to use to create tokens." }, "TokenFilter": { "type": "object", "additionalProperties": false, "properties": { "type": { "type": "string", "enum": [ "asciiFolding", "daitchMokotoffSoundex", "edgeGram", "icuFolding", "icuNormalizer", "length", "lowercase", "nGram", "regex", "reverse", "shingle", "snowballStemming", "stopword", "trim" ], "description": "Human-readable label that identifies this token filter type." } }, "required": ["type"], "title": "TokenFilter" }, "CharFilter": { "type": "object", "additionalProperties": false, "properties": { "type": { "type": "string", "enum": ["htmlStrip", "icuNormalize", "mapping", "persian"], "description": "Human-readable label that identifies this character filter type." }, "ignoredTags": { "type": "array", "items": { "type": "string" }, "description": "List that contains the HTML tags to exclude from filtering." } }, "dependencies": { "ignoredTags": { "properties": { "type": { "enum": ["htmlStrip"] } } } }, "required": ["type"], "if": { "properties": { "type": { "const": "mapping" } } }, "then": { "properties": { "mappings": { "type": "object" } }, "required": ["mappings"] }, "title": "CharFilter" }, "Mappings": { "type": "object", "oneOf": [ { "additionalProperties": false, "properties": { "dynamic": { "const": true } } }, { "additionalProperties": false, "properties": { "dynamic": { "type": "boolean", "description": "Enables or disables dynamic mapping of fields for this index.\nIf set to true, Atlas Search recursively indexes all fields and embedded documents in the document except:\nFields of certain data types. To learn more, see BSON Data Types.\nAny fields explicitly excluded by the mappings.fields parameter.\nIf set to false, you must specify individual fields to index using mappings.fields.\nIf omitted, defaults to false." }, "fields": { "type": "object", "patternProperties": { "^.*$": { "oneOf": [ { "$ref": "#/definitions/MappingsField" }, { "type": "array", "items": { "$ref": "#/definitions/MappingsField" } } ] } } } }, "required": ["fields"] } ], "title": "Mappings", "description": "Specifies how to index fields at different paths for this index." }, "MappingsField": { "type": "object", "additionalProperties": false, "properties": { "type": { "type": "string", "enum": [ "autocomplete", "boolean", "date", "dateFacet", "document", "embeddedDocuments", "geo", "number", "numberFacet", "objectId", "string", "stringFacet" ] }, "analyzer": { "type": "string" }, "maxGrams": { "type": "integer" }, "minGrams": { "type": "integer" }, "tokenization": { "type": "string", "enum": ["edgeGram", "rightEdgeGram", "nGram"] }, "foldDiacritics": { "type": "boolean" }, "dynamic": { "type": "boolean" }, "fields": { "type": "object" }, "indexShapes": { "type": "boolean" }, "representation": { "type": "string", "enum": ["int64", "double"] }, "indexIntegers": { "type": "boolean" }, "indexDoubles": { "type": "boolean" }, "searchAnalyzer": { "type": "string" }, "indexOptions": { "type": "string", "enum": ["docs", "freqs", "positions", "offsets"] }, "store": { "type": "boolean" }, "ignoreAbove": { "type": "integer" }, "multi": { "type": "object", "properties": { "type": { "type": "string", "enum": ["string"] }, "analyzer": { "type": "string" } } }, "norms": { "type": "string", "enum": ["include", "omit"] } }, "dependencies": { "analyzer": { "properties": { "type": { "enum": ["autocomplete", "string"] } } }, "maxGrams": { "properties": { "type": { "enum": ["autocomplete"] } } }, "minGrams": { "properties": { "type": { "enum": ["autocomplete"] } } }, "tokenization": { "properties": { "type": { "enum": ["autocomplete"] } } }, "foldDiacritics": { "properties": { "type": { "enum": ["autocomplete"] } } }, "dynamic": { "properties": { "type": { "enum": ["document", "embeddedDocuments"] } } }, "fields": { "properties": { "type": { "enum": ["document", "embeddedDocuments"] } } }, "indexShapes": { "properties": { "type": { "enum": ["geo"] } } }, "representation": { "properties": { "type": { "enum": ["number", "numberFacet"] } } }, "indexIntegers": { "properties": { "type": { "enum": ["number", "numberFacet"] } } }, "indexDoubles": { "properties": { "type": { "enum": ["number", "numberFacet"] } } }, "searchAnalyzer": { "properties": { "type": { "enum": ["string"] } } }, "indexOptions": { "properties": { "type": { "enum": ["string"] } } }, "store": { "properties": { "type": { "enum": ["string"] } } }, "ignoreAbove": { "properties": { "type": { "enum": ["string"] } } }, "multi": { "properties": { "type": { "enum": ["string"] } } }, "norms": { "properties": { "type": { "enum": ["string"] } } } } }, "StoredSource": { "type": "object", "anyOf": [ { "additionalProperties": false, "properties": { "include": { "type": "array", "items": { "type": "string" }, "description": "List that contains the field names or dot-separated paths to fields to store.\nIn addition to the specified fields, Atlas Search stores _id also by default." }, "exclude": { "type": "array", "items": { "type": "string" }, "description": "List that contains the field names or dot-separated paths to fields to exclude from being stored.\nIf specified, Atlas Search stores original documents except the fields listed here." } }, "required": ["include"] }, { "additionalProperties": false, "properties": { "include": { "type": "array", "items": { "type": "string" }, "description": "List that contains the field names or dot-separated paths to fields to store.\nIn addition to the specified fields, Atlas Search stores _id also by default." }, "exclude": { "type": "array", "items": { "type": "string" }, "description": "List that contains the field names or dot-separated paths to fields to exclude from being stored.\nIf specified, Atlas Search stores original documents except the fields listed here." } }, "required": ["exclude"] } ], "title": "StoredSource" }, "Synonym": { "type": "object", "additionalProperties": false, "properties": { "name": { "type": "string" }, "analyzer": { "type": "string", "enum": [ "lucene.standard", "lucene.simple", "lucene.whitespace", "lucene.keyword", "lucene.arabic", "lucene.armenian", "lucene.basque", "lucene.bengali", "lucene.brazilian", "lucene.bulgarian", "lucene.catalan", "lucene.chinese", "lucene.cjk", "lucene.czech", "lucene.danish", "lucene.dutch", "lucene.english", "lucene.finnish", "lucene.french", "lucene.galician", "lucene.german", "lucene.greek", "lucene.hindi", "lucene.hungarian", "lucene.indonesian", "lucene.irish", "lucene.italian", "lucene.japanese", "lucene.korean", "lucene.latvian", "lucene.lithuanian", "lucene.morfologik", "lucene.nori", "lucene.norwegian", "lucene.persian", "lucene.portuguese", "lucene.romanian", "lucene.russian", "lucene.smartcn", "lucene.sorani", "lucene.spanish", "lucene.swedish", "lucene.thai", "lucene.turkish", "lucene.ukrainian", "nGram", "edgeGram", "daitchMokotoffSoundex", "shingle" ] }, "source": { "type": "object", "properties": { "collection": { "type": "string" } } } } } }, "properties": { "analyzer": { "type": "string", "description": "Specifies the analyzer to apply to string fields when indexing.\nIf you set this only at the top and do not specify an analyzer for the fields in the index definition, Atlas Search applies this analyzer to all the fields.\nTo use a different analyzer for each field, you must specify a different analyzer for the field.\nIf omitted, defaults to Standard Analyzer." }, "analyzers": { "type": "array", "items": { "$ref": "#/definitions/CustomAnalyzer" }, "description": "Specifies the Custom Analyzers to use in this index." }, "mappings": { "$ref": "#/definitions/Mappings" }, "name": { "type": "string", "description": "Specifies a name for the index. In each namespace, names of all indexes in the namespace must be unique.\nIf omitted, defaults to default." }, "searchAnalyzer": { "type": "string", "description": "Specifies the analyzer to apply to query text before searching with it.\nIf omitted, defaults to Standard Analyzer." }, "storedSource": { "oneOf": [ { "type": "boolean" }, { "$ref": "#/definitions/StoredSource" } ], "description": "Specifies fields in the documents to store for query-time look-ups using the returnedStoredSource option.\nYou can store fields of all BSON Data Types on Atlas Search.\n\nValue can be one of the following:\ntrue, to store all fields\nfalse, to not store any fields\nObject that specifies the fields to include or exclude from storage\n\nIf omitted, defaults to false." }, "synonyms": { "type": "array", "items": { "$ref": "#/definitions/Synonym" }, "description": "Synonym mappings to use in your index." } }, "required": ["mappings"], "title": "JSON schema for MongoDB Atlas Search index definition", "type": "object" }
mongodb-atlas-search-index-definition
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "array", "items": { "type": "object", "properties": { "id": { "type": "number" }, "permanent": { "type": "boolean" } } }, "properties": {}, "additionalProperties": false }
o45117
{ "id": "http://schlothauer.de/schemas/lsa-process-data.json", "$schema": "http://json-schema.org/draft-04/schema#", "description": "JSON Schema example of 2340", "type": "object", "properties": { "props": { "description": "???", "type": "object", "properties": { "version": { "type": "string" }, "user": { "type": "string" }, "date": { "type": "number" }, "dversion": { "type": "integer" } } }, "KnotenData": { "description": "basically attributes start with lower case char", "$ref": "#/definitions/KnotenData" } }, "definitions": { "KnotenData": { "type": "object", "properties": { "knotndat": { "type": "object", "properties": { "kndatattr": { "type": "string", "properties": { "liverk": { "type": "boolean", "__tags": [ "attribute" ] }, "inort": { "type": "boolean", "__tags": [ "attribute" ] }, "ibara": { "type": "boolean", "__tags": [ "attribute" ] }, "sfzgn1": { "type": "string", "__tags": [ "attribute" ] }, "sfzgn2": { "type": "string", "__tags": [ "attribute" ] }, "nlsaver": { "type": "integer", "__tags": [ "attribute" ] } } }, "pp": { "type": "object", "properties": { "ppattr": { "type": "string", "properties": { "p1": { "type": "integer", "__tags": [ "attribute" ] }, "p2": { "type": "string", "__tags": [ "attribute" ] }, "p3": { "type": "string", "__tags": [ "attribute" ] }, "p5": { "type": "integer", "__tags": [ "attribute" ] }, "p6": { "type": "integer", "__tags": [ "attribute" ] }, "p7": { "type": "integer", "__tags": [ "attribute" ] }, "p8": { "type": "boolean", "__tags": [ "attribute" ] }, "p9": { "type": "boolean", "__tags": [ "attribute" ] }, "p10": { "type": "number", "__tags": [ "attribute" ] }, "p11": { "type": "integer", "__tags": [ "attribute" ] }, "p12": { "type": "integer", "__tags": [ "attribute" ] }, "p13": { "type": "number", "__tags": [ "attribute" ] }, "p14": { "type": "number", "__tags": [ "attribute" ] }, "p15": { "type": "number", "__tags": [ "attribute" ] }, "p16": { "type": "number", "__tags": [ "attribute" ] } } } }, "__version": 13 }, "armlist": { "type": "object", "properties": { "arm": { "type": "object", "properties": { "armattr": { "type": "string", "properties": { "id": { "type": "string", "__tags": [ "attribute" ] }, "dt": { "type": "string", "__tags": [ "attribute" ] }, "nr": { "type": "integer", "__tags": [ "attribute" ] }, "winkel": { "type": "integer", "__tags": [ "attribute" ] }, "spikr": { "type": "integer", "__tags": [ "attribute" ] }, "tknr": { "type": "integer", "__tags": [ "attribute" ] }, "name": { "type": "string", "__tags": [ "attribute" ] }, "vorftyp": { "type": "integer", "__tags": [ "attribute" ] }, "dreiins": { "type": "boolean", "__tags": [ "attribute" ] }, "dreickspnr": { "type": "integer", "__tags": [ "attribute" ] }, "aufw": { "type": "integer", "__tags": [ "attribute" ] }, "aufwl": { "type": "number", "__tags": [ "attribute" ] }, "mitins": { "type": "boolean", "__tags": [ "attribute" ] }, "nlsaaufln": { "type": "number", "__tags": [ "attribute" ] }, "fvfuss": { "type": "number", "__tags": [ "attribute" ] }, "tkusch": { "type": "boolean", "__tags": [ "attribute" ] } } }, "spurli": { "type": "object", "properties": { "spur": { "type": "object", "properties": { "spurattr": { "type": "string", "properties": { "id": { "type": "string", "__tags": [ "attribute" ] }, "dt": { "type": "string", "__tags": [ "attribute" ] }, "name": { "type": "string", "__tags": [ "attribute" ] }, "art": { "type": "integer", "__tags": [ "attribute" ] }, "nr": { "type": "integer", "__tags": [ "attribute" ] }, "aufstpl": { "type": "number", "__tags": [ "attribute" ] }, "hst": { "type": "boolean", "__tags": [ "attribute" ] }, "bre": { "type": "number", "__tags": [ "attribute" ] }, "lneig": { "type": "number", "__tags": [ "attribute" ] }, "abradra": { "type": "number", "__tags": [ "attribute" ] }, "abradla": { "type": "number", "__tags": [ "attribute" ] }, "abradwd": { "type": "number", "__tags": [ "attribute" ] }, "aufstli": { "type": "integer", "__tags": [ "attribute" ] }, "aufstre": { "type": "integer", "__tags": [ "attribute" ] }, "aufstrb": { "type": "integer", "__tags": [ "attribute" ] }, "aufstin": { "type": "integer", "__tags": [ "attribute" ] }, "aufstib": { "type": "integer", "__tags": [ "attribute" ] }, "lae": { "type": "number", "__tags": [ "attribute" ] }, "qsp": { "type": "integer", "__tags": [ "attribute" ] }, "aufstlla": { "type": "number", "__tags": [ "attribute" ] }, "aufstlra": { "type": "number", "__tags": [ "attribute" ] }, "mitins": { "type": "boolean", "__tags": [ "attribute" ] } } }, "mitins": { "type": "string", "properties": { "id": { "type": "string", "__tags": [ "attribute" ] }, "dt": { "type": "string", "__tags": [ "attribute" ] }, "bre": { "type": "number", "__tags": [ "attribute" ] }, "lae": { "type": "number", "__tags": [ "attribute" ] }, "auto": { "type": "boolean", "__tags": [ "attribute" ] } } } }, "__version": 13 }, "slattr": { "type": "string", "properties": { "lid": { "type": "integer", "__tags": [ "attribute" ] } } } }, "__version": 13 }, "strlist": { "type": "object", "properties": { "strom": { "type": "object", "properties": { "strattr": { "type": "string", "properties": { "id": { "type": "string", "__tags": [ "attribute" ] }, "dt": { "type": "string", "__tags": [ "attribute" ] }, "varm": { "type": "integer", "__tags": [ "attribute" ] }, "narm": { "type": "integer", "__tags": [ "attribute" ] }, "richt": { "type": "integer", "__tags": [ "attribute" ] }, "exway": { "type": "integer", "__tags": [ "attribute" ] }, "crti": { "type": "integer", "__tags": [ "attribute" ] }, "sust": { "type": "integer", "__tags": [ "attribute" ] }, "tupo": { "type": "integer", "__tags": [ "attribute" ] } } }, "tslist": { "type": "object", "properties": { "tstrom": { "type": "object", "properties": { "tsattr": { "type": "string", "properties": { "id": { "type": "string", "__tags": [ "attribute" ] }, "dt": { "type": "string", "__tags": [ "attribute" ] }, "bre": { "type": "number", "__tags": [ "attribute" ] }, "fulae": { "type": "number", "__tags": [ "attribute" ] }, "name": { "type": "string", "__tags": [ "attribute" ] }, "fidx": { "type": "integer", "__tags": [ "attribute" ] } } }, "sfzge": { "type": "string", "properties": { "kfz": { "type": "string", "__tags": [ "attribute" ] }, "fuss": { "type": "string", "__tags": [ "attribute" ] } } }, "spnrs": { "type": "object", "properties": { "li": { "type": "integer" } }, "__version": 13 }, "spartn": { "type": "object", "properties": { "li": { "type": "integer" } }, "__version": 13 } }, "__version": 13 } }, "__version": 13 } }, "__version": 13 } }, "__version": 13 }, "fzgval": { "type": "string", "properties": { "val0": { "type": "number", "__tags": [ "attribute" ] }, "val1": { "type": "number", "__tags": [ "attribute" ] }, "val2": { "type": "number", "__tags": [ "attribute" ] }, "val3": { "type": "number", "__tags": [ "attribute" ] }, "val4": { "type": "number", "__tags": [ "attribute" ] }, "val5": { "type": "number", "__tags": [ "attribute" ] }, "val6": { "type": "number", "__tags": [ "attribute" ] }, "val7": { "type": "number", "__tags": [ "attribute" ] }, "val8": { "type": "number", "__tags": [ "attribute" ] }, "val9": { "type": "number", "__tags": [ "attribute" ] } } }, "mitins": { "type": "string", "properties": { "id": { "type": "string", "__tags": [ "attribute" ] }, "dt": { "type": "string", "__tags": [ "attribute" ] }, "bre": { "type": "number", "__tags": [ "attribute" ] }, "lae": { "type": "number", "__tags": [ "attribute" ] }, "auto": { "type": "boolean", "__tags": [ "attribute" ] } } }, "kpvli": { "type": "object", "properties": { "kpverb": { "type": "object", "properties": { "kpvattr": { "type": "string", "properties": { "wid": { "type": "integer", "__tags": [ "attribute" ] }, "lae": { "type": "number", "__tags": [ "attribute" ] }, "spanz": { "type": "integer", "__tags": [ "attribute" ] }, "rzt": { "type": "number", "__tags": [ "attribute" ] }, "fzanz": { "type": "integer", "__tags": [ "attribute" ] }, "ri": { "type": "integer", "__tags": [ "attribute" ] }, "name": { "type": "string", "__tags": [ "attribute" ] } } }, "sfzge": { "type": "string", "properties": { "kfz": { "type": "string", "__tags": [ "attribute" ] } } }, "qkp": { "type": "string", "properties": { "arm": { "type": "integer", "__tags": [ "attribute" ] }, "ort": { "type": "string", "__tags": [ "attribute" ] }, "kp": { "type": "string", "__tags": [ "attribute" ] } } }, "zkp": { "type": "string", "properties": { "arm": { "type": "integer", "__tags": [ "attribute" ] }, "ort": { "type": "string", "__tags": [ "attribute" ] }, "kp": { "type": "string", "__tags": [ "attribute" ] } } } }, "__version": 13 } }, "__version": 13 }, "kplili": { "type": "object", "properties": {}, "__version": 13 } }, "__version": 13 } }, "__version": 13 }, "tkli": { "type": "object", "properties": { "tk": { "type": "object", "properties": { "tkattr": { "type": "string", "properties": { "id": { "type": "string", "__tags": [ "attribute" ] }, "dt": { "type": "string", "__tags": [ "attribute" ] }, "nr": { "type": "integer", "__tags": [ "attribute" ] }, "name": { "type": "string", "__tags": [ "attribute" ] }, "pktx": { "type": "integer", "__tags": [ "attribute" ] }, "pkty": { "type": "integer", "__tags": [ "attribute" ] }, "krv": { "type": "boolean", "__tags": [ "attribute" ] }, "fzl": { "type": "number", "__tags": [ "attribute" ] }, "nzl": { "type": "number", "__tags": [ "attribute" ] }, "mzl": { "type": "number", "__tags": [ "attribute" ] }, "gzl": { "type": "number", "__tags": [ "attribute" ] }, "pch": { "type": "boolean", "__tags": [ "attribute" ] }, "vis": { "type": "boolean", "__tags": [ "attribute" ] }, "gernr": { "type": "integer", "__tags": [ "attribute" ] }, "audm": { "type": "number", "__tags": [ "attribute" ] }, "usadd": { "type": "boolean", "__tags": [ "attribute" ] } } } }, "__version": 13 } }, "__version": 13 }, "tkverbli": { "type": "object", "properties": {}, "__version": 13 }, "nopfl": { "type": "string", "properties": { "sty": { "type": "integer", "__tags": [ "attribute" ] }, "winkel": { "type": "number", "__tags": [ "attribute" ] }, "gro": { "type": "number", "__tags": [ "attribute" ] }, "vis": { "type": "boolean", "__tags": [ "attribute" ] }, "pktx": { "type": "number", "__tags": [ "attribute" ] }, "pkty": { "type": "number", "__tags": [ "attribute" ] } } }, "knotgraf": { "type": "object", "properties": { "knograttr": { "type": "string", "properties": { "fcol": { "type": "integer", "__tags": [ "attribute" ] }, "fhei": { "type": "integer", "__tags": [ "attribute" ] }, "fname": { "type": "string", "__tags": [ "attribute" ] } } }, "pp": { "type": "object", "properties": { "ppattr": { "type": "string", "properties": { "p1": { "type": "integer", "__tags": [ "attribute" ] }, "p2": { "type": "string", "__tags": [ "attribute" ] }, "p3": { "type": "string", "__tags": [ "attribute" ] }, "p5": { "type": "integer", "__tags": [ "attribute" ] }, "p6": { "type": "integer", "__tags": [ "attribute" ] }, "p7": { "type": "integer", "__tags": [ "attribute" ] }, "p8": { "type": "boolean", "__tags": [ "attribute" ] }, "p9": { "type": "boolean", "__tags": [ "attribute" ] }, "p10": { "type": "number", "__tags": [ "attribute" ] }, "p11": { "type": "integer", "__tags": [ "attribute" ] }, "p12": { "type": "integer", "__tags": [ "attribute" ] }, "p13": { "type": "number", "__tags": [ "attribute" ] }, "p14": { "type": "number", "__tags": [ "attribute" ] }, "p15": { "type": "number", "__tags": [ "attribute" ] }, "p16": { "type": "number", "__tags": [ "attribute" ] } } }, "ptpDim": { "type": "boolean" } }, "__version": 13 }, "nopf": { "type": "string", "properties": { "ppx": { "type": "number", "__tags": [ "attribute" ] }, "ppy": { "type": "number", "__tags": [ "attribute" ] }, "usmov": { "type": "boolean", "__tags": [ "attribute" ] } } }, "gtkli": { "type": "object", "properties": { "tk": { "type": "string", "properties": { "mpx": { "type": "number", "__tags": [ "attribute" ] }, "mpy": { "type": "number", "__tags": [ "attribute" ] }, "usmov": { "type": "boolean", "__tags": [ "attribute" ] } } } }, "__version": 13 } }, "__version": 13 } }, "__version": 13 } }, "__version": 13 } } }
o73947
{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://oss-review-toolkit.org/package-configuration.yml", "title": "ORT package configuration", "description": "The OSS-Review-Toolkit (ORT) provides a possibility to define path excludes and license finding curations for a specific package (dependency) and provenance in a package configuration file. A full list of all available options can be found at https://github.com/oss-review-toolkit/ort/blob/main/docs/config-file-package-configuration-yml.md.", "type": "object", "properties": { "id": { "type": "string" }, "license_finding_curations": { "items": { "$ref": "#/definitions/licenseFindingCurations" }, "type": "array" }, "path_excludes": { "items": { "properties": { "comment": { "type": "string" }, "pattern": { "type": "string" }, "reason": { "$ref": "#/definitions/pathExcludeReason" } }, "required": [ "pattern", "reason" ], "type": "object" }, "type": "array" }, "vcs": { "$ref": "#/definitions/vcsMatcher" }, "source_artifact_url": { "type": "string" } }, "definitions": { "licenseFindingCurationReason": { "enum": [ "CODE", "DATA_OF", "DOCUMENTATION_OF", "INCORRECT", "NOT_DETECTED", "REFERENCE" ] }, "licenseFindingCurations": { "properties": { "comment": { "type": "string" }, "concluded_license": { "type": "string" }, "detected_license": { "type": "string" }, "line_count": { "type": "integer" }, "path": { "type": "string" }, "reason": { "$ref": "#/definitions/licenseFindingCurationReason" }, "start_lines": { "type": [ "integer", "string" ] } }, "required": [ "path", "concluded_license", "reason" ], "type": "object" }, "pathExcludeReason": { "enum": [ "BUILD_TOOL_OF", "DATA_FILE_OF", "DOCUMENTATION_OF", "EXAMPLE_OF", "OPTIONAL_COMPONENT_OF", "OTHER", "PROVIDED_BY", "TEST_OF", "TEST_TOOL_OF" ] }, "vcsMatcher": { "anyOf": [ { "required": [ "type" ] }, { "required": [ "url" ] }, { "required": [ "revision" ] }, { "required": [ "path" ] } ], "properties": { "path": { "type": "string" }, "revision": { "type": "string" }, "type": { "type": "string" }, "url": { "type": "string" } }, "type": "object" } }, "required": [ "id" ], "oneOf": [ { "required": [ "vcs" ] }, { "required": [ "source_artifact_url" ] } ] }
package-configuration-schema
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "version": { "type": "string" }, "resources": { "type": "object", "properties": { "reference": { "type": "string" }, "dbsnp": { "type": "string" } } }, "globalQsub": { "type": "object" }, "analyses": { "type": "array", "items": { "type": "object", "properties": { "analysis": { "type": "string" }, "description": { "type": "string" }, "inputFormat": { "type": "string" }, "program": { "type": "string" }, "enable": { "type": "integer", "enum": [ 0, 1 ] }, "outdirs": { "type": "array", "items": { "type": "object" } }, "outfiles": { "type": "array", "items": { "type": "object" } }, "dependencies": { "type": "array", "items": { "type": "string" } }, "modules": { "type": "array", "items": { "type": "string" } }, "jar": { "type": "string" }, "javavm": { "type": "string" }, "qsub": { "type": "object", "properties": { "name": { "type": "string" }, "slots": { "type": "integer" }, "mem": { "type": "string" }, "time": { "type": "string" }, "directory": { "type": "string" }, "queue": { "type": "string" }, "project": { "type": "string" }, "host": { "type": "string" }, "pe": { "type": "string" }, "account": { "type": "string" } } }, "params": { "type": "object" }, "args": { "description": "An array of command-line arguments.", "type": "array" } }, "additionalProperties": false } } }, "additionalProperties": false }
o14633
{ "type": "array", "items": { "anyOf": [ { "$ref": "#/definitions/MyObject" }, { "type": "string" } ] }, "definitions": { "MyObject": { "type": "object", "properties": { "array": { "type": "array", "items": { "type": [ "string", "number" ] } } }, "required": [ "array" ] } }, "$schema": "http://json-schema.org/draft-04/schema#" }
o25970
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": true, "id": "https://json.schemastore.org/tsdrc.json", "properties": { "strictSSL": { "type": "boolean", "description": "Enabled by default, setting this option to false disables strict SSL. Passed to request package. Useful behind (corporate) proxies that act like man-in-the middle on https connections.", "default": true }, "proxy": { "type": "string", "description": "Any standard http-proxy as supported by the request package.", "format": "uri" }, "token": { "type": "string", "description": "The OAuth token can be used to boost the GitHub API rate-limit from 60 to 5000 (non-cached) requests per hour. The is token needs just 'read-only access to public information' so no additional OAuth scopes are necessary." } }, "title": "JSON schema for .tsdrc files", "type": "object" }
tsdrc
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": true, "definitions": { "dependancyVersion": { "oneOf": [ { "$ref": "#/definitions/semver" }, { "maxLength": 0, "type": "string" } ] }, "haxelibTag": { "description": "A keyword or term associated with a haxelib project", "minLength": 2, "pattern": "^[A-Za-z0-9_.-]{2,}$", "type": "string" }, "projectName": { "description": "The name of a haxelib project", "minLength": 3, "pattern": "^[A-Za-z0-9_.-]{3,}$", "type": "string" }, "semver": { "pattern": "^([0-9]+)\\.([0-9]+)\\.([0-9]+)(-(alpha|beta|rc)(\\.([0-9]+))?)?$", "type": "string" }, "userName": { "description": "The name of a user", "minLength": 3, "pattern": "^[A-Za-z0-9_.-]{3,}$", "type": "string" } }, "description": "A haxelib project", "properties": { "classPath": { "description": "The folder in the package which contains the source files for this haxelib", "type": "string" }, "contributors": { "items": { "$ref": "#/definitions/userName" }, "minItems": 1, "type": "array", "_uniqueItems": true }, "dependencies": { "additionalProperties": { "$ref": "#/definitions/dependancyVersion" }, "type": "object" }, "description": { "type": "string" }, "license": { "description": "The open source license under which the project is licensed", "enum": [ "GPL", "LGPL", "BSD", "Public", "MIT" ] }, "name": { "$ref": "#/definitions/projectName" }, "releasenote": { "type": "string" }, "tags": { "items": { "$ref": "#/definitions/haxelibTag" }, "type": "array", "_uniqueItems": true }, "url": { "_format": "uri", "type": "string" }, "version": { "$ref": "#/definitions/semver" } }, "required": [ "name", "license", "releasenote", "contributors", "version" ], "type": "object" }
o59664
{ "oneOf": [ { "properties": { "radius": { "type": "number" }, "shape": { "enum": [ "circle" ] } }, "required": [ "shape", "radius" ] }, { "properties": { "length": { "type": "number" }, "shape": { "enum": [ "rectangle" ] }, "width": { "type": "number" } }, "required": [ "shape", "length", "width" ] }, { "properties": { "base": { "type": "number" }, "height": { "type": "number" }, "shape": { "enum": [ "triangle" ] } }, "required": [ "shape", "base", "height" ] } ], "properties": { "base": { "description": "The base of the triangle", "type": "number" }, "height": { "description": "The height of the triangle", "type": "number" }, "length": { "description": "The length of the rectangle", "type": "number" }, "radius": { "description": "The radius of the circle", "type": "number" }, "shape": { "description": "The shape for which to calculate the area", "enum": [ "circle", "rectangle", "triangle" ], "type": "string" }, "width": { "description": "The width of the rectangle", "type": "number" } }, "type": "object" }
calculate_area_27950976
{ "additionalProperties": false, "properties": { "configuration": { "default": "production", "description": "The configuration to apply service worker to.", "type": "string" }, "project": { "$default": { "$source": "projectName" }, "description": "The name of the project.", "type": "string" }, "target": { "default": "build", "description": "The target to apply service worker to.", "type": "string" }, "title": { "description": "The title of the application.", "type": "string" } }, "required": [], "title": "Angular PWA Options Schema", "type": "object" }
o45388
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "name": { "type": "string", "minLength": 1, "maxLength": 255 }, "description": { "type": "string", "maxLength": 32767 }, "tags": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string", "pattern": "^[0-9a-zA-Z_-]{1,255}$" }, "value": { "type": "string", "minLength": 1, "maxLength": 255 } }, "required": [ "key", "value" ], "additionalProperties": false } }, "attributes": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "pattern": "^[0-9a-zA-Z_-]{1,255}$" }, "dataType": { "type": "string", "enum": [ "string", "number", "gps", "boolean" ] } }, "required": [ "name", "dataType" ], "additionalProperties": false } }, "deviceClass": { "type": "string", "enum": [ "standalone", "master", "owned", "floating", "virtual" ] }, "masterId": { "type": "string", "pattern": "^[A-Fa-f\\d]{24}$" } }, "additionalProperties": false, "required": [ "name" ] }
o6194
{ "properties": { "dimensions": { "properties": { "base": { "description": "The base length of the shape (only for triangle)", "type": "number" }, "height": { "description": "The height of the shape (only for triangle)", "type": "number" }, "length": { "description": "The length of the shape", "type": "number" }, "width": { "description": "The width of the shape", "type": "number" } }, "required": [ "length", "width" ], "type": "object" }, "shape": { "description": "The type of shape (e.g. rectangle, triangle)", "type": "string" } }, "required": [ "shape", "dimensions" ], "type": "object" }
calculate_area_a9700ff2
{ "properties": { "cuisine": { "description": "The cuisine to search for", "type": "string" }, "location": { "description": "The location to search for restaurants", "type": "string" }, "price_range": { "properties": { "max_price": { "description": "The maximum price range for restaurants", "type": "number" }, "min_price": { "description": "The minimum price range for restaurants", "type": "number" } }, "required": [ "min_price", "max_price" ], "type": "object" } }, "required": [ "location", "cuisine", "price_range" ], "type": "object" }
search_restaurants_d4619845
{ "properties": { "dimensions": { "properties": { "base": { "description": "The base of the triangle (if applicable)", "type": "number" }, "height": { "description": "The height of the triangle (if applicable)", "type": "number" }, "length": { "description": "The length of the rectangle (if applicable)", "type": "number" }, "radius": { "description": "The radius of the circle (if applicable)", "type": "number" }, "width": { "description": "The width of the rectangle (if applicable)", "type": "number" } }, "type": "object" }, "shape": { "description": "The shape for which the area needs to be calculated", "type": "string" } }, "required": [ "shape", "dimensions" ], "type": "object" }
calculate_area_ab6b488c
{ "id": "http://schemas.gdbots.io/json-schema/gdbots/ncr/mixin/lockable/1-0-0.json#", "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "_id": { "type": "string", "pattern": "^[\\w\\/\\.:-]+$", "description": "The \"_id\" value: - MUST NOT change for the life of the node. - SHOULD be globally unique - SHOULD be generated by the app (ideally in default value closure... e.g. UuidIdentifier::generate())" }, "status": { "type": "string", "default": "draft", "enum": [ "unknown", "published", "scheduled", "pending", "draft", "expired", "archived", "deleted" ] }, "etag": { "type": "string", "pattern": "^[\\w\\.:-]+$" }, "created_at": { "type": "string", "pattern": "^[1-9]{1}[0-9]{12,15}$" }, "creator_ref": { "type": "object", "properties": { "curie": { "type": "string", "pattern": "^([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+)$", "minLength": 0, "maxLength": 146 }, "id": { "type": "string", "pattern": "^[A-Za-z0-9:_\\-]+$", "minLength": 0, "maxLength": 255 }, "tag": { "type": "string", "pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$", "minLength": 0, "maxLength": 255 } }, "required": [ "curie", "id" ], "additionalProperties": false, "description": "A fully qualified reference to what created this node. This is intentionally a message-ref and not a user id because it is often a program that creates nodes, not a user." }, "updated_at": { "type": "string", "pattern": "^[1-9]{1}[0-9]{12,15}$" }, "updater_ref": { "type": "object", "properties": { "curie": { "type": "string", "pattern": "^([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+)$", "minLength": 0, "maxLength": 146 }, "id": { "type": "string", "pattern": "^[A-Za-z0-9:_\\-]+$", "minLength": 0, "maxLength": 255 }, "tag": { "type": "string", "pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$", "minLength": 0, "maxLength": 255 } }, "required": [ "curie", "id" ], "additionalProperties": false, "description": "A fully qualified reference to what updated this node. This is intentionally a message-ref and not a user id because it is often a program that updates nodes, not a user. E.g. \"acme:iam:node:app:cli-scheduler\" or \"acme:iam:node:user:60c71df0-fda8-11e5-bfb9-30342d363854\"" }, "last_event_ref": { "type": "object", "properties": { "curie": { "type": "string", "pattern": "^([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+)$", "minLength": 0, "maxLength": 146 }, "id": { "type": "string", "pattern": "^[A-Za-z0-9:_\\-]+$", "minLength": 0, "maxLength": 255 }, "tag": { "type": "string", "pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$", "minLength": 0, "maxLength": 255 } }, "required": [ "curie", "id" ], "additionalProperties": false, "description": "A reference to the last event that changed the state of this node. E.g. \"acme:blog:event:article-published:60c71df0-fda8-11e5-bfb9-30342d363854\"" }, "title": { "type": "string", "minLength": 0, "maxLength": 255 }, "is_locked": { "type": "boolean", "description": "A node being locked will vary in how it's implemented but the general idea is that only the user who locked it can modify it." }, "locked_by_ref": { "type": "string", "pattern": "^[\\w\\/\\.:-]+$", "description": "The user (or app) that has \"locked\" the node." } }, "required": [ "_id" ], "additionalProperties": true }
o42814
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "Some Schema", "description": "A schema for data that needs the pointer escaped", "type": "object", "properties": { "/path": { "type": "object", "properties": { "~prop": { "type": "number", "minimum": 0 } } } } }
o90887
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "Note (Partial Update Payload)", "type": "object", "properties": { "body": { "description": "The note's body text", "type": "string" }, "tags": { "description": "Names of the tags the note is associated with", "type": "array", "items": { "type": "string" }, "_uniqueItems": true } }, "additionalProperties": false, "minProperties": 1 }
o80293
{ "definitions": { "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_AWSElasticBlockStoreVolumeSource": { "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.", "properties": { "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", "type": "string" }, "partition": { "_format": "int32", "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", "type": "integer" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", "type": "boolean" }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", "type": "string" } }, "required": [ "volumeID" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_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_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_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": "ReplicationControllerSpec is the specification of a replication controller.", "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", "format": "int32", "type": [ "integer", "null" ] }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", "format": "int32", "type": [ "integer", "null" ] }, "selector": { "additionalProperties": { "type": [ "string", "null" ] }, "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", "type": [ "object", "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. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template" } }, "type": "object" }
kb_821_Normalized
{ "$schema": "http://json-schema.org/draft-04/schema#", "required": [ "config", "inputs" ], "type": "object", "properties": { "inputs": { "required": [ "in_phase", "in_magnitude" ], "type": "object", "properties": { "in_phase": { "type": "object", "properties": {} }, "in_magnitude": { "type": "object", "properties": {} }, "out_fieldmap": { "type": "object", "properties": {} } } }, "config": { "required": [ "delta_TE", "output_type", "scanner" ], "type": "object", "properties": { "delta_TE": { "default": 2.46, "type": "number" }, "output_type": { "default": "NIFTI_GZ", "enum": [ "NIFTI_PAIR", "NIFTI_PAIR_GZ", "NIFTI_GZ", "NIFTI" ], "type": "string" }, "args": { "type": "string" }, "nocheck": { "type": "boolean" }, "scanner": { "default": "SIEMENS", "type": "string" } } } }, "title": "Invocation manifest for PrepareFieldmap" }
o41374
{ "properties": { "dimensions": { "description": "The dimensions of the shape", "properties": { "length": { "description": "The length of the shape (optional)", "type": "number" }, "radius": { "description": "The radius of the shape (optional)", "type": "number" }, "width": { "description": "The width of the shape (optional)", "type": "number" } }, "required": [ "length", "width", "radius" ], "type": "object" }, "shape": { "description": "The shape for which area needs to be calculated", "type": "string" } }, "required": [ "shape" ], "type": "object" }
calculate_area_bf611aaf
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "properties": { "email": { "_format": "email", "maxLength": 1024, "type": "string" }, "role": { "enum": [ "admin", "edit", "view" ], "type": "string" } }, "required": [ "email", "role" ], "type": "object" }
o6235
{ "$schema": "http://json-schema.org/draft-04/schema#", "id": "http://judkins.house/apis/k2/v1/gkeZoneConfig.json", "$$target": "gkeZoneConfig.json", "title": "GKE Zone Configuration", "description": "GKE Zone Configuration", "properties": { "primaryZone": { "description": "The main zone for the k2 cluster.", "type": "string" }, "additionalZones": { "description": "Additional Zones that the cluster should also exist in.", "items": { "type": "string" }, "type": "array" } }, "required": [ "primaryZone", "additionalZones" ], "additionalProperties": false, "type": "object" }
o90390
{ "additionalProperties": false, "description": "Schema for a Google Analytics enhanced e-commerce promotion action entity", "properties": { "promotionAction": { "enum": [ "view", "promo_click", "null" ] } }, "self": { "format": "jsonschema", "name": "promotion_action", "vendor": "com.google.analytics.measurement-protocol", "version": "1-0-0" }, "type": "object" }
sp_59_Normalized
{ "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "namedResource": { "properties": { "name": { "type": "string" }, "resource_uri": { "type": "string" } }, "required": [ "name", "resource_uri" ], "type": "object" } }, "properties": { "created": { "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}.\\d{6}", "type": "string" }, "games": { "items": { "$ref": "#/definitions/namedResource" }, "type": "array" }, "id": { "type": "integer" }, "modified": { "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}.\\d{6}", "type": "string" }, "name": { "type": "string" }, "pokemon": { "$ref": "#/definitions/namedResource" }, "resource_uri": { "type": "string" } }, "required": [ "resource_uri", "created", "modified", "name", "pokemon", "id", "games" ], "type": "object" }
o12618
{ "definitions": { "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time": { "_format": "date-time", "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": "string" } }, "description": "ContainerStateRunning is a running state of a container.", "properties": { "startedAt": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time", "description": "Time at which the container was last (re-)started" } }, "type": "object" }
kb_127_Normalized
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "properties": { "connectorId": { "type": "integer" }, "idTag": { "maxLength": 20, "type": "string" }, "meterStart": { "type": "integer" }, "reservationId": { "type": "integer" }, "timestamp": { "_format": "date-time", "type": "string" } }, "required": [ "connectorId", "idTag", "meterStart", "timestamp" ], "title": "StartTransactionRequest", "type": "object" }
o43992
{ "id": "http://www.gandhi.io/schema/file", "type": "object", "$schema": "http://json-schema.org/draft-04/schema", "required": [ "id", "name", "mimetype", "encoding", "path", "extension", "size" ], "additionalProperties": false, "properties": { "user_id": { "type": "string" }, "id": { "type": "string" }, "name": { "type": "string", "default": "" }, "mimetype": { "type": "string", "default": "" }, "encoding": { "type": "string", "default": "" }, "path": { "type": "string", "default": "" }, "extension": { "type": "string", "default": "" }, "size": { "type": "number" }, "created": { "type": "number" }, "updated": { "type": "number" }, "lock": { "type": "boolean", "default": false } } }
o60757
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "javaType": "com.ericsson.eiffel.semantics.events.EiffelServiceDiscontinuedEvent", "extendsJavaClass": "com.ericsson.eiffel.semantics.events.Event", "properties": { "meta": { "type": "object", "javaType": "com.ericsson.eiffel.semantics.events.EiffelServiceDiscontinuedEventMeta", "javaInterfaces": [ "com.ericsson.eiffel.semantics.events.Meta" ], "properties": { "id": { "type": "string", "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" }, "type": { "type": "string", "enum": [ "EiffelServiceDiscontinuedEvent" ] }, "version": { "type": "string", "enum": [ "1.0.0" ], "default": "1.0.0" }, "time": { "type": "integer", "format": "utc-millisec" }, "tags": { "type": "array", "items": { "type": "string" } }, "source": { "type": "object", "javaType": "com.ericsson.eiffel.semantics.events.Source", "properties": { "domainId": { "type": "string" }, "host": { "type": "string" }, "name": { "type": "string" }, "serializer": { "type": "object", "javaType": "com.ericsson.eiffel.semantics.events.Serializer", "properties": { "groupId": { "type": "string" }, "artifactId": { "type": "string" }, "version": { "type": "string" } }, "required": [ "groupId", "artifactId", "version" ], "additionalProperties": false }, "uri": { "type": "string" } }, "additionalProperties": false }, "security": { "type": "object", "javaType": "com.ericsson.eiffel.semantics.events.Security", "properties": { "sdm": { "type": "object", "javaType": "com.ericsson.eiffel.semantics.events.Sdm", "properties": { "authorIdentity": { "type": "string" }, "encryptedDigest": { "type": "string" } }, "required": [ "authorIdentity", "encryptedDigest" ], "additionalProperties": false } }, "additionalProperties": false } }, "required": [ "id", "type", "version", "time", "source" ], "additionalProperties": false }, "data": { "type": "object", "javaType": "com.ericsson.eiffel.semantics.events.EiffelServiceDiscontinuedEventData", "properties": { "customData": { "type": "array", "items": { "type": "object", "javaType": "com.ericsson.eiffel.semantics.events.CustomData", "properties": { "key": { "type": "string" }, "value": { "anyOf": [ { "type": "object" }, { "type": "string" }, { "type": "array" }, { "type": "number" } ] } }, "required": [ "key", "value" ], "additionalProperties": false } } }, "additionalProperties": false }, "links": { "type": "array", "items": { "type": "object", "javaType": "com.ericsson.eiffel.semantics.events.Link", "properties": { "type": { "type": "string" }, "target": { "type": "string", "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" } }, "required": [ "type", "target" ], "additionalProperties": false } } }, "required": [ "meta", "data", "links" ], "additonalProperties": false }
o89736
{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://github.com/Enfernuz/quik-lua-rpc/json/schema/message.args.scheme.json", "title": "\u0410\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b message", "description": "\u0421\u0445\u0435\u043c\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u043a \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u043c\u0443 \u0432\u044b\u0437\u043e\u0432\u0443 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b message", "type": "object", "properties": { "message": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 message", "type": "string" }, "icon_type": { "type": [ "integer", "null" ], "minimum": 1, "maximum": 3 } }, "additionalProperties": false, "required": [ "message" ] }
o5258
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "Project", "description": "Project objects", "type": "object", "properties": { "name": { "description": "Name of the project", "type": "string" }, "author": { "description": "Author of the project", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "createDate": { "description": "Date the project was created", "type": "array" }, "latestVersion": { "description": "The latest version of the file", "type": "integer" } } }
o46526
{ "properties": { "date_range": { "properties": { "end_date": { "description": "The end date of the news articles", "type": "string" }, "start_date": { "description": "The start date of the news articles", "type": "string" } }, "required": [ "start_date", "end_date" ], "type": "object" }, "keywords": { "description": "The keywords to search for", "items": { "type": "string" }, "type": "array" }, "source": { "description": "The news source", "type": "string" } }, "required": [ "keywords", "source", "date_range" ], "type": "object" }
search_news_56391d93
{ "$schema": "http://json-schema.org/draft-07/schema#", "description": "schema for type argument", "type": "object", "properties": { "Z1K1": { "enum": [ "Z18" ] }, "Z18K1": { "type": "string", "pattern": "^([ZB][1-9][0-9]*)?K[1-9][0-9]*$" } }, "required": [ "Z1K1", "Z18K1" ], "additionalProperties": false }
o44188
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "JSON schema for Entry Point Regulation manifest files", "definitions": { "behavior": { "type": "string", "enum": [ "block", "allow", "noAuth" ] }, "rule": { "type": "object", "properties": { "path": { "description": "Relative path to resource.", "type": "string" }, "regex": { "description": "A regular expression for identifying paths to resources.", "type": "string" }, "types": { "type": "array", "items": { "type": "string", "enum": [ "navigation", "image", "stylesheet", "script", "xhr", "other" ] } }, "allowData": { "description": "Determines if data is allowed at this path.", "type": "boolean" } } } }, "type": "object", "properties": { "site": { "description": "A fully qualified URL of your website.", "type": "string", "format": "uri" }, "maxAge": { "description": "Set the max age HTTP cache expiration.", "type": "integer" }, "reportUrl": { "type": "string", "format": "uri" }, "defaultNavBehavior": { "$ref": "#/definitions/behavior" }, "defaultResBehavior": { "$ref": "#/definitions/behavior" }, "rules": { "type": "array", "items": { "$ref": "#/definitions/rule" } } }, "additionalProperties": true, "required": [ "rules" ] }
o73919
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { "company": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "A company which is the subject of a statement", "properties": { "company_number": { "type": "string" }, "identifier": { "description": "An official identifier paired with a code for the issuer of the identifier, e.g sec/12345", "pattern": "^[^/]+/[^/]+$", "type": "string" }, "jurisdiction": { "type": "string" }, "name": { "type": "string" } }, "required": [ "name", "jurisdiction" ], "type": "object" }, "subsidiary-relationship-data": { "$schema": "http://json-schema.org/draft-04/schema#", "properties": { "data_type": { "enum": [ "subsidiary_relationship" ] }, "properties": { "additionalProperties": false, "properties": { "direct": { "description": "If the control is direct (if via an intermediary, this value should be false; if unknown, left blank)", "type": "boolean" }, "percentage_controlled": { "description": "Percentage controlled, either directly or indirectly", "type": "string" }, "significant": { "description": "Does the source define the control as somehow significant?", "type": "boolean" }, "subsidiary": { "additionalProperties": false, "description": "Company that is controlled", "properties": { "company_number": { "description": "Company number, if company and known", "type": "string" }, "identifier": { "description": "Unique identifier of company", "type": "string" }, "jurisdiction": { "description": "Jurisdiction of registration", "type": "string" }, "name": { "description": "Name of company", "type": "string" } }, "required": [ "name" ], "type": "object" } }, "required": [ "subsidiary" ], "type": "object" } }, "type": "object" } }, "description": "A relationship of control between two companies", "properties": { "company": { "$ref": "#/definitions/company" }, "data": { "additionalItems": false, "description": "This is an array of data objects, that is the objects which actually contain the data about the datum. Generally there will only be one element in this, although in for some types of data_types there may naturally be several releated to the same company, e.g. shareholders", "items": { "$ref": "#/definitions/subsidiary-relationship-data" }, "type": "array" }, "end_date": { "_format": "date", "type": "string" }, "end_date_type": { "type": "string" }, "retrieved_at": { "_format": "date", "type": "string" }, "sample_date": { "_format": "date", "type": "string" }, "source_jurisdiction": { "description": "Jurisdiction of the source of the data", "type": "string" }, "start_date": { "_format": "date", "type": "string" }, "start_date_type": { "type": "string" } }, "required": [ "company", "data", "sample_date" ], "type": "object" }
o65430
{ "$schema": "http://json-schema.org/draft-06/schema#", "description": "ParaDrop chute wireless AP configuration", "type": "object", "properties": { "type": { "type": "string", "description": "Network type, must be wifi for an AP", "pattern": "wifi" }, "intfName": { "type": "string", "description": "Name of the network interface inside the chute", "pattern": "[a-z][a-z0-9]*" }, "mode": { "type": "string", "description": "WiFi interface mode", "pattern": "ap" }, "dhcp": { "description": "DHCP server configuration", "type": "object", "properties": { "leasetime": { "type": "string", "description": "Duration of client leases, e.g. 2h" }, "limit": { "type": "integer", "description": "Size of address range beginning at start value.", "minimum": 1 }, "start": { "type": "integer", "description": "Starting offset for address assignment.", "minimum": 0 }, "relay": { "type": "string", "description": "Address of a DHCP server if this server will be acting as a relay agent (experimental)" } } }, "ipv4_network": { "type": "string", "description": "Request specific IP network in slash notation" }, "ssid": { "type": "string", "description": "ESSID to broadcast", "maxLength": 32 }, "key": { "type": "string", "description": "Password required from clients to connect", "minLength": 8 }, "options": { "type": "object", "description": "Additional options to pass to the AP", "properties": { "nasid": { "type": "string", "description": "NAS ID for RADIUS" }, "acct_server": { "type": "string", "description": "RADIUS accounting server" }, "acct_secret": { "type": "string", "description": "RADIUS accounting secret" }, "acct_interval": { "type": "integer", "description": "RADIUS accounting update interval (seconds)", "minimum": 1 }, "hidden": { "type": "boolean", "description": "Disable broadcasting the ESSID in beacons" }, "isolate": { "type": "boolean", "description": "Disable forwarding traffic between connected clients" }, "maxassoc": { "type": "integer", "description": "Maximum number of associated clients" } } }, "dns": { "type": "array", "description": "List of DNS servers to advertise to connected clients", "items": { "type": "string" } }, "l3bridge": { "type": "string", "description": "Bridge to another network using ARP proxying (experimental)" }, "requests": { "type": "object", "description": "Hardware features required by the chute when assigning a physical interface", "properties": { "hwmode": { "type": "string", "description": "Required operating mode (11b for old hardware, 11g for 2.4 GHz, 11a for 5 GHz)", "enum": [ "11b", "11g", "11a" ] } } } }, "required": [ "type", "intfName" ] }
o12603
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "JSON schema for the Grunt Watch task", "definitions": { "target": { "properties": { "files": { "description": "One or more files to watch.", "type": "array", "items": { "type": "string" } }, "tasks": { "description": "One or more tasks to run.", "type": "array", "items": { "type": "string" } }, "options": { "$ref": "#/definitions/options" } }, "required": [ "files" ] }, "optionsWithEvents": { "oneOf": [ { "properties": { "events": { "description": "Specify the type watch event that trigger the specified task.", "type": "array", "items": { "$ref": "#/definitions/eventType" } } } }, { "properties": { "events": { "$ref": "#/definitions/eventType" } } } ] }, "eventType": { "description": "Specify the type watch event that trigger the specified task.", "type": "string", "enum": [ "all", "changed", "added", "deleted" ], "default": "all" }, "options": { "description": "One or more files to watch.", "type": "object", "properties": { "spawn": { "description": "Whether to spawn task runs in a child process.", "type": "boolean", "default": true }, "interrupt": { "description": "As files are modified this watch task will spawn tasks in child processes.", "type": "boolean", "default": false }, "debounceDelay": { "description": "How long to wait before emitting events in succession for the same filepath and status. For example if your Gruntfile.js file was changed, a 'changed' event will only fire again after the given milliseconds.", "type": "integer", "default": 500 }, "interval": { "description": "The interval is passed to 'fs.watchFile'. Since 'interval' is only used by 'fs.watchFile' and this watcher also uses 'fs.watch'; it is recommended to ignore this option.", "type": "integer", "default": 100 }, "reload": { "description": "By default, if Gruntfile.js is being watched, then changes to it will trigger the watch task to restart, and reload the Gruntfile.js changes. When reload is set to true, changes to any of the watched files will trigger the watch task to restart. This is especially useful if your Gruntfile.js is dependent on other files.", "type": "boolean", "default": false }, "forever": { "description": "This is only a task level option and cannot be configured per target. By default the watch task will duck punch grunt.fatal and grunt.warn to try and prevent them from exiting the watch process. If you don't want grunt.fatal and grunt.warn to be overridden set the forever option to false.", "type": "boolean", "default": true }, "atBegin": { "description": "This option will trigger the run of each specified task at startup of the watcher.", "type": "boolean", "default": false }, "livereload": { "description": "If enabled a live reload server will be started with the watch task per target. Then after the indicated tasks have run, the live reload server will be triggered with the modified files.", "type": [ "boolean", "number" ], "default": false }, "cwd": { "description": "Ability to set the current working directory.", "type": [ "string", "object" ] }, "livereloadOnError": { "description": "Option to prevent the livereload if the executed tasks encountered an error. If set to false , the livereload will only be triggered if all tasks completed successfully.", "type": "boolean", "default": true } }, "allOf": [ { "$ref": "#/definitions/optionsWithEvents" } ] } }, "type": "object", "properties": { "options": { "$ref": "#/definitions/options" } }, "additionalProperties": { "$ref": "#/definitions/target" } }
o73926
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "Artifacts to be fetched from Koji builds", "type": [ "array", "null" ], "items": { "type": "object", "description": "A specific Koji buid and archives to be fetched", "properties": { "nvr": { "description": "The Name-Version-Release of a Koji build", "type": "string" }, "archives": { "type": "array", "items": { "type": "object", "description": "Matcher for archives in Koji build", "properties": { "filename": { "description": "Match by archive filename - supports glob matching", "type": "string" }, "group_id": { "description": "Match by archive group_id", "type": "string" } }, "additionalProperties": false } } }, "additionalProperties": false, "required": [ "nvr" ] } }
o68413
{ "$schema": "http://json-schema.org/draft-04/schema", "id": "https://json.schemastore.org/gatewaycore-options-2021-07", "title": "Cloudtoid GatewayCore Options", "description": "Root Schema of options for Cloudtoid GatewayCore", "type": "object", "additionalProperties": false, "properties": { "system": { "type": "object", "description": "This section that contains all system wide configurations.", "additionalProperties": false, "properties": { "routeCacheMaxCount": { "type": "integer", "default": 100000, "description": "The maximum number of mappings between \"inbound downstream request path\" and \"outbound upstream request URL\" that can be cached in memory." } } }, "routes": { "type": "object", "description": "This is the section in which proxy routes are defined.", "additionalProperties": { "type": "object", "description": "This is the url path pattern that if matched, the request is proxied to the address defined by its `to` property.", "additionalProperties": false, "properties": { "proxy": { "type": "object", "description": "The proxy configuration.", "additionalProperties": false, "properties": { "to": { "type": "string", "description": "This is an expression that defines the URL of the upstream server to which the downstream request is forwarded to.", "examples": [ "http://example.com:85/api/" ] }, "proxyName": { "type": "string", "description": "This is an expression that defines the name of this proxy. This value is used in the Via HTTP header send on the outbound upstream request, and the outbound downstream response. If a value is specified, an `x-gwcore-proxy-name` header with this value is also added to the outbound upstream request.", "default": "gwcore" }, "upstreamRequest": { "type": "object", "description": "The options that control the upstream requests.", "additionalProperties": false, "properties": { "httpVersion": { "type": "string", "description": "An expression that defines the HTTP protocol version of outbound upstream requests.", "default": "HTTP/2.0" }, "headers": { "type": "object", "description": "The options that control the upstream request headers.", "additionalProperties": false, "properties": { "discardInboundHeaders": { "type": "boolean", "description": "Specifies if downstream inbound request and content headers should be discarded and not forwarded to the upstream.", "default": false }, "discardEmpty": { "type": "boolean", "description": "Specifies if inbound headers with empty value should be discarded.", "default": false }, "discardUnderscore": { "type": "boolean", "description": "Specifies if inbound headers with an underscore in their name should be discarded.", "default": false }, "addExternalAddress": { "type": "boolean", "description": "Specifies if a `x-gwcore-external-address` header with the IP address of the immediate caller should be added to the outbound upstream request.", "default": false }, "skipVia": { "type": "boolean", "description": "Specifies if the `via` header should be skipped from the outbound request.", "default": false }, "skipForwarded": { "type": "boolean", "description": "Specifies if `forwarded` header and `x-forwarded-*` headers should be skipped from the outbound requests.", "default": false }, "appends": { "type": "object", "description": "The headers to be appended to the outbound upstream requests. If the header already exists, it is kept and the new value is appended. The value can be either text or an expression.", "additionalProperties": { "type": "array", "items": { "type": "string", "description": "The value can be either text or an expression." } } }, "overrides": { "type": "object", "description": "The headers to be added to the outbound upstream requests. If the header already exists, its value is replaced. The value can be either text or an expression.", "additionalProperties": { "type": "array", "items": { "type": "string", "description": "The value can be either text or an expression." } } }, "discards": { "type": "array", "items": { "type": "string", "description": "Specifies the inbound downstream headers that should be discarded." } } } }, "sender": { "type": "object", "description": "The options that control connection to the upstream server.", "additionalProperties": false, "properties": { "httpClientName": { "type": "string", "description": "The name of the .NET HttpClient that will be used to send the request. The default value is a system generated unique name." }, "timeoutInMilliseconds": { "type": [ "string", "integer" ], "description": "The total timeout in milliseconds to wait for the outbound upstream request to complete. This can be a number or an expression.", "default": 240000 }, "connectTimeoutInMilliseconds": { "type": "integer", "description": "The connect timeout in milliseconds. No timeout is set by default." }, "expect100ContinueTimeoutInMilliseconds": { "type": "integer", "description": "The expect 100 continue timeout in milliseconds.", "default": 1000 }, "pooledConnectionIdleTimeoutInMilliseconds": { "type": "integer", "description": "Specifies how long a connection can be idle in the pool to be considered reusable.", "default": 2000 }, "pooledConnectionLifetimeInMilliseconds": { "type": "integer", "description": "Specifies how long a connection can live in the connection pool. By default, no timeout is set and the connection can stay in the pool." }, "responseDrainTimeoutInMilliseconds": { "type": "integer", "description": "Specifies the response drain timeout.", "default": 2000 }, "maxAutomaticRedirections": { "type": "integer", "description": "The maximum number of allowed HTTP redirects.", "default": 50 }, "maxConnectionsPerServer": { "type": "integer", "description": "The maximum number of simultaneous TCP connections allowed to a single server. No caps are set by default." }, "maxResponseDrainSizeInBytes": { "type": "integer", "description": "The maximum size of data that can be drained from responses in bytes.", "default": 1048576 }, "maxResponseHeadersLengthInKilobytes": { "type": "integer", "description": "The maximum length, in kilobytes (1024 bytes), of the response headers.", "default": 64 }, "allowAutoRedirect": { "type": "boolean", "description": "Indicates whether the HTTP handler used by the outbound upstream request sender should follow redirection responses.", "default": false }, "useCookies": { "type": "boolean", "description": "Indicates whether the HTTP handler used by the outbound upstream request sender should store server cookies and use these cookies when sending requests.", "default": false } } } } }, "downstreamResponse": { "type": "object", "description": "The options that control the downstream responses sent to the clients.", "additionalProperties": false, "properties": { "headers": { "type": "object", "description": "The options that control the downstream response headers sent to the clients.", "additionalProperties": false, "properties": { "discardInboundHeaders": { "type": "boolean", "description": "Specifies if upstream inbound response, content, and trailing headers should be discarded and not forwarded to the downstream client.", "default": false }, "discardEmpty": { "type": "boolean", "description": "Specifies if inbound headers with empty value should be discarded.", "default": false }, "discardUnderscore": { "type": "boolean", "description": "Specifies if inbound headers with an underscore in their name should be discarded.", "default": false }, "addServer": { "type": "boolean", "description": "Specifies if a `server` header should be added. The value of this header is set to `gwcore`.", "default": false }, "addVia": { "type": "boolean", "description": "Specifies if the `via` header should be added to the outbound response.", "default": false }, "cookies": { "type": "object", "description": "The options that are applied to the `set-cookie` headers in the inbound upstream response. If the cookie name is symbol '*', then the settings are applied to all `set-cookie` headers.", "additionalProperties": { "type": "object", "properties": { "secure": { "type": "boolean", "description": "It limits the scope of the cookie to 'secure' channels. A secure cookie is only sent to the server when a request is made using HTTPS.", "default": false }, "httpOnly": { "type": "boolean", "description": "It limits the scope of the cookie to HTTP requests, forbidding JavaScript from accessing the cookie.", "default": false }, "sameSite": { "type": "string", "description": "It asserts that a cookie must not be sent with cross-origin requests, providing some protection against cross-site request forgery attacks. The valid values are `strict`, `lax`, and `none`.", "enum": [ "none", "lax", "strict" ], "default": "lax" }, "domain": { "type": "string", "description": "It specifies the hosts to which the cookie will be sent and can be an expression. For example, if the value of the Domain attribute is 'example.com', the user agent will include the cookie in the Cookie header when making HTTP requests to example.com, www.example.com, and www.corp.example.com. Use this property to specify or override the domain attribute. Set this value to an empty string (\"\") to remove the domain attribute from the cookie.", "examples": [ "example.com" ] } } } }, "appends": { "type": "object", "description": "The headers to be appended to the outbound downstream response. If the header already exists, it is kept and the new value is appended. The value can be either text or an expression.", "additionalProperties": { "type": "array", "items": { "type": "string", "description": "The value can be either text or an expression." } } }, "overrides": { "type": "object", "description": "The headers to be added to the outbound downstream response. If the header already exists, its value is replaced. The value can be either text or an expression.", "additionalProperties": { "type": "array", "items": { "type": "string", "description": "The value can be either text or an expression." } } }, "discards": { "type": "array", "description": "The inbound upstream headers that should be discarded.", "items": { "type": "string", "description": "The name of the header to be discarded." } } } } } } }, "required": [ "to" ] } } } } } }
2021-07
{ "$schema": "http://json-schema.org/draft-06/schema#", "type": "object", "properties": { "title": { "type": "string" }, "description": { "type": [ "string" ] }, "sources": { "type": "array", "minLength": 1, "items": { "type": "object", "properties": { "url": { "type": "string" }, "encoding": { "type": "string" } }, "required": [ "url" ] } }, "fields": { "type": "array", "items": { "type": "object", "properties": { "header": { "type": "string" }, "aliases": { "type": "array", "items": { "type": "string" } }, "columnType": { "type": "string" }, "options": { "type": "object" } } } }, "postprocessing": { "type": "array", "items": { "type": "object", "properties": { "processor": { "type": "string" }, "parameters": { "type": "object" } }, "required": [ "processor" ] } } }, "required": [ "title", "sources", "fields" ] }
o65703
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" } }, "required": [ "id" ] }, "properties": {}, "additionalProperties": false }
o45193
{ "$id": "https://json.schemastore.org/openweather.current", "$schema": "https://json-schema.org/draft/2019-09/schema", "additionalProperties": false, "description": "API responses from the OpenWeather Current Weather Data API from https://openweathermap.org/current", "properties": { "coord": { "type": "object", "additionalProperties": false, "required": ["lat", "lon"], "properties": { "lat": { "type": "number" }, "lon": { "type": "number" } } }, "weather": { "type": "array", "items": { "type": "object", "additionalProperties": false, "required": ["id", "main", "description", "icon"], "properties": { "id": { "type": "integer" }, "main": { "type": "string" }, "description": { "type": "string" }, "icon": { "type": "string" } } } }, "base": { "type": "string" }, "main": { "type": "object", "additionalProperties": false, "properties": { "temp": { "type": "number" }, "feels_like": { "type": "number" }, "temp_min": { "type": "number" }, "temp_max": { "type": "number" }, "pressure": { "type": "number" }, "humidity": { "type": "number" }, "sea_level": { "type": "number" }, "grnd_level": { "type": "number" } } }, "visibility": { "type": "integer" }, "wind": { "type": "object", "additionalProperties": false, "required": ["speed", "deg"], "properties": { "speed": { "type": "number" }, "deg": { "type": "number" } } }, "clouds": { "type": "object", "additionalProperties": false, "required": ["all"], "properties": { "all": { "type": "number", "minimum": 0 } } }, "dt": { "type": "number" }, "sys": { "type": "object", "additionalProperties": false, "required": ["type", "id", "message", "country", "sunrise", "sunset"], "properties": { "type": { "type": "integer" }, "id": { "type": "integer" }, "message": { "type": "number" }, "country": { "type": "string" }, "sunrise": { "type": "integer" }, "sunset": { "type": "integer" } } }, "timezone": { "type": "integer" }, "id": { "type": "integer" }, "name": { "type": "string" }, "cod": { "type": "integer" } }, "required": [ "coord", "weather", "base", "main", "visibility", "wind", "clouds", "dt", "sys", "timezone", "id", "name", "cod" ], "title": "OpenWeather Current Weather Data API", "type": "object" }
openweather
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "required": [ "extracted", "files" ], "properties": { "extracted": { "type": "boolean" }, "files": { "type": "array", "items": { "type": "object", "required": [ "name", "package_name", "package_version" ], "properties": { "name": { "type": "string" }, "package_name": { "type": "string", "minLength": 1 }, "package_version": { "type": "string", "minLength": 1 } }, "oneOf": [ { "$ref": "#/definitions/file_changed" }, { "$ref": "#/definitions/file_error" } ] } } }, "definitions": { "file_changed": { "required": [ "status" ], "properties": { "status": { "enum": [ "changed" ] } }, "oneOf": [ { "$ref": "#/definitions/file_changed_modified" }, { "$ref": "#/definitions/link_changed_modified" }, { "$ref": "#/definitions/file_changed_deleted" } ] }, "file_changed_modified": { "required": [ "changes", "mode", "user", "group", "type" ], "properties": { "changes": { "type": "array", "items": { "enum": [ "size", "mode", "md5", "device_number", "link_path", "user", "group", "time", "capabilities", "replaced", "other_rpm_changes" ] }, "minItems": 1 }, "mode": { "type": "string", "pattern": "^[0-7]{3,4}$" }, "user": { "type": "string", "minLength": 1 }, "group": { "type": "string", "minLength": 1 }, "type": { "enum": [ "file", "dir" ] } } }, "link_changed_modified": { "required": [ "target", "changes", "mode", "user", "group", "type" ], "properties": { "changes": { "type": "array", "items": { "enum": [ "size", "mode", "md5", "device_number", "link_path", "user", "group", "time", "capabilities", "replaced", "other_rpm_changes" ] }, "minItems": 1 }, "mode": { "type": "string", "pattern": "^[0-7]{3,4}$" }, "user": { "type": "string", "minLength": 1 }, "group": { "type": "string", "minLength": 1 }, "type": { "enum": [ "link" ] }, "target": { "type": "string" } } }, "file_changed_deleted": { "required": [ "changes" ], "properties": { "changes": { "enum": [ [ "deleted" ] ] } } }, "file_error": { "required": [ "status", "error_message" ], "properties": { "status": { "enum": [ "error" ] }, "error_message": { "type": "string" } } } } }
o65917
{ "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", "null" ] }, "repository": { "description": "Repository URL", "type": [ "string", "null" ] }, "revision": { "description": "Commit hash for the specified revision.", "type": [ "string", "null" ] } }, "required": [ "repository" ], "type": "object" }
kb_377_Normalized
{ "properties": { "flight_details": { "properties": { "date": { "description": "The date of the flight", "type": "string" }, "destination": { "description": "The destination of the flight", "type": "string" }, "origin": { "description": "The origin of the flight", "type": "string" } }, "required": [ "origin", "destination", "date" ], "type": "object" }, "passenger": { "properties": { "age": { "description": "The age of the passenger", "type": "integer" }, "email": { "description": "The email address of the passenger", "type": "string" }, "name": { "description": "The name of the passenger", "type": "string" } }, "required": [ "name", "age", "email" ], "type": "object" } }, "required": [ "passenger", "flight_details" ], "type": "object" }
book_flight_1987304d
{ "type": "object", "properties": { "selectedInstance": { "type": "string" }, "instances": { "description": "The extra imported instance path", "default": [], "type": "array", "items": { "type": "string" } } }, "required": [ "instances", "selectedInstance" ], "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false }
o7375
{ "properties": { "end_time": { "description": "The end time of the meeting", "type": "string" }, "location": { "description": "The location of the meeting", "type": "string" }, "participants": { "description": "The email addresses of the participants", "items": { "type": "string" }, "type": "array" }, "start_time": { "description": "The start time of the meeting", "type": "string" }, "title": { "description": "The title of the meeting", "type": "string" } }, "required": [ "title", "participants", "start_time", "end_time" ], "type": "object" }
schedule_meeting_9e8cfcd3
{ "properties": { "date": { "description": "The date of the event", "type": "string" }, "end_time": { "description": "The end time of the event", "type": "string" }, "event_title": { "description": "The title of the event", "type": "string" }, "location": { "description": "The location of the event", "type": "string" }, "start_time": { "description": "The start time of the event", "type": "string" } }, "required": [ "event_title", "date", "start_time", "end_time" ], "type": "object" }
create_calendar_event_d8598b2e
{ "id": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/schemas/v1.2/dataType.json#", "$schema": "http://json-schema.org/draft-04/schema#", "description": "Data type as described by the specification (version 1.2)", "type": "object", "oneOf": [ { "$ref": "#/definitions/refType" }, { "$ref": "#/definitions/voidType" }, { "$ref": "#/definitions/primitiveType" }, { "$ref": "#/definitions/modelType" }, { "$ref": "#/definitions/arrayType" } ], "definitions": { "refType": { "required": [ "$ref" ], "properties": { "$ref": { "type": "string" } }, "additionalProperties": false }, "voidType": { "enum": [ { "type": "void" } ] }, "modelType": { "required": [ "type" ], "properties": { "type": { "type": "string", "not": { "enum": [ "boolean", "integer", "number", "string", "array" ] } } }, "additionalProperties": false }, "primitiveType": { "required": [ "type" ], "properties": { "type": { "enum": [ "boolean", "integer", "number", "string" ] }, "format": { "type": "string" }, "defaultValue": { "not": { "type": [ "array", "object", "null" ] } }, "enum": { "type": "array", "items": { "type": "string" }, "minItems": 1, "_uniqueItems": true }, "minimum": { "type": "string" }, "maximum": { "type": "string" } }, "additionalProperties": false, "dependencies": { "format": { "oneOf": [ { "properties": { "type": { "enum": [ "integer" ] }, "format": { "enum": [ "int32", "int64" ] } } }, { "properties": { "type": { "enum": [ "number" ] }, "format": { "enum": [ "float", "double" ] } } }, { "properties": { "type": { "enum": [ "string" ] }, "format": { "enum": [ "byte", "date", "date-time" ] } } } ] }, "enum": { "properties": { "type": { "enum": [ "string" ] } } }, "minimum": { "properties": { "type": { "enum": [ "integer", "number" ] } } }, "maximum": { "properties": { "type": { "enum": [ "integer", "number" ] } } } } }, "arrayType": { "required": [ "type", "items" ], "properties": { "type": { "enum": [ "array" ] }, "items": { "type": "array", "items": { "$ref": "#/definitions/itemsObject" } }, "_uniqueItems": { "type": "boolean" } }, "additionalProperties": false }, "itemsObject": { "oneOf": [ { "$ref": "#/definitions/refType" }, { "allOf": [ { "$ref": "#/definitions/primitiveType" }, { "properties": { "type": {}, "format": {} }, "additionalProperties": false } ] } ] } } }
o12174
{ "properties": { "client": { "description": "The name of the client", "type": "string" }, "items": { "description": "The list of items in the invoice", "items": { "properties": { "description": { "description": "The description of the item", "type": "string" }, "price": { "description": "The price of the item", "type": "number" }, "quantity": { "description": "The quantity of the item", "type": "integer" } }, "required": [ "description", "quantity", "price" ], "type": "object" }, "type": "array" } }, "required": [ "client", "items" ], "type": "object" }
create_invoice_84125aad
{ "additionalProperties": false, "properties": { "about": { "_id": "about", "type": "string" }, "company": { "_id": "company", "type": "string" }, "email": { "_id": "email", "type": "string" }, "firstName": { "_id": "firstName", "type": "string" }, "lastName": { "_id": "lastName", "type": "string" }, "tags": { "_id": "tags", "additionalItems": false, "items": { "type": "string" }, "type": "array" } }, "required": [ "about", "email", "firstName", "lastName", "tags", "company" ], "type": "object" }
o81578
{ "properties": { "customer_name": { "description": "The name of the customer", "type": "string" }, "items": { "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" }, "tax_rate": { "description": "The tax rate in percentage", "type": "number" } }, "required": [ "customer_name", "items", "tax_rate" ], "type": "object" }
create_invoice_a1815308
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "amountOfFeatures": { "description": "amount of features", "type": "integer" }, "amountOfContexts": { "description": "amount of contexts", "type": "integer" }, "attributesPerFeature": { "description": "list stating the number of attributes for array. The order of the features matter.", "type": "array", "items": { "type": "integer" } }, "attributeDomains": { "description": "list stating the domains of the attributes. Attributes are listed accodring to the feature order and then their attribute number.", "type": "array", "items": { "type": "object", "properties": { "min": { "description": "minimal value that the attribute can take", "type": "integer" }, "max": { "description": "maximal value that the attribute can take", "type": "integer" } }, "additionalProperties": false } }, "contextDomains": { "description": "list stating the domains of the context. The order matters.", "type": "array", "items": { "type": "object", "properties": { "min": { "description": "minimal value that the context can take", "type": "integer" }, "max": { "description": "maximal value that the context can take", "type": "integer" } }, "additionalProperties": false } }, "configuration": { "description": "Inital configuration and context infomration", "type": "object", "properties": { "selectedFeatures": { "description": "list representing wich features are selected", "type": "array", "items": { "type": "integer" } }, "attributeValues": { "description": "list representing the intial values of the attributes. The values of the attributes of non selected features are set to the maximum.", "type": "array", "items": { "type": "integer" } }, "contextValues": { "description": "list representing the contextual values", "type": "array", "items": { "type": "integer" } } }, "additionalProperties": false }, "constraints": { "description": "constraint derived from the FM. Their grammar is defined in SpecificationGrammar.g4", "type": "array", "items": { "type": "string" } }, "preferences": { "description": "preferences derived from the user. Their grammar is defined in SpecificationGrammar.g4", "type": "array", "items": { "type": "string" } } }, "additionalProperties": false, "required": [ "amountOfFeatures", "amountOfContexts", "attributesPerFeature", "attributeDomains", "contextDomains", "configuration", "constraints", "preferences" ] }
o7288
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "id": { "type": "string", "description": "The uuid of the competency ability" }, "competency": { "type": [ "object" ], "properties": { "id": { "type": "string", "description": "The uuid of the competency" } }, "required": [ "id" ] }, "ability": { "type": [ "object" ], "properties": { "id": { "type": "string", "description": "The uuid of the ability" }, "name": { "type": "string", "description": "The name of the ability" }, "minResourceCount": { "type": "integer", "description": "The number of resources to pass" }, "minEvaluatedResourceCount": { "type": "integer", "description": "The number of evaluated resources to pass" } }, "required": [ "id", "name" ] }, "level": { "type": [ "object" ], "properties": { "id": { "type": "string", "description": "The uuid of the level" } }, "required": [ "id" ] } }, "required": [ "id" ], "claroline": { "ids": [ "id" ] } }
o32498
{ "$schema": "http://json-schema.org/draft-06/schema", "description": "Configuration file for coc.nvim", "additionalProperties": false, "definitions": { "languageServerBase": { "type": "object", "properties": { "enable": { "type": "boolean", "default": true }, "cwd": { "type": "string", "default": "", "description": "Working directory of languageserver, absolute path or relative to workspace folder, use workspace root by default" }, "disableDynamicRegister": { "type": "boolean", "default": false, "description": "Disable dynamic registerCapability feature for this languageserver to avoid duplicated feature regstration." }, "disableWorkspaceFolders": { "type": "boolean", "default": false, "description": "Disable workspaceFolders feature for this languageserver." }, "disableDiagnostics": { "type": "boolean", "default": false, "description": "Disable handle diagnostics for this languageserver." }, "disableCompletion": { "type": "boolean", "default": false, "description": "Disable completion feature for this languageserver." }, "env": { "type": "object", "default": null, "description": "Environment variables for child process." }, "stdioEncoding": { "type": "string", "default": "utf8", "description": "Encoding used for stdio of child process." }, "rootPatterns": { "type": "array", "default": [], "description": "Root patterns used for reoslve rootPath from current file, default to workspace root", "items": { "type": "string" } }, "requireRootPattern": { "type": "boolean", "default": false, "description": "If true, doesn't start server when root pattern not found." }, "ignoredRootPaths": { "type": "array", "default": [], "description": "Absolute root paths that language server should not use as rootPath, higher priority than rootPatterns.", "items": { "type": "string" } }, "filetypes": { "type": "array", "default": [], "description": "Supported filetypes, use empty array for all filetypes.", "items": { "type": "string" } }, "additionalSchemes": { "type": "array", "default": [], "description": "Additional uri schemes, default schemes including file & untitled.", "items": { "type": "string" } }, "revealOutputChannelOn": { "type": "string", "default": "never", "description": "Configure message level to show the output channel buffer", "enum": [ "info", "warn", "error", "never" ] }, "initializationOptions": { "type": "object", "default": {}, "description": "initializationOptions passed to languageserver" }, "settings": { "type": "object", "default": {}, "description": "Settings of languageserver" }, "trace.server": { "type": "string", "default": "off", "enum": [ "off", "messages", "verbose" ], "description": "Trace level of communication between server and client" } } }, "languageServerSocket": { "type": "object", "allOf": [ { "$ref": "#/definitions/languageServerBase" } ], "required": [ "port", "filetypes" ], "additionalProperties": false, "properties": { "port": { "type": "integer", "description": "Port number of socket server" }, "host": { "type": "string", "default": "127.0.0.1", "description": "Host of server" }, "disableWorkspaceFolders": {}, "disableDynamicRegister": {}, "disableDiagnostics": {}, "disableCompletion": {}, "enable": {}, "rootPatterns": {}, "requireRootPattern": {}, "ignoredRootPaths": {}, "filetypes": {}, "additionalSchemes": {}, "revealOutputChannelOn": {}, "initializationOptions": {}, "settings": {}, "stdioEncoding": {}, "trace.server": {} } }, "languageServerModule": { "type": "object", "allOf": [ { "$ref": "#/definitions/languageServerBase" } ], "required": [ "module", "filetypes" ], "additionalProperties": false, "properties": { "module": { "type": "string", "default": "", "description": "Absolute path of javascript file, should works in IPC mode" }, "args": { "type": "array", "default": [], "description": "Extra arguments of module", "items": { "type": "string" } }, "runtime": { "type": "string", "default": "", "description": "Absolute path of node runtime." }, "execArgv": { "type": "array", "default": [], "description": "Argv passed to node when using module, normally used for debugging, ex: [\"--nolazy\", \"--inspect-brk=6045\"]", "items": { "type": "string" } }, "transport": { "type": "string", "default": "ipc", "description": "Transport kind used by server, could be 'ipc', 'stdio', 'socket' and 'pipe'", "enum": [ "ipc", "stdio", "socket", "pipe" ] }, "transportPort": { "type": "integer", "description": "Port number used when transport is 'socket'" }, "cwd": {}, "env": {}, "enable": {}, "disableDynamicRegister": {}, "disableWorkspaceFolders": {}, "disableDiagnostics": {}, "disableCompletion": {}, "rootPatterns": {}, "requireRootPattern": {}, "ignoredRootPaths": {}, "filetypes": {}, "additionalSchemes": {}, "revealOutputChannelOn": {}, "initializationOptions": {}, "stdioEncoding": {}, "settings": {}, "trace.server": {} } }, "languageServerCommand": { "type": "object", "required": [ "command", "filetypes" ], "allOf": [ { "$ref": "#/definitions/languageServerBase" } ], "additionalProperties": false, "properties": { "command": { "type": "string", "default": "", "description": "Executable in $PATH to start languageserver, should not used with module" }, "args": { "type": "array", "default": [], "description": "Arguments of command", "items": { "type": "string" } }, "detached": { "type": "boolean", "default": false, "description": "Detach the languageserver process" }, "shell": { "type": "boolean", "default": false, "description": "Use shell for process" }, "cwd": {}, "env": {}, "enable": {}, "disableDynamicRegister": {}, "disableWorkspaceFolders": {}, "disableDiagnostics": {}, "disableCompletion": {}, "rootPatterns": {}, "requireRootPattern": {}, "ignoredRootPaths": {}, "filetypes": {}, "additionalSchemes": {}, "revealOutputChannelOn": {}, "initializationOptions": {}, "stdioEncoding": {}, "settings": {}, "trace.server": {} } } }, "properties": { "http.proxy": { "type": "string", "default": "", "description": "http proxy uri, used for extensions that send request. Format: proxy-server:1234 or user:password@prox-server:1234 with auth support" }, "http.proxyStrictSSL": { "type": "boolean", "default": true }, "npm.binPath": { "type": "string", "default": "npm", "description": "Command or absolute path to npm or yarn." }, "suggest.enablePreselect": { "type": "boolean", "description": "Enable preselect feature, only works on neovim", "default": true }, "suggest.maxPreviewWidth": { "type": "number", "default": 80, "description": "Maximum width of floating preview window." }, "suggest.enablePreview": { "type": "boolean", "description": "Add preview option to completeopt, default: false.", "default": false }, "suggest.floatEnable": { "type": "boolean", "description": "Enable floating window for documentation when possible.", "default": true }, "suggest.labelMaxLength": { "type": "number", "description": "Max length of abbr that shown as label of complete item.", "default": 200 }, "suggest.detailMaxLength": { "type": "number", "description": "Max length of detail that should be shown in popup menu.", "default": 100 }, "suggest.detailField": { "type": "string", "default": "menu", "description": "Where to add the detail in complete item when it's less than max length.", "enum": [ "abbr", "menu", "preview" ] }, "suggest.autoTrigger": { "type": "string", "default": "always", "description": "How should completion be triggered", "enum": [ "always", "trigger", "none" ] }, "suggest.languageSourcePriority": { "type": "number", "default": 99, "description": "Priority of language sources." }, "suggest.numberSelect": { "type": "boolean", "description": "Input number to select complete item, it could wrong when using <up> and <down> to select complete item", "default": false }, "suggest.disableKind": { "type": "boolean", "description": "Remove kind field from vim complete item.", "default": false }, "suggest.disableMenu": { "type": "boolean", "description": "Remove menu field from vim complete item.", "default": false }, "suggest.disableMenuShortcut": { "type": "boolean", "description": "Disable shortcut of completion source in menu.", "default": false }, "suggest.snippetIndicator": { "type": "string", "default": "~", "description": "The character used in abbr of complete item to indicate the item could be expand as snippet." }, "suggest.maxCompleteItemCount": { "type": "number", "default": 50, "description": "Maximum number of complete items shown in vim" }, "suggest.preferCompleteThanJumpPlaceholder": { "type": "boolean", "description": "Confirm completion instead of jump to next placeholder when completion is activated.", "default": false }, "suggest.fixInsertedWord": { "type": "boolean", "description": "Make inserted word replace word characters after cursor position.", "default": true }, "suggest.localityBonus": { "type": "boolean", "description": "Boost suggestions that appear closer to the cursor position.", "default": true }, "suggest.triggerAfterInsertEnter": { "type": "boolean", "description": "Trigger completion after InsertEnter, auto trigger should be 'always' to enable this option", "default": false }, "suggest.timeout": { "type": "integer", "default": 2000, "minimum": 500, "maximum": 5000, "description": "Timeout for completion, in miliseconds." }, "suggest.minTriggerInputLength": { "type": "number", "default": 1, "description": "Mininal input length for trigger completion, default 1" }, "suggest.triggerCompletionWait": { "type": "integer", "default": 60, "minimum": 50, "maximum": 300, "description": "Wait time between trigger character type and completion start, for wait server content synchronize." }, "suggest.echodocSupport": { "type": "boolean", "default": false, "description": "When enabled, add function signature to user_data.signature to support echodoc.vim" }, "suggest.acceptSuggestionOnCommitCharacter": { "type": "boolean", "default": false, "description": "Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character. Requires CompleteChanged event to work." }, "suggest.noselect": { "type": "boolean", "description": "Not make vim select first item on completion start", "default": true }, "suggest.keepCompleteopt": { "type": "boolean", "description": "When enabled, completeopt is not overriden, auto completion will be disabled if completeopt doesn't have noinsert and noselect.", "default": false }, "suggest.lowPrioritySourceLimit": { "type": "integer", "minimum": 1, "maximum": 100, "description": "Max items count for source priority lower than 90." }, "suggest.highPrioritySourceLimit": { "type": "integer", "minimum": 1, "maximum": 100, "description": "Max items count for source priority bigger than or equal to 90." }, "suggest.completionItemKindLabels": { "type": "object", "default": {}, "description": "Set custom labels to completion items' kinds.", "properties": { "text": { "type": "string" }, "method": { "type": "string" }, "function": { "type": "string" }, "constructor": { "type": "string" }, "field": { "type": "string" }, "variable": { "type": "string" }, "class": { "type": "string" }, "interface": { "type": "string" }, "module": { "type": "string" }, "property": { "type": "string" }, "unit": { "type": "string" }, "value": { "type": "string" }, "enum": { "type": "string" }, "keyword": { "type": "string" }, "snippet": { "type": "string" }, "color": { "type": "string" }, "file": { "type": "string" }, "reference": { "type": "string" }, "folder": { "type": "string" }, "enumMember": { "type": "string" }, "constant": { "type": "string" }, "struct": { "type": "string" }, "event": { "type": "string" }, "operator": { "type": "string" }, "typeParameter": { "type": "string" }, "default": { "type": "string" } }, "additionalProperties": false }, "diagnostic.enable": { "type": "boolean", "description": "Set to false to disable diagnostic display", "default": true }, "diagnostic.level": { "type": "string", "description": "Used for filter diagnostics by diagnostic severity.", "default": "hint", "enum": [ "hint", "information", "warning", "error" ] }, "diagnostic.checkCurrentLine": { "type": "boolean", "description": "When enabled, show all diagnostics of current line instead of current position.", "default": false }, "diagnostic.messageTarget": { "type": "string", "description": "Diagnostic message target.", "default": "float", "enum": [ "echo", "float" ] }, "diagnostic.joinMessageLines": { "type": "boolean", "description": "Join lines messages to reduce lines of floating window.", "default": false }, "diagnostic.refreshOnInsertMode": { "type": "boolean", "description": "Enable diagnostic refresh on insert mode, default false.", "default": false }, "diagnostic.refreshAfterSave": { "type": "boolean", "description": "Only refresh diagnostics after save, default false.", "default": false }, "diagnostic.displayByAle": { "type": "boolean", "description": "Use Ale for display diagnostics in vim, will disable coc for display diagnostics, restart required on change.", "default": false }, "diagnostic.virtualText": { "type": "boolean", "description": "Use NeoVim virtual text to display diagnostics", "default": false }, "diagnostic.virtualTextPrefix": { "type": "string", "description": "The prefix added virtual text diagnostics", "default": " " }, "diagnostic.virtualTextLines": { "type": "number", "description": "The number of non empty lines from a diagnostic to display", "default": 3 }, "diagnostic.virtualTextLineSeparator": { "type": "string", "description": "The text that will mark a line end from the diagnostic message", "default": " \\ " }, "diagnostic.enableSign": { "type": "boolean", "default": true, "description": "Enable signs for diagnostics." }, "diagnostic.enableMessage": { "type": "string", "default": "always", "description": "When to enable echo messages of diagnostics.", "enum": [ "always", "jump", "never" ] }, "diagnostic.locationlist": { "type": "boolean", "description": "Create location list for error & warning", "default": true }, "diagnostic.highlightOffset": { "type": "number", "description": "Offset number of buffer.addHighlight, neovim only.", "default": 1000 }, "diagnostic.signOffset": { "type": "number", "description": "Offset number of sign", "default": 1000 }, "diagnostic.errorSign": { "type": "string", "description": "Text of error sign", "default": ">>" }, "diagnostic.warningSign": { "type": "string", "description": "Text of warning sign", "default": "\u26a0" }, "diagnostic.infoSign": { "type": "string", "description": "Text of info sign", "default": ">>" }, "diagnostic.hintSign": { "type": "string", "description": "Text of hint sign", "default": ">>" }, "diagnostic.maxWindowHeight": { "type": "number", "description": "Maximum height of diagnostics floating window.", "default": 8 }, "diagnostic.filetypeMap": { "type": "object", "description": "A map between buffer filetype and the filetype assigned to diagnostics. To syntax highlight diagnostics withs their parent buffer type use '\"default\": \"bufferType\"'", "default": {} }, "signature.enable": { "type": "boolean", "description": "Enable signature help when trigger character typed, require restart service on change.", "default": true }, "signature.triggerSignatureWait": { "type": "integer", "default": 50, "minimum": 50, "maximum": 300, "description": "Timeout for trigger signature help, in miliseconds." }, "signature.target": { "type": "string", "description": "Target of signature help, use float when possible by default.", "enum": [ "float", "echo" ] }, "signature.floatMaxWidth": { "type": "integer", "default": 60, "description": "Max width of signature float window." }, "signature.preferShownAbove": { "type": "boolean", "description": "Show signature help float window above cursor when possible, require restart service on change.", "default": true }, "signature.hideOnTextChange": { "type": "boolean", "description": "Hide signature float window when text changed, require restart service on change.", "default": false }, "signature.maxWindowHeight": { "type": "number", "description": "Maximum height of floating signature help window.", "default": 8 }, "codeLens.enable": { "type": "boolean", "description": "Enable codeLens feature, require neovim with set virtual text feature.", "default": false }, "codeLens.separator": { "type": "string", "description": "Separator text for codeLens in virtual text", "default": "\u2023" }, "refactor.openCommand": { "type": "string", "description": "Open command for refactor window.", "default": "vsplit" }, "refactor.beforeContext": { "type": "number", "default": 3, "description": "Print num lines of leading context before each match." }, "refactor.afterContext": { "type": "number", "default": 3, "description": "Print num lines of trailing context after each match." }, "workspace.ignoredFiletypes": { "type": "array", "default": [ "markdown", "log", "txt", "help" ], "description": "Filetypes that should be ignored for resolve workspace folder.", "items": { "type": "string" } }, "list.indicator": { "type": "string", "default": ">", "description": "The characer used as first characer in prompt line" }, "list.interactiveDebounceTime": { "type": "number", "default": 100, "description": "Debouce time for input change on interactive mode." }, "list.maxHeight": { "type": "number", "default": 10, "description": "Maximum height of list window." }, "list.signOffset": { "type": "number", "default": 900, "description": "Sign offset of list, should be different from other plugins." }, "list.selectedSignText": { "type": "string", "default": "*", "description": "Sign text for selected lines." }, "list.extendedSearchMode": { "type": "boolean", "default": true, "description": "Enable extended search mode which allows multiple search patterns delimited by spaces." }, "list.autoResize": { "type": "boolean", "default": true, "description": "Enable auto resize feature." }, "list.limitLines": { "type": "number", "default": 30000, "description": "Limit lines for list buffer." }, "list.maxPreviewHeight": { "type": "number", "default": 12, "description": "Max height for preview window of list." }, "list.previewSplitRight": { "type": "boolean", "default": false, "description": "Use vsplit for preview window." }, "list.previewHighlightGroup": { "type": "string", "default": "Search", "description": "Highlight group used for highlight the range in preview window." }, "list.nextKeymap": { "type": "string", "default": "<C-j>", "description": "Key used for select next line on insert mode." }, "list.previousKeymap": { "type": "string", "default": "<C-k>", "description": "Key used for select previous line on insert mode." }, "list.normalMappings": { "type": "object", "default": {}, "description": "Custom keymappings on normal mode." }, "list.insertMappings": { "type": "object", "default": {}, "description": "Custom keymappings on insert mode." }, "list.source.outline.ctagsFilestypes": { "type": "array", "default": [], "description": "Filetypes that should use ctags for outline instead of language server.", "items": { "type": "string" } }, "cursors.cancelKey": { "type": "string", "default": "<esc>", "description": "Key used for cancel cursors session." }, "cursors.nextKey": { "type": "string", "default": "<C-n>", "description": "Key used for jump to next cursors position. " }, "cursors.previousKey": { "type": "string", "default": "<C-p>", "description": "Key used for jump to previous cursors position." }, "coc.preferences.useQuickfixForLocations": { "type": "boolean", "description": "Use vim's quickfix list for jump locations,\n need restart on change.", "default": false }, "coc.preferences.extensionUpdateCheck": { "type": "string", "default": "daily", "description": "Interval for check extension update, could be daily, weekly, never", "enum": [ "daily", "weekly", "never" ] }, "coc.preferences.snippetStatusText": { "type": "string", "default": "SNIP", "description": "Text shown in statusline to indicate snippet session is activated." }, "coc.preferences.hoverTarget": { "type": "string", "description": "Target to show hover information, default is floating window when possible.", "enum": [ "preview", "echo", "float" ] }, "coc.preferences.colorSupport": { "type": "boolean", "description": "Enable color highlight if language server support it.", "default": true }, "coc.preferences.previewAutoClose": { "type": "boolean", "description": "Auto close preview window on cursor move.", "default": true }, "coc.preferences.currentFunctionSymbolAutoUpdate": { "type": "boolean", "description": "Automatically update the value of b:coc_current_function on CursorHold event", "default": false }, "coc.preferences.formatOnSaveFiletypes": { "type": "array", "default": [], "description": "Filetypes that should run format on save.", "items": { "type": "string" } }, "coc.preferences.enableFloatHighlight": { "type": "boolean", "description": "Enable highlight for floating window.", "default": true }, "coc.preferences.rootPatterns": { "type": "array", "default": [ ".vim", ".git", ".hg", ".projections.json" ], "description": "Root patterns to resolve workspaceFolder from parent folders of opened files, resolved from up to down.", "items": { "type": "string" } }, "coc.preferences.watchmanPath": { "type": "string", "description": "executable path for https://facebook.github.io/watchman/, detected from $PATH by default", "default": null }, "coc.preferences.jumpCommand": { "type": "string", "description": "Command used for location jump, like goto definition, goto references etc.", "default": "edit", "enum": [ "edit", "split", "vsplit", "tabe", "drop", "tab drop" ] }, "coc.preferences.messageLevel": { "type": "string", "description": "Message level for filter echoed messages, could be 'more', 'warning' and 'error'", "default": "more", "enum": [ "more", "warning", "error" ] }, "coc.preferences.bracketEnterImprove": { "type": "boolean", "description": "Improve enter inside bracket `<> {} [] ()` by add new empty line below and place cursor to it. Works with `coc#on_enter()`", "default": true }, "coc.preferences.formatOnType": { "type": "boolean", "description": "Set to true to enable format on type", "default": false }, "coc.preferences.snippets.enable": { "type": "boolean", "description": "Set to false to disable snippets support.", "default": true }, "coc.source.around.enable": { "type": "boolean", "default": true }, "coc.source.around.firstMatch": { "type": "boolean", "description": "Filter complete items by first letter strict match.", "default": true }, "coc.source.around.shortcut": { "type": "string", "default": "A" }, "coc.source.around.priority": { "type": "integer", "default": 1 }, "coc.source.around.disableSyntaxes": { "type": "array", "default": [], "items": { "type": "string" } }, "coc.source.buffer.enable": { "type": "boolean", "default": true }, "coc.source.buffer.shortcut": { "type": "string", "default": "B" }, "coc.source.buffer.priority": { "type": "integer", "default": 1 }, "coc.source.buffer.firstMatch": { "type": "boolean", "description": "Filter complete items by first letter strict match.", "default": true }, "coc.source.buffer.ignoreGitignore": { "type": "boolean", "default": true, "description": "Ignore git ignored files for buffer words" }, "coc.source.buffer.disableSyntaxes": { "type": "array", "default": [], "items": { "type": "string" } }, "coc.source.file.enable": { "type": "boolean", "default": true }, "coc.source.file.shortcut": { "type": "string", "default": "F" }, "coc.source.file.priority": { "type": "integer", "default": 10 }, "coc.source.file.disableSyntaxes": { "type": "array", "default": [], "items": { "type": "string" } }, "coc.source.file.triggerCharacters": { "type": "array", "default": [ "/" ], "items": { "type": "string" } }, "coc.source.file.trimSameExts": { "type": "array", "default": [ ".ts", ".js" ], "description": "Trim same extension on file completion", "items": { "type": "string" } }, "coc.source.file.ignoreHidden": { "type": "boolean", "default": true, "description": "Ignore completion for hidden files" }, "coc.source.file.ignorePatterns": { "type": "array", "default": [], "description": "Ignore patterns of matcher", "items": { "type": "string" } }, "languageserver": { "type": "object", "default": {}, "description": "Dictionary of languageservers, key is used as id of languageserver.", "patternProperties": { "^[_a-zA-Z]+$": { "oneOf": [ { "$ref": "#/definitions/languageServerModule" }, { "$ref": "#/definitions/languageServerCommand" }, { "$ref": "#/definitions/languageServerSocket" } ] } } } } }
o19184
{ "$schema": "http://json-schema.org/draft-04/schema#", "oneOf": [ { "type": [ "string", "null" ], "minLength": 2 }, { "name": "Permission", "description": "A permission issued by a government or regulatory body to an entity to do something. This may be fine grained,e.g. to sell liquor, to accept customer deposits, or broader, e.g to operate as a bank, a restaurant. It may also be permission to do something physical, such as explore for oil in a given area, or mine for iron ore", "type": "object", "properties": { "activity_name": { "type": "string" }, "activity_id": { "type": "string" }, "permission_type": { "enum": [ "operating", "exploration", "exploitation" ], "description": "types of permission, such as 'operating', 'exploration', 'exploitation'" }, "restrictions": { "type": "array", "description": "conditions or restrictions on the permissions", "items": { "type": "string" } }, "other_attributes": { "type": "object" } }, "required": [ "activity_name" ] } ] }
o65459
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "EngageBDR Adapter Params", "description": "A schema which validates params accepted by the EngageBDR adapter", "type": "object", "properties": { "sspid": { "type": "string", "description": "SSPID parameter", "pattern": "^[0-9]+$" } }, "required": [ "sspid" ] }
o68306
{ "properties": { "Datasets": { "items": { "properties": { "Alias": { "type": "string" }, "DataMap": { "additionalProperties": { "properties": { "BlockSize": { "items": { "type": "number" }, "type": "array" }, "ByteOrder": { "type": "object" }, "DsetID": { "type": "number" }, "ID": { "type": "number" }, "Interpolable": { "type": "boolean" }, "MaxIndex": { "items": { "type": "number" }, "type": [ "null", "array" ] }, "MaxPoint": { "items": { "type": "number" }, "type": [ "null", "array" ] }, "MinIndex": { "items": { "type": "number" }, "type": [ "null", "array" ] }, "MinPoint": { "items": { "type": "number" }, "type": [ "null", "array" ] }, "Name": { "type": "string" }, "TypeService": { "properties": { "Name": { "type": "string" }, "Requirements": { "properties": { "Batcher": { "type": "boolean" }, "BulkIniter": { "type": "boolean" }, "BulkWriter": { "type": "boolean" } }, "type": "object" }, "Url": { "type": "string" }, "Version": { "type": "string" } }, "type": "object" }, "Unversioned": { "type": "boolean" }, "Values": { "items": { "properties": { "DataType": { "type": "string" }, "Label": { "type": "string" } }, "type": "object" }, "type": "array" }, "VoxelSize": { "items": { "type": "number" }, "type": "array" }, "VoxelUnits": { "items": { "type": "string" }, "type": "array" } }, "required": [ "Name" ], "type": "object" }, "type": "object" }, "DatasetID": { "type": "number" }, "NewDataID": { "type": "number" }, "NewVersonID": { "type": "number" }, "Nodes": { "additionalProperties": { "properties": { "Avail": {}, "Children": { "type": [ "array", "null" ] }, "Created": { "type": "string" }, "GlobalID": { "type": "string" }, "Locked": { "type": "boolean" }, "Parents": { "type": [ "array", "null" ] }, "Updated": { "type": "string" }, "VersionID": { "type": "number" } }, "required": [ "GlobalID", "VersionID", "Locked", "Parents", "Children", "Created" ], "type": "object" }, "type": "object" }, "Root": { "type": "string" }, "VersionMap": { "additionalProperties": { "type": "number" }, "type": "object" } }, "type": "object" }, "type": "array" }, "version": { "type": "string" } }, "required": [ "Datasets" ], "type": "object", "version": "0.01" }
o48512
{ "description": "Schema for a Snowplow payload", "items": { "additionalProperties": false, "properties": { "ad_ad": { "type": "string" }, "ad_ba": { "type": "string" }, "ad_ca": { "type": "string" }, "ad_uid": { "type": "string" }, "aid": { "type": "string" }, "cd": { "type": "string" }, "co": { "type": "string" }, "cookie": { "type": "string" }, "cs": { "type": "string" }, "ctype": { "type": "string" }, "cx": { "type": "string" }, "ds": { "type": "string" }, "dtm": { "type": "string" }, "duid": { "type": "string" }, "e": { "type": "string" }, "eid": { "type": "string" }, "f_ag": { "type": "string" }, "f_dir": { "type": "string" }, "f_fla": { "type": "string" }, "f_gears": { "type": "string" }, "f_java": { "type": "string" }, "f_pdf": { "type": "string" }, "f_qt": { "type": "string" }, "f_realp": { "type": "string" }, "f_wma": { "type": "string" }, "fp": { "type": "string" }, "ip": { "type": "string" }, "lang": { "type": "string" }, "mac": { "type": "string" }, "nuid": { "type": "string" }, "p": { "type": "string" }, "page": { "type": "string" }, "pp_max": { "type": "string" }, "pp_may": { "type": "string" }, "pp_mix": { "type": "string" }, "pp_miy": { "type": "string" }, "refr": { "type": "string" }, "res": { "type": "string" }, "sa": { "type": "string" }, "se_ac": { "type": "string" }, "se_ca": { "type": "string" }, "se_la": { "type": "string" }, "se_pr": { "type": "string" }, "se_va": { "type": "string" }, "sn": { "type": "string" }, "sp": { "type": "string" }, "st": { "type": "string" }, "ti_ca": { "type": "string" }, "ti_cu": { "type": "string" }, "ti_id": { "type": "string" }, "ti_na": { "type": "string" }, "ti_nm": { "type": "string" }, "ti_pr": { "type": "string" }, "ti_qu": { "type": "string" }, "ti_sk": { "type": "string" }, "tid": { "type": "string" }, "tna": { "type": "string" }, "tr_af": { "type": "string" }, "tr_ci": { "type": "string" }, "tr_co": { "type": "string" }, "tr_cu": { "type": "string" }, "tr_id": { "type": "string" }, "tr_sh": { "type": "string" }, "tr_st": { "type": "string" }, "tr_tt": { "type": "string" }, "tr_tx": { "type": "string" }, "tv": { "type": "string" }, "tz": { "type": "string" }, "ua": { "type": "string" }, "ue_na": { "type": "string" }, "ue_pr": { "type": "string" }, "ue_px": { "type": "string" }, "uid": { "type": "string" }, "url": { "type": "string" }, "vid": { "type": "string" }, "vp": { "type": "string" } }, "required": [ "tv", "p", "e" ], "type": "object" }, "minItems": 1, "self": { "format": "jsonschema", "name": "payload_data", "vendor": "com.snowplowanalytics.snowplow", "version": "1-0-1" }, "type": "array" }
sp_303_Normalized
{ "definitions": { "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" } }, "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", "null" ] }, "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", "null" ] }, "options": { "additionalProperties": { "type": [ "string", "null" ] }, "description": "Optional: Extra command options if any.", "type": [ "object", "null" ] }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", "type": [ "boolean", "null" ] }, "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" }
kb_356_Normalized
{ "description": "version specific attributes of a stack", "properties": { "createTimestamp": { "id": "createTimestamp", "type": "string" }, "projectIteration": { "id": "projectIteration", "type": "integer" }, "projectStep": { "id": "projectStep", "type": "integer" }, "snapshotRootPath": { "id": "snapshotRootPath", "type": "string" }, "stackResolutionX": { "id": "stackResolutionX", "type": "number" }, "stackResolutionY": { "id": "stackResolutionY", "type": "number" }, "stackResolutionZ": { "id": "stackResolutionZ", "type": "number" }, "versionNotes": { "id": "versionNotes", "type": "string" } }, "required": [], "title": "Stack Version", "type": "object" }
o72175
{ "id": "http://datafactories.schema.management.azure.com/schemas/2015-09-01/Microsoft.DataFactory.Table.json", "$schema": "http://json-schema.org/draft-04/schema#", "title": "Microsoft.Azure.Management.DataFactories.Models.Table", "description": "A table defines the schema of the data as well as its storage.", "type": "object", "required": [ "name", "properties" ], "properties": { "name": { "description": "Name of the table.", "type": "string", "maxLength": 260, "pattern": "^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$" }, "properties": { "description": "Table properties.", "$ref": "#/definitions/tablePropertiesTypes" }, "$schema": { "type": "string" } }, "additionalProperties": true, "definitions": { "dataElement": { "title": "Microsoft.Azure.Management.DataFactories.Models.DataElement", "description": "Data element defines the semantics of each column of a table.", "type": "object", "properties": { "name": { "description": "Name of the data element.", "type": "string" }, "description": { "description": "Description of the data element.", "type": "string" }, "culture": { "description": "Culture of the data element.", "type": "string" }, "format": { "description": "Format of the data element.", "type": "string" }, "type": { "description": "Type of the data element.", "type": "string", "enum": [ "String", "Int16", "Int32", "Int64", "Single", "Double", "Decimal", "Guid", "Boolean", "Enum", "Datetime", "DateTimeOffset", "Timespan", "Byte[]" ] } }, "additionalProperties": false }, "partitionValue": { "title": "Microsoft.Azure.Management.DataFactories.Models.PartitionValue", "description": "The value of a partition.", "type": "object", "properties": {} }, "dateTimePartitionValue": { "title": "Microsoft.Azure.Management.DataFactories.Models.DateTimePartitionValue", "description": "The date/time value of a partition.", "type": "object", "properties": { "date": { "description": "Name of variable containing date.", "type": "string" }, "format": { "description": "Format string for the Date value.", "type": "string" }, "type": { "type": "string", "enum": [ "DateTime" ] } } }, "partitionValueTypes": { "type": "object", "required": [ "type" ], "allOf": [ { "$ref": "#/definitions/partitionValue" }, { "oneOf": [ { "$ref": "#/definitions/dateTimePartitionValue" } ] } ] }, "partition": { "title": "Microsoft.Azure.Management.DataFactories.Models.Partition", "description": "The partition definition.", "type": "object", "properties": { "name": { "description": "Name of the partition.", "type": "string" }, "value": { "description": "Value of the partition.", "$ref": "#/definitions/partitionValueTypes" } }, "additionalProperties": false }, "storageFormat": { "title": "Microsoft.Azure.Management.DataFactories.Models.StorageFormat", "description": "The format definition of a storage.", "type": "object", "properties": { "serializer": { "description": "Serializer.", "type": "string" }, "deserializer": { "description": "Deserializer.", "type": "string" } } }, "textFormat": { "title": "Microsoft.Azure.Management.DataFactories.Models.TextFormat", "description": "Text format.", "type": "object", "properties": { "columnDelimiter": { "description": "The column delimiter.", "type": "string" }, "rowDelimiter": { "description": "The row delimiter.", "type": "string" }, "escapeChar": { "description": "The escape character.", "type": "string" }, "quoteChar": { "description": "The quote character.", "type": "string" }, "nullValue": { "description": "The null value string.", "type": "string" }, "encodingName": { "description": "The code page name of the preferred encoding. If miss, the default value is \u201cutf-8\u201d, unless BOM denotes another Unicode encoding. Refer to the \u201cName\u201d column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx.", "type": "string" }, "treatEmptyAsNull": { "description": "Treat empty column values in the text file as null. The default value is true.", "type": "boolean" }, "skipLineCount": { "description": "The number of lines/rows to be skipped when parsing text files. The default value is 0.", "type": "integer" }, "firstRowAsHeader": { "description": "When used as input, treat the first row of data as headers. When used as output, write the headers into the output as the first row of data. The default value is false.", "type": "boolean" }, "type": { "type": "string", "enum": [ "TextFormat" ] } } }, "storageFormatTypes": { "type": "object", "required": [ "type" ], "allOf": [ { "$ref": "#/definitions/storageFormat" }, { "oneOf": [ { "$ref": "#/definitions/textFormat" }, { "$ref": "#/definitions/avroFormat" }, { "$ref": "#/definitions/jsonFormat" }, { "$ref": "#/definitions/orcFormat" }, { "$ref": "#/definitions/parquetFormat" } ] } ] }, "jsonFormat": { "title": "Microsoft.Azure.Management.DataFactories.Models.JsonFormat", "description": "The data stored in JSON format.", "type": "object", "properties": { "filePattern": { "description": "File pattern of JSON. To be more specific, the way of separating a collection of JSON objects. The default value is 'setOfObjects'. It is case-sensitive.", "$ref": "#/definitions/jsonFormatFilePattern" }, "nestingSeparator": { "description": "The character used to separate nesting levels. Default value is '.' (dot).", "type": "string" }, "encodingName": { "description": "The code page name of the preferred encoding. If not provided, the default value is 'utf-8', unless the byte order mark (BOM) denotes another Unicode encoding. The full list of supported values can be found in the 'Name' column of the table of encodings in the following reference: https://msdn.microsoft.com/library/system.text.encoding.aspx#Anchor_5.", "type": "string" }, "jsonNodeReference": { "description": "The JSONPath of the JSON array element to be flattened. Reference: http://goessner.net/articles/JsonPath/.", "type": "string" }, "jsonPathDefinition": { "description": "The definition of the relative JSONPath in the original JSON objects for the targeted column in the converted row when converting JSON objects to rows. Example: { \"Column1\": \"$.Column1Path\"}. The JSONPath of the root items must start with a \"$\" character and all the other items in the flattened array defined by JsonNodeReference must not.", "type": "object" }, "type": { "type": "string", "enum": [ "JsonFormat" ] } } }, "jsonFormatFilePattern": { "title": "Microsoft.Azure.Management.DataFactories.Models.JsonFormatFilePattern", "description": "JSON format file pattern. A property of JsonFormat", "type": "string", "enum": [ "setOfObjects", "arrayOfObjects" ] }, "avroFormat": { "title": "Microsoft.Azure.Management.DataFactories.Models.AvroFormat", "description": "Avro format.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "AvroFormat" ] } } }, "orcFormat": { "title": "Microsoft.Azure.Management.DataFactories.Models.OrcFormat", "description": "Optimized row columnar (ORC) format.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "OrcFormat" ] } } }, "parquetFormat": { "title": "Microsoft.Azure.Management.DataFactories.Models.ParquetFormat", "description": "Parquet format.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "ParquetFormat" ] } } }, "compressionTypes": { "type": "object", "required": [ "type" ], "allOf": [ { "$ref": "#/definitions/compression" }, { "oneOf": [ { "$ref": "#/definitions/bzip2Compression" }, { "$ref": "#/definitions/deflateCompression" }, { "$ref": "#/definitions/gzipCompression" }, { "$ref": "#/definitions/zipdeflateCompression" } ] } ] }, "compression": { "title": "Microsoft.Azure.Management.DataFactories.Models.Compression", "description": "The compression method used on a table.", "type": "object" }, "bzip2Compression": { "title": "Microsoft.Azure.Management.DataFactories.Models.BZip2Compression", "description": "The BZip2 compression method used on a table.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "BZip2" ] } } }, "deflateCompression": { "title": "Microsoft.Azure.Management.DataFactories.Models.DeflateCompression", "description": "The Deflate compression method used on a table.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "Deflate" ] }, "level": { "description": "The Deflate compression method used on a table.", "$ref": "#/definitions/compressionLevel" } } }, "gzipCompression": { "title": "Microsoft.Azure.Management.DataFactories.Models.GZipCompression", "description": "The GZip compression method used on a table.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "GZip" ] }, "level": { "description": "The GZip compression method used on a table.", "$ref": "#/definitions/compressionLevel" } } }, "zipdeflateCompression": { "title": "Microsoft.Azure.Management.DataFactories.Models.ZipDeflateCompression", "description": "The ZipDeflate compression method used on a table.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "ZipDeflate" ] }, "level": { "description": "The ZipDeflate compression method used on a table.", "$ref": "#/definitions/compressionLevel" } } }, "compressionLevel": { "title": "Microsoft.Azure.Management.DataFactories.Models.CompressionLevel", "description": "All available compression levels.", "type": "string", "enum": [ "Optimal", "Fastest" ] }, "azureBlobDataset": { "title": "Microsoft.Azure.Management.DataFactories.Models.AzureBlobLocation", "description": "The Azure blob storage.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "AzureBlob" ] }, "typeProperties": { "description": "Properties specific to this table type.", "type": "object", "properties": { "folderPath": { "description": "The path of the Azure blob storage.", "type": "string" }, "tableRootLocation": { "description": "The root of blob path.", "type": "string" }, "fileName": { "description": "The name of the Azure blob.", "type": "string" }, "partitionedBy": { "description": "The partitions to be used by the path.", "type": "array", "items": { "$ref": "#/definitions/partition" } }, "format": { "description": "The format of the Azure blob storage.", "$ref": "#/definitions/storageFormatTypes" }, "compression": { "description": "The data compression method used for the blob storage.", "$ref": "#/definitions/compressionTypes" } }, "additionalProperties": false } } }, "azureTableDataset": { "title": "Microsoft.Azure.Management.DataFactories.Models.AzureTableDataset", "description": "The Azure table storage.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "AzureTable" ] }, "typeProperties": { "required": [ "tableName" ], "description": "Properties specific to this table type.", "type": "object", "properties": { "tableName": { "description": "The table name of the Azure table storage.", "type": "string" } }, "additionalProperties": false } } }, "azureSqlTableDataset": { "title": "Microsoft.Azure.Management.DataFactories.Models.AzureSqlTableDataset", "description": "The Azure SQL Server database.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "AzureSqlTable" ] }, "typeProperties": { "description": "Properties specific to this table type.", "type": "object", "required": [ "tableName" ], "properties": { "tableName": { "description": "The table name of the Azure SQL database.", "type": "string" } }, "additionalProperties": false } } }, "azureSqlDataWarehouseTableDataset": { "title": "Microsoft.Azure.Management.DataFactories.Models.AzureSqlDataWarehouseTableDataset", "description": "The Azure SQL data warehouse dataset.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "AzureSqlDWTable" ] }, "typeProperties": { "description": "Properties specific to this table type.", "type": "object", "required": [ "tableName" ], "properties": { "tableName": { "description": "The table name of the Azure SQL data warehouse dataset.", "type": "string" } }, "additionalProperties": false } } }, "documentDbCollectionDataset": { "title": "Microsoft.Azure.Management.DataFactories.Models.DocumentDbCollectionDataset", "description": "Document Database Collection location.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "DocumentDbCollection" ] }, "typeProperties": { "properties": { "collectionName": { "description": "Document Database collection name.", "type": "string" } }, "additionalProperties": false } } }, "azureDataLakeStoreDataset": { "title": "Microsoft.Azure.Management.DataFactories.Models.AzureDataLakeStoreDataset", "description": "Azure Data Lake Store dataset.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "AzureDataLakeStore" ] }, "typeProperties": { "description": "Properties specific to this data set type.", "type": "object", "required": [ "folderPath" ], "properties": { "folderPath": { "description": "Path to the folder in the Azure Data Lake Store.", "type": "string" }, "fileName": { "description": "The name of the file in the Azure Data Lake Store.", "type": "string" }, "format": { "description": "The format of the Data Lake Store.", "$ref": "#/definitions/storageFormatTypes" }, "compression": { "description": "The data compression method used for the item(s) in the Azure Data Lake Store.", "$ref": "#/definitions/compressionTypes" }, "partitionedBy": { "description": "Specify a dynamic path and filename for time series data.", "type": "array", "items": { "$ref": "#/definitions/partition" } } }, "additionalProperties": false } } }, "sqlServerTableDataset": { "title": "Microsoft.Azure.Management.DataFactories.Models.SqlServerTableDataset", "description": "The on-premises SQL Server database.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "SqlServerTable" ] }, "typeProperties": { "description": "Properties specific to this table type.", "type": "object", "required": [ "tableName" ], "properties": { "tableName": { "description": "The table name of the on-premises SQL database.", "type": "string" } }, "additionalProperties": false } } }, "fileShareDataset": { "title": "Microsoft.Azure.Management.DataFactories.Models.FileShareDataset", "description": "An on-premises file system.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "FileShare" ] }, "typeProperties": { "description": "Properties specific to this table type.", "type": "object", "properties": { "folderPath": { "description": "The name of the file folder.", "type": "string" }, "fileName": { "description": "The name of the file.", "type": "string" }, "partitionedBy": { "description": "The partitions to be used by the path.", "type": "array", "items": { "$ref": "#/definitions/partition" } }, "format": { "description": "The format of the file.", "$ref": "#/definitions/storageFormatTypes" }, "fileFilter": { "description": "Files sets filter by wildcard.", "type": "string" }, "compression": { "description": "The data compression method used on files.", "$ref": "#/definitions/compressionTypes" }, "useBinaryTransfer": { "description": "If true, data representation during transmission from FTP server is in Binary mode. If false, data representation during transmission from FTP server is in ASCII mode. Default value is true. Can only be used when the accociated Linked Service is a FtpServer Linked Service.", "type": "boolean" } }, "additionalProperties": false } } }, "relationalTableDataset": { "title": "Microsoft.Azure.Management.DataFactories.Models.RelationalTableDataset", "description": "Relational Table location.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "RelationalTable" ] }, "typeProperties": { "properties": { "tableName": { "description": "The table name.", "type": "string" } }, "additionalProperties": false } } }, "onPremisesCassandraTableDataset": { "title": "Microsoft.Azure.Management.DataFactories.Models.OnPremisesCassandraTableDataset", "description": "A table in a Cassandra database.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "CassandraTable" ] }, "typeProperties": { "properties": { "tableName": { "description": "The table name of the Cassandra database.", "type": "string" }, "keyspace": { "description": "The keyspace of the Cassandra database.", "type": "string" } }, "additionalProperties": false } } }, "mongoDbCollectionDataset": { "title": "Microsoft.Azure.Management.DataFactories.Models.MongoDbCollectionDataset", "description": "A collection in a MongoDB database.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "MongoDbCollection" ] }, "typeProperties": { "required": [ "collectionName" ], "properties": { "collectionName": { "description": "Name of the collection in the MongoDB database.", "type": "string" } }, "additionalProperties": false } } }, "azureSearchIndexDataset": { "title": "Microsoft.Azure.Management.DataFactories.Models.AzureSearchIndexDataset", "description": "The Azure Search Index.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "AzureSearchIndex" ] }, "typeProperties": { "description": "Properties specific to this dataset type.", "type": "object", "required": [ "indexName" ], "properties": { "indexName": { "description": "The name of the Azure Search Index.", "type": "string" } }, "additionalProperties": false } } }, "oracleTableDataset": { "title": "Microsoft.Azure.Management.DataFactories.Models.OracleTableDataset", "description": "The on-premises Oracle database.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "OracleTable" ] }, "typeProperties": { "description": "Properties specific to this table type.", "type": "object", "required": [ "tableName" ], "properties": { "tableName": { "description": "The table name of the on-premises Oracle database.", "type": "string" } }, "additionalProperties": false } } }, "customDataset": { "title": "Microsoft.Azure.Management.DataFactories.Models.CustomDataset", "description": "Custom location.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "CustomDataset" ] }, "typeProperties": { "description": "Properties specific to this table type.", "type": "object" } } }, "oDataResourceDataset": { "title": "Microsoft.Azure.Management.DataFactories.Models.ODataResourceDataset", "description": "Open Data Protocol (OData) Resource Dataset.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "ODataResource" ] }, "typeProperties": { "description": "Properties specific to this dataset type.", "type": "object", "properties": { "path": { "description": "OData resource path.", "type": "string" } }, "additionalProperties": false } } }, "webTableDataset": { "title": "Microsoft.Azure.Management.DataFactories.Models.WebTableDataset", "description": "HTML table in a web page.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "WebTable" ] }, "typeProperties": { "description": "Properties specific to this dataset type.", "type": "object", "required": [ "index" ], "properties": { "index": { "description": "The zero-based index of the table in web page.", "type": "integer", "minimum": 0 }, "path": { "description": "The relative URL to the web page from the linked service URL.", "type": "string" }, "partitionedBy": { "description": "The partitions to be used by the path.", "type": "array", "items": { "$ref": "#/definitions/partition" } } }, "additionalProperties": false } } }, "httpDataset": { "title": "Microsoft.Azure.Management.DataFactories.Models.HttpDataset", "description": "A file in an HTTP web server.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "Http" ] }, "typeProperties": { "description": "Properties specific to this dataset type.", "type": "object", "properties": { "relativeUrl": { "description": "The relative URL based on the URL in the HttpLinkedService refers to an HTTP file", "type": "string" }, "requestMethod": { "description": "The HTTP method for the HTTP request.", "type": "string" }, "requestBody": { "description": "The body for the HTTP request.", "type": "string" }, "additionalHeaders": { "description": "The headers for the HTTP Request. e.g. request-header-name-1:request-header-value-1\r\n...\r\nrequest-header-name-n:request-header-value-n", "type": "string" }, "partitionedBy": { "description": "The partitions to be used by the path.", "type": "array", "items": { "$ref": "#/definitions/partition" } }, "format": { "description": "The format of the file.", "$ref": "#/definitions/storageFormatTypes" }, "compression": { "description": "The data compression method used on files.", "$ref": "#/definitions/compressionTypes" } }, "additionalProperties": false } } }, "amazonS3Dataset": { "title": "Microsoft.Azure.Management.DataFactories.Models.AmazonS3Dataset", "description": "A single Amazon Simple Storage Service (S3) object or a set of S3 objects.", "type": "object", "properties": { "type": { "type": "string", "enum": [ "AmazonS3" ] }, "typeProperties": { "description": "Properties specific to this table type.", "type": "object", "required": [ "bucketName" ], "properties": { "bucketName": { "description": "The name of the Amazon S3 bucket.", "type": "string" }, "key": { "description": "The key of the Amazon S3 object.", "type": "string" }, "prefix": { "description": "The prefix filter for the S3 object(s) name.", "type": "string" }, "version": { "description": "The version for the S3 object.", "type": "string" }, "format": { "description": "The format of the Amazon S3 object(s).", "$ref": "#/definitions/storageFormatTypes" }, "compression": { "description": "The data compression method used for the Amazon S3 object(s).", "$ref": "#/definitions/compressionTypes" } }, "additionalProperties": false } } }, "availability": { "title": "Microsoft.Azure.Management.DataFactories.Models.Availability", "description": "The scheduler definition.", "type": "object", "required": [ "frequency", "interval" ], "properties": { "frequency": { "description": "Frequency in terms of minute, hour, day, etc.", "type": "string", "enum": [ "Minute", "Hour", "Day", "Week", "Month" ] }, "interval": { "description": "The interval of running the scheduler.", "type": "integer" }, "anchorDateTime": { "description": "The date used as a reference point for calculating slice start and end dates.", "$ref": "#/definitions/UTC" }, "offset": { "description": "The offset relative to the anchor time.", "type": "string", "pattern": "((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))" }, "style": { "description": "The scheduler style.", "type": "string", "enum": [ "NotSpecified", "StartOfInterval", "EndOfInterval" ] } }, "additionalProperties": false }, "validationPolicy": { "title": "Microsoft.Azure.Management.DataFactories.Models.ValidationPolicy", "description": "Validation policy.", "type": "object", "properties": { "minimumRows": { "description": "Minimum rows.", "type": "integer" }, "minimumSizeMB": { "description": "Minimum size in MB.", "type": "number" }, "validationPriorityOrder": { "description": "Validation priority order. Choose from OldestFirst or NewestFirst.", "type": "string", "enum": [ "OldestFirst", "NewestFirst" ] } }, "additionalProperties": false }, "latencyPolicy": { "title": "Microsoft.Azure.Management.DataFactories.Models.LatencyPolicy", "description": "Latency policy.", "type": "object", "properties": { "latencyLength": { "description": "Latency length.", "type": "string", "pattern": "((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))" } }, "additionalProperties": false }, "externalDataPolicy": { "title": "Microsoft.Azure.Management.DataFactories.Models.ExternalDataPolicy", "description": "External data policy.", "type": "object", "properties": { "dataDelay": { "description": "Data delay.", "type": "string", "pattern": "((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))" }, "retryInterval": { "description": "Retry interval.", "type": "string", "pattern": "((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))" }, "retryTimeout": { "description": "Specifies the timeout for the activity to run. If there is value specified, it takes the value of TimeSpan.FromMilliseconds(-1) which means indefinite timeout.", "type": "string", "pattern": "((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))" }, "maximumRetry": { "description": "Maximum retry.", "type": "integer" } }, "additionalProperties": false }, "policy": { "title": "Microsoft.Azure.Management.DataFactories.Models.Policy", "description": "Policy of a table.", "type": "object", "properties": { "validation": { "description": "Validation policy.", "$ref": "#/definitions/validationPolicy" }, "latency": { "description": "Latency policy.", "$ref": "#/definitions/latencyPolicy" }, "externalData": { "description": "External data policy.", "$ref": "#/definitions/externalDataPolicy" } }, "additionalProperties": false }, "tableProperties": { "title": "Microsoft.Azure.Management.DataFactories.Models.TableProperties", "description": "Table properties.", "type": "object", "properties": { "description": { "description": "Table description.", "type": "string" }, "structure": { "description": "Columns that define the structure of the table.", "type": "array", "items": { "$ref": "#/definitions/dataElement" } }, "availability": { "description": "Scheduler of the table.", "$ref": "#/definitions/availability" }, "policy": { "description": "Policy applied to the table.", "$ref": "#/definitions/policy" }, "external": { "description": "If set to true, the table is an external data set.", "type": "boolean" }, "linkedServiceName": { "description": "The referenced data linkedService name.", "type": "string" } } }, "tablePropertiesTypes": { "type": "object", "required": [ "availability", "linkedServiceName", "type", "typeProperties" ], "allOf": [ { "$ref": "#/definitions/tableProperties" }, { "oneOf": [ { "$ref": "#/definitions/azureBlobDataset" }, { "$ref": "#/definitions/azureTableDataset" }, { "$ref": "#/definitions/azureSqlTableDataset" }, { "$ref": "#/definitions/azureSqlDataWarehouseTableDataset" }, { "$ref": "#/definitions/documentDbCollectionDataset" }, { "$ref": "#/definitions/sqlServerTableDataset" }, { "$ref": "#/definitions/fileShareDataset" }, { "$ref": "#/definitions/oracleTableDataset" }, { "$ref": "#/definitions/relationalTableDataset" }, { "$ref": "#/definitions/azureSearchIndexDataset" }, { "$ref": "#/definitions/azureDataLakeStoreDataset" }, { "$ref": "#/definitions/oDataResourceDataset" }, { "$ref": "#/definitions/webTableDataset" }, { "$ref": "#/definitions/httpDataset" }, { "$ref": "#/definitions/onPremisesCassandraTableDataset" }, { "$ref": "#/definitions/mongoDbCollectionDataset" }, { "$ref": "#/definitions/amazonS3Dataset" }, { "$ref": "#/definitions/customDataset" } ] } ] }, "UTC": { "type": "string", "pattern": "^\\d{4}(-(0[1-9]|1[0-2])(-([012]\\d|3[01])(T((([01]\\d|2[0123]):[0-5]\\d)|(24:00))(:(([0-5]\\d)|60)(\\.\\d{1,}){0,1}){0,1}){0,1}((Z)|([+-]((([01]\\d|2[0123]):[0-5]\\d)|(24:00)))){0,1}){0,1}){0,1}$" } } }
o360
{ "$schema": "http://json-schema.org/draft-04/schema#", "description": "The value returned by POST /{db}/_bulk_docs", "items": { "oneOf": [ { "properties": { "error": { "type": "string" }, "reason": { "type": "string" } }, "required": [ "error", "reason" ] }, { "properties": { "ok": { "type": "boolean" }, "rev": { "type": "string" } }, "required": [ "ok" ] } ], "type": "object" }, "title": "CouchDB _bulk_docs", "type": "array" }
o60129
{ "SyncObjectChild": { "properties": { "parent": { "type": "string" } }, "required": [ "parent" ], "type": "object" }, "SyncObjectChildren": { "properties": { "childrenUrls": { "items": { "type": "string" }, "type": "array" }, "listener": { "type": "string" }, "observerPermissions": { "enum": [ "write", "write_read", "read" ] }, "parent": { "type": "string" }, "type": { "$ref": "#/SyncObjectChild" } }, "required": [ "parent", "listener", "type" ], "stereotype": "children", "type": "object" }, "SyncObjectParent": { "properties": { "childUrls": { "items": { "type": "string" }, "type": "array" }, "children": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "_comment": "This Spec is for Phase 1!! Most updated version is at https://github.com/reTHINK-project/specs/tree/master/schemas", "anyOf": [ { "$ref": "#/SyncObjectParent" }, { "$ref": "#/SyncObjectChild" } ], "properties": { "description": { "type": "string" }, "name": { "type": "string" }, "reporter": { "type": "string" }, "schema": { "type": "string" }, "tags": { "items": { "type": "string" }, "type": "array" }, "url": { "type": "string" } }, "required": [ "url", "reporter", "schema", "name" ], "type": "object" }
o69763
{ "$schema": "http://json-schema.org/draft-04/schema#", "__tags": [ "rest", "mongodb", "selList" ], "__version": 1, "description": "A region is some kind of a logical group that could be set for some entries. It allows 'vertical' restrictions of object visibility", "id": "http://schlothauer.de/schemas/shared/tenant.json", "properties": { "active": { "__tags": [ "notNull", "defaultTrue" ], "type": "boolean" }, "comment": { "description": "Comment to that tab", "type": "string" }, "created": { "_format": "datetime", "type": "string" }, "group": { "description": "Short text that describes the tag", "type": "string" }, "guid": { "__tags": [ "notDisplayed", "notNull" ], "_format": "uuid", "type": "string" }, "locked": { "__tags": [ "notNull", "defaultFalse" ], "description": "entry is needed and should not be deleted", "type": "boolean" }, "name": { "__tags": [ "notNull", "unique" ], "description": "Name of the tag", "type": "string" }, "tenantId": { "__ref": "./tenant.json", "__tags": [ "notDisplayed" ], "_format": "uuid", "description": "what is the related domain", "type": "string" } }, "required": [ "guid", "text" ], "type": "object" }
o73996
{ "properties": { "bindpolicytype": { "readonly": true, "type": "integer" }, "builtin": { "enum": [ "MODIFIABLE", "DELETABLE", "IMMUTABLE", "PARTITION_ALL" ], "type": "object" }, "feature": { "enum": [ "WL", "WebLogging", "SP", "SurgeProtection", "LB", "LoadBalancing", "CS", "ContentSwitching", "CR", "CacheRedirection", "SC", "SureConnect", "CMP", "CMPcntl", "CompressionControl", "PQ", "PriorityQueuing", "HDOSP", "HttpDoSProtection", "SSLVPN", "AAA", "GSLB", "GlobalServerLoadBalancing", "SSL", "SSLOffload", "SSLOffloading", "CF", "ContentFiltering", "IC", "IntegratedCaching", "OSPF", "OSPFRouting", "RIP", "RIPRouting", "BGP", "BGPRouting", "REWRITE", "IPv6PT", "IPv6protocoltranslation", "AppFw", "ApplicationFirewall", "RESPONDER", "HTMLInjection", "push", "NSPush", "NetScalerPush", "AppFlow", "CloudBridge", "ISIS", "ISISRouting", "CH", "CallHome", "AppQoE", "ContentAccelerator", "SYSTEM", "RISE", "FEO", "LSN", "LargeScaleNAT", "RDPProxy", "Rep", "Reputation", "URLFiltering", "VideoOptimization", "ForwardProxy", "SSLInterception", "AdaptiveTCP", "CQA", "CI", "ContentInspection", "Bot" ], "type": "string" }, "gotopriorityexpression": { "type": "string" }, "policyname": { "type": "string" }, "priority": { "type": "integer" } }, "title": "tmglobal_tmsessionpolicy_binding", "type": "object" }
o31055
{ "properties": { "client_name": { "description": "The name of the client", "type": "string" }, "invoice_number": { "description": "The invoice number", "type": "string" }, "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" }, "total_amount": { "description": "The total amount of the invoice", "type": "number" } }, "required": [ "client_name", "invoice_number", "items", "total_amount" ], "type": "object" }
generate_invoice_723cbb8b
{ "$schema": "http://json-schema.org/draft-07/schema", "title": "Protractor Target", "description": "Protractor target options for Build Facade.", "type": "object", "properties": { "protractorConfig": { "type": "string", "description": "The name of the Protractor configuration file." }, "devServerTarget": { "type": "string", "description": "Dev server target to run tests against.", "pattern": "^([^:\\s]+:[^:\\s]+(:[^\\s]+)?)?$" }, "grep": { "type": "string", "description": "Execute specs whose names match the pattern, which is internally compiled to a RegExp." }, "invertGrep": { "type": "boolean", "description": "Invert the selection specified by the 'grep' option.", "default": false }, "specs": { "type": "array", "description": "Override specs in the protractor config.", "default": [], "items": { "type": "string", "description": "Spec name." } }, "suite": { "type": "string", "description": "Override suite in the protractor config." }, "elementExplorer": { "type": "boolean", "description": "Start Protractor's Element Explorer for debugging.", "default": false, "x-deprecated": "This option has no effect. See: https://github.com/angular/protractor/blob/master/docs/debugging.md#enabled-control-flow for alternative methods." }, "webdriverUpdate": { "type": "boolean", "description": "Try to update webdriver.", "default": true }, "port": { "type": "number", "description": "The port to use to serve the application." }, "host": { "type": "string", "description": "Host to listen on." }, "baseUrl": { "type": "string", "description": "Base URL for protractor to connect to." } }, "additionalProperties": false, "required": [ "protractorConfig" ] }
o29812
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "Debug Adapter Protocol", "description": "The Debug Adapter Protocol defines the protocol used between an editor or IDE and a debugger or runtime.", "type": "object", "definitions": { "ProtocolMessage": { "type": "object", "title": "Base Protocol", "description": "Base class of requests, responses, and events.", "properties": { "seq": { "type": "integer", "description": "Sequence number (also known as message ID). For protocol messages of type 'request' this ID can be used to cancel the request." }, "type": { "type": "string", "description": "Message type.", "_enum": [ "request", "response", "event" ] } }, "required": [ "seq", "type" ] }, "Request": { "allOf": [ { "$ref": "#/definitions/ProtocolMessage" }, { "type": "object", "description": "A client or debug adapter initiated request.", "properties": { "type": { "type": "string", "enum": [ "request" ] }, "command": { "type": "string", "description": "The command to execute." }, "arguments": { "type": [ "array", "boolean", "integer", "null", "number", "object", "string" ], "description": "Object containing arguments for the command." } }, "required": [ "type", "command" ] } ] }, "Event": { "allOf": [ { "$ref": "#/definitions/ProtocolMessage" }, { "type": "object", "description": "A debug adapter initiated event.", "properties": { "type": { "type": "string", "enum": [ "event" ] }, "event": { "type": "string", "description": "Type of event." }, "body": { "type": [ "array", "boolean", "integer", "null", "number", "object", "string" ], "description": "Event-specific information." } }, "required": [ "type", "event" ] } ] }, "Response": { "allOf": [ { "$ref": "#/definitions/ProtocolMessage" }, { "type": "object", "description": "Response for a request.", "properties": { "type": { "type": "string", "enum": [ "response" ] }, "request_seq": { "type": "integer", "description": "Sequence number of the corresponding request." }, "success": { "type": "boolean", "description": "Outcome of the request.\nIf true, the request was successful and the 'body' attribute may contain the result of the request.\nIf the value is false, the attribute 'message' contains the error in short form and the 'body' may contain additional information (see 'ErrorResponse.body.error')." }, "command": { "type": "string", "description": "The command requested." }, "message": { "type": "string", "description": "Contains the raw error in short form if 'success' is false.\nThis raw error might be interpreted by the frontend and is not shown in the UI.\nSome predefined values exist.", "_enum": [ "cancelled" ], "enumDescriptions": [ "request was cancelled." ] }, "body": { "type": [ "array", "boolean", "integer", "null", "number", "object", "string" ], "description": "Contains request result if success is true and optional error details if success is false." } }, "required": [ "type", "request_seq", "success", "command" ] } ] }, "ErrorResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "On error (whenever 'success' is false), the body can provide more details.", "properties": { "body": { "type": "object", "properties": { "error": { "$ref": "#/definitions/Message", "description": "An optional, structured error message." } } } }, "required": [ "body" ] } ] }, "CancelRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "The 'cancel' request is used by the frontend in two situations:\n- to indicate that it is no longer interested in the result produced by a specific request issued earlier\n- to cancel a progress sequence. Clients should only call this request if the capability 'supportsCancelRequest' is true.\nThis request has a hint characteristic: a debug adapter can only be expected to make a 'best effort' in honouring this request but there are no guarantees.\nThe 'cancel' request may return an error if it could not cancel an operation but a frontend should refrain from presenting this error to end users.\nA frontend client should only call this request if the capability 'supportsCancelRequest' is true.\nThe request that got canceled still needs to send a response back. This can either be a normal result ('success' attribute true)\nor an error response ('success' attribute false and the 'message' set to 'cancelled').\nReturning partial results from a cancelled request is possible but please note that a frontend client has no generic way for detecting that a response is partial or not.\n The progress that got cancelled still needs to send a 'progressEnd' event back.\n A client should not assume that progress just got cancelled after sending the 'cancel' request.", "properties": { "command": { "type": "string", "enum": [ "cancel" ] }, "arguments": { "$ref": "#/definitions/CancelArguments" } }, "required": [ "command" ] } ] }, "CancelArguments": { "type": "object", "description": "Arguments for 'cancel' request.", "properties": { "requestId": { "type": "integer", "description": "The ID (attribute 'seq') of the request to cancel. If missing no request is cancelled.\nBoth a 'requestId' and a 'progressId' can be specified in one request." }, "progressId": { "type": "string", "description": "The ID (attribute 'progressId') of the progress to cancel. If missing no progress is cancelled.\nBoth a 'requestId' and a 'progressId' can be specified in one request." } } }, "CancelResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'cancel' request. This is just an acknowledgement, so no body field is required." } ] }, "InitializedEvent": { "allOf": [ { "$ref": "#/definitions/Event" }, { "type": "object", "title": "Events", "description": "This event indicates that the debug adapter is ready to accept configuration requests (e.g. SetBreakpointsRequest, SetExceptionBreakpointsRequest).\nA debug adapter is expected to send this event when it is ready to accept configuration requests (but not before the 'initialize' request has finished).\nThe sequence of events/requests is as follows:\n- adapters sends 'initialized' event (after the 'initialize' request has returned)\n- frontend sends zero or more 'setBreakpoints' requests\n- frontend sends one 'setFunctionBreakpoints' request (if capability 'supportsFunctionBreakpoints' is true)\n- frontend sends a 'setExceptionBreakpoints' request if one or more 'exceptionBreakpointFilters' have been defined (or if 'supportsConfigurationDoneRequest' is not defined or false)\n- frontend sends other future configuration requests\n- frontend sends one 'configurationDone' request to indicate the end of the configuration.", "properties": { "event": { "type": "string", "enum": [ "initialized" ] } }, "required": [ "event" ] } ] }, "StoppedEvent": { "allOf": [ { "$ref": "#/definitions/Event" }, { "type": "object", "description": "The event indicates that the execution of the debuggee has stopped due to some condition.\nThis can be caused by a break point previously set, a stepping request has completed, by executing a debugger statement etc.", "properties": { "event": { "type": "string", "enum": [ "stopped" ] }, "body": { "type": "object", "properties": { "reason": { "type": "string", "description": "The reason for the event.\nFor backward compatibility this string is shown in the UI if the 'description' attribute is missing (but it must not be translated).", "_enum": [ "step", "breakpoint", "exception", "pause", "entry", "goto", "function breakpoint", "data breakpoint", "instruction breakpoint" ] }, "description": { "type": "string", "description": "The full reason for the event, e.g. 'Paused on exception'. This string is shown in the UI as is and must be translated." }, "threadId": { "type": "integer", "description": "The thread which was stopped." }, "preserveFocusHint": { "type": "boolean", "description": "A value of true hints to the frontend that this event should not change the focus." }, "text": { "type": "string", "description": "Additional information. E.g. if reason is 'exception', text contains the exception name. This string is shown in the UI." }, "allThreadsStopped": { "type": "boolean", "description": "If 'allThreadsStopped' is true, a debug adapter can announce that all threads have stopped.\n- The client should use this information to enable that all threads can be expanded to access their stacktraces.\n- If the attribute is missing or false, only the thread with the given threadId can be expanded." } }, "required": [ "reason" ] } }, "required": [ "event", "body" ] } ] }, "ContinuedEvent": { "allOf": [ { "$ref": "#/definitions/Event" }, { "type": "object", "description": "The event indicates that the execution of the debuggee has continued.\nPlease note: a debug adapter is not expected to send this event in response to a request that implies that execution continues, e.g. 'launch' or 'continue'.\nIt is only necessary to send a 'continued' event if there was no previous request that implied this.", "properties": { "event": { "type": "string", "enum": [ "continued" ] }, "body": { "type": "object", "properties": { "threadId": { "type": "integer", "description": "The thread which was continued." }, "allThreadsContinued": { "type": "boolean", "description": "If 'allThreadsContinued' is true, a debug adapter can announce that all threads have continued." } }, "required": [ "threadId" ] } }, "required": [ "event", "body" ] } ] }, "ExitedEvent": { "allOf": [ { "$ref": "#/definitions/Event" }, { "type": "object", "description": "The event indicates that the debuggee has exited and returns its exit code.", "properties": { "event": { "type": "string", "enum": [ "exited" ] }, "body": { "type": "object", "properties": { "exitCode": { "type": "integer", "description": "The exit code returned from the debuggee." } }, "required": [ "exitCode" ] } }, "required": [ "event", "body" ] } ] }, "TerminatedEvent": { "allOf": [ { "$ref": "#/definitions/Event" }, { "type": "object", "description": "The event indicates that debugging of the debuggee has terminated. This does **not** mean that the debuggee itself has exited.", "properties": { "event": { "type": "string", "enum": [ "terminated" ] }, "body": { "type": "object", "properties": { "restart": { "type": [ "array", "boolean", "integer", "null", "number", "object", "string" ], "description": "A debug adapter may set 'restart' to true (or to an arbitrary object) to request that the front end restarts the session.\nThe value is not interpreted by the client and passed unmodified as an attribute '__restart' to the 'launch' and 'attach' requests." } } } }, "required": [ "event" ] } ] }, "ThreadEvent": { "allOf": [ { "$ref": "#/definitions/Event" }, { "type": "object", "description": "The event indicates that a thread has started or exited.", "properties": { "event": { "type": "string", "enum": [ "thread" ] }, "body": { "type": "object", "properties": { "reason": { "type": "string", "description": "The reason for the event.", "_enum": [ "started", "exited" ] }, "threadId": { "type": "integer", "description": "The identifier of the thread." } }, "required": [ "reason", "threadId" ] } }, "required": [ "event", "body" ] } ] }, "OutputEvent": { "allOf": [ { "$ref": "#/definitions/Event" }, { "type": "object", "description": "The event indicates that the target has produced some output.", "properties": { "event": { "type": "string", "enum": [ "output" ] }, "body": { "type": "object", "properties": { "category": { "type": "string", "description": "The output category. If not specified, 'console' is assumed.", "_enum": [ "console", "stdout", "stderr", "telemetry" ] }, "output": { "type": "string", "description": "The output to report." }, "group": { "type": "string", "description": "Support for keeping an output log organized by grouping related messages.", "enum": [ "start", "startCollapsed", "end" ], "enumDescriptions": [ "Start a new group in expanded mode. Subsequent output events are members of the group and should be shown indented.\nThe 'output' attribute becomes the name of the group and is not indented.", "Start a new group in collapsed mode. Subsequent output events are members of the group and should be shown indented (as soon as the group is expanded).\nThe 'output' attribute becomes the name of the group and is not indented.", "End the current group and decreases the indentation of subsequent output events.\nA non empty 'output' attribute is shown as the unindented end of the group." ] }, "variablesReference": { "type": "integer", "description": "If an attribute 'variablesReference' exists and its value is > 0, the output contains objects which can be retrieved by passing 'variablesReference' to the 'variables' request. The value should be less than or equal to 2147483647 (2^31 - 1)." }, "source": { "$ref": "#/definitions/Source", "description": "An optional source location where the output was produced." }, "line": { "type": "integer", "description": "An optional source location line where the output was produced." }, "column": { "type": "integer", "description": "An optional source location column where the output was produced." }, "data": { "type": [ "array", "boolean", "integer", "null", "number", "object", "string" ], "description": "Optional data to report. For the 'telemetry' category the data will be sent to telemetry, for the other categories the data is shown in JSON format." } }, "required": [ "output" ] } }, "required": [ "event", "body" ] } ] }, "BreakpointEvent": { "allOf": [ { "$ref": "#/definitions/Event" }, { "type": "object", "description": "The event indicates that some information about a breakpoint has changed.", "properties": { "event": { "type": "string", "enum": [ "breakpoint" ] }, "body": { "type": "object", "properties": { "reason": { "type": "string", "description": "The reason for the event.", "_enum": [ "changed", "new", "removed" ] }, "breakpoint": { "$ref": "#/definitions/Breakpoint", "description": "The 'id' attribute is used to find the target breakpoint and the other attributes are used as the new values." } }, "required": [ "reason", "breakpoint" ] } }, "required": [ "event", "body" ] } ] }, "ModuleEvent": { "allOf": [ { "$ref": "#/definitions/Event" }, { "type": "object", "description": "The event indicates that some information about a module has changed.", "properties": { "event": { "type": "string", "enum": [ "module" ] }, "body": { "type": "object", "properties": { "reason": { "type": "string", "description": "The reason for the event.", "enum": [ "new", "changed", "removed" ] }, "module": { "$ref": "#/definitions/Module", "description": "The new, changed, or removed module. In case of 'removed' only the module id is used." } }, "required": [ "reason", "module" ] } }, "required": [ "event", "body" ] } ] }, "LoadedSourceEvent": { "allOf": [ { "$ref": "#/definitions/Event" }, { "type": "object", "description": "The event indicates that some source has been added, changed, or removed from the set of all loaded sources.", "properties": { "event": { "type": "string", "enum": [ "loadedSource" ] }, "body": { "type": "object", "properties": { "reason": { "type": "string", "description": "The reason for the event.", "enum": [ "new", "changed", "removed" ] }, "source": { "$ref": "#/definitions/Source", "description": "The new, changed, or removed source." } }, "required": [ "reason", "source" ] } }, "required": [ "event", "body" ] } ] }, "ProcessEvent": { "allOf": [ { "$ref": "#/definitions/Event" }, { "type": "object", "description": "The event indicates that the debugger has begun debugging a new process. Either one that it has launched, or one that it has attached to.", "properties": { "event": { "type": "string", "enum": [ "process" ] }, "body": { "type": "object", "properties": { "name": { "type": "string", "description": "The logical name of the process. This is usually the full path to process's executable file. Example: /home/example/myproj/program.js." }, "systemProcessId": { "type": "integer", "description": "The system process id of the debugged process. This property will be missing for non-system processes." }, "isLocalProcess": { "type": "boolean", "description": "If true, the process is running on the same computer as the debug adapter." }, "startMethod": { "type": "string", "enum": [ "launch", "attach", "attachForSuspendedLaunch" ], "description": "Describes how the debug engine started debugging this process.", "enumDescriptions": [ "Process was launched under the debugger.", "Debugger attached to an existing process.", "A project launcher component has launched a new process in a suspended state and then asked the debugger to attach." ] }, "pointerSize": { "type": "integer", "description": "The size of a pointer or address for this process, in bits. This value may be used by clients when formatting addresses for display." } }, "required": [ "name" ] } }, "required": [ "event", "body" ] } ] }, "CapabilitiesEvent": { "allOf": [ { "$ref": "#/definitions/Event" }, { "type": "object", "description": "The event indicates that one or more capabilities have changed.\nSince the capabilities are dependent on the frontend and its UI, it might not be possible to change that at random times (or too late).\nConsequently this event has a hint characteristic: a frontend can only be expected to make a 'best effort' in honouring individual capabilities but there are no guarantees.\nOnly changed capabilities need to be included, all other capabilities keep their values.", "properties": { "event": { "type": "string", "enum": [ "capabilities" ] }, "body": { "type": "object", "properties": { "capabilities": { "$ref": "#/definitions/Capabilities", "description": "The set of updated capabilities." } }, "required": [ "capabilities" ] } }, "required": [ "event", "body" ] } ] }, "ProgressStartEvent": { "allOf": [ { "$ref": "#/definitions/Event" }, { "type": "object", "description": "The event signals that a long running operation is about to start and\nprovides additional information for the client to set up a corresponding progress and cancellation UI.\nThe client is free to delay the showing of the UI in order to reduce flicker.\nThis event should only be sent if the client has passed the value true for the 'supportsProgressReporting' capability of the 'initialize' request.", "properties": { "event": { "type": "string", "enum": [ "progressStart" ] }, "body": { "type": "object", "properties": { "progressId": { "type": "string", "description": "An ID that must be used in subsequent 'progressUpdate' and 'progressEnd' events to make them refer to the same progress reporting.\nIDs must be unique within a debug session." }, "title": { "type": "string", "description": "Mandatory (short) title of the progress reporting. Shown in the UI to describe the long running operation." }, "requestId": { "type": "number", "description": "The request ID that this progress report is related to. If specified a debug adapter is expected to emit\nprogress events for the long running request until the request has been either completed or cancelled.\nIf the request ID is omitted, the progress report is assumed to be related to some general activity of the debug adapter." }, "cancellable": { "type": "boolean", "description": "If true, the request that reports progress may be canceled with a 'cancel' request.\nSo this property basically controls whether the client should use UX that supports cancellation.\nClients that don't support cancellation are allowed to ignore the setting." }, "message": { "type": "string", "description": "Optional, more detailed progress message." }, "percentage": { "type": "number", "description": "Optional progress percentage to display (value range: 0 to 100). If omitted no percentage will be shown." } }, "required": [ "progressId", "title" ] } }, "required": [ "event", "body" ] } ] }, "ProgressUpdateEvent": { "allOf": [ { "$ref": "#/definitions/Event" }, { "type": "object", "description": "The event signals that the progress reporting needs to updated with a new message and/or percentage.\nThe client does not have to update the UI immediately, but the clients needs to keep track of the message and/or percentage values.\nThis event should only be sent if the client has passed the value true for the 'supportsProgressReporting' capability of the 'initialize' request.", "properties": { "event": { "type": "string", "enum": [ "progressUpdate" ] }, "body": { "type": "object", "properties": { "progressId": { "type": "string", "description": "The ID that was introduced in the initial 'progressStart' event." }, "message": { "type": "string", "description": "Optional, more detailed progress message. If omitted, the previous message (if any) is used." }, "percentage": { "type": "number", "description": "Optional progress percentage to display (value range: 0 to 100). If omitted no percentage will be shown." } }, "required": [ "progressId" ] } }, "required": [ "event", "body" ] } ] }, "ProgressEndEvent": { "allOf": [ { "$ref": "#/definitions/Event" }, { "type": "object", "description": "The event signals the end of the progress reporting with an optional final message.\nThis event should only be sent if the client has passed the value true for the 'supportsProgressReporting' capability of the 'initialize' request.", "properties": { "event": { "type": "string", "enum": [ "progressEnd" ] }, "body": { "type": "object", "properties": { "progressId": { "type": "string", "description": "The ID that was introduced in the initial 'ProgressStartEvent'." }, "message": { "type": "string", "description": "Optional, more detailed progress message. If omitted, the previous message (if any) is used." } }, "required": [ "progressId" ] } }, "required": [ "event", "body" ] } ] }, "RunInTerminalRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "title": "Reverse Requests", "description": "This optional request is sent from the debug adapter to the client to run a command in a terminal.\nThis is typically used to launch the debuggee in a terminal provided by the client.\nThis request should only be called if the client has passed the value true for the 'supportsRunInTerminalRequest' capability of the 'initialize' request.", "properties": { "command": { "type": "string", "enum": [ "runInTerminal" ] }, "arguments": { "$ref": "#/definitions/RunInTerminalRequestArguments" } }, "required": [ "command", "arguments" ] } ] }, "RunInTerminalRequestArguments": { "type": "object", "description": "Arguments for 'runInTerminal' request.", "properties": { "kind": { "type": "string", "enum": [ "integrated", "external" ], "description": "What kind of terminal to launch." }, "title": { "type": "string", "description": "Optional title of the terminal." }, "cwd": { "type": "string", "description": "Working directory of the command." }, "args": { "type": "array", "items": { "type": "string" }, "description": "List of arguments. The first argument is the command to run." }, "env": { "type": "object", "description": "Environment key-value pairs that are added to or removed from the default environment.", "additionalProperties": { "type": [ "string", "null" ], "description": "Proper values must be strings. A value of 'null' removes the variable from the environment." } } }, "required": [ "args", "cwd" ] }, "RunInTerminalResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'runInTerminal' request.", "properties": { "body": { "type": "object", "properties": { "processId": { "type": "integer", "description": "The process ID. The value should be less than or equal to 2147483647 (2^31 - 1)." }, "shellProcessId": { "type": "integer", "description": "The process ID of the terminal shell. The value should be less than or equal to 2147483647 (2^31 - 1)." } } } }, "required": [ "body" ] } ] }, "InitializeRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "title": "Requests", "description": "The 'initialize' request is sent as the first request from the client to the debug adapter\nin order to configure it with client capabilities and to retrieve capabilities from the debug adapter.\nUntil the debug adapter has responded to with an 'initialize' response, the client must not send any additional requests or events to the debug adapter.\nIn addition the debug adapter is not allowed to send any requests or events to the client until it has responded with an 'initialize' response.\nThe 'initialize' request may only be sent once.", "properties": { "command": { "type": "string", "enum": [ "initialize" ] }, "arguments": { "$ref": "#/definitions/InitializeRequestArguments" } }, "required": [ "command", "arguments" ] } ] }, "InitializeRequestArguments": { "type": "object", "description": "Arguments for 'initialize' request.", "properties": { "clientID": { "type": "string", "description": "The ID of the (frontend) client using this adapter." }, "clientName": { "type": "string", "description": "The human readable name of the (frontend) client using this adapter." }, "adapterID": { "type": "string", "description": "The ID of the debug adapter." }, "locale": { "type": "string", "description": "The ISO-639 locale of the (frontend) client using this adapter, e.g. en-US or de-CH." }, "linesStartAt1": { "type": "boolean", "description": "If true all line numbers are 1-based (default)." }, "columnsStartAt1": { "type": "boolean", "description": "If true all column numbers are 1-based (default)." }, "pathFormat": { "type": "string", "_enum": [ "path", "uri" ], "description": "Determines in what format paths are specified. The default is 'path', which is the native format." }, "supportsVariableType": { "type": "boolean", "description": "Client supports the optional type attribute for variables." }, "supportsVariablePaging": { "type": "boolean", "description": "Client supports the paging of variables." }, "supportsRunInTerminalRequest": { "type": "boolean", "description": "Client supports the runInTerminal request." }, "supportsMemoryReferences": { "type": "boolean", "description": "Client supports memory references." }, "supportsProgressReporting": { "type": "boolean", "description": "Client supports progress reporting." } }, "required": [ "adapterID" ] }, "InitializeResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'initialize' request.", "properties": { "body": { "$ref": "#/definitions/Capabilities", "description": "The capabilities of this debug adapter." } } } ] }, "ConfigurationDoneRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "This optional request indicates that the client has finished initialization of the debug adapter.\nSo it is the last request in the sequence of configuration requests (which was started by the 'initialized' event).\nClients should only call this request if the capability 'supportsConfigurationDoneRequest' is true.", "properties": { "command": { "type": "string", "enum": [ "configurationDone" ] }, "arguments": { "$ref": "#/definitions/ConfigurationDoneArguments" } }, "required": [ "command" ] } ] }, "ConfigurationDoneArguments": { "type": "object", "description": "Arguments for 'configurationDone' request." }, "ConfigurationDoneResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'configurationDone' request. This is just an acknowledgement, so no body field is required." } ] }, "LaunchRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "This launch request is sent from the client to the debug adapter to start the debuggee with or without debugging (if 'noDebug' is true).\nSince launching is debugger/runtime specific, the arguments for this request are not part of this specification.", "properties": { "command": { "type": "string", "enum": [ "launch" ] }, "arguments": { "$ref": "#/definitions/LaunchRequestArguments" } }, "required": [ "command", "arguments" ] } ] }, "LaunchRequestArguments": { "type": "object", "description": "Arguments for 'launch' request. Additional attributes are implementation specific.", "properties": { "noDebug": { "type": "boolean", "description": "If noDebug is true the launch request should launch the program without enabling debugging." }, "__restart": { "type": [ "array", "boolean", "integer", "null", "number", "object", "string" ], "description": "Optional data from the previous, restarted session.\nThe data is sent as the 'restart' attribute of the 'terminated' event.\nThe client should leave the data intact." } } }, "LaunchResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'launch' request. This is just an acknowledgement, so no body field is required." } ] }, "AttachRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "The attach request is sent from the client to the debug adapter to attach to a debuggee that is already running.\nSince attaching is debugger/runtime specific, the arguments for this request are not part of this specification.", "properties": { "command": { "type": "string", "enum": [ "attach" ] }, "arguments": { "$ref": "#/definitions/AttachRequestArguments" } }, "required": [ "command", "arguments" ] } ] }, "AttachRequestArguments": { "type": "object", "description": "Arguments for 'attach' request. Additional attributes are implementation specific.", "properties": { "__restart": { "type": [ "array", "boolean", "integer", "null", "number", "object", "string" ], "description": "Optional data from the previous, restarted session.\nThe data is sent as the 'restart' attribute of the 'terminated' event.\nThe client should leave the data intact." } } }, "AttachResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'attach' request. This is just an acknowledgement, so no body field is required." } ] }, "RestartRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "Restarts a debug session. Clients should only call this request if the capability 'supportsRestartRequest' is true.\nIf the capability is missing or has the value false, a typical client will emulate 'restart' by terminating the debug adapter first and then launching it anew.", "properties": { "command": { "type": "string", "enum": [ "restart" ] }, "arguments": { "$ref": "#/definitions/RestartArguments" } }, "required": [ "command" ] } ] }, "RestartArguments": { "type": "object", "description": "Arguments for 'restart' request." }, "RestartResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'restart' request. This is just an acknowledgement, so no body field is required." } ] }, "DisconnectRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "The 'disconnect' request is sent from the client to the debug adapter in order to stop debugging.\nIt asks the debug adapter to disconnect from the debuggee and to terminate the debug adapter.\nIf the debuggee has been started with the 'launch' request, the 'disconnect' request terminates the debuggee.\nIf the 'attach' request was used to connect to the debuggee, 'disconnect' does not terminate the debuggee.\nThis behavior can be controlled with the 'terminateDebuggee' argument (if supported by the debug adapter).", "properties": { "command": { "type": "string", "enum": [ "disconnect" ] }, "arguments": { "$ref": "#/definitions/DisconnectArguments" } }, "required": [ "command" ] } ] }, "DisconnectArguments": { "type": "object", "description": "Arguments for 'disconnect' request.", "properties": { "restart": { "type": "boolean", "description": "A value of true indicates that this 'disconnect' request is part of a restart sequence." }, "terminateDebuggee": { "type": "boolean", "description": "Indicates whether the debuggee should be terminated when the debugger is disconnected.\nIf unspecified, the debug adapter is free to do whatever it thinks is best.\nThe attribute is only honored by a debug adapter if the capability 'supportTerminateDebuggee' is true." } } }, "DisconnectResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'disconnect' request. This is just an acknowledgement, so no body field is required." } ] }, "TerminateRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "The 'terminate' request is sent from the client to the debug adapter in order to give the debuggee a chance for terminating itself.\nClients should only call this request if the capability 'supportsTerminateRequest' is true.", "properties": { "command": { "type": "string", "enum": [ "terminate" ] }, "arguments": { "$ref": "#/definitions/TerminateArguments" } }, "required": [ "command" ] } ] }, "TerminateArguments": { "type": "object", "description": "Arguments for 'terminate' request.", "properties": { "restart": { "type": "boolean", "description": "A value of true indicates that this 'terminate' request is part of a restart sequence." } } }, "TerminateResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'terminate' request. This is just an acknowledgement, so no body field is required." } ] }, "BreakpointLocationsRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "The 'breakpointLocations' request returns all possible locations for source breakpoints in a given range.\nClients should only call this request if the capability 'supportsBreakpointLocationsRequest' is true.", "properties": { "command": { "type": "string", "enum": [ "breakpointLocations" ] }, "arguments": { "$ref": "#/definitions/BreakpointLocationsArguments" } }, "required": [ "command" ] } ] }, "BreakpointLocationsArguments": { "type": "object", "description": "Arguments for 'breakpointLocations' request.", "properties": { "source": { "$ref": "#/definitions/Source", "description": "The source location of the breakpoints; either 'source.path' or 'source.reference' must be specified." }, "line": { "type": "integer", "description": "Start line of range to search possible breakpoint locations in. If only the line is specified, the request returns all possible locations in that line." }, "column": { "type": "integer", "description": "Optional start column of range to search possible breakpoint locations in. If no start column is given, the first column in the start line is assumed." }, "endLine": { "type": "integer", "description": "Optional end line of range to search possible breakpoint locations in. If no end line is given, then the end line is assumed to be the start line." }, "endColumn": { "type": "integer", "description": "Optional end column of range to search possible breakpoint locations in. If no end column is given, then it is assumed to be in the last column of the end line." } }, "required": [ "source", "line" ] }, "BreakpointLocationsResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'breakpointLocations' request.\nContains possible locations for source breakpoints.", "properties": { "body": { "type": "object", "properties": { "breakpoints": { "type": "array", "items": { "$ref": "#/definitions/BreakpointLocation" }, "description": "Sorted set of possible breakpoint locations." } }, "required": [ "breakpoints" ] } }, "required": [ "body" ] } ] }, "SetBreakpointsRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "Sets multiple breakpoints for a single source and clears all previous breakpoints in that source.\nTo clear all breakpoint for a source, specify an empty array.\nWhen a breakpoint is hit, a 'stopped' event (with reason 'breakpoint') is generated.", "properties": { "command": { "type": "string", "enum": [ "setBreakpoints" ] }, "arguments": { "$ref": "#/definitions/SetBreakpointsArguments" } }, "required": [ "command", "arguments" ] } ] }, "SetBreakpointsArguments": { "type": "object", "description": "Arguments for 'setBreakpoints' request.", "properties": { "source": { "$ref": "#/definitions/Source", "description": "The source location of the breakpoints; either 'source.path' or 'source.reference' must be specified." }, "breakpoints": { "type": "array", "items": { "$ref": "#/definitions/SourceBreakpoint" }, "description": "The code locations of the breakpoints." }, "lines": { "type": "array", "items": { "type": "integer" }, "description": "Deprecated: The code locations of the breakpoints." }, "sourceModified": { "type": "boolean", "description": "A value of true indicates that the underlying source has been modified which results in new breakpoint locations." } }, "required": [ "source" ] }, "SetBreakpointsResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'setBreakpoints' request.\nReturned is information about each breakpoint created by this request.\nThis includes the actual code location and whether the breakpoint could be verified.\nThe breakpoints returned are in the same order as the elements of the 'breakpoints'\n(or the deprecated 'lines') array in the arguments.", "properties": { "body": { "type": "object", "properties": { "breakpoints": { "type": "array", "items": { "$ref": "#/definitions/Breakpoint" }, "description": "Information about the breakpoints.\nThe array elements are in the same order as the elements of the 'breakpoints' (or the deprecated 'lines') array in the arguments." } }, "required": [ "breakpoints" ] } }, "required": [ "body" ] } ] }, "SetFunctionBreakpointsRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "Replaces all existing function breakpoints with new function breakpoints.\nTo clear all function breakpoints, specify an empty array.\nWhen a function breakpoint is hit, a 'stopped' event (with reason 'function breakpoint') is generated.\nClients should only call this request if the capability 'supportsFunctionBreakpoints' is true.", "properties": { "command": { "type": "string", "enum": [ "setFunctionBreakpoints" ] }, "arguments": { "$ref": "#/definitions/SetFunctionBreakpointsArguments" } }, "required": [ "command", "arguments" ] } ] }, "SetFunctionBreakpointsArguments": { "type": "object", "description": "Arguments for 'setFunctionBreakpoints' request.", "properties": { "breakpoints": { "type": "array", "items": { "$ref": "#/definitions/FunctionBreakpoint" }, "description": "The function names of the breakpoints." } }, "required": [ "breakpoints" ] }, "SetFunctionBreakpointsResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'setFunctionBreakpoints' request.\nReturned is information about each breakpoint created by this request.", "properties": { "body": { "type": "object", "properties": { "breakpoints": { "type": "array", "items": { "$ref": "#/definitions/Breakpoint" }, "description": "Information about the breakpoints. The array elements correspond to the elements of the 'breakpoints' array." } }, "required": [ "breakpoints" ] } }, "required": [ "body" ] } ] }, "SetExceptionBreakpointsRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "The request configures the debuggers response to thrown exceptions.\nIf an exception is configured to break, a 'stopped' event is fired (with reason 'exception').\nClients should only call this request if the capability 'exceptionBreakpointFilters' returns one or more filters.", "properties": { "command": { "type": "string", "enum": [ "setExceptionBreakpoints" ] }, "arguments": { "$ref": "#/definitions/SetExceptionBreakpointsArguments" } }, "required": [ "command", "arguments" ] } ] }, "SetExceptionBreakpointsArguments": { "type": "object", "description": "Arguments for 'setExceptionBreakpoints' request.", "properties": { "filters": { "type": "array", "items": { "type": "string" }, "description": "IDs of checked exception options. The set of IDs is returned via the 'exceptionBreakpointFilters' capability." }, "exceptionOptions": { "type": "array", "items": { "$ref": "#/definitions/ExceptionOptions" }, "description": "Configuration options for selected exceptions.\nThe attribute is only honored by a debug adapter if the capability 'supportsExceptionOptions' is true." } }, "required": [ "filters" ] }, "SetExceptionBreakpointsResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'setExceptionBreakpoints' request. This is just an acknowledgement, so no body field is required." } ] }, "DataBreakpointInfoRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "Obtains information on a possible data breakpoint that could be set on an expression or variable.\nClients should only call this request if the capability 'supportsDataBreakpoints' is true.", "properties": { "command": { "type": "string", "enum": [ "dataBreakpointInfo" ] }, "arguments": { "$ref": "#/definitions/DataBreakpointInfoArguments" } }, "required": [ "command", "arguments" ] } ] }, "DataBreakpointInfoArguments": { "type": "object", "description": "Arguments for 'dataBreakpointInfo' request.", "properties": { "variablesReference": { "type": "integer", "description": "Reference to the Variable container if the data breakpoint is requested for a child of the container." }, "name": { "type": "string", "description": "The name of the Variable's child to obtain data breakpoint information for.\nIf variableReference isn’t provided, this can be an expression." } }, "required": [ "name" ] }, "DataBreakpointInfoResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'dataBreakpointInfo' request.", "properties": { "body": { "type": "object", "properties": { "dataId": { "type": [ "string", "null" ], "description": "An identifier for the data on which a data breakpoint can be registered with the setDataBreakpoints request or null if no data breakpoint is available." }, "description": { "type": "string", "description": "UI string that describes on what data the breakpoint is set on or why a data breakpoint is not available." }, "accessTypes": { "type": "array", "items": { "$ref": "#/definitions/DataBreakpointAccessType" }, "description": "Optional attribute listing the available access types for a potential data breakpoint. A UI frontend could surface this information." }, "canPersist": { "type": "boolean", "description": "Optional attribute indicating that a potential data breakpoint could be persisted across sessions." } }, "required": [ "dataId", "description" ] } }, "required": [ "body" ] } ] }, "SetDataBreakpointsRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "Replaces all existing data breakpoints with new data breakpoints.\nTo clear all data breakpoints, specify an empty array.\nWhen a data breakpoint is hit, a 'stopped' event (with reason 'data breakpoint') is generated.\nClients should only call this request if the capability 'supportsDataBreakpoints' is true.", "properties": { "command": { "type": "string", "enum": [ "setDataBreakpoints" ] }, "arguments": { "$ref": "#/definitions/SetDataBreakpointsArguments" } }, "required": [ "command", "arguments" ] } ] }, "SetDataBreakpointsArguments": { "type": "object", "description": "Arguments for 'setDataBreakpoints' request.", "properties": { "breakpoints": { "type": "array", "items": { "$ref": "#/definitions/DataBreakpoint" }, "description": "The contents of this array replaces all existing data breakpoints. An empty array clears all data breakpoints." } }, "required": [ "breakpoints" ] }, "SetDataBreakpointsResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'setDataBreakpoints' request.\nReturned is information about each breakpoint created by this request.", "properties": { "body": { "type": "object", "properties": { "breakpoints": { "type": "array", "items": { "$ref": "#/definitions/Breakpoint" }, "description": "Information about the data breakpoints. The array elements correspond to the elements of the input argument 'breakpoints' array." } }, "required": [ "breakpoints" ] } }, "required": [ "body" ] } ] }, "SetInstructionBreakpointsRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "Replaces all existing instruction breakpoints. Typically, instruction breakpoints would be set from a diassembly window. \nTo clear all instruction breakpoints, specify an empty array.\nWhen an instruction breakpoint is hit, a 'stopped' event (with reason 'instruction breakpoint') is generated.\nClients should only call this request if the capability 'supportsInstructionBreakpoints' is true.", "properties": { "command": { "type": "string", "enum": [ "setInstructionBreakpoints" ] }, "arguments": { "$ref": "#/definitions/SetInstructionBreakpointsArguments" } }, "required": [ "command", "arguments" ] } ] }, "SetInstructionBreakpointsArguments": { "type": "object", "description": "Arguments for 'setInstructionBreakpoints' request", "properties": { "breakpoints": { "type": "array", "items": { "$ref": "#/definitions/InstructionBreakpoint" }, "description": "The instruction references of the breakpoints" } }, "required": [ "breakpoints" ] }, "SetInstructionBreakpointsResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'setInstructionBreakpoints' request", "properties": { "body": { "type": "object", "properties": { "breakpoints": { "type": "array", "items": { "$ref": "#/definitions/Breakpoint" }, "description": "Information about the breakpoints. The array elements correspond to the elements of the 'breakpoints' array." } }, "required": [ "breakpoints" ] } }, "required": [ "body" ] } ] }, "ContinueRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "The request starts the debuggee to run again.", "properties": { "command": { "type": "string", "enum": [ "continue" ] }, "arguments": { "$ref": "#/definitions/ContinueArguments" } }, "required": [ "command", "arguments" ] } ] }, "ContinueArguments": { "type": "object", "description": "Arguments for 'continue' request.", "properties": { "threadId": { "type": "integer", "description": "Continue execution for the specified thread (if possible).\nIf the backend cannot continue on a single thread but will continue on all threads, it should set the 'allThreadsContinued' attribute in the response to true." } }, "required": [ "threadId" ] }, "ContinueResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'continue' request.", "properties": { "body": { "type": "object", "properties": { "allThreadsContinued": { "type": "boolean", "description": "If true, the 'continue' request has ignored the specified thread and continued all threads instead.\nIf this attribute is missing a value of 'true' is assumed for backward compatibility." } } } }, "required": [ "body" ] } ] }, "NextRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "The request starts the debuggee to run again for one step.\nThe debug adapter first sends the response and then a 'stopped' event (with reason 'step') after the step has completed.", "properties": { "command": { "type": "string", "enum": [ "next" ] }, "arguments": { "$ref": "#/definitions/NextArguments" } }, "required": [ "command", "arguments" ] } ] }, "NextArguments": { "type": "object", "description": "Arguments for 'next' request.", "properties": { "threadId": { "type": "integer", "description": "Execute 'next' for this thread." }, "granularity": { "$ref": "#/definitions/SteppingGranularity", "description": "Optional granularity to step. If no granularity is specified, a granularity of 'statement' is assumed." } }, "required": [ "threadId" ] }, "NextResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'next' request. This is just an acknowledgement, so no body field is required." } ] }, "StepInRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "The request starts the debuggee to step into a function/method if possible.\nIf it cannot step into a target, 'stepIn' behaves like 'next'.\nThe debug adapter first sends the response and then a 'stopped' event (with reason 'step') after the step has completed.\nIf there are multiple function/method calls (or other targets) on the source line,\nthe optional argument 'targetId' can be used to control into which target the 'stepIn' should occur.\nThe list of possible targets for a given source line can be retrieved via the 'stepInTargets' request.", "properties": { "command": { "type": "string", "enum": [ "stepIn" ] }, "arguments": { "$ref": "#/definitions/StepInArguments" } }, "required": [ "command", "arguments" ] } ] }, "StepInArguments": { "type": "object", "description": "Arguments for 'stepIn' request.", "properties": { "threadId": { "type": "integer", "description": "Execute 'stepIn' for this thread." }, "targetId": { "type": "integer", "description": "Optional id of the target to step into." }, "granularity": { "$ref": "#/definitions/SteppingGranularity", "description": "Optional granularity to step. If no granularity is specified, a granularity of 'statement' is assumed." } }, "required": [ "threadId" ] }, "StepInResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'stepIn' request. This is just an acknowledgement, so no body field is required." } ] }, "StepOutRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "The request starts the debuggee to run again for one step.\nThe debug adapter first sends the response and then a 'stopped' event (with reason 'step') after the step has completed.", "properties": { "command": { "type": "string", "enum": [ "stepOut" ] }, "arguments": { "$ref": "#/definitions/StepOutArguments" } }, "required": [ "command", "arguments" ] } ] }, "StepOutArguments": { "type": "object", "description": "Arguments for 'stepOut' request.", "properties": { "threadId": { "type": "integer", "description": "Execute 'stepOut' for this thread." }, "granularity": { "$ref": "#/definitions/SteppingGranularity", "description": "Optional granularity to step. If no granularity is specified, a granularity of 'statement' is assumed." } }, "required": [ "threadId" ] }, "StepOutResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'stepOut' request. This is just an acknowledgement, so no body field is required." } ] }, "StepBackRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "The request starts the debuggee to run one step backwards.\nThe debug adapter first sends the response and then a 'stopped' event (with reason 'step') after the step has completed.\nClients should only call this request if the capability 'supportsStepBack' is true.", "properties": { "command": { "type": "string", "enum": [ "stepBack" ] }, "arguments": { "$ref": "#/definitions/StepBackArguments" } }, "required": [ "command", "arguments" ] } ] }, "StepBackArguments": { "type": "object", "description": "Arguments for 'stepBack' request.", "properties": { "threadId": { "type": "integer", "description": "Execute 'stepBack' for this thread." }, "granularity": { "$ref": "#/definitions/SteppingGranularity", "description": "Optional granularity to step. If no granularity is specified, a granularity of 'statement' is assumed." } }, "required": [ "threadId" ] }, "StepBackResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'stepBack' request. This is just an acknowledgement, so no body field is required." } ] }, "ReverseContinueRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "The request starts the debuggee to run backward.\nClients should only call this request if the capability 'supportsStepBack' is true.", "properties": { "command": { "type": "string", "enum": [ "reverseContinue" ] }, "arguments": { "$ref": "#/definitions/ReverseContinueArguments" } }, "required": [ "command", "arguments" ] } ] }, "ReverseContinueArguments": { "type": "object", "description": "Arguments for 'reverseContinue' request.", "properties": { "threadId": { "type": "integer", "description": "Execute 'reverseContinue' for this thread." } }, "required": [ "threadId" ] }, "ReverseContinueResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'reverseContinue' request. This is just an acknowledgement, so no body field is required." } ] }, "RestartFrameRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "The request restarts execution of the specified stackframe.\nThe debug adapter first sends the response and then a 'stopped' event (with reason 'restart') after the restart has completed.\nClients should only call this request if the capability 'supportsRestartFrame' is true.", "properties": { "command": { "type": "string", "enum": [ "restartFrame" ] }, "arguments": { "$ref": "#/definitions/RestartFrameArguments" } }, "required": [ "command", "arguments" ] } ] }, "RestartFrameArguments": { "type": "object", "description": "Arguments for 'restartFrame' request.", "properties": { "frameId": { "type": "integer", "description": "Restart this stackframe." } }, "required": [ "frameId" ] }, "RestartFrameResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'restartFrame' request. This is just an acknowledgement, so no body field is required." } ] }, "GotoRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "The request sets the location where the debuggee will continue to run.\nThis makes it possible to skip the execution of code or to executed code again.\nThe code between the current location and the goto target is not executed but skipped.\nThe debug adapter first sends the response and then a 'stopped' event with reason 'goto'.\nClients should only call this request if the capability 'supportsGotoTargetsRequest' is true (because only then goto targets exist that can be passed as arguments).", "properties": { "command": { "type": "string", "enum": [ "goto" ] }, "arguments": { "$ref": "#/definitions/GotoArguments" } }, "required": [ "command", "arguments" ] } ] }, "GotoArguments": { "type": "object", "description": "Arguments for 'goto' request.", "properties": { "threadId": { "type": "integer", "description": "Set the goto target for this thread." }, "targetId": { "type": "integer", "description": "The location where the debuggee will continue to run." } }, "required": [ "threadId", "targetId" ] }, "GotoResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'goto' request. This is just an acknowledgement, so no body field is required." } ] }, "PauseRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "The request suspends the debuggee.\nThe debug adapter first sends the response and then a 'stopped' event (with reason 'pause') after the thread has been paused successfully.", "properties": { "command": { "type": "string", "enum": [ "pause" ] }, "arguments": { "$ref": "#/definitions/PauseArguments" } }, "required": [ "command", "arguments" ] } ] }, "PauseArguments": { "type": "object", "description": "Arguments for 'pause' request.", "properties": { "threadId": { "type": "integer", "description": "Pause execution for this thread." } }, "required": [ "threadId" ] }, "PauseResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'pause' request. This is just an acknowledgement, so no body field is required." } ] }, "StackTraceRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "The request returns a stacktrace from the current execution state.", "properties": { "command": { "type": "string", "enum": [ "stackTrace" ] }, "arguments": { "$ref": "#/definitions/StackTraceArguments" } }, "required": [ "command", "arguments" ] } ] }, "StackTraceArguments": { "type": "object", "description": "Arguments for 'stackTrace' request.", "properties": { "threadId": { "type": "integer", "description": "Retrieve the stacktrace for this thread." }, "startFrame": { "type": "integer", "description": "The index of the first frame to return; if omitted frames start at 0." }, "levels": { "type": "integer", "description": "The maximum number of frames to return. If levels is not specified or 0, all frames are returned." }, "format": { "$ref": "#/definitions/StackFrameFormat", "description": "Specifies details on how to format the stack frames.\nThe attribute is only honored by a debug adapter if the capability 'supportsValueFormattingOptions' is true." } }, "required": [ "threadId" ] }, "StackTraceResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'stackTrace' request.", "properties": { "body": { "type": "object", "properties": { "stackFrames": { "type": "array", "items": { "$ref": "#/definitions/StackFrame" }, "description": "The frames of the stackframe. If the array has length zero, there are no stackframes available.\nThis means that there is no location information available." }, "totalFrames": { "type": "integer", "description": "The total number of frames available." } }, "required": [ "stackFrames" ] } }, "required": [ "body" ] } ] }, "ScopesRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "The request returns the variable scopes for a given stackframe ID.", "properties": { "command": { "type": "string", "enum": [ "scopes" ] }, "arguments": { "$ref": "#/definitions/ScopesArguments" } }, "required": [ "command", "arguments" ] } ] }, "ScopesArguments": { "type": "object", "description": "Arguments for 'scopes' request.", "properties": { "frameId": { "type": "integer", "description": "Retrieve the scopes for this stackframe." } }, "required": [ "frameId" ] }, "ScopesResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'scopes' request.", "properties": { "body": { "type": "object", "properties": { "scopes": { "type": "array", "items": { "$ref": "#/definitions/Scope" }, "description": "The scopes of the stackframe. If the array has length zero, there are no scopes available." } }, "required": [ "scopes" ] } }, "required": [ "body" ] } ] }, "VariablesRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "Retrieves all child variables for the given variable reference.\nAn optional filter can be used to limit the fetched children to either named or indexed children.", "properties": { "command": { "type": "string", "enum": [ "variables" ] }, "arguments": { "$ref": "#/definitions/VariablesArguments" } }, "required": [ "command", "arguments" ] } ] }, "VariablesArguments": { "type": "object", "description": "Arguments for 'variables' request.", "properties": { "variablesReference": { "type": "integer", "description": "The Variable reference." }, "filter": { "type": "string", "enum": [ "indexed", "named" ], "description": "Optional filter to limit the child variables to either named or indexed. If omitted, both types are fetched." }, "start": { "type": "integer", "description": "The index of the first variable to return; if omitted children start at 0." }, "count": { "type": "integer", "description": "The number of variables to return. If count is missing or 0, all variables are returned." }, "format": { "$ref": "#/definitions/ValueFormat", "description": "Specifies details on how to format the Variable values.\nThe attribute is only honored by a debug adapter if the capability 'supportsValueFormattingOptions' is true." } }, "required": [ "variablesReference" ] }, "VariablesResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'variables' request.", "properties": { "body": { "type": "object", "properties": { "variables": { "type": "array", "items": { "$ref": "#/definitions/Variable" }, "description": "All (or a range) of variables for the given variable reference." } }, "required": [ "variables" ] } }, "required": [ "body" ] } ] }, "SetVariableRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "Set the variable with the given name in the variable container to a new value. Clients should only call this request if the capability 'supportsSetVariable' is true.", "properties": { "command": { "type": "string", "enum": [ "setVariable" ] }, "arguments": { "$ref": "#/definitions/SetVariableArguments" } }, "required": [ "command", "arguments" ] } ] }, "SetVariableArguments": { "type": "object", "description": "Arguments for 'setVariable' request.", "properties": { "variablesReference": { "type": "integer", "description": "The reference of the variable container." }, "name": { "type": "string", "description": "The name of the variable in the container." }, "value": { "type": "string", "description": "The value of the variable." }, "format": { "$ref": "#/definitions/ValueFormat", "description": "Specifies details on how to format the response value." } }, "required": [ "variablesReference", "name", "value" ] }, "SetVariableResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'setVariable' request.", "properties": { "body": { "type": "object", "properties": { "value": { "type": "string", "description": "The new value of the variable." }, "type": { "type": "string", "description": "The type of the new value. Typically shown in the UI when hovering over the value." }, "variablesReference": { "type": "integer", "description": "If variablesReference is > 0, the new value is structured and its children can be retrieved by passing variablesReference to the VariablesRequest.\nThe value should be less than or equal to 2147483647 (2^31 - 1)." }, "namedVariables": { "type": "integer", "description": "The number of named child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks.\nThe value should be less than or equal to 2147483647 (2^31 - 1)." }, "indexedVariables": { "type": "integer", "description": "The number of indexed child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks.\nThe value should be less than or equal to 2147483647 (2^31 - 1)." } }, "required": [ "value" ] } }, "required": [ "body" ] } ] }, "SourceRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "The request retrieves the source code for a given source reference.", "properties": { "command": { "type": "string", "enum": [ "source" ] }, "arguments": { "$ref": "#/definitions/SourceArguments" } }, "required": [ "command", "arguments" ] } ] }, "SourceArguments": { "type": "object", "description": "Arguments for 'source' request.", "properties": { "source": { "$ref": "#/definitions/Source", "description": "Specifies the source content to load. Either source.path or source.sourceReference must be specified." }, "sourceReference": { "type": "integer", "description": "The reference to the source. This is the same as source.sourceReference.\nThis is provided for backward compatibility since old backends do not understand the 'source' attribute." } }, "required": [ "sourceReference" ] }, "SourceResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'source' request.", "properties": { "body": { "type": "object", "properties": { "content": { "type": "string", "description": "Content of the source reference." }, "mimeType": { "type": "string", "description": "Optional content type (mime type) of the source." } }, "required": [ "content" ] } }, "required": [ "body" ] } ] }, "ThreadsRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "The request retrieves a list of all threads.", "properties": { "command": { "type": "string", "enum": [ "threads" ] } }, "required": [ "command" ] } ] }, "ThreadsResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'threads' request.", "properties": { "body": { "type": "object", "properties": { "threads": { "type": "array", "items": { "$ref": "#/definitions/Thread" }, "description": "All threads." } }, "required": [ "threads" ] } }, "required": [ "body" ] } ] }, "TerminateThreadsRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "The request terminates the threads with the given ids.\nClients should only call this request if the capability 'supportsTerminateThreadsRequest' is true.", "properties": { "command": { "type": "string", "enum": [ "terminateThreads" ] }, "arguments": { "$ref": "#/definitions/TerminateThreadsArguments" } }, "required": [ "command", "arguments" ] } ] }, "TerminateThreadsArguments": { "type": "object", "description": "Arguments for 'terminateThreads' request.", "properties": { "threadIds": { "type": "array", "items": { "type": "integer" }, "description": "Ids of threads to be terminated." } } }, "TerminateThreadsResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'terminateThreads' request. This is just an acknowledgement, so no body field is required." } ] }, "ModulesRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "Modules can be retrieved from the debug adapter with this request which can either return all modules or a range of modules to support paging.\nClients should only call this request if the capability 'supportsModulesRequest' is true.", "properties": { "command": { "type": "string", "enum": [ "modules" ] }, "arguments": { "$ref": "#/definitions/ModulesArguments" } }, "required": [ "command", "arguments" ] } ] }, "ModulesArguments": { "type": "object", "description": "Arguments for 'modules' request.", "properties": { "startModule": { "type": "integer", "description": "The index of the first module to return; if omitted modules start at 0." }, "moduleCount": { "type": "integer", "description": "The number of modules to return. If moduleCount is not specified or 0, all modules are returned." } } }, "ModulesResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'modules' request.", "properties": { "body": { "type": "object", "properties": { "modules": { "type": "array", "items": { "$ref": "#/definitions/Module" }, "description": "All modules or range of modules." }, "totalModules": { "type": "integer", "description": "The total number of modules available." } }, "required": [ "modules" ] } }, "required": [ "body" ] } ] }, "LoadedSourcesRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "Retrieves the set of all sources currently loaded by the debugged process.\nClients should only call this request if the capability 'supportsLoadedSourcesRequest' is true.", "properties": { "command": { "type": "string", "enum": [ "loadedSources" ] }, "arguments": { "$ref": "#/definitions/LoadedSourcesArguments" } }, "required": [ "command" ] } ] }, "LoadedSourcesArguments": { "type": "object", "description": "Arguments for 'loadedSources' request." }, "LoadedSourcesResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'loadedSources' request.", "properties": { "body": { "type": "object", "properties": { "sources": { "type": "array", "items": { "$ref": "#/definitions/Source" }, "description": "Set of loaded sources." } }, "required": [ "sources" ] } }, "required": [ "body" ] } ] }, "EvaluateRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "Evaluates the given expression in the context of the top most stack frame.\nThe expression has access to any variables and arguments that are in scope.", "properties": { "command": { "type": "string", "enum": [ "evaluate" ] }, "arguments": { "$ref": "#/definitions/EvaluateArguments" } }, "required": [ "command", "arguments" ] } ] }, "EvaluateArguments": { "type": "object", "description": "Arguments for 'evaluate' request.", "properties": { "expression": { "type": "string", "description": "The expression to evaluate." }, "frameId": { "type": "integer", "description": "Evaluate the expression in the scope of this stack frame. If not specified, the expression is evaluated in the global scope." }, "context": { "type": "string", "_enum": [ "watch", "repl", "hover", "clipboard" ], "enumDescriptions": [ "evaluate is run in a watch.", "evaluate is run from REPL console.", "evaluate is run from a data hover.", "evaluate is run to generate the value that will be stored in the clipboard.\nThe attribute is only honored by a debug adapter if the capability 'supportsClipboardContext' is true." ], "description": "The context in which the evaluate request is run." }, "format": { "$ref": "#/definitions/ValueFormat", "description": "Specifies details on how to format the Evaluate result.\nThe attribute is only honored by a debug adapter if the capability 'supportsValueFormattingOptions' is true." } }, "required": [ "expression" ] }, "EvaluateResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'evaluate' request.", "properties": { "body": { "type": "object", "properties": { "result": { "type": "string", "description": "The result of the evaluate request." }, "type": { "type": "string", "description": "The optional type of the evaluate result.\nThis attribute should only be returned by a debug adapter if the client has passed the value true for the 'supportsVariableType' capability of the 'initialize' request." }, "presentationHint": { "$ref": "#/definitions/VariablePresentationHint", "description": "Properties of a evaluate result that can be used to determine how to render the result in the UI." }, "variablesReference": { "type": "integer", "description": "If variablesReference is > 0, the evaluate result is structured and its children can be retrieved by passing variablesReference to the VariablesRequest.\nThe value should be less than or equal to 2147483647 (2^31 - 1)." }, "namedVariables": { "type": "integer", "description": "The number of named child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks.\nThe value should be less than or equal to 2147483647 (2^31 - 1)." }, "indexedVariables": { "type": "integer", "description": "The number of indexed child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks.\nThe value should be less than or equal to 2147483647 (2^31 - 1)." }, "memoryReference": { "type": "string", "description": "Optional memory reference to a location appropriate for this result.\nFor pointer type eval results, this is generally a reference to the memory address contained in the pointer.\nThis attribute should be returned by a debug adapter if the client has passed the value true for the 'supportsMemoryReferences' capability of the 'initialize' request." } }, "required": [ "result", "variablesReference" ] } }, "required": [ "body" ] } ] }, "SetExpressionRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "Evaluates the given 'value' expression and assigns it to the 'expression' which must be a modifiable l-value.\nThe expressions have access to any variables and arguments that are in scope of the specified frame.\nClients should only call this request if the capability 'supportsSetExpression' is true.", "properties": { "command": { "type": "string", "enum": [ "setExpression" ] }, "arguments": { "$ref": "#/definitions/SetExpressionArguments" } }, "required": [ "command", "arguments" ] } ] }, "SetExpressionArguments": { "type": "object", "description": "Arguments for 'setExpression' request.", "properties": { "expression": { "type": "string", "description": "The l-value expression to assign to." }, "value": { "type": "string", "description": "The value expression to assign to the l-value expression." }, "frameId": { "type": "integer", "description": "Evaluate the expressions in the scope of this stack frame. If not specified, the expressions are evaluated in the global scope." }, "format": { "$ref": "#/definitions/ValueFormat", "description": "Specifies how the resulting value should be formatted." } }, "required": [ "expression", "value" ] }, "SetExpressionResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'setExpression' request.", "properties": { "body": { "type": "object", "properties": { "value": { "type": "string", "description": "The new value of the expression." }, "type": { "type": "string", "description": "The optional type of the value.\nThis attribute should only be returned by a debug adapter if the client has passed the value true for the 'supportsVariableType' capability of the 'initialize' request." }, "presentationHint": { "$ref": "#/definitions/VariablePresentationHint", "description": "Properties of a value that can be used to determine how to render the result in the UI." }, "variablesReference": { "type": "integer", "description": "If variablesReference is > 0, the value is structured and its children can be retrieved by passing variablesReference to the VariablesRequest.\nThe value should be less than or equal to 2147483647 (2^31 - 1)." }, "namedVariables": { "type": "integer", "description": "The number of named child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks.\nThe value should be less than or equal to 2147483647 (2^31 - 1)." }, "indexedVariables": { "type": "integer", "description": "The number of indexed child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks.\nThe value should be less than or equal to 2147483647 (2^31 - 1)." } }, "required": [ "value" ] } }, "required": [ "body" ] } ] }, "StepInTargetsRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "This request retrieves the possible stepIn targets for the specified stack frame.\nThese targets can be used in the 'stepIn' request.\nThe StepInTargets may only be called if the 'supportsStepInTargetsRequest' capability exists and is true.\nClients should only call this request if the capability 'supportsStepInTargetsRequest' is true.", "properties": { "command": { "type": "string", "enum": [ "stepInTargets" ] }, "arguments": { "$ref": "#/definitions/StepInTargetsArguments" } }, "required": [ "command", "arguments" ] } ] }, "StepInTargetsArguments": { "type": "object", "description": "Arguments for 'stepInTargets' request.", "properties": { "frameId": { "type": "integer", "description": "The stack frame for which to retrieve the possible stepIn targets." } }, "required": [ "frameId" ] }, "StepInTargetsResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'stepInTargets' request.", "properties": { "body": { "type": "object", "properties": { "targets": { "type": "array", "items": { "$ref": "#/definitions/StepInTarget" }, "description": "The possible stepIn targets of the specified source location." } }, "required": [ "targets" ] } }, "required": [ "body" ] } ] }, "GotoTargetsRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "This request retrieves the possible goto targets for the specified source location.\nThese targets can be used in the 'goto' request.\nClients should only call this request if the capability 'supportsGotoTargetsRequest' is true.", "properties": { "command": { "type": "string", "enum": [ "gotoTargets" ] }, "arguments": { "$ref": "#/definitions/GotoTargetsArguments" } }, "required": [ "command", "arguments" ] } ] }, "GotoTargetsArguments": { "type": "object", "description": "Arguments for 'gotoTargets' request.", "properties": { "source": { "$ref": "#/definitions/Source", "description": "The source location for which the goto targets are determined." }, "line": { "type": "integer", "description": "The line location for which the goto targets are determined." }, "column": { "type": "integer", "description": "An optional column location for which the goto targets are determined." } }, "required": [ "source", "line" ] }, "GotoTargetsResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'gotoTargets' request.", "properties": { "body": { "type": "object", "properties": { "targets": { "type": "array", "items": { "$ref": "#/definitions/GotoTarget" }, "description": "The possible goto targets of the specified location." } }, "required": [ "targets" ] } }, "required": [ "body" ] } ] }, "CompletionsRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "Returns a list of possible completions for a given caret position and text.\nClients should only call this request if the capability 'supportsCompletionsRequest' is true.", "properties": { "command": { "type": "string", "enum": [ "completions" ] }, "arguments": { "$ref": "#/definitions/CompletionsArguments" } }, "required": [ "command", "arguments" ] } ] }, "CompletionsArguments": { "type": "object", "description": "Arguments for 'completions' request.", "properties": { "frameId": { "type": "integer", "description": "Returns completions in the scope of this stack frame. If not specified, the completions are returned for the global scope." }, "text": { "type": "string", "description": "One or more source lines. Typically this is the text a user has typed into the debug console before he asked for completion." }, "column": { "type": "integer", "description": "The character position for which to determine the completion proposals." }, "line": { "type": "integer", "description": "An optional line for which to determine the completion proposals. If missing the first line of the text is assumed." } }, "required": [ "text", "column" ] }, "CompletionsResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'completions' request.", "properties": { "body": { "type": "object", "properties": { "targets": { "type": "array", "items": { "$ref": "#/definitions/CompletionItem" }, "description": "The possible completions for ." } }, "required": [ "targets" ] } }, "required": [ "body" ] } ] }, "ExceptionInfoRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "Retrieves the details of the exception that caused this event to be raised.\nClients should only call this request if the capability 'supportsExceptionInfoRequest' is true.", "properties": { "command": { "type": "string", "enum": [ "exceptionInfo" ] }, "arguments": { "$ref": "#/definitions/ExceptionInfoArguments" } }, "required": [ "command", "arguments" ] } ] }, "ExceptionInfoArguments": { "type": "object", "description": "Arguments for 'exceptionInfo' request.", "properties": { "threadId": { "type": "integer", "description": "Thread for which exception information should be retrieved." } }, "required": [ "threadId" ] }, "ExceptionInfoResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'exceptionInfo' request.", "properties": { "body": { "type": "object", "properties": { "exceptionId": { "type": "string", "description": "ID of the exception that was thrown." }, "description": { "type": "string", "description": "Descriptive text for the exception provided by the debug adapter." }, "breakMode": { "$ref": "#/definitions/ExceptionBreakMode", "description": "Mode that caused the exception notification to be raised." }, "details": { "$ref": "#/definitions/ExceptionDetails", "description": "Detailed information about the exception." } }, "required": [ "exceptionId", "breakMode" ] } }, "required": [ "body" ] } ] }, "ReadMemoryRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "Reads bytes from memory at the provided location.\nClients should only call this request if the capability 'supportsReadMemoryRequest' is true.", "properties": { "command": { "type": "string", "enum": [ "readMemory" ] }, "arguments": { "$ref": "#/definitions/ReadMemoryArguments" } }, "required": [ "command", "arguments" ] } ] }, "ReadMemoryArguments": { "type": "object", "description": "Arguments for 'readMemory' request.", "properties": { "memoryReference": { "type": "string", "description": "Memory reference to the base location from which data should be read." }, "offset": { "type": "integer", "description": "Optional offset (in bytes) to be applied to the reference location before reading data. Can be negative." }, "count": { "type": "integer", "description": "Number of bytes to read at the specified location and offset." } }, "required": [ "memoryReference", "count" ] }, "ReadMemoryResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'readMemory' request.", "properties": { "body": { "type": "object", "properties": { "address": { "type": "string", "description": "The address of the first byte of data returned.\nTreated as a hex value if prefixed with '0x', or as a decimal value otherwise." }, "unreadableBytes": { "type": "integer", "description": "The number of unreadable bytes encountered after the last successfully read byte.\nThis can be used to determine the number of bytes that must be skipped before a subsequent 'readMemory' request will succeed." }, "data": { "type": "string", "description": "The bytes read from memory, encoded using base64." } }, "required": [ "address" ] } } } ] }, "DisassembleRequest": { "allOf": [ { "$ref": "#/definitions/Request" }, { "type": "object", "description": "Disassembles code stored at the provided location.\nClients should only call this request if the capability 'supportsDisassembleRequest' is true.", "properties": { "command": { "type": "string", "enum": [ "disassemble" ] }, "arguments": { "$ref": "#/definitions/DisassembleArguments" } }, "required": [ "command", "arguments" ] } ] }, "DisassembleArguments": { "type": "object", "description": "Arguments for 'disassemble' request.", "properties": { "memoryReference": { "type": "string", "description": "Memory reference to the base location containing the instructions to disassemble." }, "offset": { "type": "integer", "description": "Optional offset (in bytes) to be applied to the reference location before disassembling. Can be negative." }, "instructionOffset": { "type": "integer", "description": "Optional offset (in instructions) to be applied after the byte offset (if any) before disassembling. Can be negative." }, "instructionCount": { "type": "integer", "description": "Number of instructions to disassemble starting at the specified location and offset.\nAn adapter must return exactly this number of instructions - any unavailable instructions should be replaced with an implementation-defined 'invalid instruction' value." }, "resolveSymbols": { "type": "boolean", "description": "If true, the adapter should attempt to resolve memory addresses and other values to symbolic names." } }, "required": [ "memoryReference", "instructionCount" ] }, "DisassembleResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, { "type": "object", "description": "Response to 'disassemble' request.", "properties": { "body": { "type": "object", "properties": { "instructions": { "type": "array", "items": { "$ref": "#/definitions/DisassembledInstruction" }, "description": "The list of disassembled instructions." } }, "required": [ "instructions" ] } } } ] }, "Capabilities": { "type": "object", "title": "Types", "description": "Information about the capabilities of a debug adapter.", "properties": { "supportsConfigurationDoneRequest": { "type": "boolean", "description": "The debug adapter supports the 'configurationDone' request." }, "supportsFunctionBreakpoints": { "type": "boolean", "description": "The debug adapter supports function breakpoints." }, "supportsConditionalBreakpoints": { "type": "boolean", "description": "The debug adapter supports conditional breakpoints." }, "supportsHitConditionalBreakpoints": { "type": "boolean", "description": "The debug adapter supports breakpoints that break execution after a specified number of hits." }, "supportsEvaluateForHovers": { "type": "boolean", "description": "The debug adapter supports a (side effect free) evaluate request for data hovers." }, "exceptionBreakpointFilters": { "type": "array", "items": { "$ref": "#/definitions/ExceptionBreakpointsFilter" }, "description": "Available filters or options for the setExceptionBreakpoints request." }, "supportsStepBack": { "type": "boolean", "description": "The debug adapter supports stepping back via the 'stepBack' and 'reverseContinue' requests." }, "supportsSetVariable": { "type": "boolean", "description": "The debug adapter supports setting a variable to a value." }, "supportsRestartFrame": { "type": "boolean", "description": "The debug adapter supports restarting a frame." }, "supportsGotoTargetsRequest": { "type": "boolean", "description": "The debug adapter supports the 'gotoTargets' request." }, "supportsStepInTargetsRequest": { "type": "boolean", "description": "The debug adapter supports the 'stepInTargets' request." }, "supportsCompletionsRequest": { "type": "boolean", "description": "The debug adapter supports the 'completions' request." }, "completionTriggerCharacters": { "type": "array", "items": { "type": "string" }, "description": "The set of characters that should trigger completion in a REPL. If not specified, the UI should assume the '.' character." }, "supportsModulesRequest": { "type": "boolean", "description": "The debug adapter supports the 'modules' request." }, "additionalModuleColumns": { "type": "array", "items": { "$ref": "#/definitions/ColumnDescriptor" }, "description": "The set of additional module information exposed by the debug adapter." }, "supportedChecksumAlgorithms": { "type": "array", "items": { "$ref": "#/definitions/ChecksumAlgorithm" }, "description": "Checksum algorithms supported by the debug adapter." }, "supportsRestartRequest": { "type": "boolean", "description": "The debug adapter supports the 'restart' request. In this case a client should not implement 'restart' by terminating and relaunching the adapter but by calling the RestartRequest." }, "supportsExceptionOptions": { "type": "boolean", "description": "The debug adapter supports 'exceptionOptions' on the setExceptionBreakpoints request." }, "supportsValueFormattingOptions": { "type": "boolean", "description": "The debug adapter supports a 'format' attribute on the stackTraceRequest, variablesRequest, and evaluateRequest." }, "supportsExceptionInfoRequest": { "type": "boolean", "description": "The debug adapter supports the 'exceptionInfo' request." }, "supportTerminateDebuggee": { "type": "boolean", "description": "The debug adapter supports the 'terminateDebuggee' attribute on the 'disconnect' request." }, "supportsDelayedStackTraceLoading": { "type": "boolean", "description": "The debug adapter supports the delayed loading of parts of the stack, which requires that both the 'startFrame' and 'levels' arguments and the 'totalFrames' result of the 'StackTrace' request are supported." }, "supportsLoadedSourcesRequest": { "type": "boolean", "description": "The debug adapter supports the 'loadedSources' request." }, "supportsLogPoints": { "type": "boolean", "description": "The debug adapter supports logpoints by interpreting the 'logMessage' attribute of the SourceBreakpoint." }, "supportsTerminateThreadsRequest": { "type": "boolean", "description": "The debug adapter supports the 'terminateThreads' request." }, "supportsSetExpression": { "type": "boolean", "description": "The debug adapter supports the 'setExpression' request." }, "supportsTerminateRequest": { "type": "boolean", "description": "The debug adapter supports the 'terminate' request." }, "supportsDataBreakpoints": { "type": "boolean", "description": "The debug adapter supports data breakpoints." }, "supportsReadMemoryRequest": { "type": "boolean", "description": "The debug adapter supports the 'readMemory' request." }, "supportsDisassembleRequest": { "type": "boolean", "description": "The debug adapter supports the 'disassemble' request." }, "supportsCancelRequest": { "type": "boolean", "description": "The debug adapter supports the 'cancel' request." }, "supportsBreakpointLocationsRequest": { "type": "boolean", "description": "The debug adapter supports the 'breakpointLocations' request." }, "supportsClipboardContext": { "type": "boolean", "description": "The debug adapter supports the 'clipboard' context value in the 'evaluate' request." }, "supportsSteppingGranularity": { "type": "boolean", "description": "The debug adapter supports stepping granularities (argument 'granularity') for the stepping requests." }, "supportsInstructionBreakpoints": { "type": "boolean", "description": "The debug adapter supports adding breakpoints based on instruction references." } } }, "ExceptionBreakpointsFilter": { "type": "object", "description": "An ExceptionBreakpointsFilter is shown in the UI as an option for configuring how exceptions are dealt with.", "properties": { "filter": { "type": "string", "description": "The internal ID of the filter. This value is passed to the setExceptionBreakpoints request." }, "label": { "type": "string", "description": "The name of the filter. This will be shown in the UI." }, "default": { "type": "boolean", "description": "Initial value of the filter. If not specified a value 'false' is assumed." } }, "required": [ "filter", "label" ] }, "Message": { "type": "object", "description": "A structured message object. Used to return errors from requests.", "properties": { "id": { "type": "integer", "description": "Unique identifier for the message." }, "format": { "type": "string", "description": "A format string for the message. Embedded variables have the form '{name}'.\nIf variable name starts with an underscore character, the variable does not contain user data (PII) and can be safely used for telemetry purposes." }, "variables": { "type": "object", "description": "An object used as a dictionary for looking up the variables in the format string.", "additionalProperties": { "type": "string", "description": "Values must be strings." } }, "sendTelemetry": { "type": "boolean", "description": "If true send to telemetry." }, "showUser": { "type": "boolean", "description": "If true show user." }, "url": { "type": "string", "description": "An optional url where additional information about this message can be found." }, "urlLabel": { "type": "string", "description": "An optional label that is presented to the user as the UI for opening the url." } }, "required": [ "id", "format" ] }, "Module": { "type": "object", "description": "A Module object represents a row in the modules view.\nTwo attributes are mandatory: an id identifies a module in the modules view and is used in a ModuleEvent for identifying a module for adding, updating or deleting.\nThe name is used to minimally render the module in the UI.\n\nAdditional attributes can be added to the module. They will show up in the module View if they have a corresponding ColumnDescriptor.\n\nTo avoid an unnecessary proliferation of additional attributes with similar semantics but different names\nwe recommend to re-use attributes from the 'recommended' list below first, and only introduce new attributes if nothing appropriate could be found.", "properties": { "id": { "type": [ "integer", "string" ], "description": "Unique identifier for the module." }, "name": { "type": "string", "description": "A name of the module." }, "path": { "type": "string", "description": "optional but recommended attributes.\nalways try to use these first before introducing additional attributes.\n\nLogical full path to the module. The exact definition is implementation defined, but usually this would be a full path to the on-disk file for the module." }, "isOptimized": { "type": "boolean", "description": "True if the module is optimized." }, "isUserCode": { "type": "boolean", "description": "True if the module is considered 'user code' by a debugger that supports 'Just My Code'." }, "version": { "type": "string", "description": "Version of Module." }, "symbolStatus": { "type": "string", "description": "User understandable description of if symbols were found for the module (ex: 'Symbols Loaded', 'Symbols not found', etc." }, "symbolFilePath": { "type": "string", "description": "Logical full path to the symbol file. The exact definition is implementation defined." }, "dateTimeStamp": { "type": "string", "description": "Module created or modified." }, "addressRange": { "type": "string", "description": "Address range covered by this module." } }, "required": [ "id", "name" ] }, "ColumnDescriptor": { "type": "object", "description": "A ColumnDescriptor specifies what module attribute to show in a column of the ModulesView, how to format it,\nand what the column's label should be.\nIt is only used if the underlying UI actually supports this level of customization.", "properties": { "attributeName": { "type": "string", "description": "Name of the attribute rendered in this column." }, "label": { "type": "string", "description": "Header UI label of column." }, "format": { "type": "string", "description": "Format to use for the rendered values in this column. TBD how the format strings looks like." }, "type": { "type": "string", "enum": [ "string", "number", "boolean", "unixTimestampUTC" ], "description": "Datatype of values in this column. Defaults to 'string' if not specified." }, "width": { "type": "integer", "description": "Width of this column in characters (hint only)." } }, "required": [ "attributeName", "label" ] }, "ModulesViewDescriptor": { "type": "object", "description": "The ModulesViewDescriptor is the container for all declarative configuration options of a ModuleView.\nFor now it only specifies the columns to be shown in the modules view.", "properties": { "columns": { "type": "array", "items": { "$ref": "#/definitions/ColumnDescriptor" } } }, "required": [ "columns" ] }, "Thread": { "type": "object", "description": "A Thread", "properties": { "id": { "type": "integer", "description": "Unique identifier for the thread." }, "name": { "type": "string", "description": "A name of the thread." } }, "required": [ "id", "name" ] }, "Source": { "type": "object", "description": "A Source is a descriptor for source code.\nIt is returned from the debug adapter as part of a StackFrame and it is used by clients when specifying breakpoints.", "properties": { "name": { "type": "string", "description": "The short name of the source. Every source returned from the debug adapter has a name.\nWhen sending a source to the debug adapter this name is optional." }, "path": { "type": "string", "description": "The path of the source to be shown in the UI.\nIt is only used to locate and load the content of the source if no sourceReference is specified (or its value is 0)." }, "sourceReference": { "type": "integer", "description": "If sourceReference > 0 the contents of the source must be retrieved through the SourceRequest (even if a path is specified).\nA sourceReference is only valid for a session, so it must not be used to persist a source.\nThe value should be less than or equal to 2147483647 (2^31 - 1)." }, "presentationHint": { "type": "string", "description": "An optional hint for how to present the source in the UI.\nA value of 'deemphasize' can be used to indicate that the source is not available or that it is skipped on stepping.", "enum": [ "normal", "emphasize", "deemphasize" ] }, "origin": { "type": "string", "description": "The (optional) origin of this source: possible values 'internal module', 'inlined content from source map', etc." }, "sources": { "type": "array", "items": { "$ref": "#/definitions/Source" }, "description": "An optional list of sources that are related to this source. These may be the source that generated this source." }, "adapterData": { "type": [ "array", "boolean", "integer", "null", "number", "object", "string" ], "description": "Optional data that a debug adapter might want to loop through the client.\nThe client should leave the data intact and persist it across sessions. The client should not interpret the data." }, "checksums": { "type": "array", "items": { "$ref": "#/definitions/Checksum" }, "description": "The checksums associated with this file." } } }, "StackFrame": { "type": "object", "description": "A Stackframe contains the source location.", "properties": { "id": { "type": "integer", "description": "An identifier for the stack frame. It must be unique across all threads.\nThis id can be used to retrieve the scopes of the frame with the 'scopesRequest' or to restart the execution of a stackframe." }, "name": { "type": "string", "description": "The name of the stack frame, typically a method name." }, "source": { "$ref": "#/definitions/Source", "description": "The optional source of the frame." }, "line": { "type": "integer", "description": "The line within the file of the frame. If source is null or doesn't exist, line is 0 and must be ignored." }, "column": { "type": "integer", "description": "The column within the line. If source is null or doesn't exist, column is 0 and must be ignored." }, "endLine": { "type": "integer", "description": "An optional end line of the range covered by the stack frame." }, "endColumn": { "type": "integer", "description": "An optional end column of the range covered by the stack frame." }, "instructionPointerReference": { "type": "string", "description": "Optional memory reference for the current instruction pointer in this frame." }, "moduleId": { "type": [ "integer", "string" ], "description": "The module associated with this frame, if any." }, "presentationHint": { "type": "string", "enum": [ "normal", "label", "subtle" ], "description": "An optional hint for how to present this frame in the UI.\nA value of 'label' can be used to indicate that the frame is an artificial frame that is used as a visual label or separator. A value of 'subtle' can be used to change the appearance of a frame in a 'subtle' way." } }, "required": [ "id", "name", "line", "column" ] }, "Scope": { "type": "object", "description": "A Scope is a named container for variables. Optionally a scope can map to a source or a range within a source.", "properties": { "name": { "type": "string", "description": "Name of the scope such as 'Arguments', 'Locals', or 'Registers'. This string is shown in the UI as is and can be translated." }, "presentationHint": { "type": "string", "description": "An optional hint for how to present this scope in the UI. If this attribute is missing, the scope is shown with a generic UI.", "_enum": [ "arguments", "locals", "registers" ], "enumDescriptions": [ "Scope contains method arguments.", "Scope contains local variables.", "Scope contains registers. Only a single 'registers' scope should be returned from a 'scopes' request." ] }, "variablesReference": { "type": "integer", "description": "The variables of this scope can be retrieved by passing the value of variablesReference to the VariablesRequest." }, "namedVariables": { "type": "integer", "description": "The number of named variables in this scope.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks." }, "indexedVariables": { "type": "integer", "description": "The number of indexed variables in this scope.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks." }, "expensive": { "type": "boolean", "description": "If true, the number of variables in this scope is large or expensive to retrieve." }, "source": { "$ref": "#/definitions/Source", "description": "Optional source for this scope." }, "line": { "type": "integer", "description": "Optional start line of the range covered by this scope." }, "column": { "type": "integer", "description": "Optional start column of the range covered by this scope." }, "endLine": { "type": "integer", "description": "Optional end line of the range covered by this scope." }, "endColumn": { "type": "integer", "description": "Optional end column of the range covered by this scope." } }, "required": [ "name", "variablesReference", "expensive" ] }, "Variable": { "type": "object", "description": "A Variable is a name/value pair.\nOptionally a variable can have a 'type' that is shown if space permits or when hovering over the variable's name.\nAn optional 'kind' is used to render additional properties of the variable, e.g. different icons can be used to indicate that a variable is public or private.\nIf the value is structured (has children), a handle is provided to retrieve the children with the VariablesRequest.\nIf the number of named or indexed children is large, the numbers should be returned via the optional 'namedVariables' and 'indexedVariables' attributes.\nThe client can use this optional information to present the children in a paged UI and fetch them in chunks.", "properties": { "name": { "type": "string", "description": "The variable's name." }, "value": { "type": "string", "description": "The variable's value. This can be a multi-line text, e.g. for a function the body of a function." }, "type": { "type": "string", "description": "The type of the variable's value. Typically shown in the UI when hovering over the value.\nThis attribute should only be returned by a debug adapter if the client has passed the value true for the 'supportsVariableType' capability of the 'initialize' request." }, "presentationHint": { "$ref": "#/definitions/VariablePresentationHint", "description": "Properties of a variable that can be used to determine how to render the variable in the UI." }, "evaluateName": { "type": "string", "description": "Optional evaluatable name of this variable which can be passed to the 'EvaluateRequest' to fetch the variable's value." }, "variablesReference": { "type": "integer", "description": "If variablesReference is > 0, the variable is structured and its children can be retrieved by passing variablesReference to the VariablesRequest." }, "namedVariables": { "type": "integer", "description": "The number of named child variables.\nThe client can use this optional information to present the children in a paged UI and fetch them in chunks." }, "indexedVariables": { "type": "integer", "description": "The number of indexed child variables.\nThe client can use this optional information to present the children in a paged UI and fetch them in chunks." }, "memoryReference": { "type": "string", "description": "Optional memory reference for the variable if the variable represents executable code, such as a function pointer.\nThis attribute is only required if the client has passed the value true for the 'supportsMemoryReferences' capability of the 'initialize' request." } }, "required": [ "name", "value", "variablesReference" ] }, "VariablePresentationHint": { "type": "object", "description": "Optional properties of a variable that can be used to determine how to render the variable in the UI.", "properties": { "kind": { "description": "The kind of variable. Before introducing additional values, try to use the listed values.", "type": "string", "_enum": [ "property", "method", "class", "data", "event", "baseClass", "innerClass", "interface", "mostDerivedClass", "virtual", "dataBreakpoint" ], "enumDescriptions": [ "Indicates that the object is a property.", "Indicates that the object is a method.", "Indicates that the object is a class.", "Indicates that the object is data.", "Indicates that the object is an event.", "Indicates that the object is a base class.", "Indicates that the object is an inner class.", "Indicates that the object is an interface.", "Indicates that the object is the most derived class.", "Indicates that the object is virtual, that means it is a synthetic object introducedby the\nadapter for rendering purposes, e.g. an index range for large arrays.", "Indicates that a data breakpoint is registered for the object." ] }, "attributes": { "description": "Set of attributes represented as an array of strings. Before introducing additional values, try to use the listed values.", "type": "array", "items": { "type": "string", "_enum": [ "static", "constant", "readOnly", "rawString", "hasObjectId", "canHaveObjectId", "hasSideEffects" ], "enumDescriptions": [ "Indicates that the object is static.", "Indicates that the object is a constant.", "Indicates that the object is read only.", "Indicates that the object is a raw string.", "Indicates that the object can have an Object ID created for it.", "Indicates that the object has an Object ID associated with it.", "Indicates that the evaluation had side effects." ] } }, "visibility": { "description": "Visibility of variable. Before introducing additional values, try to use the listed values.", "type": "string", "_enum": [ "public", "private", "protected", "internal", "final" ] } } }, "BreakpointLocation": { "type": "object", "description": "Properties of a breakpoint location returned from the 'breakpointLocations' request.", "properties": { "line": { "type": "integer", "description": "Start line of breakpoint location." }, "column": { "type": "integer", "description": "Optional start column of breakpoint location." }, "endLine": { "type": "integer", "description": "Optional end line of breakpoint location if the location covers a range." }, "endColumn": { "type": "integer", "description": "Optional end column of breakpoint location if the location covers a range." } }, "required": [ "line" ] }, "SourceBreakpoint": { "type": "object", "description": "Properties of a breakpoint or logpoint passed to the setBreakpoints request.", "properties": { "line": { "type": "integer", "description": "The source line of the breakpoint or logpoint." }, "column": { "type": "integer", "description": "An optional source column of the breakpoint." }, "condition": { "type": "string", "description": "An optional expression for conditional breakpoints.\nIt is only honored by a debug adapter if the capability 'supportsConditionalBreakpoints' is true." }, "hitCondition": { "type": "string", "description": "An optional expression that controls how many hits of the breakpoint are ignored.\nThe backend is expected to interpret the expression as needed.\nThe attribute is only honored by a debug adapter if the capability 'supportsHitConditionalBreakpoints' is true." }, "logMessage": { "type": "string", "description": "If this attribute exists and is non-empty, the backend must not 'break' (stop)\nbut log the message instead. Expressions within {} are interpolated.\nThe attribute is only honored by a debug adapter if the capability 'supportsLogPoints' is true." } }, "required": [ "line" ] }, "FunctionBreakpoint": { "type": "object", "description": "Properties of a breakpoint passed to the setFunctionBreakpoints request.", "properties": { "name": { "type": "string", "description": "The name of the function." }, "condition": { "type": "string", "description": "An optional expression for conditional breakpoints.\nIt is only honored by a debug adapter if the capability 'supportsConditionalBreakpoints' is true." }, "hitCondition": { "type": "string", "description": "An optional expression that controls how many hits of the breakpoint are ignored.\nThe backend is expected to interpret the expression as needed.\nThe attribute is only honored by a debug adapter if the capability 'supportsHitConditionalBreakpoints' is true." } }, "required": [ "name" ] }, "DataBreakpointAccessType": { "type": "string", "description": "This enumeration defines all possible access types for data breakpoints.", "enum": [ "read", "write", "readWrite" ] }, "DataBreakpoint": { "type": "object", "description": "Properties of a data breakpoint passed to the setDataBreakpoints request.", "properties": { "dataId": { "type": "string", "description": "An id representing the data. This id is returned from the dataBreakpointInfo request." }, "accessType": { "$ref": "#/definitions/DataBreakpointAccessType", "description": "The access type of the data." }, "condition": { "type": "string", "description": "An optional expression for conditional breakpoints." }, "hitCondition": { "type": "string", "description": "An optional expression that controls how many hits of the breakpoint are ignored.\nThe backend is expected to interpret the expression as needed." } }, "required": [ "dataId" ] }, "InstructionBreakpoint": { "type": "object", "description": "Properties of a breakpoint passed to the setInstructionBreakpoints request", "properties": { "instructionReference": { "type": "string", "description": "The instruction reference of the breakpoint.\nThis should be a memory or instruction pointer reference from an EvaluateResponse, Variable, StackFrame, GotoTarget, or Breakpoint." }, "offset": { "type": "integer", "description": "An optional offset from the instruction reference.\nThis can be negative." }, "condition": { "type": "string", "description": "An optional expression for conditional breakpoints.\nIt is only honored by a debug adapter if the capability 'supportsConditionalBreakpoints' is true." }, "hitCondition": { "type": "string", "description": "An optional expression that controls how many hits of the breakpoint are ignored.\nThe backend is expected to interpret the expression as needed.\nThe attribute is only honored by a debug adapter if the capability 'supportsHitConditionalBreakpoints' is true." } }, "required": [ "instructionReference" ] }, "Breakpoint": { "type": "object", "description": "Information about a Breakpoint created in setBreakpoints, setFunctionBreakpoints, setInstructionBreakpoints, or setDataBreakpoints.", "properties": { "id": { "type": "integer", "description": "An optional identifier for the breakpoint. It is needed if breakpoint events are used to update or remove breakpoints." }, "verified": { "type": "boolean", "description": "If true breakpoint could be set (but not necessarily at the desired location)." }, "message": { "type": "string", "description": "An optional message about the state of the breakpoint.\nThis is shown to the user and can be used to explain why a breakpoint could not be verified." }, "source": { "$ref": "#/definitions/Source", "description": "The source where the breakpoint is located." }, "line": { "type": "integer", "description": "The start line of the actual range covered by the breakpoint." }, "column": { "type": "integer", "description": "An optional start column of the actual range covered by the breakpoint." }, "endLine": { "type": "integer", "description": "An optional end line of the actual range covered by the breakpoint." }, "endColumn": { "type": "integer", "description": "An optional end column of the actual range covered by the breakpoint.\nIf no end line is given, then the end column is assumed to be in the start line." }, "instructionReference": { "type": "string", "description": "An optional memory reference to where the breakpoint is set." }, "offset": { "type": "integer", "description": "An optional offset from the instruction reference.\nThis can be negative." } }, "required": [ "verified" ] }, "SteppingGranularity": { "type": "string", "description": "The granularity of one 'step' in the stepping requests 'next', 'stepIn', 'stepOut', and 'stepBack'.", "enum": [ "statement", "line", "instruction" ], "enumDescriptions": [ "The step should allow the program to run until the current statement has finished executing.\nThe meaning of a statement is determined by the adapter and it may be considered equivalent to a line.\nFor example 'for(int i = 0; i < 10; i++) could be considered to have 3 statements 'int i = 0', 'i < 10', and 'i++'.", "The step should allow the program to run until the current source line has executed.", "The step should allow one instruction to execute (e.g. one x86 instruction)." ] }, "StepInTarget": { "type": "object", "description": "A StepInTarget can be used in the 'stepIn' request and determines into which single target the stepIn request should step.", "properties": { "id": { "type": "integer", "description": "Unique identifier for a stepIn target." }, "label": { "type": "string", "description": "The name of the stepIn target (shown in the UI)." } }, "required": [ "id", "label" ] }, "GotoTarget": { "type": "object", "description": "A GotoTarget describes a code location that can be used as a target in the 'goto' request.\nThe possible goto targets can be determined via the 'gotoTargets' request.", "properties": { "id": { "type": "integer", "description": "Unique identifier for a goto target. This is used in the goto request." }, "label": { "type": "string", "description": "The name of the goto target (shown in the UI)." }, "line": { "type": "integer", "description": "The line of the goto target." }, "column": { "type": "integer", "description": "An optional column of the goto target." }, "endLine": { "type": "integer", "description": "An optional end line of the range covered by the goto target." }, "endColumn": { "type": "integer", "description": "An optional end column of the range covered by the goto target." }, "instructionPointerReference": { "type": "string", "description": "Optional memory reference for the instruction pointer value represented by this target." } }, "required": [ "id", "label", "line" ] }, "CompletionItem": { "type": "object", "description": "CompletionItems are the suggestions returned from the CompletionsRequest.", "properties": { "label": { "type": "string", "description": "The label of this completion item. By default this is also the text that is inserted when selecting this completion." }, "text": { "type": "string", "description": "If text is not falsy then it is inserted instead of the label." }, "sortText": { "type": "string", "description": "A string that should be used when comparing this item with other items. When `falsy` the label is used." }, "type": { "$ref": "#/definitions/CompletionItemType", "description": "The item's type. Typically the client uses this information to render the item in the UI with an icon." }, "start": { "type": "integer", "description": "This value determines the location (in the CompletionsRequest's 'text' attribute) where the completion text is added.\nIf missing the text is added at the location specified by the CompletionsRequest's 'column' attribute." }, "length": { "type": "integer", "description": "This value determines how many characters are overwritten by the completion text.\nIf missing the value 0 is assumed which results in the completion text being inserted." }, "selectionStart": { "type": "integer", "description": "Determines the start of the new selection after the text has been inserted (or replaced).\nThe start position must in the range 0 and length of the completion text.\nIf omitted the selection starts at the end of the completion text." }, "selectionLength": { "type": "integer", "description": "Determines the length of the new selection after the text has been inserted (or replaced).\nThe selection can not extend beyond the bounds of the completion text.\nIf omitted the length is assumed to be 0." } }, "required": [ "label" ] }, "CompletionItemType": { "type": "string", "description": "Some predefined types for the CompletionItem. Please note that not all clients have specific icons for all of them.", "enum": [ "method", "function", "constructor", "field", "variable", "class", "interface", "module", "property", "unit", "value", "enum", "keyword", "snippet", "text", "color", "file", "reference", "customcolor" ] }, "ChecksumAlgorithm": { "type": "string", "description": "Names of checksum algorithms that may be supported by a debug adapter.", "enum": [ "MD5", "SHA1", "SHA256", "timestamp" ] }, "Checksum": { "type": "object", "description": "The checksum of an item calculated by the specified algorithm.", "properties": { "algorithm": { "$ref": "#/definitions/ChecksumAlgorithm", "description": "The algorithm used to calculate this checksum." }, "checksum": { "type": "string", "description": "Value of the checksum." } }, "required": [ "algorithm", "checksum" ] }, "ValueFormat": { "type": "object", "description": "Provides formatting information for a value.", "properties": { "hex": { "type": "boolean", "description": "Display the value in hex." } } }, "StackFrameFormat": { "allOf": [ { "$ref": "#/definitions/ValueFormat" }, { "type": "object", "description": "Provides formatting information for a stack frame.", "properties": { "parameters": { "type": "boolean", "description": "Displays parameters for the stack frame." }, "parameterTypes": { "type": "boolean", "description": "Displays the types of parameters for the stack frame." }, "parameterNames": { "type": "boolean", "description": "Displays the names of parameters for the stack frame." }, "parameterValues": { "type": "boolean", "description": "Displays the values of parameters for the stack frame." }, "line": { "type": "boolean", "description": "Displays the line number of the stack frame." }, "module": { "type": "boolean", "description": "Displays the module of the stack frame." }, "includeAll": { "type": "boolean", "description": "Includes all stack frames, including those the debug adapter might otherwise hide." } } } ] }, "ExceptionOptions": { "type": "object", "description": "An ExceptionOptions assigns configuration options to a set of exceptions.", "properties": { "path": { "type": "array", "items": { "$ref": "#/definitions/ExceptionPathSegment" }, "description": "A path that selects a single or multiple exceptions in a tree. If 'path' is missing, the whole tree is selected.\nBy convention the first segment of the path is a category that is used to group exceptions in the UI." }, "breakMode": { "$ref": "#/definitions/ExceptionBreakMode", "description": "Condition when a thrown exception should result in a break." } }, "required": [ "breakMode" ] }, "ExceptionBreakMode": { "type": "string", "description": "This enumeration defines all possible conditions when a thrown exception should result in a break.\nnever: never breaks,\nalways: always breaks,\nunhandled: breaks when exception unhandled,\nuserUnhandled: breaks if the exception is not handled by user code.", "enum": [ "never", "always", "unhandled", "userUnhandled" ] }, "ExceptionPathSegment": { "type": "object", "description": "An ExceptionPathSegment represents a segment in a path that is used to match leafs or nodes in a tree of exceptions.\nIf a segment consists of more than one name, it matches the names provided if 'negate' is false or missing or\nit matches anything except the names provided if 'negate' is true.", "properties": { "negate": { "type": "boolean", "description": "If false or missing this segment matches the names provided, otherwise it matches anything except the names provided." }, "names": { "type": "array", "items": { "type": "string" }, "description": "Depending on the value of 'negate' the names that should match or not match." } }, "required": [ "names" ] }, "ExceptionDetails": { "type": "object", "description": "Detailed information about an exception that has occurred.", "properties": { "message": { "type": "string", "description": "Message contained in the exception." }, "typeName": { "type": "string", "description": "Short type name of the exception object." }, "fullTypeName": { "type": "string", "description": "Fully-qualified type name of the exception object." }, "evaluateName": { "type": "string", "description": "Optional expression that can be evaluated in the current scope to obtain the exception object." }, "stackTrace": { "type": "string", "description": "Stack trace at the time the exception was thrown." }, "innerException": { "type": "array", "items": { "$ref": "#/definitions/ExceptionDetails" }, "description": "Details of the exception contained by this exception, if any." } } }, "DisassembledInstruction": { "type": "object", "description": "Represents a single disassembled instruction.", "properties": { "address": { "type": "string", "description": "The address of the instruction. Treated as a hex value if prefixed with '0x', or as a decimal value otherwise." }, "instructionBytes": { "type": "string", "description": "Optional raw bytes representing the instruction and its operands, in an implementation-defined format." }, "instruction": { "type": "string", "description": "Text representing the instruction and its operands, in an implementation-defined format." }, "symbol": { "type": "string", "description": "Name of the symbol that corresponds with the location of this instruction, if any." }, "location": { "$ref": "#/definitions/Source", "description": "Source location that corresponds to this instruction, if any.\nShould always be set (if available) on the first instruction returned,\nbut can be omitted afterwards if this instruction maps to the same source file as the previous instruction." }, "line": { "type": "integer", "description": "The line within the source location that corresponds to this instruction, if any." }, "column": { "type": "integer", "description": "The column within the line that corresponds to this instruction, if any." }, "endLine": { "type": "integer", "description": "The end line of the range that corresponds to this instruction, if any." }, "endColumn": { "type": "integer", "description": "The end column of the range that corresponds to this instruction, if any." } }, "required": [ "address", "instruction" ] } }, "properties": { "ProtocolMessage": { "$ref": "#/definitions/ProtocolMessage" }, "Request": { "$ref": "#/definitions/Request" }, "Event": { "$ref": "#/definitions/Event" }, "Response": { "$ref": "#/definitions/Response" }, "ErrorResponse": { "$ref": "#/definitions/ErrorResponse" }, "CancelRequest": { "$ref": "#/definitions/CancelRequest" }, "CancelArguments": { "$ref": "#/definitions/CancelArguments" }, "CancelResponse": { "$ref": "#/definitions/CancelResponse" }, "InitializedEvent": { "$ref": "#/definitions/InitializedEvent" }, "StoppedEvent": { "$ref": "#/definitions/StoppedEvent" }, "ContinuedEvent": { "$ref": "#/definitions/ContinuedEvent" }, "ExitedEvent": { "$ref": "#/definitions/ExitedEvent" }, "TerminatedEvent": { "$ref": "#/definitions/TerminatedEvent" }, "ThreadEvent": { "$ref": "#/definitions/ThreadEvent" }, "OutputEvent": { "$ref": "#/definitions/OutputEvent" }, "BreakpointEvent": { "$ref": "#/definitions/BreakpointEvent" }, "ModuleEvent": { "$ref": "#/definitions/ModuleEvent" }, "LoadedSourceEvent": { "$ref": "#/definitions/LoadedSourceEvent" }, "ProcessEvent": { "$ref": "#/definitions/ProcessEvent" }, "CapabilitiesEvent": { "$ref": "#/definitions/CapabilitiesEvent" }, "ProgressStartEvent": { "$ref": "#/definitions/ProgressStartEvent" }, "ProgressUpdateEvent": { "$ref": "#/definitions/ProgressUpdateEvent" }, "ProgressEndEvent": { "$ref": "#/definitions/ProgressEndEvent" }, "RunInTerminalRequest": { "$ref": "#/definitions/RunInTerminalRequest" }, "RunInTerminalRequestArguments": { "$ref": "#/definitions/RunInTerminalRequestArguments" }, "RunInTerminalResponse": { "$ref": "#/definitions/RunInTerminalResponse" }, "InitializeRequest": { "$ref": "#/definitions/InitializeRequest" }, "InitializeRequestArguments": { "$ref": "#/definitions/InitializeRequestArguments" }, "InitializeResponse": { "$ref": "#/definitions/InitializeResponse" }, "ConfigurationDoneRequest": { "$ref": "#/definitions/ConfigurationDoneRequest" }, "ConfigurationDoneResponse": { "$ref": "#/definitions/ConfigurationDoneResponse" }, "LaunchRequest": { "$ref": "#/definitions/LaunchRequest" }, "LaunchRequestArguments": { "$ref": "#/definitions/LaunchRequestArguments" }, "LaunchResponse": { "$ref": "#/definitions/LaunchResponse" }, "AttachRequest": { "$ref": "#/definitions/AttachRequest" }, "AttachRequestArguments": { "$ref": "#/definitions/AttachRequestArguments" }, "AttachResponse": { "$ref": "#/definitions/AttachResponse" }, "RestartRequest": { "$ref": "#/definitions/RestartRequest" }, "RestartResponse": { "$ref": "#/definitions/RestartResponse" }, "DisconnectRequest": { "$ref": "#/definitions/DisconnectRequest" }, "DisconnectArguments": { "$ref": "#/definitions/DisconnectArguments" }, "DisconnectResponse": { "$ref": "#/definitions/DisconnectResponse" }, "TerminateRequest": { "$ref": "#/definitions/TerminateRequest" }, "TerminateArguments": { "$ref": "#/definitions/TerminateArguments" }, "TerminateResponse": { "$ref": "#/definitions/TerminateResponse" }, "BreakpointLocationsRequest": { "$ref": "#/definitions/BreakpointLocationsRequest" }, "BreakpointLocationsArguments": { "$ref": "#/definitions/BreakpointLocationsArguments" }, "BreakpointLocationsResponse": { "$ref": "#/definitions/BreakpointLocationsResponse" }, "SetBreakpointsRequest": { "$ref": "#/definitions/SetBreakpointsRequest" }, "SetBreakpointsArguments": { "$ref": "#/definitions/SetBreakpointsArguments" }, "SetBreakpointsResponse": { "$ref": "#/definitions/SetBreakpointsResponse" }, "SetFunctionBreakpointsRequest": { "$ref": "#/definitions/SetFunctionBreakpointsRequest" }, "SetFunctionBreakpointsArguments": { "$ref": "#/definitions/SetFunctionBreakpointsArguments" }, "SetFunctionBreakpointsResponse": { "$ref": "#/definitions/SetFunctionBreakpointsResponse" }, "SetExceptionBreakpointsRequest": { "$ref": "#/definitions/SetExceptionBreakpointsRequest" }, "SetExceptionBreakpointsArguments": { "$ref": "#/definitions/SetExceptionBreakpointsArguments" }, "SetExceptionBreakpointsResponse": { "$ref": "#/definitions/SetExceptionBreakpointsResponse" }, "DataBreakpointInfoRequest": { "$ref": "#/definitions/DataBreakpointInfoRequest" }, "DataBreakpointInfoArguments": { "$ref": "#/definitions/DataBreakpointInfoArguments" }, "DataBreakpointInfoResponse": { "$ref": "#/definitions/DataBreakpointInfoResponse" }, "SetDataBreakpointsRequest": { "$ref": "#/definitions/SetDataBreakpointsRequest" }, "SetDataBreakpointsArguments": { "$ref": "#/definitions/SetDataBreakpointsArguments" }, "SetDataBreakpointsResponse": { "$ref": "#/definitions/SetDataBreakpointsResponse" }, "SetInstructionBreakpointsRequest": { "$ref": "#/definitions/SetInstructionBreakpointsRequest" }, "SetInstructionBreakpointsArguments": { "$ref": "#/definitions/SetInstructionBreakpointsArguments" }, "SetInstructionBreakpointsResponse": { "$ref": "#/definitions/SetInstructionBreakpointsResponse" }, "ContinueRequest": { "$ref": "#/definitions/ContinueRequest" }, "ContinueArguments": { "$ref": "#/definitions/ContinueArguments" }, "ContinueResponse": { "$ref": "#/definitions/ContinueResponse" }, "NextRequest": { "$ref": "#/definitions/NextRequest" }, "NextArguments": { "$ref": "#/definitions/NextArguments" }, "NextResponse": { "$ref": "#/definitions/NextResponse" }, "StepInRequest": { "$ref": "#/definitions/StepInRequest" }, "StepInArguments": { "$ref": "#/definitions/StepInArguments" }, "StepInResponse": { "$ref": "#/definitions/StepInResponse" }, "StepOutRequest": { "$ref": "#/definitions/StepOutRequest" }, "StepOutArguments": { "$ref": "#/definitions/StepOutArguments" }, "StepOutResponse": { "$ref": "#/definitions/StepOutResponse" }, "StepBackRequest": { "$ref": "#/definitions/StepBackRequest" }, "StepBackArguments": { "$ref": "#/definitions/StepBackArguments" }, "StepBackResponse": { "$ref": "#/definitions/StepBackResponse" }, "ReverseContinueRequest": { "$ref": "#/definitions/ReverseContinueRequest" }, "ReverseContinueArguments": { "$ref": "#/definitions/ReverseContinueArguments" }, "ReverseContinueResponse": { "$ref": "#/definitions/ReverseContinueResponse" }, "RestartFrameRequest": { "$ref": "#/definitions/RestartFrameRequest" }, "RestartFrameArguments": { "$ref": "#/definitions/RestartFrameArguments" }, "RestartFrameResponse": { "$ref": "#/definitions/RestartFrameResponse" }, "GotoRequest": { "$ref": "#/definitions/GotoRequest" }, "GotoArguments": { "$ref": "#/definitions/GotoArguments" }, "GotoResponse": { "$ref": "#/definitions/GotoResponse" }, "PauseRequest": { "$ref": "#/definitions/PauseRequest" }, "PauseArguments": { "$ref": "#/definitions/PauseArguments" }, "PauseResponse": { "$ref": "#/definitions/PauseResponse" }, "StackTraceRequest": { "$ref": "#/definitions/StackTraceRequest" }, "StackTraceArguments": { "$ref": "#/definitions/StackTraceArguments" }, "StackTraceResponse": { "$ref": "#/definitions/StackTraceResponse" }, "ScopesRequest": { "$ref": "#/definitions/ScopesRequest" }, "ScopesArguments": { "$ref": "#/definitions/ScopesArguments" }, "ScopesResponse": { "$ref": "#/definitions/ScopesResponse" }, "VariablesRequest": { "$ref": "#/definitions/VariablesRequest" }, "VariablesArguments": { "$ref": "#/definitions/VariablesArguments" }, "VariablesResponse": { "$ref": "#/definitions/VariablesResponse" }, "SetVariableRequest": { "$ref": "#/definitions/SetVariableRequest" }, "SetVariableArguments": { "$ref": "#/definitions/SetVariableArguments" }, "SetVariableResponse": { "$ref": "#/definitions/SetVariableResponse" }, "SourceRequest": { "$ref": "#/definitions/SourceRequest" }, "SourceArguments": { "$ref": "#/definitions/SourceArguments" }, "SourceResponse": { "$ref": "#/definitions/SourceResponse" }, "ThreadsRequest": { "$ref": "#/definitions/ThreadsRequest" }, "ThreadsResponse": { "$ref": "#/definitions/ThreadsResponse" }, "TerminateThreadsRequest": { "$ref": "#/definitions/TerminateThreadsRequest" }, "TerminateThreadsArguments": { "$ref": "#/definitions/TerminateThreadsArguments" }, "TerminateThreadsResponse": { "$ref": "#/definitions/TerminateThreadsResponse" }, "ModulesRequest": { "$ref": "#/definitions/ModulesRequest" }, "ModulesArguments": { "$ref": "#/definitions/ModulesArguments" }, "ModulesResponse": { "$ref": "#/definitions/ModulesResponse" }, "LoadedSourcesRequest": { "$ref": "#/definitions/LoadedSourcesRequest" }, "LoadedSourcesResponse": { "$ref": "#/definitions/LoadedSourcesResponse" }, "EvaluateRequest": { "$ref": "#/definitions/EvaluateRequest" }, "EvaluateArguments": { "$ref": "#/definitions/EvaluateArguments" }, "EvaluateResponse": { "$ref": "#/definitions/EvaluateResponse" }, "SetExpressionRequest": { "$ref": "#/definitions/SetExpressionRequest" }, "SetExpressionArguments": { "$ref": "#/definitions/SetExpressionArguments" }, "SetExpressionResponse": { "$ref": "#/definitions/SetExpressionResponse" }, "StepInTargetsRequest": { "$ref": "#/definitions/StepInTargetsRequest" }, "StepInTargetsArguments": { "$ref": "#/definitions/StepInTargetsArguments" }, "StepInTargetsResponse": { "$ref": "#/definitions/StepInTargetsResponse" }, "GotoTargetsRequest": { "$ref": "#/definitions/GotoTargetsRequest" }, "GotoTargetsArguments": { "$ref": "#/definitions/GotoTargetsArguments" }, "GotoTargetsResponse": { "$ref": "#/definitions/GotoTargetsResponse" }, "CompletionsRequest": { "$ref": "#/definitions/CompletionsRequest" }, "CompletionsArguments": { "$ref": "#/definitions/CompletionsArguments" }, "CompletionsResponse": { "$ref": "#/definitions/CompletionsResponse" }, "ExceptionInfoRequest": { "$ref": "#/definitions/ExceptionInfoRequest" }, "ExceptionInfoArguments": { "$ref": "#/definitions/ExceptionInfoArguments" }, "ExceptionInfoResponse": { "$ref": "#/definitions/ExceptionInfoResponse" }, "ReadMemoryRequest": { "$ref": "#/definitions/ReadMemoryRequest" }, "ReadMemoryArguments": { "$ref": "#/definitions/ReadMemoryArguments" }, "ReadMemoryResponse": { "$ref": "#/definitions/ReadMemoryResponse" }, "DisassembleRequest": { "$ref": "#/definitions/DisassembleRequest" }, "DisassembleArguments": { "$ref": "#/definitions/DisassembleArguments" }, "DisassembleResponse": { "$ref": "#/definitions/DisassembleResponse" }, "Capabilities": { "$ref": "#/definitions/Capabilities" }, "ExceptionBreakpointsFilter": { "$ref": "#/definitions/ExceptionBreakpointsFilter" }, "Message": { "$ref": "#/definitions/Message" }, "Module": { "$ref": "#/definitions/Module" }, "ColumnDescriptor": { "$ref": "#/definitions/ColumnDescriptor" }, "ModulesViewDescriptor": { "$ref": "#/definitions/ModulesViewDescriptor" }, "Thread": { "$ref": "#/definitions/Thread" }, "Source": { "$ref": "#/definitions/Source" }, "StackFrame": { "$ref": "#/definitions/StackFrame" }, "Scope": { "$ref": "#/definitions/Scope" }, "Variable": { "$ref": "#/definitions/Variable" }, "VariablePresentationHint": { "$ref": "#/definitions/VariablePresentationHint" }, "BreakpointLocation": { "$ref": "#/definitions/BreakpointLocation" }, "SourceBreakpoint": { "$ref": "#/definitions/SourceBreakpoint" }, "FunctionBreakpoint": { "$ref": "#/definitions/FunctionBreakpoint" }, "DataBreakpointAccessType": { "$ref": "#/definitions/DataBreakpointAccessType" }, "DataBreakpoint": { "$ref": "#/definitions/DataBreakpoint" }, "InstructionBreakpoint": { "$ref": "#/definitions/InstructionBreakpoint" }, "Breakpoint": { "$ref": "#/definitions/Breakpoint" }, "SteppingGranularity": { "$ref": "#/definitions/SteppingGranularity" }, "StepInTarget": { "$ref": "#/definitions/StepInTarget" }, "GotoTarget": { "$ref": "#/definitions/GotoTarget" }, "CompletionItem": { "$ref": "#/definitions/CompletionItem" }, "CompletionItemType": { "$ref": "#/definitions/CompletionItemType" }, "ChecksumAlgorithm": { "$ref": "#/definitions/ChecksumAlgorithm" }, "Checksum": { "$ref": "#/definitions/Checksum" }, "ValueFormat": { "$ref": "#/definitions/ValueFormat" }, "StackFrameFormat": { "$ref": "#/definitions/StackFrameFormat" }, "ExceptionOptions": { "$ref": "#/definitions/ExceptionOptions" }, "ExceptionBreakMode": { "$ref": "#/definitions/ExceptionBreakMode" }, "ExceptionPathSegment": { "$ref": "#/definitions/ExceptionPathSegment" }, "ExceptionDetails": { "$ref": "#/definitions/ExceptionDetails" }, "DisassembledInstruction": { "$ref": "#/definitions/DisassembledInstruction" } }, "required": [ "ProtocolMessage", "Request", "Event", "Response", "ErrorResponse", "CancelRequest", "CancelArguments", "CancelResponse", "InitializedEvent", "StoppedEvent", "ContinuedEvent", "ExitedEvent", "TerminatedEvent", "ThreadEvent", "OutputEvent", "BreakpointEvent", "ModuleEvent", "LoadedSourceEvent", "ProcessEvent", "CapabilitiesEvent", "ProgressStartEvent", "ProgressUpdateEvent", "ProgressEndEvent", "RunInTerminalRequest", "RunInTerminalRequestArguments", "RunInTerminalResponse", "InitializeRequest", "InitializeRequestArguments", "InitializeResponse", "ConfigurationDoneRequest", "ConfigurationDoneResponse", "LaunchRequest", "LaunchRequestArguments", "LaunchResponse", "AttachRequest", "AttachRequestArguments", "AttachResponse", "RestartRequest", "RestartResponse", "DisconnectRequest", "DisconnectArguments", "DisconnectResponse", "TerminateRequest", "TerminateArguments", "TerminateResponse", "BreakpointLocationsRequest", "BreakpointLocationsArguments", "BreakpointLocationsResponse", "SetBreakpointsRequest", "SetBreakpointsArguments", "SetBreakpointsResponse", "SetFunctionBreakpointsRequest", "SetFunctionBreakpointsArguments", "SetFunctionBreakpointsResponse", "SetExceptionBreakpointsRequest", "SetExceptionBreakpointsArguments", "SetExceptionBreakpointsResponse", "DataBreakpointInfoRequest", "DataBreakpointInfoArguments", "DataBreakpointInfoResponse", "SetDataBreakpointsRequest", "SetDataBreakpointsArguments", "SetDataBreakpointsResponse", "SetInstructionBreakpointsRequest", "SetInstructionBreakpointsArguments", "SetInstructionBreakpointsResponse", "ContinueRequest", "ContinueArguments", "ContinueResponse", "NextRequest", "NextArguments", "NextResponse", "StepInRequest", "StepInArguments", "StepInResponse", "StepOutRequest", "StepOutArguments", "StepOutResponse", "StepBackRequest", "StepBackArguments", "StepBackResponse", "ReverseContinueRequest", "ReverseContinueArguments", "ReverseContinueResponse", "RestartFrameRequest", "RestartFrameArguments", "RestartFrameResponse", "GotoRequest", "GotoArguments", "GotoResponse", "PauseRequest", "PauseArguments", "PauseResponse", "StackTraceRequest", "StackTraceArguments", "StackTraceResponse", "ScopesRequest", "ScopesArguments", "ScopesResponse", "VariablesRequest", "VariablesArguments", "VariablesResponse", "SetVariableRequest", "SetVariableArguments", "SetVariableResponse", "SourceRequest", "SourceArguments", "SourceResponse", "ThreadsRequest", "ThreadsResponse", "TerminateThreadsRequest", "TerminateThreadsArguments", "TerminateThreadsResponse", "ModulesRequest", "ModulesArguments", "ModulesResponse", "LoadedSourcesRequest", "LoadedSourcesResponse", "EvaluateRequest", "EvaluateArguments", "EvaluateResponse", "SetExpressionRequest", "SetExpressionArguments", "SetExpressionResponse", "StepInTargetsRequest", "StepInTargetsArguments", "StepInTargetsResponse", "GotoTargetsRequest", "GotoTargetsArguments", "GotoTargetsResponse", "CompletionsRequest", "CompletionsArguments", "CompletionsResponse", "ExceptionInfoRequest", "ExceptionInfoArguments", "ExceptionInfoResponse", "ReadMemoryRequest", "ReadMemoryArguments", "ReadMemoryResponse", "DisassembleRequest", "DisassembleArguments", "DisassembleResponse", "Capabilities", "ExceptionBreakpointsFilter", "Message", "Module", "ColumnDescriptor", "ModulesViewDescriptor", "Thread", "Source", "StackFrame", "Scope", "Variable", "VariablePresentationHint", "BreakpointLocation", "SourceBreakpoint", "FunctionBreakpoint", "DataBreakpointAccessType", "DataBreakpoint", "InstructionBreakpoint", "Breakpoint", "SteppingGranularity", "StepInTarget", "GotoTarget", "CompletionItem", "CompletionItemType", "ChecksumAlgorithm", "Checksum", "ValueFormat", "StackFrameFormat", "ExceptionOptions", "ExceptionBreakMode", "ExceptionPathSegment", "ExceptionDetails", "DisassembledInstruction" ] }
o44208
{ "additionalProperties": false, "properties": { "configId": { "description": "Identifier of the current configuration.", "type": "string" }, "id": { "description": "ID of the message used to match client response to the request.", "multipleOf": 1.0, "type": "number" }, "reasonPhrase": { "description": "A human-readable string explaining the cause of an error (if any). In case the request was successful, it is `ok`.", "type": "string" }, "statusCode": { "description": "Status code based on HTTP status codes.", "type": "number" } }, "required": [ "id", "statusCode", "reasonPhrase", "configId" ], "title": "5/CMX configuration push response schema", "type": "object" }
o53901
{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://github.com/Enfernuz/quik-lua-rpc/json/schema/GetTableSize.result.scheme.json", "title": "\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b GetTableSize", "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 GetTableSize", "type": "object", "properties": { "table_size": { "description": "\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442", "type": "object", "properties": { "rows": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 rows", "type": "number" }, "col": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 col", "type": "number" } }, "additionalProperties": false, "required": [ "rows", "col" ] } }, "additionalProperties": false }
o5142