json_schema
stringlengths
43
1.28M
unique_id
stringlengths
2
41
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "Angular CLI Config Schema", "type": "object", "properties": { "project": { "description": "The global configuration of the project.", "type": "object", "properties": { "version": { "type": "string" }, "name": { "type": "string" } }, "additionalProperties": false }, "apps": { "description": "Properties of the different applications in this project.", "type": "array", "items": { "type": "object", "properties": { "main": { "type": "string" }, "tsconfig": { "type": "string" }, "mobile": { "type": "boolean" } }, "additionalProperties": false }, "additionalProperties": false }, "addons": { "description": "Configuration reserved for installed third party addons.", "type": "array", "items": { "type": "object", "properties": {}, "additionalProperties": true } }, "packages": { "description": "Configuration reserved for installed third party packages.", "type": "array", "items": { "type": "object", "properties": {}, "additionalProperties": true } }, "e2e": { "type": "object", "properties": { "protractor": { "type": "object", "properties": { "config": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "test": { "type": "object", "properties": { "karma": { "type": "object", "properties": { "config": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "defaults": { "type": "object", "properties": { "prefix": { "type": "string" }, "sourceDir": { "type": "string" }, "styleExt": { "type": "string" }, "prefixInterfaces": { "type": "boolean" } }, "additionalProperties": false } }, "additionalProperties": false }
o31362
{ "properties": { "dimensions": { "properties": { "base": { "description": "The base of the triangle", "type": "number" }, "height": { "description": "The height of the triangle", "type": "number" }, "radius": { "description": "The radius of the circle", "type": "number" }, "side_length": { "description": "The side length of the square", "type": "number" } }, "type": "object" }, "shape": { "description": "The shape (e.g. circle, square, triangle)", "type": "string" } }, "required": [ "shape", "dimensions" ], "type": "object" }
calculate_area_0855a944
{ "definitions": { "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1_NonResourceAttributes": { "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", "properties": { "path": { "description": "Path is the URL path of the request", "type": "string" }, "verb": { "description": "Verb is the standard HTTP verb", "type": "string" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1_ResourceAttributes": { "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", "properties": { "group": { "description": "Group is the API Group of the Resource. \"*\" means all.", "type": "string" }, "name": { "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", "type": "string" }, "namespace": { "description": "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview", "type": "string" }, "resource": { "description": "Resource is one of the existing resource types. \"*\" means all.", "type": "string" }, "subresource": { "description": "Subresource is one of the existing resource types. \"\" means none.", "type": "string" }, "verb": { "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", "type": "string" }, "version": { "description": "Version is the API Version of the Resource. \"*\" means all.", "type": "string" } }, "type": "object" } }, "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "properties": { "extra": { "additionalProperties": { "items": { "type": [ "string", "null" ] }, "type": [ "array", "null" ] }, "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", "type": [ "object", "null" ] }, "groups": { "description": "Groups is the groups you're testing for.", "items": { "type": [ "string", "null" ] }, "type": [ "array", "null" ] }, "nonResourceAttributes": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1_NonResourceAttributes", "description": "NonResourceAttributes describes information for a non-resource access request" }, "resourceAttributes": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1_ResourceAttributes", "description": "ResourceAuthorizationAttributes describes information for a resource access request" }, "uid": { "description": "UID information about the requesting user.", "type": [ "string", "null" ] }, "user": { "description": "User is the user you're testing for. If you specify \"User\" but not \"Groups\", then is it interpreted as \"What if User were not a member of any groups", "type": [ "string", "null" ] } }, "type": "object" }
kb_1044_Normalized
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "properties": { "compilerOptions": { "additionalProperties": false, "description": "mruby\u30b3\u30f3\u30d1\u30a4\u30e9\u3078\u306e\u6307\u5b9a", "properties": { "check_syntax_only": { "description": "\u69cb\u6587\u30c1\u30a7\u30c3\u30af\u306e\u307f\u3092\u884c\u3044\u3001.mrb\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3057\u306a\u3044", "type": "boolean" }, "debug": { "description": "\u30c7\u30d0\u30c3\u30b0\u60c5\u5831\u3092\u751f\u6210\u3059\u308b", "type": "boolean" }, "endian": { "description": "iseq\u60c5\u5831\u306e\u30a8\u30f3\u30c7\u30a3\u30a2\u30f3\u3092\u6307\u5b9a", "enum": [ "big", "little" ], "type": "string" }, "verbose": { "description": "\u8a73\u7d30\u51fa\u529b\u30e2\u30fc\u30c9\u3092\u6709\u52b9\u306b\u3059\u308b(\u69cb\u6587\u89e3\u6790\u6728\u3068\u9006\u30a2\u30bb\u30f3\u30d6\u30eb\u3092\u51fa\u529b)", "type": "boolean" } }, "type": "object" }, "exclude": { "description": "\u30b3\u30f3\u30d1\u30a4\u30eb\u5bfe\u8c61\u304b\u3089\u9664\u5916\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3084glob\u30d1\u30bf\u30fc\u30f3\u306e\u30ea\u30b9\u30c8", "items": { "type": "string" }, "type": "array" }, "include": { "description": "\u30b3\u30f3\u30d1\u30a4\u30eb\u5bfe\u8c61\u306b\u542b\u3081\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3084glob\u30d1\u30bf\u30fc\u30f3\u306e\u30ea\u30b9\u30c8", "items": { "type": "string" }, "type": "array" } }, "type": "object" }
o55443
{ "$schema": "http://json-schema.org/draft-04/schema", "title": "Event", "description": "Describes information about events", "type": "object", "properties": { "scope": { "description": "scope of the revenue result", "enum": [ "company", "city", "station", "pump", "tank" ] }, "id": { "description": "unique identifier for the scope of the event list", "type": "string" }, "events": { "description": "list of events", "type": "array", "items": { "description": "type of event being reported", "type": "object", "oneOf": [ { "$ref": "#/definitions/pumpfail" }, { "$ref": "#/definitions/pumpactive" }, { "$ref": "#/definitions/pumpinactive" }, { "$ref": "#/definitions/tankleak" }, { "$ref": "#/definitions/tankactive" }, { "$ref": "#/definitions/tankinactive" }, { "$ref": "#/definitions/tankfill" } ] } } }, "required": [ "scope", "id", "events" ], "definitions": { "pumpfail": { "properties": { "type": { "enum": [ "pumpfail" ] }, "id": { "description": "unique identifier of the pump for this event", "type": "string" }, "when": { "description": "whethis event occurred", "type": "string" } }, "required": [ "type", "id", "when" ] }, "pumpactive": { "properties": { "type": { "enum": [ "pumprepaired" ] }, "id": { "description": "unique identifier of the pump for this event", "type": "string" }, "when": { "description": "when this event occurred", "type": "string" } }, "required": [ "type", "id", "when" ] }, "pumpinactive": { "properties": { "type": { "enum": [ "pumprepaired" ] }, "id": { "description": "unique identifier of the pump for this event", "type": "string" }, "when": { "description": "when this event occurred", "type": "string" } }, "required": [ "type", "id", "when" ] }, "tankleak": { "properties": { "type": { "enum": [ "tankleak" ] }, "id": { "description": "unique identifier of the tank for this event", "type": "string" }, "rate": { "description": "leakage rate that was detected", "type": "number" }, "when": { "description": "when this event occurred", "type": "string" } }, "required": [ "type", "id", "rate", "when" ] }, "tankactive": { "properties": { "type": { "enum": [ "tankrepaired" ] }, "id": { "description": "unique identifier of the tank for this event", "type": "string" }, "when": { "description": "when this event occurred", "type": "string" } }, "required": [ "type", "id", "when" ] }, "tankinactive": { "properties": { "type": { "enum": [ "tankrepaired" ] }, "id": { "description": "unique identifier of the tank for this event", "type": "string" }, "when": { "description": "when this event occurred", "type": "string" } }, "required": [ "type", "id", "when" ] }, "tankfill": { "properties": { "type": { "enum": [ "tankfill" ] }, "id": { "description": "unique identifier of the tank for this event", "type": "string" }, "when": { "description": "when this event occurred", "type": "string" } }, "required": [ "type", "id", "when" ] } } }
o64819
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "status": { "type": "string" }, "data": { "type": "object", "properties": { "user_id": { "type": "string" }, "username": { "type": "string" }, "state_token": { "type": "string" }, "devices": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" } }, "required": [ "id", "name" ] } }, "client_token": { "type": "null" } }, "required": [ "user_id", "username", "state_token", "devices", "client_token" ] } }, "required": [ "status", "data" ] }
o11801
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "Unattended upgrades plugin manifest", "type": "object", "properties": { "plugins": { "type": "object", "properties": { "unattended_upgrades": { "type": "object", "properties": { "update_interval": { "type": "integer" }, "download_interval": { "type": "integer" }, "upgrade_interval": { "type": "integer" } }, "required": [ "update_interval", "download_interval", "upgrade_interval" ] } }, "required": [ "unattended_upgrades" ] } }, "required": [ "plugins" ] }
o27358
{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://github.com/Enfernuz/quik-lua-rpc/json/schema/SetTableNotificationCallback.result.scheme.json", "title": "\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b SetTableNotificationCallback", "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 SetTableNotificationCallback", "type": "object", "properties": { "result": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 result", "type": "integer" } }, "additionalProperties": false }
o5172
{ "definitions": { "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TopologySelectorLabelRequirement": { "description": "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.", "properties": { "key": { "description": "The label key that the selector applies to.", "type": "string" }, "values": { "description": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed.", "items": { "type": "string" }, "type": "array" } }, "required": [ "key", "values" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TopologySelectorTerm": { "description": "A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.", "properties": { "matchLabelExpressions": { "description": "A list of topology selector requirements by labels.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TopologySelectorLabelRequirement" }, "type": "array" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1": { "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff", "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry": { "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.", "properties": { "apiVersion": { "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.", "type": "string" }, "fieldsType": { "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"", "type": "string" }, "fieldsV1": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1", "description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type." }, "manager": { "description": "Manager is an identifier of the workflow managing these fields.", "type": "string" }, "operation": { "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.", "type": "string" }, "time": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time", "description": "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta": { "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", "properties": { "annotations": { "additionalProperties": { "type": "string" }, "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", "type": "object" }, "clusterName": { "description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.", "type": "string" }, "creationTimestamp": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time", "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "deletionGracePeriodSeconds": { "_format": "int64", "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", "type": "integer" }, "deletionTimestamp": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time", "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "finalizers": { "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.", "items": { "type": "string" }, "type": "array", "x-kubernetes-patch-strategy": "merge" }, "generateName": { "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency", "type": "string" }, "generation": { "_format": "int64", "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", "type": "integer" }, "labels": { "additionalProperties": { "type": "string" }, "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", "type": "object" }, "managedFields": { "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry" }, "type": "array" }, "name": { "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names", "type": "string" }, "namespace": { "description": "Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces", "type": "string" }, "ownerReferences": { "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_OwnerReference" }, "type": "array", "x-kubernetes-patch-merge-key": "uid", "x-kubernetes-patch-strategy": "merge" }, "resourceVersion": { "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", "type": "string" }, "selfLink": { "description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.", "type": "string" }, "uid": { "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", "type": "string" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_OwnerReference": { "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.", "properties": { "apiVersion": { "description": "API version of the referent.", "type": "string" }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", "type": "boolean" }, "controller": { "description": "If true, this reference points to the managing controller.", "type": "boolean" }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "name": { "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", "type": "string" }, "uid": { "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", "type": "string" } }, "required": [ "apiVersion", "kind", "name", "uid" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time": { "_format": "date-time", "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": "string" } }, "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", "type": [ "boolean", "null" ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TopologySelectorTerm" }, "type": [ "array", "null" ] }, "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "enum": [ "storage.k8s.io/v1beta1" ], "type": [ "string", "null" ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "enum": [ "StorageClass" ], "type": [ "string", "null" ] }, "metadata": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "mountOptions": { "description": "Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid.", "items": { "type": [ "string", "null" ] }, "type": [ "array", "null" ] }, "parameters": { "additionalProperties": { "type": [ "string", "null" ] }, "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", "type": [ "object", "null" ] }, "provisioner": { "description": "Provisioner indicates the type of the provisioner.", "type": [ "string", "null" ] }, "reclaimPolicy": { "description": "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.", "type": [ "string", "null" ] }, "volumeBindingMode": { "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.", "type": [ "string", "null" ] } }, "required": [ "provisioner" ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "storage.k8s.io", "kind": "StorageClass", "version": "v1beta1" } ] }
kb_1027_Normalized
{ "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "app": { "type": "string" }, "elapsedTime": { "description": "elapsed time of the operation in milliseconds", "type": "integer" }, "tenantEvent": { "type": "object", "additionalProperties": false, "required": [ "kind" ], "properties": { "kind": { "enum": [ "patchSetApplyRebootStart", "bumpSecurityGenerationRebootStart", "simpleRebootStart", "tenantPreHaltStart", "tenantPreHaltComplete", "tenantHaltStart", "tenantHaltComplete", "appPatchesApplyStart", "appPatchesApplyComplete", "bumpSecurityGenerationComplete", "tenantPreStartStart", "tenantPreStartComplete", "tenantStartStart", "tenantStartComplete", "patchSetApplyRebootComplete", "bumpSecurityGenerationRebootComplete", "simpleRebootComplete" ] } } }, "appEvent": { "type": "object", "additionalProperties": false, "required": [ "kind", "app" ], "properties": { "kind": { "enum": [ "appPreHaltStart", "appPreHaltError", "appPreHaltTimeout", "appPreHaltComplete", "appHaltStart", "appHaltError", "appHaltTimeout", "appHaltComplete", "appPreStartStart", "appPreStartError", "appPreStartTimeout", "appPreStartComplete", "appStartStart", "appStartError", "appStartTimeout", "appStartComplete", "appInstallStart", "appInstallError", "appInstallTimeout", "appInstallComplete", "appUninstallStart", "appUninstallError", "appUninstallTimeout", "appUninstallComplete", "appEditComplete" ] }, "app": { "$ref": "#/definitions/app" } } }, "tenantStatusEvent": { "type": "object", "additionalProperties": false, "required": [ "kind", "incarnation", "securityGeneration" ], "properties": { "kind": { "enum": [ "tenantStatusEvent" ] }, "incarnation": { "type": "integer" }, "securityGeneration": { "type": "integer" } } }, "orderedEvent": { "type": "object", "properties": { "seq": { "type": "integer" }, "time": { "type": "string", "format": "date-time" }, "event": { "oneOf": [ { "$ref": "#/definitions/tenantEvent" }, { "$ref": "#/definitions/appEvent" }, { "$ref": "#/definitions/tenantStatusEvent" } ] } }, "required": [ "seq", "time", "event" ], "additionalProperties": false } }, "type": "object", "additionalProperties": false, "required": [ "status" ], "properties": { "status": { "enum": [ "notLaunched", "inProcess", "complete" ] }, "latestEvent": { "type": "integer" }, "continuePage": { "type": "string", "description": "the URI that the browser should redirect the user to once this reboot is complete, possibly at a new storefront if a patch set apply swapped out the current one" }, "events": { "type": "array", "items": { "$ref": "#/definitions/orderedEvent" } } } }
o79482
{ "description": "A list of project definitions for the Buddah site", "items": { "properties": { "description": { "description": "The short description of a project", "type": "string" }, "homepage": { "_format": "uri", "description": "The URL of a project's homepage, for example a website or Nexus Mods file entry URL", "type": "string" }, "keywords": { "description": "A list of keywords for a project", "items": { "id": "A keyword", "type": "string" }, "minItems": 1, "type": "array", "_uniqueItems": true }, "license": { "description": "The license or licenses under which the project is licensed", "items": { "id": "A SPDX license identifier, or a URL to a license if it has no SPDX identifier", "type": "string" }, "type": [ "string", "array" ] }, "name": { "description": "The name of a project", "type": "string" }, "repository": { "_format": "uri", "description": "The URL at which a project's source code can be found, for example a version control repository or source download host", "type": "string" } }, "required": [ "name", "keywords" ], "title": "A project definition", "type": "object" }, "title": "Project definitions", "type": "array", "_uniqueItems": true }
o17520
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "Generic ADS record", "description": "metadata record from random source", "type": "object", "properties": { "authors": { "type": "array", "items": { "type": "string" }, "minItems": 1, "_uniqueItems": true }, "affiliations": { "type": "array", "items": { "type": "string" } }, "title": { "description": "the title of the work", "type": "string" }, "pubdate": { "description": "the publication date of the work", "type": "string" }, "source": { "description": "the publisher of this metadata", "type": "string" }, "keywords": { "type": "array", "items": { "type": "string" }, "_uniqueItems": true }, "abstract": { "description": "summary of the work", "type": "string" }, "references": { "type": "array", "items": { "type": "string" }, "_uniqueItems": true }, "properties": { "type": "object", "properties": { "DOI": { "type": "string" }, "PDF": { "type": "string" }, "OPEN": { "type": "number" }, "ELECTR": { "type": "string" } } }, "bibcode": { "type": "string" } }, "required": [ "authors", "title", "pubdate" ], "additionalProperties": false }
o19103
{ "$id": "https://json.schemastore.org/cloud-sdk-pipeline-config-schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "dockerImage": { "description": "The image used in the step or stage.", "type": "string" }, "org": { "description": "Cloud Foundry organization.", "type": "string" }, "space": { "description": "Cloud Foundry space.", "type": "string" }, "appName": { "description": "Name of the application.", "type": "string" }, "manifest": { "description": "Manifest file that needs to be used.", "type": "string" }, "credentialsId": { "description": "ID to the credentials that will be used.", "type": "string" }, "apiEndpoint": { "description": "URL to the Cloud Foundry endpoint.", "type": "string", "default": "https://api.cf.eu10.hana.ondemand.com" }, "mtaExtensionDescriptor": { "description": "(Only for MTA-projects) Path to the mta extension description file. For more information on how to use those extension files please visit the SAP HANA Developer Guide.", "type": "string" }, "mtaExtensionCredentials": { "description": "(Only for MTA-projects) Map of credentials that need to be replaced in the mtaExtensionDescriptor. This map needs to be created as value-to-be-replaced:id-of-a-credential-in-jenkins", "type": "string" }, "host": { "description": "Host of the region you want to deploy to, see Regions.", "type": "string" }, "account": { "description": "Identifier of the subaccount.", "type": "string" }, "application": { "description": "Name of the application in your account.", "type": "string" }, "environment": { "description": "Map of environment variables in the form of KEY: VALUE.", "type": "object" }, "vmArguments": { "description": "String of VM arguments passed to the JVM.", "type": "string" }, "size": { "description": "Size of the JVM, e.g. lite, pro, prem, prem-plus.", "type": "string", "default": "lite" }, "runtime": { "description": "Name of the runtime: neo-java-web, neо-javaee6-wp, neо-javaee7-wp. See the runtime for more information.", "type": "string" }, "runtimeVersion": { "description": "Version of the runtime. See runtime-version for more information.", "type": "string" }, "neoTargets": { "type": "array", "items": { "type": "object", "properties": { "host": { "$ref": "#/definitions/host" }, "account": { "$ref": "#/definitions/account" }, "application": { "$ref": "#/definitions/application" }, "credentialsId": { "$ref": "#/definitions/credentialsId" }, "environment": { "$ref": "#/definitions/environment" }, "vmArguments": { "$ref": "#/definitions/vmArguments" }, "size": { "$ref": "#/definitions/size" }, "runtime": { "$ref": "#/definitions/runtime" }, "runtimeVersion": { "$ref": "#/definitions/runtimeVersion" } }, "required": [ "host", "account", "application", "runtime", "runtimeVersion" ], "additionalProperties": false } }, "appUrls": { "type": "array", "items": { "type": "object", "properties": { "url": { "description": "The URLs under which the app is available after deployment. Each appUrl can be a string with the URL or a map containing a property url and a property credentialId.", "type": "string" }, "credentialId": { "description": "ID to the credentials that will be used to connect to the SAP Cloudplatform account.", "type": "string" }, "parameters": { "description": "Additional parameters can be passed for each end-to-end test deployment by specifying optional parameters for an application URL. These parameters are appended to the npm command during execution. These parameters must be a list of strings, where each string corresponds to one element of the parameters. For example, if the parameter `--tag scenario1` should be passed to the test, specify parameters: ['--tag', 'scenario1'].", "type": "array" } }, "required": ["url"], "additionalProperties": false } }, "cfTargets": { "type": "array", "items": { "type": "object", "properties": { "org": { "$ref": "#/definitions/org" }, "space": { "$ref": "#/definitions/space" }, "appName": { "$ref": "#/definitions/appName" }, "manifest": { "$ref": "#/definitions/manifest" }, "credentialsId": { "$ref": "#/definitions/credentialsId" }, "apiEndpoint": { "$ref": "#/definitions/apiEndpoint" }, "mtaExtensionDescriptor": { "$ref": "#/definitions/mtaExtensionDescriptor" }, "mtaExtensionCredentials": { "$ref": "#/definitions/mtaExtensionCredentials" } }, "additionalProperties": false } }, "cloudFoundry": { "description": "A map specifying the Cloud Foundry specific parameters.", "type": "object", "properties": { "org": { "$ref": "#/definitions/org" }, "space": { "$ref": "#/definitions/space" }, "appName": { "$ref": "#/definitions/appName" }, "manifest": { "$ref": "#/definitions/manifest" }, "credentialsId": { "$ref": "#/definitions/credentialsId" }, "apiEndpoint": { "$ref": "#/definitions/apiEndpoint" }, "mtaExtensionDescriptor": { "$ref": "#/definitions/mtaExtensionDescriptor" }, "mtaExtensionCredentials": { "$ref": "#/definitions/mtaExtensionCredentials" } }, "additionalProperties": false } }, "description": "The configuration file of the SAP Cloud SDK Continuous Delivery Toolkit. For more information please visit https://github.com/SAP/cloud-s4-sdk-pipeline", "postActions": { "type": "object", "properties": { "sendNotification": { "description": "The sendNotification post-build action can be used to send notifications to project members in case of an unsuccessful build outcome or if the build goes back to normal. By default, an email is sent to the list of users who committed a change since the last non-broken build. Additionally, a set of recipients can be defined that should always receive notifications.", "type": ["object", "null"], "properties": { "enabled": { "description": "If set to true, notifications will be sent.", "type": "boolean", "default": false }, "skipFeatureBranches": { "description": "If set to true, notifications will only be sent for the productive branch as defined in the general configuration section.", "type": "boolean", "default": false }, "recipients": { "description": "List of email addresses that should be notified in addition to the standard recipients.", "type": "array", "items": { "type": "string" } } } } } }, "properties": { "customDefaults": { "description": "List of paths or URLs to YAML files with custom defaults to consider. These defaults override built-in defaults, and can be shared across multiple projects. Project configuration takes precedence.", "type": "array", "items": { "type": "string" } }, "general": { "description": "The general configuration of the pipeline", "type": ["object", "null"], "properties": { "productiveBranch": { "description": "The name of your default branch. This branch will be used for deploying your application. Other branches will skip deployment.", "type": "string", "default": "master" }, "projectName": { "description": "Name of the project. Will be used as identifier e.g. when creating a hdi container or executing code scans.", "type": "string" }, "globalExtensionsRepository": { "description": "Git url of the repository containing the extensions.", "type": "string" }, "globalExtensionsVersion": { "description": "Version of the extensions which should be used, e.g. the tag name", "type": "string" }, "globalExtensionsRepositoryCredentialsId": { "description": "Credentials required to clone the repository", "type": "string" }, "collectTelemetryData": { "description": "No personal data is collected. For details, consult the analytics documentation.", "type": "boolean", "default": true }, "unsafeMode": { "description": "Enable unsafe mode to skip checking environment variables for insecure elements. Only use this for demo purposes, never for productive usage.", "type": "boolean", "default": false }, "features": { "description": "Allows enabling or disable certain optional features.", "type": "object", "properties": { "parallelTestExecution": { "description": "Run E2E Tests in parallel. This feature is disabled by default because it is not supported in Blue Ocean. If this feature is enabled, we suggest not using the Blue Ocean interface and rely on the classic UI instead.", "type": "string", "enum": ["on", "off"], "default": "off" } }, "additionalProperties": true }, "jenkinsKubernetes": { "description": "If the Jenkins is running on a kubernetes cluster as a pod, we can use the dynamic scaling feature in the pipeline. In order to enable this, an environment variable ON_K8S has to be set to true on the jenkins.", "type": "object", "properties": { "jnlpAgent": { "description": "Docker image for jnlp agent to be used.", "type": "string", "default": "jenkins/jnlp-slave:latest" } }, "additionalProperties": true } }, "additionalProperties": false }, "stages": { "description": "Configuration, which will modify the behaviour of stages in the SAP Cloud SDK Pipeline.", "type": ["object", "null"], "properties": { "backendIntegrationTests": { "type": "object", "properties": { "retry": { "description": "The number of times that integration tests will retry before aborting the build. Note: This will consume more time for the jenkins build.", "type": "integer", "default": 1 }, "forkCount": { "description": "The number of JVM processes that are spawned to run the tests in parallel in case of using a maven based project structure. For more details visit the surefire documentation.", "type": "string", "default": "1C" }, "credentials": { "description": "The list of system credentials to be injected during integration tests. The following example will provide the username and password for the systems with the aliases ERP and SFSF. For this, it will use the Jenkins credentials entries erp-credentials and successfactors-credentials. You have to ensure that corresponding credential entries exist in your Jenkins configuration.", "type": "array", "items": { "type": "object", "properties": { "alias": { "type": "string" }, "credentialId": { "type": "string" } }, "required": ["alias", "credentialId"], "additionalProperties": false } }, "sidecarImage": { "description": "Name of the Docker image that should be used.", "type": "string" }, "sidecarName": { "description": "On Docker: Name of the container in the local network. On Kubernetes: Name of the container.", "type": "string" }, "sidecarReadyCommand": { "description": "Command executed inside the container, which returns exit code 0 when the container is ready to be used.", "type": "string" }, "sidecarEnvVars": { "description": "Environment variables to set in the container.", "type": "object" } }, "additionalProperties": false }, "frontEndIntegrationTests": { "type": "object", "properties": { "dockerImage": { "$ref": "#/definitions/dockerImage" } }, "additionalProperties": false }, "frontEndUnitTests": { "type": "object", "properties": { "dockerImage": { "$ref": "#/definitions/dockerImage" } }, "additionalProperties": false }, "endToEndTests": { "type": "object", "properties": { "enableZeroDowntimeDeployment": { "description": "It is possible to activate zero downtime deployment in end-to-end tests with the option enableZeroDowntimeDeployment. This will lead to a blue-green-deployment on SCP Cloud Foundry respectively to a rolling update on SCP Neo. By default, this feature is turned off.", "type": "boolean" }, "onlyRunInProductiveBranch": { "description": "Running end-to-end tests can be restricted to the productiveBranch with the option onlyRunInProductiveBranch. This might be useful when the end-to-end tests slow down development, and build failure on the productiveBranch is acceptable. By default, this feature is turned off.", "type": "boolean" }, "appUrls": { "$ref": "#/definitions/appUrls" } } }, "npmAudit": { "description": "This stage uses the npm audit command to check for known vulnerabilities in dependencies.", "type": "object", "properties": { "auditedAdvisories": { "description": "In case you audited an advisory, and it turns out to be a false positive, you can mark it as audited by adding its id to the auditedAdvisories in the stage configuration. A false positive in this case is when you are confident your application is not affected in any way by the underlying bug or vulnerability.", "type": "array", "items": { "type": ["integer", "string"] } } }, "additionalProperties": false }, "performanceTests": { "type": "object", "properties": { "neoTargets": { "$ref": "#/definitions/neoTargets" }, "cfTargets": { "$ref": "#/definitions/cfTargets" } } }, "s4SdkQualityChecks": { "type": "object", "properties": { "jacocoExcludes": { "description": "A list of exclusions expressed as an Ant-style pattern relative to the application folder. An example can be found below.", "type": "array", "items": { "type": "string" } }, "customOdataServices": { "description": "We recommend only using OData services listed in the in SAP API Business Hub. Despite that for using custom business objects you can add those APIs here.", "type": "array", "items": { "type": "string" } }, "nonErpDestinations": { "description": "List of destination names that do not refer to ERP systems. Use this parameter to exclude specific destinations from being checked in context of ERP API whitelists.", "type": "array", "items": { "type": "string" } }, "nonErpUrls": { "description": "List of URLs that are not defined as destinations. Use this parameter to exclude specific URLs from being checked in context of ERP API whitelists.", "type": "array", "items": { "type": "string" } }, "codeCoverageFrontend": { "description": "A map containing the thresholds unstable and failing. If the code coverage is lower than what is configured in unstable, the pipeline result is unstable. If it is lower than what is configured in failing, the pipeline will fail.", "type": "object" }, "threshold": { "type": "object", "description": "This setting allows the code coverage to be stricter compared to the default values. By default, the pipeline will fail if the coverage is below 65% line coverage (unstableCoverage), and will be unstable if it is less than 70% (successCoverage). If lower numbers are configured, or this configuration is left out, the default values are applied.", "properties": { "successCoverage": { "type": "integer", "minimum": 70 }, "unstableCoverage": { "type": "integer", "minimum": 65 } }, "additionalProperties": false, "required": ["successCoverage", "unstableCoverage"] }, "disabledChecks": { "description": "A list of checks which should not be executed. Possible values are: checkDeploymentDescriptors (Check for insecure options, such as ALLOW_MOCKED_AUTH_HEADER in deployment descriptors), checkResilience(Check that application is resilient to faults in the network), checkServices (Check that only official APIs are used), checkFrontendCodeCoverage (Ensures high frontend code coverage), checkBackendCodeCoverage (Ensures high backend code coverage)", "type": "array", "items": { "type": "string", "enum": [ "checkDeploymentDescriptors", "checkResilience", "checkServices", "checkFrontendCodeCoverage", "checkBackendCodeCoverage" ] }, "default": [] } }, "additionalProperties": false }, "checkmarxScan": { "description": "Checkmarx is one of the security analysis tools which is supported by the pipeline.", "type": "object", "properties": { "groupId": { "description": "Checkmarx Group ID", "type": "string" }, "checkMarxProjectName": { "description": "Name of the project on Checkmarx server.", "type": "string" }, "filterPattern": { "description": "Files which needs to be skipped during scanning.", "type": "string", "default": "!**/*.log, !**/*.lock, !**/*.json, !**/*.html, !**/Cx*, !**/test/**, !s4hana_pipeline/**, !**/unit-tests/**, !**/integration-tests/**, !**/frontend-unit-tests/**, !**/e2e-tests/**, !**/performance-tests/**, **/*.js, **/*.java, **/*.ts" }, "fullScansScheduled": { "description": "Toggle to enable or disable full scan on a certain schedule.", "type": "boolean", "default": false }, "incremental": { "description": "Perform incremental scan with every run. If turned false, complete project is scanned on every submission.", "type": "boolean", "default": true }, "vulnerabilityThresholdMedium": { "description": "The threshold for medium level threats. If the findings are greater than this value, pipeline execution will result in failure.", "type": "integer", "default": 0 }, "vulnerabilityThresholdLow": { "description": "The threshold for low level threats. If the findings are greater than this value, pipeline execution will result in failure.", "type": "integer", "default": 99999 }, "preset": { "description": "Name or numerical ID of Checkmarx preset to be used when scanning this project. When a name (string) is specified, the pipeline will try to discover the corresponding numerical ID via the Checkmarx API. Please also make sure to specify checkmarxCredentialsId and checkmarxServerUrl in such a case. For determining available presets in your Checkmarx webclient, go to Checkmarx -> Management -> Scan Settings -> Preset Manager. Alternatively, you can determine the numerical ID of your targeted preset by following those guides: Token-based Authentication and Get All Preset Details.", "type": ["integer", "string"], "default": 36 }, "checkmarxCredentialsId": { "description": "The Credential ID to connect to Checkmarx server. The credentials must be type username with password. This property becomes mandatory if the credentials are not configured in the Jenkins plugin itself.", "type": "string" }, "checkmarxServerUrl": { "description": "An URL to Checkmarx server. This property becomes mandatory if the URL to the Checkmarx server is not configured in the Jenkins plugin itself or if the checkmarxCredentialsId is configured.", "type": "string" }, "generatePdfReport": { "description": "Possibility to generate PDF reports of the scan.", "type": "boolean" } }, "required": ["groupId"], "additionalProperties": false }, "productionDeployment": { "type": "object", "properties": { "appUrls": { "$ref": "#/definitions/appUrls" }, "neoTargets": { "$ref": "#/definitions/neoTargets" }, "cfTargets": { "$ref": "#/definitions/cfTargets" } } }, "artifactDeployment": { "description": "The deployment of artifacts to nexus can be configured with a map containing the following properties.", "type": "object", "properties": { "nexus": { "type": "object", "properties": { "version": { "description": "Version of nexus. Can be nexus2 or nexus3.", "type": "string", "enum": ["nexus2", "nexus3"], "default": "nexus3" }, "url": { "description": "URL of the nexus. The scheme part of the URL will not be considered, because only http is supported.", "type": "string" }, "mavenRepository": { "description": "Name of the nexus repository for Maven and MTA artifacts. Ignored if the project does not contain pom.xml or mta.yml in the project root.", "type": "string" }, "npmRepository": { "description": "Name of the nexus repository for NPM artifacts. Ignored if the project does not contain a package.json in the project root directory.", "type": "string" }, "credentialsId": { "$ref": "#/definitions/credentialsId" } }, "required": ["url", "repository"] } }, "additionalProperties": true }, "whitesourceScan": { "description": "Configure credentials for WhiteSource scans. The minimum required Maven WhiteSource plugin version is 18.6.2, ensure this in the plugins section of the project pom.xml file.\n\nPipeline will execute npx whitesource run for npm projects. Please ensure that all package.json files have a name and version configured so that it is possible to distinguish between the different packages.", "type": "object", "properties": { "product": { "description": "Name of your product in WhiteSource.", "type": "string" }, "staticVersion": { "description": "Overwrites the respective version in the whitesource UI per scan with the staticVersion. Per default for every new version of a pom/package.json a new project will be created in the whitesource UI. To deactivate the creation of new projects and always have a fixed version for each project in the whitesource UI, configure the staticVersion.", "type": "string" }, "credentialsId": { "$ref": "#/definitions/credentialsId" }, "whitesourceUserTokenCredentialsId": { "description": "Unique identifier of the Secret Text on Jenkins server that stores WhiteSource userKey of a user. This is required only if the administrator of the WhiteSource service has enabled additional access level control. More details can be found here.", "type": "string" } }, "required": ["product", "credentialsId"], "additionalProperties": true }, "sourceClearScan": { "description": "Configure SourceClear scans.Note: Please note that the SourceClear stage of this pipeline is not actively maintained anymore. In case of issues, feel free to contribute to this project by opening a pull request.", "type": "object", "properties": { "credentialsId": { "$ref": "#/definitions/credentialsId" }, "config": { "description": "Additional configuration for the SourceClear agent. The key-value pairs will be added to srcclr.yml.", "type": "object", "properties": { "vuln_methods_extra_ignored_directories": { "type": "string" }, "scope": { "type": "string" } } } }, "required": ["credentialsId"], "additionalProperties": false }, "compliance": { "description": "Configure the stage Compliance, which currently executes a SonarQube (https://www.sonarqube.org/) scan.", "type": "object", "properties": { "runInAllBranches": { "description": "Define whether the scan should also happen in non productive branches, i.e. if your SonarQube instance supports that.", "type": "boolean", "default": false } }, "additionalProperties": false } } }, "steps": { "type": ["object", "null"], "properties": { "mavenExecute": { "description": "The mavenExecute step is used for all invocations of the mvn build tool. It is either used directly for executing specific maven phases such as test, or indirectly for steps that execute maven plugins such as checkPmd.", "type": "object", "properties": { "dockerImage": { "$ref": "#/definitions/dockerImage", "default": "maven:3.6.3-jdk-8-slim" }, "projectSettingsFile": { "description": "The project settings.xml to be used for maven builds. You can specify a relative path to your project root or a URL starting with http or https.", "type": "string" } } }, "artifactPrepareVersion": { "description": "If automatic versioning is enabled, this step is used to set a common version for artifacts and optionally push a corresponding tag.", "type": "object", "properties": { "dockerImage": { "$ref": "#/definitions/dockerImage" }, "commitUserName": { "description": "Defines the user name which appears in version control for the versioning update (in case versioningType: cloud).", "type": "string" }, "includeCommitId": { "description": "Defines if the automatically generated version (versioningType: cloud) should include the commit id hash.", "type": "boolean", "default": "true" }, "tagPrefix": { "description": "Defines the prefix which is used for the git tag which is written during the versioning run (only versioningType: cloud).", "type": "string" }, "unixTimestamp": { "description": "Defines if the Unix timestamp number should be used as build number instead of the standard date format.", "type": "boolean", "default": "false" }, "versioningType": { "description": "Defines the type of versioning (cloud: fully automatic, cloud_noTag: automatic but no tag created, library: manual)", "type": "string" } } }, "executeNpm": { "description": "The executeNpm step is used for all invocations of the npm build tool. It is, for example, used for building the frontend and for executing end to end tests.", "type": "object", "properties": { "dockerImage": { "$ref": "#/definitions/dockerImage", "default": "ppiper/node-browsers:v2" }, "defaultNpmRegistry": { "description": "The default npm registry url to be used as the remote mirror. Bypasses the local download cache if specified.", "type": "string", "default": "npmjs.com" } } }, "executeSourceClearScan": { "type": "object", "properties": { "dockerImage": { "$ref": "#/definitions/dockerImage", "default": "ppiper/mta-archive-builder:v1" } } }, "cloudFoundryDeploy": { "description": "A step configuration regarding Cloud Foundry deployment. This is required by stages like end-to-end tests, performance tests, and production deployment.", "type": "object", "properties": { "dockerImage": { "$ref": "#/definitions/dockerImage", "default": "ppiper/cf-cli:v2" }, "smokeTestStatusCode": { "description": "Expected return code for smoke test success.", "type": "integer", "default": 200 }, "keepOldInstance": { "description": "In case of a blue-green deployment the old instance will be stopped and will remain in the Cloud Foundry space by default. If this option is set to false, the old instance will be deleted.", "type": "boolean", "default": true }, "cloudFoundry": { "$ref": "#/definitions/cloudFoundry" } } }, "neoDeploy": { "type": "object", "properties": { "dockerImage": { "$ref": "#/definitions/dockerImage", "default": "ppiper/neo-cli:v2" }, "neo": { "description": "The map for neo.", "type": "object", "properties": { "host": { "$ref": "#/definitions/host" }, "account": { "$ref": "#/definitions/account" }, "application": { "$ref": "#/definitions/application" }, "credentialsId": { "$ref": "#/definitions/credentialsId" }, "environment": { "$ref": "#/definitions/environment" }, "vmArguments": { "$ref": "#/definitions/vmArguments" }, "size": { "$ref": "#/definitions/size" }, "runtime": { "$ref": "#/definitions/runtime" }, "runtimeVersion": { "$ref": "#/definitions/runtimeVersion" } }, "required": [ "host", "account", "application", "runtime", "runtimeVersion" ], "additionalProperties": false } } }, "checkGatling": { "description": "Gatling is used as one of the performance tests tool.", "type": "object", "properties": { "enabled": { "description": "You can enable Gatling tests by turning the flag to true.", "type": "boolean", "default": false } } }, "checkJMeter": { "description": "Apache JMeter is executed as part of performance tests of the application. The user is free to choose between JMeter and Gatling or both.", "type": "object", "properties": { "options": { "description": "Options such as proxy.", "type": "string" }, "testPlan": { "description": "The directory where the test plans reside. Should reside in a subdirectory under performance-tests directory if both JMeter and Gatling are enabled.", "type": "string", "default": "./performance-tests/*" }, "dockerImage": { "$ref": "#/definitions/dockerImage", "default": "famiko/jmeter-base" }, "failThreshold": { "description": "Marks build as FAILURE if the value exceeds the threshold.", "type": "integer", "default": 100 }, "unstableThreshold": { "description": "Marks build as UNSTABLE if the value exceeds the threshold.", "type": "integer", "default": 90 } } }, "fortifyExecuteScan": { "type": "object", "properties": { "dockerImage": { "$ref": "#/definitions/dockerImage" }, "verbose": { "description": "Sends the verbose output to the Jenkins log.", "type": "boolean", "default": false }, "fortifyCredentialsId": { "description": "Jenkins 'Secret text' credentials ID containing token to authenticate to Fortify SSC.", "type": "string" }, "githubTokenCredentialsId": { "description": "Jenkins 'Secret text' credentials ID containing token to authenticate to GitHub.", "type": "string" }, "serverUrl": { "description": "Fortify SSC Url to be used for accessing the APIs", "type": "string" }, "projectName": { "description": "The project used for reporting results in SSC", "type": "string" }, "defaultVersioningModel": { "description": "The default project versioning model used in case 'projectVersion' parameter is empty for creating the version based on the build descriptor version to report results in SSC, can be one of 'major', 'major-minor', 'semantic', 'full'", "type": "string", "default": "major" }, "buildTool": { "description": "Scan type used for the step which can be 'maven', 'pip'", "type": "string", "default": "maven" }, "autoCreate": { "description": "Whether Fortify project and project version shall be implicitly auto created in case they cannot be found in the backend", "type": "boolean", "default": false }, "uploadResults": { "description": "Whether results shall be uploaded or not", "type": "boolean", "default": true }, "memory": { "description": "The amount of memory granted to the translate/scan executions", "type": "string", "default": "-Xmx4G -Xms512M" }, "src": { "description": "A list of source directories to scan. Wildcards can be used, e.g., 'src/main/java/**/*'. The default value for buildTool: 'maven' is ['**/*.xml', '**/*.html', '**/*.jsp', '**/*.js', '**/src/main/resources/**/*', '**/src/main/java/**/*'], for buildTool: 'pip' it is ['./**/*'].", "type": "array", "items": { "type": "string" } }, "exclude": { "description": "A list of directories/files to be excluded from the scan. Wildcards can be used, e.g., '**/Test.java'.", "type": "array", "items": { "type": "string" } } }, "required": ["fortifyCredentialsId"] }, "whitesourceExecuteScan": { "description": "Configure credentials for WhiteSource scans. The minimum required Maven WhiteSource plugin version is 18.6.2, ensure this in the plugins section of the project pom.xml file.\n\nPipeline will execute npx whitesource run for npm projects. Please ensure that all package.json files have a name configured so that it is possible to distinguish between the different packages.", "type": "object", "properties": { "productName": { "description": "Name of your product in WhiteSource.", "type": "string" }, "productVersion": { "description": "Overwrites the project version in the WhiteSource UI per scan with the given version. Per default, the version from the main build descriptor file is used and transformed according to the versioningModel parameter, i.e. \"1\" for the default model of \"major\".", "type": "string" }, "orgAdminUserTokenCredentialsId": { "$ref": "#/definitions/credentialsId" }, "userTokenCredentialsId": { "description": "Unique identifier of the Secret Text on Jenkins server that stores WhiteSource userKey of a user. This is required only if the administrator of the WhiteSource service has enabled additional access level control. More details can be found here.", "type": "string" } }, "required": ["productName", "orgAdminUserTokenCredentialsId"], "additionalProperties": true }, "mtaBuild": { "type": "object", "properties": { "dockerImage": { "$ref": "#/definitions/dockerImage", "default": "ppiper/mta-archive-builder" }, "buildTarget": { "type": "string", "description": "The target platform to which the mtar can be deployed.", "default": "NEO" }, "mtaBuildTool": { "type": "string", "description": "Choose which tool is used to build your mta project. The default option is `cloudMbt` which is not backwards compatible with the `classic` tool. For more information on migrating from `classic` to `cloudMbt`, please refer to https://sap.github.io/cloud-mta-build-tool/migration/.", "default": "cloudMbt" }, "applicationName": { "description": "The name of the application which is being built. If the parameter has been provided and no mta.yaml exists, the mta.yaml will be automatically generated using this parameter and the information (name and version) from package.json before the actual build starts.", "type": "string" }, "defaultNpmRegistry": { "type": "string", "description": "Url to the npm registry that should be used for installing npm dependencies." }, "dockerOptions": { "type": ["array", "string"], "description": "Docker options to be set when starting the container (List or String)." }, "extension": { "type": "string", "description": "The path to the extension descriptor file." }, "globalSettingsFile": { "type": "string", "description": "Path or url to the mvn settings file that should be used as global settings file." }, "projectSettingsFile": { "type": "string", "description": "Path or url to the mvn settings file that should be used as project settings file." }, "mtaJarLocation": { "type": "string", "description": "The location of the SAP Multitarget Application Archive Builder jar file, including file name and extension. If it is not provided, the SAP Multitarget Application Archive Builder is expected on PATH.", "default": "/opt/sap/mta/lib/mta.jar" } } }, "debugReportArchive": { "description": "The debugReportArchive configuration can be used to create confidential (instead of redacted) debug reports. The difference between the redacted and the confidential debug report is that potentially confidential information, such as the GitHub repository and branch, global extension repository and shared libraries, are included in the confidential debug report. It is the user's responsibility to make sure that the debug report does not contain any confidential information.", "type": "object", "properties": { "shareConfidentialInformation": { "description": "If set to true, a confidential debug report is being generated with each build.", "type": "boolean", "default": false } } }, "sonarExecuteScan": { "description": "Configure SonarQube (https://www.sonarqube.org/) scans.", "type": "object", "properties": { "projectKey": { "description": "The project key is used to refer your project.", "type": "string" }, "instance": { "description": "This property refers to a SonarQube instance, which needs to be defined in the Jenkins.", "type": "string" }, "options": { "type": ["array", "string"], "description": "A list of additional options (in the form of '-Dxy=z') to be passed to the sonar scanner tool." }, "dockerImage": { "$ref": "#/definitions/dockerImage", "default": "ppiper/node-browsers:v3" } }, "required": ["projectKey", "instance"], "additionalProperties": true }, "tmsUpload": { "description": "This step allows you to upload an MTA file (multi-target application archive) and multiple MTA extension descriptors into a TMS (SAP Cloud Platform Transport Management Service) landscape for further TMS-controlled distribution through a TMS-configured landscape.", "type": "object", "properties": { "nodeName": { "description": "Defines the name of the node to which the *.mtar file should be uploaded.", "type": "string" }, "credentialsId": { "description": "Credentials to be used for the file and node uploads to the Transport Management Service.", "type": "string" }, "customDescription": { "description": "Can be used as the description of a transport request. Will overwrite the default.", "type": "string", "default": "<Corresponding Git Commit-ID>" } } } } } }, "title": "SAP Cloud SDK pipeline_config JSON schema", "type": "object" }
cloud-sdk-pipeline-config-schema
{ "description": "A **custom field** defines an abstract field that admissions staff can use to store arbitrary data about an applicant. The data itself is stored in a **custom field answer**.", "links": [ { "description": "List existing custom fields.", "href": "/api/v1/user_identities/:user_identity_id/programs/:program_id/custom_fields", "http_header": { "x-api-key": "0123456789abcdef0123456789abcdef" }, "method": "GET", "rel": "self", "title": "List" } ], "properties": { "custom_fields": { "items": { "properties": { "field_type": { "description": "The type of data that this field stores.", "enum": [ "boolean", "number", "date", "string", "select" ], "example": "select", "type": "string" }, "id": { "description": "Unique identifier for this custom field.", "example": 4, "type": "integer" }, "label": { "description": "Human-readable name of this custom field.", "example": "Preferred house", "type": "string" }, "options": { "description": "When `field_type` is `\"select\"`, this defines the list of allowed values for the field. Otherwise, this is `null`.", "example": [ "Gryffindor", "Hufflepuff", "Ravenclaw", "Slytherin" ], "items": { "type": "string" }, "type": [ "array", "null" ] } }, "type": "object" }, "type": "array" }, "href": { "description": "Hypertext reference to this resource.", "example": "/api/v1/user_identities/1/programs/42023191739237/custom_fields", "pattern": "/api/v1/user_identities/\\d+/programs/\\d+/custom_fields", "type": "string" } }, "strictProperties": true, "title": "Custom Field", "type": "object" }
o9503
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "points": { "type": "array", "items": { "type": "object", "properties": { "latitude": { "type": "number" }, "longitude": { "type": "number" } }, "required": [ "latitude", "longitude" ] } } } }
o9275
{ "properties": { "compounding_frequency": { "description": "The compounding frequency (e.g. annually, monthly)", "type": "string" }, "interest_type": { "description": "The type of interest (e.g. simple, compound)", "type": "string" }, "principal": { "description": "The principal amount", "type": "number" }, "rate": { "description": "The annual interest rate", "type": "number" }, "time": { "description": "The time period in years", "type": "integer" } }, "required": [ "principal", "rate", "time", "compounding_frequency", "interest_type" ], "type": "object" }
calculate_interest_05b257d4
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "TableStreamUpdate", "description": "The data contained in a Table Stream update object", "type": "object", "properties": { "stream": { "type": "array", "items": { "items": { "type": "object", "row": { "type": "array", "items": { "type": "object", "properties": { "color": { "type": "string", "pattern": "^#[0-9a-fA-F]{6}$" }, "background": { "type": "string", "pattern": "^#[0-9a-fA-F]{6}$" }, "value": { "type": "string" } }, "required": [ "value" ] } } } } } } }
o54558
{ "HypertyCommunicationDataObjectInstance": { "properties": { "url": { "type": "string" } }, "required": [ "url" ], "type": "object" }, "HypertyContextDataObjectInstance": { "properties": { "url": { "type": "string" } }, "required": [ "url" ], "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": "#/HypertyContextDataObjectInstance" }, { "$ref": "#/HypertyCommunicationDataObjectInstance" } ], "properties": { "description": { "type": "string" }, "name": { "type": "string" }, "owner": { "type": "string" }, "resources": { "items": { "enum": [ "chat", "audio", "video", "av", "screen", "file", "midi", "activity_context", "availability_context", "location_context", "heart_rate_contexst", "user_steps_context", "battery_context", "sleep_context", "light_context", "humidity_context", "power", "user_activity_context", "user_communication_context" ] }, "type": "array" }, "tags": { "items": { "type": "string" }, "type": "array" } }, "required": [ "owner", "resources", "name" ], "type": "object" }
o69744
{ "additionalProperties": false, "properties": { "$schema": { "type": "string" }, "$tool": { "const": "svg-patterns", "description": "Must be set to svg-patterns.", "type": "string" }, "dist": { "description": "The output file path (relative to the pwd), support .ts .js .json.", "type": "string" }, "url": { "default": "https://gitcdn.xyz/repo/progers/Patterns-Gallery/master/index.html", "description": "Target of raw Patterns-Gallery html page.", "type": "string" } }, "required": [ "$tool", "dist", "url" ], "title": "svg-patterns Config", "type": "object" }
o39085
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "other_attributes": { "description": "Use for other attributes for which we don't yet have curated schema attributes", "type": "object" }, "properties": { "confidence": { "description": "Confidence in accuracy of data", "enum": [ "HIGH", "MEDIUM", "LOW" ], "type": "string" }, "direct": { "description": "Is the control relationship direct or indirect (if unknown, leave blank)?", "type": "boolean" }, "end_date": { "_format": "date", "description": "Latest known date this was known to be a subsidiary", "type": "string" }, "parent_identifier": { "description": "Any unique ID for the controlling company", "type": "string" }, "parent_jurisdiction": { "description": "Jurisdiction where controlling company is based", "minLength": 1, "type": "string" }, "parent_name": { "description": "Name of the controlling company", "minLength": 1, "type": "string" }, "percentage_controlled": { "description": "Percentage of the subsidiary that is controlled (if known), either directly or indirectly", "pattern": "^[0-9]{1,2}0?[.]?[0-9]{0,2}$", "type": "string" }, "retrieved_at": { "_format": "date", "type": "string" }, "sample_date": { "_format": "date", "description": "Date on which this fact was known to be true", "type": "string" }, "source_url": { "description": "Place where this fact can be verified", "minLength": 1, "type": "string" }, "start_date": { "_format": "date", "description": "Earliest known date this was known to be a subsidiary", "type": "string" }, "subsidiary_identifier": { "description": "Any unique id for the subsidiary that might be provided in the source", "type": "string" }, "subsidiary_jurisdiction": { "description": "Jurisdiction of the subsidiary", "minLength": 1, "type": "string" }, "subsidiary_name": { "description": "The name of the subsidiary", "minLength": 1, "type": "string" } }, "required": [ "source_url", "sample_date", "parent_name", "parent_jurisdiction", "subsidiary_name", "subsidiary_jurisdiction" ], "type": "object" }
o65477
{ "$schema": "http://json-schema.org/draft-04/schema", "description": "\u5fae\u4fe1\u5c0f\u7a0b\u5e8f app.json \u7684 schema", "type": "object", "definitions": { "pages": { "type": "array", "items": { "type": "string", "description": "\u9875\u9762\u8def\u5f84" }, "_uniqueItems": true, "description": "\u6bcf\u4e00\u9879\u90fd\u662f\u5b57\u7b26\u4e32\uff0c\u6765\u6307\u5b9a\u5c0f\u7a0b\u5e8f\u7531\u54ea\u4e9b\u9875\u9762\u7ec4\u6210\uff0c\u6570\u7ec4\u7684\u7b2c\u4e00\u9879\u4ee3\u8868\u5c0f\u7a0b\u5e8f\u9996\u9875" } }, "properties": { "pages": { "$ref": "#/definitions/pages" }, "window": { "type": "object", "properties": { "navigationBarBackgroundColor": { "type": "string", "default": "#000000", "description": "\u5bfc\u822a\u680f\u80cc\u666f\u989c\u8272\uff0cHexColor" }, "navigationBarTextStyle": { "type": "string", "description": "\u5bfc\u822a\u680f\u6807\u9898\u989c\u8272\uff0c\u4ec5\u652f\u6301 black/white", "default": "white", "enum": [ "white", "black" ] }, "navigationBarTitleText": { "type": "string", "description": "\u5bfc\u822a\u680f\u6807\u9898\u6587\u5b57\u5185\u5bb9" }, "navigationStyle": { "type": "string", "enum": [ "default", "custom" ], "default": "default", "description": "\u5bfc\u822a\u680f\u6837\u5f0f,\u5fae\u4fe1\u5ba2\u6237\u7aef 6.6.0" }, "backgroundColor": { "type": "string", "default": "#ffffff", "description": "\u7a97\u53e3\u7684\u80cc\u666f\u8272\uff0c HexColor" }, "backgroundTextStyle": { "type": "string", "default": "dark", "enum": [ "dark", "light" ], "description": "\u4e0b\u62c9\u80cc\u666f\u5b57\u4f53\u3001loading \u56fe\u7684\u6837\u5f0f\uff0c\u4ec5\u652f\u6301 dark/light" }, "backgroundColorTop": { "type": "string", "description": "\u9876\u90e8\u7a97\u53e3\u7684\u80cc\u666f\u8272\uff0c\u4ec5 iOS \u652f\u6301,\u5fae\u4fe1\u5ba2\u6237\u7aef 6.5.16", "default": "#ffffff" }, "backgroundColorBottom": { "type": "string", "description": "\u5e95\u90e8\u7a97\u53e3\u7684\u80cc\u666f\u8272\uff0c\u4ec5 iOS \u652f\u6301\u5fae\u4fe1\u5ba2\u6237\u7aef 6.5.16", "default": "#ffffff" }, "enablePullDownRefresh": { "type": "boolean", "default": false, "description": "\u662f\u5426\u5f00\u542f\u4e0b\u62c9\u5237\u65b0" }, "onReachBottomDistance": { "type": "number", "default": 50, "description": "\u9875\u9762\u4e0a\u62c9\u89e6\u5e95\u4e8b\u4ef6\u89e6\u53d1\u65f6\u8ddd\u9875\u9762\u5e95\u90e8\u8ddd\u79bb\uff0c\u5355\u4f4d\u4e3apx" }, "pageOrientation": { "type": "string", "description": "\u5c4f\u5e55\u65cb\u8f6c\u8bbe\u7f6e,2.4.0 (auto) / 2.5.0 (landscape)", "default": "portrait", "enum": [ "auto", "portrait", "landscape" ] } }, "description": "\u5168\u5c40\u7684\u9ed8\u8ba4\u7a97\u53e3\u8868\u73b0" }, "tabBar": { "type": "object", "required": [ "color", "selectedColor", "backgroundColor", "list" ], "default": { "color": "", "selectedColor": "", "backgroundColor": "", "list": [] }, "properties": { "color": { "type": "string", "description": "tab \u4e0a\u7684\u6587\u5b57\u9ed8\u8ba4\u989c\u8272" }, "selectedColor": { "type": "string", "description": "tab \u4e0a\u7684\u6587\u5b57\u9009\u4e2d\u65f6\u7684\u989c\u8272" }, "backgroundColor": { "type": "string", "description": "tab \u7684\u80cc\u666f\u8272" }, "borderStyle": { "type": "string", "enum": [ "black", "white" ], "default": "black", "description": "tabbar\u4e0a\u8fb9\u6846\u7684\u989c\u8272\uff0c \u4ec5\u652f\u6301 black/white" }, "position": { "type": "string", "default": "bottom", "enum": [ "bottom", "top" ], "description": "\u53ef\u9009\u503c bottom\u3001top" }, "list": { "type": "array", "items": { "type": "object", "required": [ "pagePath", "text" ], "properties": { "pagePath": { "type": "string", "description": "\u9875\u9762\u8def\u5f84\uff0c\u5fc5\u987b\u5728 pages \u4e2d\u5148\u5b9a\u4e49" }, "text": { "type": "string", "description": "tab \u4e0a\u6309\u94ae\u6587\u5b57" }, "iconPath": { "type": "string", "description": "\u56fe\u7247\u8def\u5f84\uff0cicon \u5927\u5c0f\u9650\u5236\u4e3a40kb\uff0c\u5efa\u8bae\u5c3a\u5bf8\u4e3a 81px * 81px\uff0c\u5f53 postion \u4e3a top \u65f6\uff0c\u6b64\u53c2\u6570\u65e0\u6548\uff0c\u4e0d\u652f\u6301\u7f51\u7edc\u56fe\u7247" }, "selectedIconPath": { "type": "string", "description": "\u9009\u4e2d\u65f6\u7684\u56fe\u7247\u8def\u5f84\uff0cicon \u5927\u5c0f\u9650\u5236\u4e3a40kb\uff0c\u5efa\u8bae\u5c3a\u5bf8\u4e3a 81px * 81px \uff0c\u5f53 postion \u4e3a top \u65f6\uff0c\u6b64\u53c2\u6570\u65e0\u6548" } } }, "minItems": 2, "maxItems": 5 } }, "description": "\u5e95\u90e8 tab \u680f\u7684\u8868\u73b0" }, "networkTimeout": { "type": "object", "properties": { "request": { "type": "number", "default": 60000, "description": "wx.request\u7684\u8d85\u65f6\u65f6\u95f4\uff0c\u5355\u4f4d\u6beb\u79d2\uff0c\u9ed8\u8ba4\u4e3a\uff1a60000" }, "connectSocket": { "type": "number", "default": 60000, "description": "wx.connectSocket\u7684\u8d85\u65f6\u65f6\u95f4\uff0c\u5355\u4f4d\u6beb\u79d2\uff0c\u9ed8\u8ba4\u4e3a\uff1a60000" }, "uploadFile": { "type": "number", "default": 60000, "description": "wx.uploadFile\u7684\u8d85\u65f6\u65f6\u95f4\uff0c\u5355\u4f4d\u6beb\u79d2\uff0c\u9ed8\u8ba4\u4e3a\uff1a60000" }, "downloadFile": { "type": "number", "default": 60000, "description": "wx.downloadFile\u7684\u8d85\u65f6\u65f6\u95f4\uff0c\u5355\u4f4d\u6beb\u79d2\uff0c\u9ed8\u8ba4\u4e3a\uff1a60000" } }, "description": "\u7f51\u7edc\u8d85\u65f6\u65f6\u95f4" }, "debug": { "type": "boolean", "description": "\u53ef\u4ee5\u5728\u5f00\u53d1\u8005\u5de5\u5177\u4e2d\u5f00\u542f debug \u6a21\u5f0f\uff0c\u5728\u5f00\u53d1\u8005\u5de5\u5177\u7684\u63a7\u5236\u53f0\u9762\u677f\uff0c\u8c03\u8bd5\u4fe1\u606f\u4ee5 info \u7684\u5f62\u5f0f\u7ed9\u51fa\uff0c\u5176\u4fe1\u606f\u6709Page\u7684\u6ce8\u518c\uff0c\u9875\u9762\u8def\u7531\uff0c\u6570\u636e\u66f4\u65b0\uff0c\u4e8b\u4ef6\u89e6\u53d1 \u3002 \u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u5b9a\u4f4d\u4e00\u4e9b\u5e38\u89c1\u7684\u95ee\u9898" }, "functionalPages": { "type": "boolean", "description": "\u662f\u5426\u542f\u7528\u63d2\u4ef6\u529f\u80fd\u9875", "default": false }, "subPackages": { "type": "array", "description": "\u5206\u5305\u52a0\u8f7d", "items": { "type": "object", "properties": { "root": { "type": "string", "description": "\u6307\u5b9a\u5206\u5305\u7684\u540d\u79f0\uff0c\u5bf9\u5e94\u4f1a\u81ea\u52a8\u751f\u6210\u4e00\u4e2a\u6587\u4ef6\u5939" }, "pages": { "$ref": "#/definitions/pages" } } } }, "requiredBackgroundModes": { "type": "array", "items": { "type": "string", "description": "\u53f0\u8fd0\u884c\u7684\u80fd\u529b", "enum": [ "audio" ] }, "description": "\u7533\u660e\u9700\u8981\u540e\u53f0\u8fd0\u884c\u7684\u80fd\u529b\uff0c\u7c7b\u578b\u4e3a\u6570\u7ec4", "_uniqueItems": true }, "plugins": { "type": "object", "default": {}, "description": "\u5f15\u5165\u63d2\u4ef6\u4ee3\u7801\u5305", "properties": {} }, "resizable": { "type": "boolean", "description": "iPad \u5c0f\u7a0b\u5e8f\u662f\u5426\u652f\u6301\u5c4f\u5e55\u65cb\u8f6c", "default": false }, "navigateToMiniProgramAppIdList": { "type": "array", "items": { "type": "string", "description": "\u5bf9\u5e94appid" }, "description": "\u9700\u8981\u8df3\u8f6c\u7684\u5c0f\u7a0b\u5e8f\u5217\u8868" }, "usingComponents": { "type": "object", "properties": {}, "description": "\u5168\u5c40\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u914d\u7f6e" }, "permission": { "type": "object", "properties": {}, "description": "\u5c0f\u7a0b\u5e8f\u63a5\u53e3\u6743\u9650\u76f8\u5173\u8bbe\u7f6e,\u5fae\u4fe1\u5ba2\u6237\u7aef 7.0.0" } }, "required": [ "pages" ] }
o53697
{ "$schema": "http://json-schema.org/draft-04/schema#", "description": "Fibaro Home Center Zwave Internal Controller JSON Schema", "name": "unknown_device", "type": "object", "properties": { "id": { "description": "Fibaro Home Center device ID", "type": "integer", "enum": [ 1 ] }, "name": { "description": "Device name", "type": "string", "maxLength": 20 }, "roomID": { "description": "Room ID defined in Home Center GUI", "type": "integer", "minimum": 0, "maximum": 0 }, "type": { "description": "Zwave device type", "enum": [ "unknown_device" ] }, "properties": { "type": "object", "properties": { "UIMessageSendTime": { "type": "string" }, "autoConfig": { "type": "string" }, "date": { "type": "string" }, "dead": { "type": "string" }, "disabled": { "type": "string" }, "endPoint": { "type": "string" }, "log": { "type": "string" }, "logTemp": { "type": "string" }, "nodeID": { "type": "string" }, "pollingDeadDevice": { "enum": [ "0", "1" ] }, "pollingTime": { "type": "string" }, "pollingTimeNext": { "type": "string" }, "pollingTimeSec": { "type": "string" }, "productInfo": { "type": "string" }, "pushNotificationID": { "type": "string" }, "requestNodeNeighborStat": { "type": "string" }, "requestNodeNeighborStatTimeStemp": { "type": "string" }, "requestNodeNeighborState": { "type": "string" }, "requestNodeNeighborStateTimeStemp": { "type": "string" }, "saveLogs": { "type": "string" }, "showChildren": { "type": "string" }, "status": { "type": "string" }, "sunsetHour": { "description": "Sunset Hour", "type": "string", "pattern": "^[0-9]{2}:[0-9]{2}$" }, "sunriseHour": { "description": "Sunrise Hour", "type": "string", "pattern": "^[0-9]{2}:[0-9]{2}$" }, "value": { "type": "string" }, "zwaveCompany": { "type": "string" }, "zwaveInfo": { "type": "string" }, "zwaveVersion": { "type": "string" } }, "required": [ "UIMessageSendTime", "autoConfig", "date", "dead", "disabled", "endPoint", "log", "logTemp", "nodeID", "pollingDeadDevice", "pollingTime", "pollingTimeNext", "pollingTimeSec", "productInfo", "pushNotificationID", "requestNodeNeighborStat", "requestNodeNeighborStatTimeStemp", "requestNodeNeighborState", "requestNodeNeighborStateTimeStemp", "saveLogs", "showChildren", "status", "sunriseHour", "sunsetHour", "value", "zwaveCompany", "zwaveInfo", "zwaveVersion" ], "additionalProperties": false }, "actions": { "type": "object", "properties": { "pollingDeadDevice": { "type": "integer", "minimum": 1, "maximum": 1 }, "pollingTimeSec": { "type": "integer", "minimum": 1, "maximum": 1 }, "requestNodeNeighborUpdate": { "type": "integer", "minimum": 1, "maximum": 1 }, "turnOff": { "type": "integer", "minimum": 0, "maximum": 0 }, "turnOn": { "type": "integer", "minimum": 0, "maximum": 0 } }, "required": [ "pollingDeadDevice", "pollingTimeSec", "requestNodeNeighborUpdate", "turnOff", "turnOn" ], "additionalProperties": false }, "created": { "type": "number" }, "modified": { "type": "number" }, "sortOrder": { "type": "number" } }, "additionalProperties": false }
o56019
{ "properties": { "category": { "description": "The category of products to search in", "type": "string" }, "keywords": { "description": "The keywords to search for", "items": { "type": "string" }, "type": "array" }, "price_range": { "properties": { "max_price": { "description": "The maximum price of the products", "type": "number" }, "min_price": { "description": "The minimum price of the products", "type": "number" } }, "type": "object" } }, "required": [ "keywords" ], "type": "object" }
search_products_d64cef68
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "The JSON schema that matches a tag result.", "id": "https://mastert.github.io/bandcamp-scraper/schemas/tag-result.json", "properties": { "artist": { "type": "string" }, "name": { "type": "string" }, "url": { "_format": "uri", "type": "string" } }, "required": [ "name", "artist", "url" ], "title": "tag-result", "type": "object" }
o58930
{ "properties": { "check_in_date": { "description": "The check-in date", "type": "string" }, "check_out_date": { "description": "The check-out date", "type": "string" }, "location": { "description": "The desired hotel location", "type": "string" }, "price_range": { "properties": { "max_price": { "description": "The maximum price per night", "type": "number" }, "min_price": { "description": "The minimum price per night", "type": "number" } }, "type": "object" } }, "required": [ "location", "check_in_date", "check_out_date" ], "type": "object" }
search_hotels_7d83ff70
{ "additionalProperties": false, "description": "Webhook event for changeing one of a contact's property value.", "properties": { "appId": { "description": "The ID of your application. (In case you have multiple applications pointing to the same webhook URL.)", "maximum": 2147483647, "minimum": 0, "type": "integer" }, "attemptNumber": { "description": "Which attempt this is to notify your service of this event (starting at 0). If your service times-out or throws an error as described in 'Retries' below, we will attempt to send the notification to your service again.", "maximum": 2147483647, "minimum": 0, "type": "integer" }, "changeSource": { "description": "The source of this change. Can be any of the change sources that you find on contact property histories.", "maxLength": 128, "type": "string" }, "eventId": { "description": "The unique ID of the event that triggered this notification.", "maximum": 2147483647, "minimum": 0, "type": "integer" }, "objectId": { "description": "The ID of the object that was created/changed/deleted. For contacts this is the vid; for companies, the companyId; and for deals the dealId.", "maximum": 2147483647, "minimum": 0, "type": "integer" }, "occurredAt": { "_format": "date-time", "description": "When this event occurred.", "type": "string" }, "portalId": { "description": "The customer's portalId that this event came from.", "maximum": 2147483647, "minimum": 0, "type": "integer" }, "propertyName": { "description": "This is the name of the property that was changed.", "maxLength": 255, "type": "string" }, "propertyValue": { "description": "This is the new value that was set for this property that triggered this notification.", "maxLength": 255, "type": "string" }, "subscriptionId": { "description": "The ID of the subscription that caused us to send you a notification of this event.", "maximum": 2147483647, "minimum": 0, "type": "integer" } }, "self": { "format": "jsonschema", "name": "contact_change", "vendor": "com.hubspot", "version": "1-0-0" }, "type": "object" }
sp_101_Normalized
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "description": "Your best friend", "properties": { "name": { "type": "string", "description": "How to call the dog" }, "age": { "type": "integer", "description": "Number of years ( > 0 )", "minimum": 0 }, "owner": { "$ref": "#/definitions/Person", "description": "The person taking care of the dog" }, "breed": { "$ref": "#/definitions/Breed", "description": "The breed if pure" } }, "definitions": { "Person": { "type": "object", "description": "A human being", "properties": { "name": { "type": "string" } } }, "Breed": { "type": "string", "description": "Most popular breeds", "enum": [ "LABRADOR", "BULLDOG", "YORKSHIRE" ] } } }
o39445
{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://github.com/kloiasoft/eventapis/blob/master/spec/schema/event-key.json", "title": "EventApis Event Key", "description": "EventApis Event Key Schema", "type": "object", "properties": { "entityId": { "type": "string", "description": "Aggregation Id of related Default Entity, UUIDs can be used but not mandatory" }, "version": { "type": "integer", "minimum": 0, "description": "Aggregation Version of related Default Entity" } }, "additionalProperties": false, "required": [ "entityId", "version" ] }
o55578
{ "properties": { "registry": { "properties": { "cpus": { "default": 1, "description": "CPU shares to allocate to each schema-registry instance.", "minimum": 1, "type": "number" }, "instances": { "default": 1, "description": "Number of instances to run.", "minimum": 1, "type": "integer" }, "kafkastore-connection-url": { "default": "leader.mesos:2181/confluent", "description": "Zookeeper Connect string for service cluster. Format is comma-separated list of <zk-host>:<zkport>/<kservice>", "type": "string" }, "mem": { "default": 1024.0, "description": "Memory (MB) to allocate to each schema-registry task.", "minimum": 256.0, "type": "number" }, "name": { "default": "schema-registry", "description": "Name for this schema-registry application", "type": "string" }, "role": { "default": "*", "description": "Deploy schema-registry only on nodes with this role.", "type": "string" }, "vip-label": { "default": "8.0.8.1:8081", "description": "Label for external access to schema-registry service. Format is <IP>:<port>", "type": "string" } }, "required": [ "cpus", "mem", "instances", "name" ], "type": "object" } }, "type": "object" }
o90685
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "MC Analysis", "type": "object", "properties": { "train_id": { "title": "Train ID", "type": "string" }, "run_id": { "title": "Run ID", "type": "string" }, "wagon_names": { "title": "Wagon Names", "type": "string" } } }
o46198
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "AuthorizeResponse", "type": "object", "properties": { "idTagInfo": { "type": "object", "properties": { "status": { "type": "string", "enum": [ "Accepted", "Blocked", "Expired", "Invalid", "ConcurrentTx" ] }, "expiryDate": { "type": "string", "format": "date-time" }, "parentIdTag": { "type": "string", "maxLength": 20 } }, "required": [ "status" ] } }, "additionalProperties": false, "required": [ "idTagInfo" ] }
o43998
{ "$schema": "http://json-schema.org/draft-04/schema#", "required": [ "config", "inputs" ], "type": "object", "properties": { "inputs": { "required": [ "bvec", "dwi", "bval" ], "type": "object", "properties": { "bvec": { "type": "object", "properties": { "type": { "enum": [ "bvec" ] } } }, "dwi": { "type": "object", "properties": { "type": { "enum": [ "nifti" ] } } }, "bval": { "type": "object", "properties": { "type": { "enum": [ "bval" ] } } }, "anatomical": { "type": "object", "properties": { "type": { "enum": [ "nifti" ] } } } } }, "config": { "required": [ "dwOutMm-2", "numBootStrapSamples", "noiseCalcMethod", "flipLrApFlag", "rotateBvecsWithCanXform", "dwOutMm-1", "phaseEncodeDir", "eddyCorrect", "dwOutMm-3", "rotateBvecsWithRx", "fitMethod", "bsplineInterpFlag", "nStep" ], "type": "object", "properties": { "eddyCorrect": { "default": 1, "type": "integer" }, "numBootStrapSamples": { "default": 500, "type": "integer" }, "noiseCalcMethod": { "default": "b0", "type": "string" }, "flipLrApFlag": { "default": 0, "type": "integer" }, "rotateBvecsWithCanXform": { "default": 1, "type": "integer" }, "dwOutMm-1": { "default": 2, "type": "integer" }, "phaseEncodeDir": { "default": 2, "type": "integer" }, "dwOutMm-2": { "default": 2, "type": "integer" }, "nStep": { "default": 50, "type": "integer" }, "rotateBvecsWithRx": { "default": 0, "type": "integer" }, "fitMethod": { "default": "ls", "type": "string" }, "bsplineInterpFlag": { "default": 0, "type": "integer" }, "dwOutMm-3": { "default": 2, "type": "integer" } } } }, "title": "Invocation manifest for VISTALAB: dtiInit - Diffusion Data Initialization Pipeline" }
o41468
{ "properties": { "marathon-lb": { "properties": { "cpus": { "default": 0.5, "description": "CPU shares to allocate to each marathon-lb instance.", "minimum": 0.5, "type": "number" }, "framework-name": { "default": "marathon-lb", "description": "Framework Name", "type": "string" }, "instances": { "default": 1, "description": "Number of instances to run.", "minimum": 1, "type": "integer" }, "mem": { "default": 256.0, "description": "Memory (MB) to allocate to each marathon-lb task.", "minimum": 128.0, "type": "number" }, "role": { "default": null, "description": "Deploy marathon-lb only on nodes with this role.", "type": "string" }, "ssl-cert": { "description": "TLS Cert and private key for HTTPS.", "type": "string" } }, "type": "object" } }, "type": "object" }
o55102
{ "additionalProperties": false, "description": "Schema for a Pingdom incident assigned event with a user being notified", "properties": { "check": { "type": "string" }, "checkname": { "type": "string" }, "description": { "type": "string" }, "host": { "type": "string" }, "incidentid": { "type": "integer" } }, "self": { "format": "jsonschema", "name": "incident_notify_user", "vendor": "com.pingdom", "version": "1-0-0" }, "type": "object" }
sp_168_Normalized
{ "title": "qooxdoo.json Schema", "$schema": "http://json-schema.org/draft-07/schema", "$id": "https://qooxdoo.org/schema/qooxdoo-1-0-0.json", "description": "qooxdo.json is a registry for qooxdoo libraries in a repository/package.", "type": "object", "required": [ "libraries" ], "additionalProperties": false, "properties": { "$schema": { "type": "string", "description": "the json schema of the version of qooxdoo.json", "enum": [ "https://qooxdoo.org/schema/qooxdoo-1-0-0.json", "https://raw.githubusercontent.com/qooxdoo/qooxdoo-compiler/master/source/resource/qx/tool/schema/qooxdoo-1-0-0.json" ] }, "libraries": { "description": "An array of objects with at least a 'path' property, containing the path to the library", "type": "array", "items": { "type": "object", "properties": { "path": { "type": "string" }, "main": { "type": "boolean" } } } } } }
o51170
{ "additionalProperties": false, "description": "Schema for a context generated by the IAB Spiders & Robots enrichment", "properties": { "category": { "description": "Category based on activity if the IP/UA is a spider or robot, BROWSER otherwise", "enum": [ "SPIDER_OR_ROBOT", "ACTIVE_SPIDER_OR_ROBOT", "INACTIVE_SPIDER_OR_ROBOT", "BROWSER" ] }, "primaryImpact": { "description": "Whether the spider or robot would affect page impression measurement, ad impression measurement, both or none", "enum": [ "PAGE_IMPRESSIONS", "AD_IMPRESSIONS", "PAGE_AND_AD_IMPRESSIONS", "UNKNOWN", "NONE" ] }, "reason": { "description": "Type of failed check if the IP/UA is a spider or robot, PASSED_ALL otherwise", "enum": [ "FAILED_IP_EXCLUDE", "FAILED_UA_INCLUDE", "FAILED_UA_EXCLUDE", "PASSED_ALL" ] }, "spiderOrRobot": { "description": "true if the IP address or user agent checked against the list is a spider or robot, false otherwise", "type": "boolean" } }, "required": [ "spiderOrRobot", "category", "reason", "primaryImpact" ], "self": { "format": "jsonschema", "name": "spiders_and_robots", "vendor": "com.iab.snowplow", "version": "1-0-0" }, "type": "object" }
sp_107_Normalized
{ "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "pets": { "type": "object", "properties": { "dog": { "type": "string" }, "cat": { "type": "string" } }, "required": [ "dog", "cat" ] }, "morePets": { "allOf": [ { "$ref": "#/definitions/pets" }, { "type": "object", "properties": { "horse": { "type": "string" } }, "required": [ "horse" ] } ] } }, "properties": { "pets": { "$ref": "#/definitions/pets" }, "morePets": { "$ref": "#/definitions/morePets" } }, "required": [ "pets", "morePets" ] }
o41639
{ "$schema": "http://json-schema.org/draft-04/schema", "definitions": { "___audio_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Audio Content", "oneOf": [ { "required": [ "streams" ] }, { "required": [ "source_url" ] } ], "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "address": { "$ref": "#/definitions/trait_address_json" }, "alignment": { "$ref": "#/definitions/trait_alignment_json" }, "autoplay": { "description": "Whether to autoplay is enabled.", "type": "boolean" }, "canonical_url": { "$ref": "#/definitions/trait_canonical_url_json" }, "channels": { "$ref": "#/definitions/trait_channel_json" }, "comments": { "$ref": "#/definitions/trait_comments_json" }, "content_aliases": { "$ref": "#/definitions/trait_content_aliases_json" }, "content_restrictions": { "$ref": "#/definitions/trait_content_restrictions_json" }, "controls": { "description": "Whether controls are enabled.", "type": "boolean" }, "copyright": { "$ref": "#/definitions/trait_copyright_json" }, "created_date": { "$ref": "#/definitions/trait_created_date_json" }, "credits": { "$ref": "#/definitions/trait_credits_json" }, "description": { "$ref": "#/definitions/trait_description_json" }, "display_date": { "$ref": "#/definitions/trait_display_date_json" }, "distributor": { "$ref": "#/definitions/trait_distributor_json" }, "editor_note": { "$ref": "#/definitions/trait_editor_note_json" }, "first_publish_date": { "$ref": "#/definitions/trait_first_publish_date_json" }, "geo": { "$ref": "#/definitions/trait_geo_json" }, "headlines": { "$ref": "#/definitions/trait_headlines_json" }, "label": { "$ref": "#/definitions/trait_label_json" }, "language": { "$ref": "#/definitions/trait_locale_json" }, "last_updated_date": { "$ref": "#/definitions/trait_last_updated_date_json" }, "location": { "$ref": "#/definitions/trait_location_json" }, "loop": { "description": "Whether looping is enabled.", "type": "boolean" }, "mimetype": { "description": "(Deprecated.) Mime type of audio source file. Use 'streams' instead.", "type": "string" }, "owner": { "$ref": "#/definitions/trait_owner_json" }, "pitches": { "$ref": "#/definitions/trait_pitches_json" }, "planning": { "$ref": "#/definitions/trait_planning_json" }, "preload": { "description": "Whether preload is enabled.", "type": "boolean" }, "promo_items": { "$ref": "#/definitions/trait_promo_items_json" }, "publish_date": { "$ref": "#/definitions/trait_publish_date_json" }, "related_content": { "$ref": "#/definitions/trait_related_content_json" }, "revision": { "$ref": "#/definitions/trait_revision_json" }, "short_url": { "$ref": "#/definitions/trait_short_url_json" }, "slug": { "$ref": "#/definitions/trait_slug_json" }, "source": { "$ref": "#/definitions/trait_source_json" }, "source_url": { "description": "(Deprecated.) The audio source file. Use 'streams' instead.", "type": "string" }, "status": { "$ref": "#/definitions/trait_status_json" }, "streams": { "description": "The different streams this audio can play in.", "items": { "$ref": "#/definitions/___utils_audio_stream_json" }, "minItems": 1, "type": "array" }, "subheadlines": { "$ref": "#/definitions/trait_subheadlines_json" }, "subtype": { "$ref": "#/definitions/trait_subtype_json" }, "syndication": { "$ref": "#/definitions/trait_syndication_json" }, "taxonomy": { "$ref": "#/definitions/trait_taxonomy_json" }, "tracking": { "$ref": "#/definitions/trait_tracking_json" }, "type": { "enum": [ "audio" ], "type": "string" }, "vanity_credits": { "$ref": "#/definitions/trait_vanity_credits_json" }, "version": { "$ref": "#/definitions/trait_version_json" }, "workflow": { "$ref": "#/definitions/trait_workflow_json" } }, "required": [ "type", "version" ], "type": "object" }, "___content_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": {}, "description": "Holds common attributes of ANS Content objects.", "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "address": { "$ref": "#/definitions/trait_address_json" }, "alignment": { "$ref": "#/definitions/trait_alignment_json" }, "canonical_url": { "$ref": "#/definitions/trait_canonical_url_json" }, "channels": { "$ref": "#/definitions/trait_channel_json" }, "comments": { "$ref": "#/definitions/trait_comments_json" }, "content_aliases": { "$ref": "#/definitions/trait_content_aliases_json" }, "content_restrictions": { "$ref": "#/definitions/trait_content_restrictions_json" }, "contributors": { "$ref": "#/definitions/trait_contributors_json" }, "copyright": { "$ref": "#/definitions/trait_copyright_json" }, "created_date": { "$ref": "#/definitions/trait_created_date_json" }, "credits": { "$ref": "#/definitions/trait_credits_json" }, "description": { "$ref": "#/definitions/trait_description_json" }, "display_date": { "$ref": "#/definitions/trait_display_date_json" }, "distributor": { "$ref": "#/definitions/trait_distributor_json" }, "editor_note": { "$ref": "#/definitions/trait_editor_note_json" }, "first_publish_date": { "$ref": "#/definitions/trait_first_publish_date_json" }, "geo": { "$ref": "#/definitions/trait_geo_json" }, "headlines": { "$ref": "#/definitions/trait_headlines_json" }, "label": { "$ref": "#/definitions/trait_label_json" }, "language": { "$ref": "#/definitions/trait_locale_json" }, "last_updated_date": { "$ref": "#/definitions/trait_last_updated_date_json" }, "location": { "$ref": "#/definitions/trait_location_json" }, "owner": { "$ref": "#/definitions/trait_owner_json" }, "pitches": { "$ref": "#/definitions/trait_pitches_json" }, "planning": { "$ref": "#/definitions/trait_planning_json" }, "promo_items": { "$ref": "#/definitions/trait_promo_items_json" }, "publish_date": { "$ref": "#/definitions/trait_publish_date_json" }, "related_content": { "$ref": "#/definitions/trait_related_content_json" }, "revision": { "$ref": "#/definitions/trait_revision_json" }, "short_url": { "$ref": "#/definitions/trait_short_url_json" }, "slug": { "$ref": "#/definitions/trait_slug_json" }, "source": { "$ref": "#/definitions/trait_source_json" }, "status": { "$ref": "#/definitions/trait_status_json" }, "subheadlines": { "$ref": "#/definitions/trait_subheadlines_json" }, "subtype": { "$ref": "#/definitions/trait_subtype_json" }, "syndication": { "$ref": "#/definitions/trait_syndication_json" }, "taxonomy": { "$ref": "#/definitions/trait_taxonomy_json" }, "tracking": { "$ref": "#/definitions/trait_tracking_json" }, "type": { "type": "string" }, "vanity_credits": { "$ref": "#/definitions/trait_vanity_credits_json" }, "version": { "$ref": "#/definitions/trait_version_json" }, "workflow": { "$ref": "#/definitions/trait_workflow_json" } }, "required": [ "type", "version" ], "title": "A content object.", "type": "object" }, "___image_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Holds attributes of an ANS image component. In the Arc ecosystem, these are stored in Anglerfish.", "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "address": { "$ref": "#/definitions/trait_address_json" }, "alignment": { "$ref": "#/definitions/trait_alignment_json" }, "alt_text": { "$ref": "#/definitions/trait_alt_text_json" }, "canonical_url": { "$ref": "#/definitions/trait_canonical_url_json" }, "caption": { "description": "Caption for the image.", "type": "string" }, "channels": { "$ref": "#/definitions/trait_channel_json" }, "comments": { "$ref": "#/definitions/trait_comments_json" }, "content_restrictions": { "$ref": "#/definitions/trait_content_restrictions_json" }, "contributors": { "$ref": "#/definitions/trait_contributors_json" }, "copyright": { "$ref": "#/definitions/trait_copyright_json" }, "created_date": { "$ref": "#/definitions/trait_created_date_json" }, "credits": { "$ref": "#/definitions/trait_credits_json" }, "description": { "$ref": "#/definitions/trait_description_json" }, "display_date": { "$ref": "#/definitions/trait_display_date_json" }, "distributor": { "$ref": "#/definitions/trait_distributor_json" }, "editor_note": { "$ref": "#/definitions/trait_editor_note_json" }, "first_publish_date": { "$ref": "#/definitions/trait_first_publish_date_json" }, "focal_point": { "$ref": "#/definitions/trait_focal_point_json" }, "geo": { "$ref": "#/definitions/trait_geo_json" }, "headlines": { "$ref": "#/definitions/trait_headlines_json" }, "height": { "description": "Height for the image.", "type": "integer" }, "image_type": { "$ref": "#/definitions/trait_image_type_json" }, "label": { "$ref": "#/definitions/trait_label_json" }, "language": { "$ref": "#/definitions/trait_locale_json" }, "last_updated_date": { "$ref": "#/definitions/trait_last_updated_date_json" }, "licensable": { "description": "True if the image can legally be licensed to others.", "type": "boolean" }, "location": { "$ref": "#/definitions/trait_location_json" }, "owner": { "$ref": "#/definitions/trait_owner_json" }, "pitches": { "$ref": "#/definitions/trait_pitches_json" }, "planning": { "$ref": "#/definitions/trait_planning_json" }, "promo_items": { "$ref": "#/definitions/trait_promo_items_json" }, "publish_date": { "$ref": "#/definitions/trait_publish_date_json" }, "related_content": { "$ref": "#/definitions/trait_related_content_json" }, "revision": { "$ref": "#/definitions/trait_revision_json" }, "short_url": { "$ref": "#/definitions/trait_short_url_json" }, "slug": { "$ref": "#/definitions/trait_slug_json" }, "source": { "$ref": "#/definitions/trait_source_json" }, "status": { "$ref": "#/definitions/trait_status_json" }, "subheadlines": { "$ref": "#/definitions/trait_subheadlines_json" }, "subtitle": { "description": "Subtitle for the image.", "type": "string" }, "subtype": { "$ref": "#/definitions/trait_subtype_json" }, "syndication": { "$ref": "#/definitions/trait_syndication_json" }, "taxonomy": { "$ref": "#/definitions/trait_taxonomy_json" }, "tracking": { "$ref": "#/definitions/trait_tracking_json" }, "type": { "enum": [ "image" ], "type": "string" }, "url": { "description": "URL for the image.", "type": "string" }, "vanity_credits": { "$ref": "#/definitions/trait_vanity_credits_json" }, "version": { "$ref": "#/definitions/trait_version_json" }, "width": { "description": "Width for the image.", "type": "integer" }, "workflow": { "$ref": "#/definitions/trait_workflow_json" } }, "required": [ "type", "version" ], "title": "An image.", "type": "object" }, "___redirect_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "A redirect to another story.", "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "canonical_url": { "$ref": "#/definitions/trait_canonical_url_json" }, "owner": { "$ref": "#/definitions/trait_owner_json" }, "redirect_url": { "$ref": "#/definitions/trait_canonical_url_json" }, "revision": { "$ref": "#/definitions/trait_revision_json" }, "type": { "enum": [ "redirect" ], "type": "string" }, "version": { "$ref": "#/definitions/trait_version_json" } }, "required": [ "type", "version", "canonical_url", "redirect_url" ], "title": "A redirect object.", "type": "object" }, "___story_elements_custom_embed_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "A custom embed element. Can be used to reference content from external providers about which little is known.", "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "alignment": { "$ref": "#/definitions/trait_alignment_json" }, "channels": { "$ref": "#/definitions/trait_channel_json" }, "embed": { "additionalProperties": false, "description": "The embed data.", "properties": { "config": { "additionalProperties": false, "description": "Arbitrary configuration data generated by a plugin. Users are responsible for maintaining schema.", "patternProperties": { "^([a-zA-Z0-9_])*$": {} }, "properties": { "referent": { "not": {} }, "type": { "not": {} }, "version": { "not": {} } }, "title": "Embed Configuration", "type": "object" }, "id": { "description": "Foreign ID of embedded item.", "maxLength": 128, "minLength": 1, "title": "Embed ID", "type": "string" }, "url": { "description": "Provider URL for this embed item. When concatenated with Embed ID, should produce a URL that returns json metadata about the embedded content.", "maxLength": 512, "minLength": 1, "title": "Embed Provider URL", "type": "string" } }, "required": [ "id", "url" ], "title": "Embed", "type": "object" }, "subtype": { "$ref": "#/definitions/trait_subtype_json" }, "type": { "enum": [ "custom_embed" ], "type": "string" } }, "required": [ "type", "embed" ], "title": "Custom Embed", "type": "object" }, "___story_elements_raw_html_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "An html content element", "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "alignment": { "$ref": "#/definitions/trait_alignment_json" }, "channels": { "$ref": "#/definitions/trait_channel_json" }, "content": { "description": "Any arbitrary chunk of HTML.", "type": "string" }, "subtype": { "$ref": "#/definitions/trait_subtype_json" }, "type": { "enum": [ "raw_html" ] } }, "required": [ "type", "content" ], "type": "object" }, "___utils_audio_stream_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Configuration for a piece of audio content, over a stream.", "properties": { "audio_codec": { "description": "The codec used to encode the audio stream. (E.g. mpeg)", "title": "Audio Codec", "type": "string" }, "bitrate": { "description": "The bitrate of the audio in kilobytes per second.", "title": "Bitrate", "type": "number" }, "filesize": { "description": "The size of the audio file in bytes.", "title": "File size", "type": "number" }, "stream_type": { "description": "The type of audio (e.g. mp3).", "title": "Audio Stream Type", "type": "string" }, "url": { "_format": "uri", "description": "The file location of the stream.", "title": "URL", "type": "string" } }, "required": [ "url" ], "title": "A stream of audio.", "type": "object" }, "___utils_author_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Models attribution to an individual or group for contribution towards some content item. In the Arc ecosystem, these are stored in the arc-author-service.", "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "affiliation": { "description": "The name of an organization the author is affiliated with. E.g., The Washington Post, or George Mason University.", "title": "Affiliation", "type": "string" }, "awards": { "description": "A list of awards the author has received.", "items": { "additionalProperties": false, "properties": { "award_name": { "description": "The name of the award.", "title": "Award Name", "type": "string" } }, "type": "object" }, "title": "Awards", "type": "array" }, "bio": { "description": "A one or two sentence description of the author.", "title": "Short Biography", "type": "string" }, "books": { "description": "A list of books written by the author.", "items": { "additionalProperties": false, "properties": { "book_title": { "description": "The book title.", "title": "Title", "type": "string" }, "book_url": { "description": "A link to a page to purchase or learn more about the book.", "title": "URL", "type": "string" } }, "title": "Book", "type": "object" }, "title": "Books", "type": "array" }, "byline": { "description": "The public-facing name, or nom-de-plume, name of the author.", "title": "Byline", "type": "string" }, "contributor": { "description": "If true, this author is an external contributor to the publication.", "title": "Contributor", "type": "boolean" }, "division": { "description": "The desk or group that this author normally reports to. E.g., 'Politics' or 'Sports.'", "title": "Division", "type": "string" }, "education": { "description": "A list of schools that this author has graduated from.", "items": { "additionalProperties": false, "properties": { "school_name": { "description": "The name of the school.", "title": "School Name", "type": "string" } }, "title": "School", "type": "object" }, "title": "Education", "type": "array" }, "email": { "_format": "email", "description": "The professional email address of this author.", "title": "E-mail", "type": "string" }, "expertise": { "description": "A comma-delimited list of subjects the author in which the author has expertise.", "title": "Expertise", "type": "string" }, "first_name": { "description": "The real first name of a human author.", "title": "First Name", "type": "string" }, "image": { "$ref": "#/definitions/___image_json" }, "languages": { "description": "A description of list of languages that the author is somewhat fluent in, excluding the native language of the parent publication, and identified in the language of the parent publication. E.g., Russian, Japanese, Greek.", "title": "Languages", "type": "string" }, "last_name": { "description": "The real last name of a human author.", "title": "Last Name", "type": "string" }, "location": { "description": "The city or locality that the author resides in or is primarily associated with.", "title": "Location", "type": "string" }, "long_bio": { "description": "The full biography of the author.", "title": "Long Biography", "type": "string" }, "middle_name": { "description": "The real middle name of a human author.", "title": "Middle Name", "type": "string" }, "name": { "description": "The full human name of contributor. See also byline, first_name, last_name, middle_name, suffix.", "title": "Name", "type": "string" }, "org": { "description": "Deprecated. In ANS 0.5.8 and prior versions, this field is populated with the 'location' field from Arc Author Service. New implementations should use the 'location' and 'affiliation' field. Content should be identical to 'location.'", "title": "Org", "type": "string" }, "role": { "description": "The organizational role or title of this author.", "title": "Role", "type": "string" }, "slug": { "$ref": "#/definitions/trait_slug_json" }, "socialLinks": { "$ref": "#/definitions/trait_social_json", "description": "Deperecated. Included for backwards-compatibility. Content should be identical to social_links." }, "social_links": { "$ref": "#/definitions/trait_social_json" }, "suffix": { "description": "The real suffix of a human author.", "title": "Suffix", "type": "string" }, "type": { "description": "Indicates that this is an author", "enum": [ "author" ], "type": "string" }, "url": { "description": "A link to an author's landing page on the website, or a personal website.", "type": "string" }, "version": { "$ref": "#/definitions/trait_version_json" } }, "required": [ "type", "name" ], "title": "An author of a piece of content.", "type": "object" }, "___utils_auxiliary_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Models a auxiliary used in targeting a piece of content.", "properties": { "_id": { "description": "The unique identifier for this auxiliary.", "type": "string" }, "name": { "description": "The general name for this auxiliary.", "type": "string" }, "uid": { "description": "A short identifier for this auxiliary. Usually used in cases where a long form id cannot work.", "type": "string" } }, "required": [ "_id", "uid" ], "title": "Auxiliary", "type": "object" }, "___utils_dictionary_json": { "$schema": "http://json-schema.org/draft-04/schema#", "patternProperties": { ".*": { "type": "string" } }, "properties": { "basic": { "type": "string" } }, "required": [ "basic" ] }, "___utils_keyword_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Models a keyword used in describing a piece of content.", "properties": { "frequency": { "description": "An optional count of the frequency of the keyword as it appears in the content it describes", "type": "integer" }, "keyword": { "description": "The keyword used to describe a piece of content", "type": "string" }, "score": { "description": "An arbitrary weighting to give the keyword", "type": "number" }, "tag": { "description": "The Part of Speech tag for this keyword.", "type": "string" } }, "required": [ "keyword", "score" ], "title": "Keyword", "type": "object" }, "___utils_named_entity_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Models a named entity (i.e. name of a person, place, or organization) used in a piece of content.", "properties": { "_id": { "description": "A unique identifier for the concept of the named entity.", "type": "string" }, "name": { "description": "The actual string of text that was identified as a named entity.", "type": "string" }, "score": { "decription": "An optional relevancy for this named entitiy.", "type": "number" }, "type": { "description": "A description of what the named entity is. E.g. 'organization', 'person', or 'location'.", "type": "string" } }, "required": [ "_id", "name", "type" ], "title": "Named Entity", "type": "object" }, "___utils_reference_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "This represents a reference to external content that should be denormalized", "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "alignment": { "$ref": "#/definitions/trait_alignment_json" }, "channels": { "$ref": "#/definitions/trait_channel_json" }, "referent": { "additionalProperties": false, "dependencies": { "website": { "properties": { "type": { "enum": [ "section" ], "type": "string" } } } }, "properties": { "id": { "description": "The id passed to the provider to retrieve an ANS document", "type": "string" }, "provider": { "description": "A URL that can resolve the id into an ANS element", "type": "string" }, "referent_properties": { "additionalProperties": {}, "description": "An object for key-value pairs that should override the values of keys with the same name in the denormalized object", "type": "object" }, "service": { "description": "The type of interaction the provider expects. E.g., 'oembed'", "type": "string" }, "type": { "description": "The ANS type that the provider should return.", "type": "string" }, "website": { "description": "The website which the referenced id belongs to. Currently supported only for sections.", "type": "string" } }, "required": [ "id" ], "type": "object" }, "subtype": { "$ref": "#/definitions/trait_subtype_json" }, "type": { "enum": [ "reference" ], "type": "string" } }, "required": [ "type", "referent" ], "title": "Representation of a normalized element", "type": "object" }, "___utils_section_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "A hierarchical section in a taxonomy. In the Arc ecosystem, these are stored in the arc-site-service.", "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "_website": { "$ref": "#/definitions/trait_website_json" }, "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "description": { "description": "A short description or tagline about this site", "type": "string" }, "name": { "description": "The name of this site", "type": "string" }, "parent": { "description": "The id of this section's parent section in various commonly-used hierarchies, where available.", "properties": { "default": { "type": "string" } }, "type": "object" }, "parent_id": { "description": "The id of this section's parent section in the default hierarchy, if any.", "type": "string" }, "path": { "description": "The url path to this site", "type": "string" }, "primary": { "description": "Is this the primary site?", "type": "boolean" }, "type": { "enum": [ "section" ] }, "version": { "$ref": "#/definitions/trait_version_json" } }, "required": [ "type", "version", "name" ], "title": "Section", "type": "object" }, "___utils_site_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "A hierarchical section or 'site' in a taxonomy. In the Arc ecosystem, these are stored in the arc-site-service.", "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "description": { "description": "A short description or tagline about this site", "type": "string" }, "name": { "description": "The name of this site", "type": "string" }, "parent_id": { "description": "The id of this section's parent site, if any", "type": "string" }, "path": { "description": "The url path to this site", "type": "string" }, "primary": { "description": "Is this the primary site?", "type": "boolean" }, "type": { "enum": [ "site" ] }, "version": { "$ref": "#/definitions/trait_version_json" } }, "required": [ "type", "version", "name" ], "title": "Site", "type": "object" }, "___utils_tag_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Models a keyword used in describing a piece of content.", "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "description": { "description": "A more detailed description of the tag.", "type": "string" }, "slug": { "$ref": "#/definitions/trait_slug_json" }, "subtype": { "$ref": "#/definitions/trait_subtype_json" }, "text": { "description": "The text of the tag as displayed to users.", "type": "string" }, "type": { "enum": [ "tag" ] } }, "required": [ "text" ], "title": "Tag", "type": "object" }, "___utils_topic_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Models a topic used in describing a piece of content.", "properties": { "_id": { "description": "The unique identifier for this topic.", "type": "string" }, "name": { "description": "The general name for this topic.", "type": "string" }, "score": { "description": "An arbitrary weighting to give the topic", "type": "number" }, "uid": { "description": "A short identifier for this topic. Usually used in cases where a long form id cannot work.", "type": "string" } }, "required": [ "_id", "score", "uid" ], "title": "Topic", "type": "object" }, "trait_additional_properties_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": {}, "description": "A grab-bag object for non-validatable data.", "title": "Has additional properties", "type": "object" }, "trait_address_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "dependencies": { "extended_address": [ "street_address" ], "post_office_box": [ "street_address" ] }, "description": "An Address following the convention of http://microformats.org/wiki/hcard", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "country_name": { "type": "string" }, "extended_address": { "type": "string" }, "locality": { "type": "string" }, "post_office_box": { "type": "string" }, "postal_code": { "type": "string" }, "region": { "type": "string" }, "street_address": { "type": "string" } }, "title": "Address", "type": "object" }, "trait_alignment_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "A property used to determine horizontal positioning of a content element relative to the elements that immediately follow it in the element sequence.", "enum": [ "left", "right", "center" ], "title": "Alignment", "type": "string" }, "trait_alt_text_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "The direct ANS equivalent of the HTML 'alt' attribute. A description of the contents of an image for improved accessibility.", "title": "Alt Text", "type": "string" }, "trait_canonical_url_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "The relative URL to this document on the website specified by the `canonical_website` field. In the Arc ecosystem, this will be populated by the content api from the arc-canonical-url service if present based on the canonical_website. In conjunction with canonical_website, it can be used to determine the SEO canonical url or open graph url. In a multi-site context, this field may be different from the website_url field.", "title": "Canonical URL", "type": "string" }, "trait_channel_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "An optional list of output types for which this element should be visible", "items": { "type": "string" }, "title": "Channel trait", "type": "array" }, "trait_comments_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": {}, "description": "Comment configuration data", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "allow_comments": { "description": "If false, commenting is disabled on this content.", "type": "boolean" }, "comments_period": { "description": "How long (in days) after publish date until comments are closed.", "type": "integer" }, "display_comments": { "description": "If false, do not render comments on this content.", "type": "boolean" }, "moderation_required": { "description": "If true, comments must be moderator-approved before being displayed.", "type": "boolean" } }, "title": "Comments", "type": "object" }, "trait_content_aliases_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "An list of alternate names that this content can be fetched by instead of id.", "items": { "pattern": "^([a-z])([a-z0-9-])*$", "type": "string" }, "title": "Aliases trait", "type": "array" }, "trait_content_restrictions_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Trait that applies contains the content restrictions of an ANS object.", "properties": { "content_code": { "description": "The content restriction code/level/flag associated with the ANS object", "type": "string" }, "embargo": { "additionalProperties": false, "description": "Embargo configuration to enforce publishing restrictions. Embargoed content must not go live.", "properties": { "active": { "description": "The boolean flag to indicate if the embargo is active or not. If this field is false, ignore the embargo.", "type": "boolean" }, "description": { "description": "An optional description for the embargo.", "type": "string" }, "end_time": { "_format": "date-time", "description": "An optional end time for the embargo to indicate when it ends. When it's not defined, it means the embargo keeps applying. The end time should be ignored if active flag is false.", "type": "string" } }, "required": [ "active" ], "type": "object" }, "geo": { "additionalProperties": false, "description": "Geo-Restriction configuration that contains the restriction ids that this content should be associated with.", "properties": { "restrictions": { "description": "An array containing the geo-restriction objects. Limited to a size of 1 for now.", "items": { "additionalProperties": false, "description": "An object specifying the _id of the restriction this content should be associated with.", "properties": { "restriction_id": { "description": "The _id of the restriction that is stored in Global Settings.", "type": "string" } }, "required": [ "restriction_id" ], "type": "object" }, "maxItems": 1, "minItems": 1, "type": "array" } }, "required": [ "restrictions" ], "type": "object" } }, "title": "Content Restrictions", "type": "object" }, "trait_contributors_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Trait that holds information on who created and contributed to a given document in Arc.", "properties": { "created_by": { "description": "The Creator of the Document.", "properties": { "display_name": { "description": "The display name of the Arc user who created the Document", "type": "string" }, "user_id": { "description": "The unique ID of the Arc user who created the Document", "type": "string" } }, "type": "object" } }, "title": "Contributors", "type": "object" }, "trait_copyright_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "A copyright notice for the legal owner of this content. E.g., '\u00a9 1996-2018 The Washington Post.' Format may vary between organizations.", "title": "Copyright information", "type": "string" }, "trait_created_date_json": { "$schema": "http://json-schema.org/draft-04/schema#", "_format": "date-time", "description": "When the content was originally created (RFC3339-formatted). In the Arc ecosystem, this will be automatically generated for stories in the Story API.", "title": "Created Date", "type": "string" }, "trait_credits_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "A list of people and groups attributed to this content, keyed by type of contribution. In the Arc ecosystem, references in this list will be denormalized into author objects from the arc-author-service.", "patternProperties": { "^[a-zA-Z0-9_]*": { "items": { "anyOf": [ { "$ref": "#/definitions/___utils_author_json" }, { "$ref": "#/definitions/___utils_reference_json" } ], "type": "object" }, "type": "array" } }, "properties": { "by": { "description": "The primary author(s) of this document. For a story, is is the writer or reporter. For an image, it is the photographer.", "items": { "anyOf": [ { "$ref": "#/definitions/___utils_author_json" }, { "$ref": "#/definitions/___utils_reference_json" } ], "type": "object" }, "title": "By", "type": "array" }, "photos_by": { "description": "The photographer(s) of supplementary images included in this document, if it is a story. Note that if this document is an image, the photographer(s) should appear in the 'by' slot.", "items": { "anyOf": [ { "$ref": "#/definitions/___utils_author_json" }, { "$ref": "#/definitions/___utils_reference_json" } ], "type": "object" }, "title": "Photos by", "type": "array" } }, "title": "Credit trait", "type": "object" }, "trait_description_json": { "$ref": "#/definitions/___utils_dictionary_json", "$schema": "http://json-schema.org/draft-04/schema#", "description": "The descriptions, or blurbs, for the content.", "title": "Description", "type": "object" }, "trait_display_date_json": { "$schema": "http://json-schema.org/draft-04/schema#", "_format": "date-time", "description": "The RFC3339-formatted dated time of the most recent date the story was (re)displayed on a public site.", "title": "Display_Date", "type": "string" }, "trait_distributor_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Information about a third party that provided this content from outside this document's hosted organization.", "oneOf": [ { "additionalProperties": false, "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "category": { "description": "The machine-readable category of how this content was produced. Use 'staff' if this content was produced by an employee of the organization who owns this document repository. (Multisite note: content produced within a single *organization*, but shared across multiple *websites* should still be considered 'staff.') Use \u2018wires\u2019 if this content was produced for another organization and shared with the one who owns this document repository. Use 'freelance' if this content was produced by an individual on behalf of the organization who owns this document repository. Use 'stock' if this content is stock media distributed directly from a stock media provider. Use 'handout' if this is content provided from a source for an article (usually promotional media distributed directly from a company). Use 'other' for all other cases.", "enum": [ "staff", "wires", "freelance", "stock", "handout", "other" ], "type": "string" }, "mode": { "enum": [ "custom" ], "type": "string" }, "name": { "description": "The human-readable name of the distributor of this content. E.g., Reuters.", "type": "string" }, "subcategory": { "description": "The machine-readable subcategory of how this content was produced. E.g., 'freelance - signed'. May vary between organizations.", "type": "string" } } }, { "additionalProperties": false, "properties": { "mode": { "enum": [ "reference" ], "type": "string" }, "reference_id": { "description": "The ARC UUID of the distributor of this content. E.g., ABCDEFGHIJKLMNOPQRSTUVWXYZ.", "type": "string" } }, "required": [ "reference_id", "mode" ] } ], "title": "Distributor", "type": "object" }, "trait_editor_note_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Additional information to be displayed near the content from the editor.", "title": "Editor_Note", "type": "string" }, "trait_first_publish_date_json": { "$schema": "http://json-schema.org/draft-04/schema#", "_format": "date-time", "description": "When the story was first published.", "title": "First Publish Date", "type": "string" }, "trait_focal_point_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Coordinates representing the 'visual center' of an image. The X axis is horizontal line and the Y axis the vertical line, with 0,0 being the LEFT, TOP of the image.", "properties": { "x": { "description": "The coordinate point on the horizontal axis", "type": "number" }, "y": { "description": "The coordinate point on the vertical axis", "type": "number" } }, "required": [ "x", "y" ], "title": "Focal Point", "type": "object" }, "trait_geo_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Latitidue and Longitude of the content", "properties": { "latitude": { "type": "number" }, "longitude": { "type": "number" } }, "title": "Geo", "type": "object" }, "trait_headlines_json": { "$ref": "#/definitions/___utils_dictionary_json", "$schema": "http://json-schema.org/draft-04/schema#", "description": "The headline(s) or title for this content. The 'basic' key is required.", "title": "Headlines", "type": "object" }, "trait_id_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "A globally unique identifier of the content in the ANS repository.", "title": "Globally Unique ID trait", "type": "string" }, "trait_image_type_json": { "$schema": "http://json-schema.org/draft-04/schema#", "category": { "description": "The machine-readable enumeration of valid image types.", "enum": [ "photograph", "graphic", "illustration", "thumbnail" ], "type": "string" }, "description": "A more specific category for an image.", "title": "Image Type", "type": "string" }, "trait_label_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "What the Washington Post calls a Kicker", "patternProperties": { "^[a-zA-Z0-9_]*$": { "additionalProperties": false, "description": "Additional user-defined keyed label objects.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "display": { "description": "If false, this label should be hidden.", "type": "boolean" }, "text": { "description": "The text of this label.", "type": "string" }, "url": { "description": "An optional destination url of this label.", "type": "string" } }, "required": [ "text" ], "type": "object" } }, "properties": { "basic": { "additionalProperties": false, "description": "The default label object for this piece of content.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "display": { "description": "If false, this label should be hidden.", "type": "boolean" }, "text": { "description": "The text of this label.", "type": "string" }, "url": { "description": "An optional destination url of this label.", "type": "string" } }, "required": [ "text" ], "type": "object" } }, "title": "Label", "type": "object" }, "trait_last_updated_date_json": { "$schema": "http://json-schema.org/draft-04/schema#", "_format": "date-time", "description": "When the content was last updated (RFC3339-formatted).", "title": "Last Updated Date", "type": "string" }, "trait_locale_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "The primary language of the content. The value should follow IETF BCP47. (e.g. 'en', 'es-419', etc.) ", "title": "Locale", "type": "string" }, "trait_location_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "A description of the location, useful if a full address or lat/long specification is overkill.", "title": "Location related trait", "type": "string" }, "trait_owner_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Various unrelated fields that should be preserved for backwards-compatibility reasons. See also trait_source.", "properties": { "id": { "description": "The machine-readable unique identifier of the organization whose database this content is stored in. In Arc, this is equivalent to ARC_ORG_NAME.", "type": "string" }, "name": { "description": "Deprecated in 0.10.9. See `distributor.name`. (Formerly: The human-readable name of original producer of content. Distinguishes between Wires, Staff and other sources.)", "type": "string" }, "sponsored": { "description": "True if this content is advertorial or native advertising.", "type": "boolean" } }, "title": "Owner information ", "type": "object" }, "trait_pitches_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Trait that represents a story's pitches. In the Arc ecosystem, this data is generated by WebSked.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "platform": { "description": "A list of the story's pitches to a platform.", "items": { "$ref": "#/definitions/trait_platform_pitch_json" }, "type": "array" }, "publication": { "description": "A list of the story's pitches to a publication.", "items": { "$ref": "#/definitions/trait_publication_pitch_json" }, "type": "array" } }, "title": "Pitches", "type": "object" }, "trait_planning_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Trait that applies planning information to a document or resource. In the Arc ecosystem, this data is generated by WebSked. Newsroom use only. All these fields should be available and editable in WebSked.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "budget_line": { "description": "Used for the newsroom to identify what the story is about, especially if a user is unfamiliar with the slug of a story and the headline or they do not yet exist. Newsroom use only.", "title": "Budget Line", "type": "string" }, "deadline_miss": { "description": "The delta between the story's planned publish date and actual first publish time, in minutes.", "type": "integer" }, "internal_note": { "description": "This note is used for shared communication inside the newsroom.", "title": "Internal Note", "type": "string" }, "scheduling": { "additionalProperties": false, "description": "Scheduling information.", "properties": { "planned_publish_date": { "_format": "date-time", "description": "When the content is planned to be published.", "type": "string" }, "scheduled_publish_date": { "_format": "date-time", "description": "When the content was first published.", "type": "string" }, "will_have_gallery": { "description": "Will this content have galleries?", "type": "boolean" }, "will_have_graphic": { "description": "Will this content have graphics?", "type": "boolean" }, "will_have_image": { "description": "Will this content have images?", "type": "boolean" }, "will_have_video": { "description": "Will this content have videos?", "type": "boolean" } }, "type": "object" }, "story_length": { "additionalProperties": false, "description": "Story length information.", "properties": { "character_count_actual": { "description": "The current number of characters in the story.", "type": "integer" }, "character_count_planned": { "description": "The anticipated number of characters in the story.", "type": "integer" }, "character_encoding": { "description": "The encoding used for counting characters in the story.", "type": "string" }, "inch_count_actual": { "description": "The current length of the story in inches.", "type": "integer" }, "inch_count_planned": { "description": "The anticipated length of the story in inches.", "type": "integer" }, "line_count_actual": { "description": "The current length of the story in lines.", "type": "integer" }, "line_count_planned": { "description": "The anticipated length of the story in lines.", "type": "integer" }, "word_count_actual": { "description": "Current number of words.", "type": "integer" }, "word_count_planned": { "description": "The anticipated number of words in the story.", "type": "integer" } }, "type": "object" }, "websked_sort_date": { "_format": "date-time", "description": "Date to be used for chronological sorting in WebSked.", "type": "string" } }, "title": "Scheduling information", "type": "object" }, "trait_platform_pitch_event_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Trait that represents an update event for a pitch to a platform. In the Arc ecosystem, this data is generated by WebSked.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "note": { "description": "Optional note associated with this update.", "type": "string" }, "status": { "description": "The current status of the pitch.", "pattern": "^([a-z]|[ ])*$", "type": "string" }, "time": { "_format": "date-time", "description": "The time of this update.", "type": "string" }, "user_id": { "description": "The ID of the user who made this update.", "type": "string" } }, "title": "Platform pitch event", "type": "object" }, "trait_platform_pitch_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Trait that represents a pitch to a platform. In the Arc ecosystem, this data is generated by WebSked.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "creation_event": { "$ref": "#/definitions/trait_platform_pitch_event_json" }, "latest_event": { "$ref": "#/definitions/trait_platform_pitch_event_json" }, "platform_path": { "description": "The path of the platform that this pitch targets.", "type": "string" } }, "title": "Platform pitch", "type": "object" }, "trait_promo_items_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Lists of promotional content to use when highlighting the story. In the Arc ecosystem, references in these lists will be denormalized.", "patternProperties": { ".*": { "oneOf": [ { "$ref": "#/definitions/___content_json" }, { "$ref": "#/definitions/___utils_reference_json" }, { "$ref": "#/definitions/___story_elements_raw_html_json" }, { "$ref": "#/definitions/___story_elements_custom_embed_json" } ] } }, "properties": { "basic": { "oneOf": [ { "$ref": "#/definitions/___content_json" }, { "$ref": "#/definitions/___utils_reference_json" }, { "$ref": "#/definitions/___story_elements_raw_html_json" }, { "$ref": "#/definitions/___story_elements_custom_embed_json" } ] } }, "title": "Promo Items", "type": "object" }, "trait_publication_pitch_event_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Trait that represents an update event for a pitch to a publication. In the Arc ecosystem, this data is generated by WebSked.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "edition_id": { "description": "The ID of the publication edition that this pitch targets.", "type": "string" }, "edition_time": { "_format": "date-time", "description": "The time of the publication edition that this pitch targets.", "type": "string" }, "note": { "description": "Optional note associated with this update.", "type": "string" }, "status": { "description": "The current status of the pitch.", "pattern": "^([a-z]|[ ])*$", "type": "string" }, "time": { "_format": "date-time", "description": "The time of this update.", "type": "string" }, "user_id": { "description": "The ID of the user who made this update.", "type": "string" } }, "title": "Publication pitch event", "type": "object" }, "trait_publication_pitch_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Trait that represents a pitch to a publication. In the Arc ecosystem, this data is generated by WebSked.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "creation_event": { "$ref": "#/definitions/trait_publication_pitch_event_json" }, "latest_event": { "$ref": "#/definitions/trait_publication_pitch_event_json" }, "publication_id": { "description": "The ID of the publication that this pitch targets.", "type": "string" } }, "title": "Publication pitch", "type": "object" }, "trait_publish_date_json": { "$schema": "http://json-schema.org/draft-04/schema#", "_format": "date-time", "description": "When the story was published.", "title": "Publish_Date", "type": "string" }, "trait_related_content_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Lists of content items or references this story is related to, arbitrarily keyed. In the Arc ecosystem, references in this object will be denormalized into the fully-inflated content objects they represent.", "patternProperties": { ".*": { "items": { "anyOf": [ { "$ref": "#/definitions/___content_json" }, { "$ref": "#/definitions/___utils_reference_json" }, { "$ref": "#/definitions/___story_elements_custom_embed_json" } ], "type": "object" }, "type": "array" } }, "properties": { "redirect": { "description": "An attached redirect. In Arc, when this content item is fetched by url, content api will instead return this redirect object with appropriate headers. In all other cases, this content should be treated normally.", "items": { "$ref": "#/definitions/___redirect_json" }, "maxItems": 1, "type": "array" } }, "title": "Related_Content", "type": "object" }, "trait_revision_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Trait that applies revision information to a document. In the Arc ecosystem, many of these fields are populated in stories by the Story API.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "branch": { "description": "The name of the branch this revision was created on.", "type": "string" }, "editions": { "description": "A list of identifiers of editions that point to this revision.", "items": { "type": "string" }, "type": "array" }, "parent_id": { "description": "The unique id of the revision that this revisions was branched from, or preceded it on the current branch.", "type": "string" }, "published": { "description": "Whether or not this revision's parent story is published, in any form or place", "type": "boolean" }, "revision_id": { "description": "The unique id of this revision.", "type": "string" }, "user_id": { "description": "The unique user id of the person who created this revision.", "type": "string" } }, "title": "Revision", "type": "object" }, "trait_short_url_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "A url-shortened version of the canonical url.", "title": "Short_Url", "type": "string" }, "trait_slug_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "A short reference name for internal editorial use", "title": "Slug", "type": "string" }, "trait_social_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Links to various social media", "items": { "additionalProperties": {}, "properties": { "site": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "title": "Social Links", "type": "array" }, "trait_source_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Information about the original source and/or owner of this content", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "edit_url": { "description": "A link to edit this content in its source CMS.", "type": "string" }, "name": { "description": "Deprecated in 0.10.9. See `distributor.name`. (Formerly: The human-readable name of the organization who first produced this content. E.g., 'Reuters'.)", "type": "string" }, "source_id": { "description": "The id of this content in a foreign CMS.", "type": "string" }, "source_type": { "description": "Deprecated in 0.10.9. See `distributor.category` and `distributor.subcategory`. (Formerly: The method used to enter this content. E.g. 'staff', 'wires'.)", "type": "string" }, "system": { "description": "The software (CMS or editor) that was used to enter this content. E.g., 'wordpress', 'ellipsis'.", "type": "string" } }, "title": "Source", "type": "object" }, "trait_status_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Optional field to story story workflow related status (e.g. published/embargoed/etc)", "title": "Status", "type": "string" }, "trait_subheadlines_json": { "$ref": "#/definitions/___utils_dictionary_json", "$schema": "http://json-schema.org/draft-04/schema#", "description": "The sub-headline(s) for the content.", "title": "Sub-Headlines", "type": "object" }, "trait_subtype_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "A user-defined categorization method to supplement type. In Arc, this field is reserved for organization-defined purposes, such as selecting the PageBuilder template that should be used to render a document.", "title": "Subtype or Template", "type": "string" }, "trait_syndication_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Key-boolean pair of syndication services where this article may go", "patternProperties": { ".*": { "type": "boolean" } }, "properties": { "external_distribution": { "description": "Necessary for fulfilling contractual agreements with third party clients", "type": "boolean" }, "search": { "description": "Necessary so that we can filter out all articles that editorial has deemed should not be discoverable via search", "type": "boolean" } }, "title": "Syndication", "type": "object" }, "trait_taxonomy_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Holds the collection of tags, categories, keywords, etc that describe content.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "associated_tasks": { "description": "A list of WebSked task IDs that this content was created or curated to satisfy.", "items": { "pattern": "^[0-9a-fA-F]{24}$", "type": "string" }, "maxItems": 200, "type": "array" }, "auxiliaries": { "description": "A list of auxiliaries. In the Arc ecosystem, this list is populated by Clavis.", "items": { "$ref": "#/definitions/___utils_auxiliary_json" }, "type": "array" }, "keywords": { "description": "A list of keywords. In the Arc ecosystem, this list is populated by Clavis.", "items": { "$ref": "#/definitions/___utils_keyword_json" }, "type": "array" }, "named_entities": { "description": "A list of named entities. In the Arc ecosystem, this list is populated by Clavis.", "items": { "$ref": "#/definitions/___utils_named_entity_json" }, "type": "array" }, "primary_section": { "description": "A primary section object or reference to one. In the Arc ecosystem, a reference here is denormalized into a site from the arc-site-service.", "oneOf": [ { "$ref": "#/definitions/___utils_section_json" }, { "allOf": [ { "$ref": "#/definitions/___utils_reference_json" }, { "properties": { "referent": { "properties": { "type": { "enum": [ "section" ] } } } } } ] } ] }, "primary_site": { "description": "Deprecated in 0.10.9. (See `primary_section` instead.) A primary site object or reference to one. In the Arc ecosystem, a reference here is denormalized into a site from the arc-site-service.", "oneOf": [ { "$ref": "#/definitions/___utils_site_json" }, { "allOf": [ { "$ref": "#/definitions/___utils_reference_json" }, { "properties": { "referent": { "properties": { "type": { "enum": [ "site" ] } } } } } ] } ] }, "sections": { "description": "A list of site objects or references to them. In the Arc ecosystem, references in this list are denormalized into sites from the arc-site-service. In a multi-site context, sites will be denormalized against an organization's default website only.", "items": { "oneOf": [ { "$ref": "#/definitions/___utils_section_json" }, { "allOf": [ { "$ref": "#/definitions/___utils_reference_json" }, { "properties": { "referent": { "properties": { "type": { "enum": [ "section" ] } } } } } ] } ] }, "type": "array" }, "seo_keywords": { "description": "A list of user-editable manually entered keywords for search purposes. In the Arc ecosystem, these can be generated and saved in source CMS systems, editors, etc.", "items": { "type": "string" }, "type": "array" }, "sites": { "description": "Deprecated in 0.10.9. (See `sections` instead.) A list of site objects or references to them. In the Arc ecosystem, references in this list are denormalized into sites from the arc-site-service. In a multi-site context, sites will be denormalized against an organization's default website only.", "items": { "oneOf": [ { "$ref": "#/definitions/___utils_site_json" }, { "allOf": [ { "$ref": "#/definitions/___utils_reference_json" }, { "properties": { "referent": { "properties": { "type": { "enum": [ "site" ] } } } } } ] } ] }, "type": "array" }, "stock_symbols": { "description": "A list of stock symbols of companies related to this content. In the Arc ecosystem, these can be generated and saved in source CMS systems, editors, etc.", "items": { "type": "string" }, "type": "array" }, "tags": { "items": { "$ref": "#/definitions/___utils_tag_json" }, "type": "array" }, "topics": { "description": "A list of topics. In the Arc ecosystem, this list is populated by Clavis.", "items": { "$ref": "#/definitions/___utils_topic_json" }, "type": "array" } }, "title": "Taxonomy", "type": "object" }, "trait_tracking_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": {}, "description": "Tracking information, probably implementation-dependent", "title": "Tracking", "type": "object" }, "trait_vanity_credits_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Similar to the credits trait, but to be used only when ANS is being directly rendered to readers natively. For legal and technical reasons, the `credits` trait is preferred when converting ANS into feeds or other distribution formats. However, when present, `vanity_credits` allows more sophisticated credits presentation to override the default without losing that original data.", "patternProperties": { "^[a-zA-Z0-9_]*": { "items": { "anyOf": [ { "$ref": "#/definitions/___utils_author_json" }, { "$ref": "#/definitions/___utils_reference_json" } ], "type": "object" }, "type": "array" } }, "properties": { "by": { "description": "The primary author(s) of this document. For a story, is is the writer or reporter. For an image, it is the photographer.", "items": { "anyOf": [ { "$ref": "#/definitions/___utils_author_json" }, { "$ref": "#/definitions/___utils_reference_json" } ], "type": "object" }, "title": "By", "type": "array" }, "photos_by": { "description": "The photographer(s) of supplementary images included in this document, if it is a story. Note that if this document is an image, the photographer(s) should appear in the 'by' slot.", "items": { "anyOf": [ { "$ref": "#/definitions/___utils_author_json" }, { "$ref": "#/definitions/___utils_reference_json" } ], "type": "object" }, "title": "Photos by", "type": "array" } }, "title": "Vanity Credits trait", "type": "object" }, "trait_version_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "The version of ANS that this object was serialized as, in major.minor.patch format. For top-level content objects, this is a required trait.", "enum": [ "0.10.9" ], "title": "Describes the ANS version of this object", "type": "string" }, "trait_website_json": { "$schema": "http://json-schema.org/draft-04/schema#", "description": "The _id of the website on which this document exists. This field is only available in Content API. If different from canonical_website, then this document was originally sourced from the canonical_website. Generated at fetch time by Content API.", "title": "Website", "type": "string" }, "trait_workflow_json": { "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "description": "Trait that applies workflow information to a document or resource. In the Arc ecosystem, this data is generated by WebSked.", "properties": { "additional_properties": { "$ref": "#/definitions/trait_additional_properties_json" }, "note": { "description": "This note will be used for any task automatically generated via WebSked task triggers.", "type": "string" }, "status_code": { "description": "Code indicating the story's current workflow status. This number should match the values configured in WebSked.", "minimum": 1, "type": "integer" } }, "title": "Workflow information", "type": "object" } }, "description": "Any voice transcripts (e.g. text-to-speech or author-narrations) of the document requested by the user, along with configuration information and the resulting output.", "items": { "properties": { "_id": { "$ref": "#/definitions/trait_id_json" }, "options": { "description": "The transcription settings as requested by an end-user or API caller. These values should be displayed to editorial users in Arc apps.", "properties": { "enabled": { "description": "If true, then a transcript of the appropriate options was requested for this document.", "title": "Enabled", "type": "boolean" }, "voice": { "description": "The id of the 'voice' used to read aloud an audio transcript.", "title": "Voice ID", "type": "string" } }, "required": [ "enabled" ], "title": "Options (Requested)", "type": "object" }, "options_used": { "description": "The transcription settings that were used by the renderer to generate the final output. (If these differ from 'options' it may indicate an inability to render exactly as specified.) These values can be used when rendering to readers or external users.", "properties": { "enabled": { "description": "If true, then a transcript of the appropriate options was generated for this document.", "title": "Enabled", "type": "boolean" }, "voice": { "description": "The id of the 'voice' used to read aloud an audio transcript.", "title": "Voice ID", "type": "string" } }, "required": [ "enabled" ], "title": "Options (Used)", "type": "object" }, "output": { "$ref": "#/definitions/___audio_json" }, "subtype": { "$ref": "#/definitions/trait_subtype_json" }, "type": { "enum": [ "voice_transcript" ], "type": "string" } }, "required": [ "options" ], "type": "object" }, "minItems": 1, "title": "Voice transcript(s) configuration and output.", "type": "array" }
wp_98_Normalized
{ "properties": { "email": { "format": "email", "type": [ "string", "null" ] }, "name": { "maxLength": 255, "minLength": 2, "type": "string" } }, "required": [ "name" ], "type": "object" }
o76909
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "redsea", "description": "Array of RDS groups from redsea", "definitions": { "pi": { "type": "string", "pattern": "^0x[0-9A-F]{4}$" }, "grouptype": { "type": "string", "pattern": "^([0-9]|1[0-5])[AB]$" }, "di": { "type": "object", "properties": { "compressed": { "type": "boolean" }, "artificial_head": { "type": "boolean" }, "stereo": { "type": "boolean" }, "dynamic_pty": { "type": "boolean" } }, "additionalProperties": false }, "radiotext": { "type": "string", "maxLength": 64 }, "ps": { "type": "string", "minLength": 8, "maxLength": 8 }, "rtplus": { "type": "object", "properties": { "tags": { "type": "array", "items": { "content-type": { "type": "string", "enum": [ "dummy_class", "item.title", "item.album", "item.tracknumber", "item.artist", "item.composition", "item.movement", "item.conductor", "item.composer", "item.band", "item.comment", "item.genre", "info.news", "info.news.local", "info.stockmarket", "info.sport", "info.lottery", "info.horoscope", "info.daily_diversion", "info.health", "info.event", "info.scene", "info.cinema", "info.tv", "info.date_time", "info.weather", "info.traffic", "info.alarm", "info.advertisement", "info.url", "info.other", "stationname.short", "stationname.long", "programme.now", "programme.next", "programme.part", "programme.host", "programme.editorial_staff", "programme.frequency", "programme.homepage", "programme.subchannel", "phone.hotline", "phone.studio", "phone.other", "sms.studio", "sms.other", "email.hotline", "email.studio", "email.other", "mms.other", "chat", "chat.centre", "vote.question", "vote.centre", "unknown", "place", "appointment", "identifier", "purchase", "get_data" ] } } }, "data": { "type": "string" }, "item_running": { "type": "boolean" }, "item_toggle": { "type": "integer", "minimum": 0, "maximum": 1 } }, "additionalProperties": false }, "pin": { "type": "object", "properties": { "day": { "type": "integer", "minimum": 1, "maximum": 31 }, "time": { "type": "string", "pattern": "^[0-2][0-9]:[0-5][0-9]$" } }, "additionalProperties": false }, "tmc": { "type": "object", "oneOf": [ { "system_info": { "type": "object", "properties": { "is_encrypted": { "type": "boolean" }, "is_on_alt_freq": { "description": "Whether alternative frequencies carry TMC", "type": "boolean" }, "location_table": { "description": "Location table number (LTN)", "type": "integer", "minimum": 0, "maximum": 63 }, "encryption_id": { "type": "integer", "minimum": 0, "maximum": 31 }, "scope": { "type": "array", "items": { "type": "string", "enum": [ "inter-road", "national", "regional", "urban" ] } }, "gap": { "description": "Number of groups between successive 8A groups", "type": "integer", "enum": [ 3, 5, 8, 11 ] }, "service_id": { "type": "integer", "minimum": 0, "maximum": 63 }, "delay_time": { "description": "Position of the start of the activity/window sequence, referenced from the minute's edge, in seconds", "type": "integer", "enum": [ 0, 1, 2, 3 ] }, "activity_time": { "description": "The time in a time slot during which 8A groups may be transmitted (seconds)", "type": "integer", "enum": [ 1, 2, 4, 8 ] }, "window_time": { "description": "The time in a time slot during which transmission of 8A groups is suspended (seconds)", "type": "integer", "enum": [ 1, 2, 4, 8 ] } }, "additionalProperties": false }, "message": { "type": "object", "properties": { "description": { "description": "Human-readable message", "type": "string" }, "direction": { "description": "Whether this event affects only one direction", "type": "string", "enum": [ "single", "both" ] }, "extent": { "description": "The event affects this many points from location", "type": "string", "pattern": "^(\\+|-)[0-9]+$" }, "location": { "description": "Location code (reference to a location database)", "type": "integer", "minimum": 0, "maximum": 65535 }, "encrypted_location": { "description": "Location code in its encrypted form", "type": "integer", "minimum": 0, "maximum": 65535 }, "event_codes": { "description": "Event codes (references to event code list)", "type": "array", "items": { "type": "number", "minimum": 0, "maximum": 2047 } }, "road_number": { "type": "integer" }, "span_from": { "type": "string" }, "span_to": { "type": "string" }, "coordinates": { "description": "Affected point or route", "type": "object", "properties": { "lat": { "description": "Degrees North", "type": "number", "minimum": -90, "maximum": 90 }, "lon": { "description": "Degrees East", "type": "number", "minimum": -180, "maximum": 180 } } }, "urgency": { "description": "Message urgency: normal/urgent/extremely urgent", "type": "string", "enum": [ "none", "U", "X" ] }, "update_class": { "description": "Message replaces previous messages of this class", "type": "integer" } }, "additionalProperties": false } } ] } }, "type": "array", "items": { "type": "object", "properties": { "group": { "description": "Group type", "$ref": "#/definitions/grouptype" }, "pi": { "description": "Program Identification code", "$ref": "#/definitions/pi" }, "callsign": { "description": "Call sign letters for a North American (RBDS) station", "type": "string" }, "callsign_uncertain": { "description": "Call sign letters for a North American (RBDS) station - probably erroneous due to a TMC workaround", "type": "string" }, "channel": { "description": "Which channel of a multi-channel signal this group was received on", "type": "integer", "minimum": 1 }, "prog_type": { "description": "Program Type", "type": "string" }, "tp": { "description": "Traffic Program flag", "type": "boolean" }, "is_music": { "description": "Music/Speech flag", "type": "boolean" }, "ta": { "description": "Traffic Announcement flag", "type": "boolean" }, "radiotext": { "$ref": "#/definitions/radiotext" }, "ps": { "description": "Program Service name", "$ref": "#/definitions/ps" }, "country": { "description": "ISO country code", "type": "string", "minLength": 2, "maxLength": 2 }, "has_linkage": { "type": "boolean" }, "di": { "description": "Decoder identification code", "$ref": "#/definitions/di" }, "language": { "description": "Program language", "type": "string" }, "radiotext_plus": { "$ref": "#/definitions/rtplus" }, "tmc": { "description": "Traffic Message Channel", "$ref": "#/definitions/tmc" }, "alt_kilohertz": { "description": "Alternative Frequencies", "type": "array", "items": { "type": "integer" } }, "prog_item_number": { "description": "A numeric identifier for the currently running program", "type": "integer", "minimum": 0, "maximum": 65535 }, "prog_item_started": { "description": "Program Item number (start time)", "$ref": "#/definitions/pin" }, "bler": { "description": "Block Error Rate (averaged percentage of erroneous blocks)", "type": "integer", "minimum": 0, "maximum": 100 }, "debug": { "description": "Debug messages from redsea", "type": "array", "items": { "type": "string" } }, "tmc_id": { "type": "integer", "minimum": 0, "maximum": 4095 }, "ews": { "description": "Emergency Warning System channel number", "type": "integer", "minimum": 0, "maximum": 4095 }, "partial_radiotext": { "description": "Incompletely received RadioText", "$ref": "#/definitions/radiotext" }, "partial_ps": { "description": "Incompletely received Program Service name", "$ref": "#/definitions/ps" }, "partial_alt_kilohertz": { "description": "Incomplete list of Alternative Frequencies", "type": "array", "items": { "type": "integer" } }, "open_data_app": { "type": "object", "properties": { "oda_group": { "description": "The group that carries this Open Data Application", "$ref": "#/definitions/grouptype" }, "app_name": { "type": "string" }, "message": { "type": "integer", "minimum": 0, "maximum": 65535 } }, "additionalProperties": false }, "clock_time": { "description": "Time and date at transmitter (formatted to RFC 3339, section 5.6)", "type": "string", "pattern": "^....-..-..T..:..:..((\\+|-)..:..|Z)$" }, "rx_time": { "description": "Time of demodulation/decoding", "type": "string" }, "in_house_data": { "description": "The contents of these bits are defined by the operator", "type": "array", "items": { "type": "integer", "minimum": 0, "maximum": 65535 } }, "other_network": { "description": "Information about programs on other networks", "type": "object", "properties": { "pi": { "$ref": "#/definitions/pi" }, "tp": { "type": "boolean" }, "ta": { "type": "boolean" }, "ps": { "$ref": "#/definitions/ps" }, "prog_type": { "type": "string" }, "alt_kilohertz": { "type": "array", "items": { "type": "integer" } }, "kilohertz": { "type": "integer" }, "has_linkage": { "type": "boolean" }, "linkage_set": { "type": "integer", "minimum": 0, "maximum": 4095 }, "prog_item_number": { "description": "A numeric identifier for the currently running program", "type": "integer", "minimum": 0, "maximum": 65535 }, "prog_item_started": { "$ref": "#/definitions/pin" } }, "required": [ "pi" ], "additionalProperties": false } }, "required": [ "pi" ], "additionalProperties": false } }
o89194
{ "$id": "http://iccl.inf.tu-dresden.de/marpl/schema", "$schema": "http://json-schema.org/draft-07/schema#", "title": "MARPL rules", "definitions": { "object-variable": { "type": "object", "properties": { "type": { "type": "string", "const": "variable" }, "name": { "type": "string", "minLength": 1 } }, "required": [ "type", "name" ] }, "object-literal": { "type": "object", "properties": { "type": { "type": "string", "const": "literal" }, "name": { "type": "string", "minLength": 1 } }, "required": [ "type", "name" ] }, "literal-expression": { "type": "object", "properties": { "type": { "type": "string", "const": "literal-expression" }, "name": { "type": "string", "minLength": 1 } }, "required": [ "type", "name" ] }, "object-term": { "oneOf": [ { "$ref": "#/definitions/object-variable" }, { "$ref": "#/definitions/object-literal" }, { "$ref": "#/definitions/literal-expression" } ] }, "set-literal": { "properties": { "type": { "type": "string", "const": "set-term" }, "assignments": { "type": "array", "items": { "type": "object", "properties": { "attribute": { "$ref": "#/definitions/object-term" }, "value": { "$ref": "#/definitions/object-term" } }, "required": [ "attribute", "value" ] }, "_uniqueItems": true } }, "required": [ "type", "assignments" ] }, "set-literal-with-dots": { "properties": { "type": { "type": "string", "const": "set-term" }, "assignments": { "type": "array", "items": { "type": "object", "properties": { "attribute": { "$ref": "#/definitions/object-term" }, "value": { "oneOf": [ { "$ref": "#/definitions/object-term" }, { "$ref": "#/definitions/dot" } ] } }, "required": [ "attribute", "value" ] }, "_uniqueItems": true } }, "required": [ "type", "assignments" ] }, "set-variable": { "type": "object", "properties": { "type": { "type": "string", "const": "set-variable" }, "name": { "type": "string", "minLength": 1 } }, "required": [ "type", "name" ] }, "set-term": { "oneOf": [ { "$ref": "#/definitions/set-literal" }, { "$ref": "#/definitions/set-variable" } ] }, "set-atom": { "type": "object", "properties": { "type": { "type": "string", "const": "set-atom" }, "attribute": { "$ref": "#/definitions/object-term" }, "value": { "$ref": "#/definitions/object-term" }, "set": { "$ref": "#/definitions/set-term" } }, "required": [ "type", "attribute", "value", "set" ] }, "relational-atom-base": { "type": "object", "properties": { "type": { "type": "string", "const": "relational-atom" }, "predicate": { "$ref": "#/definitions/object-term" }, "arguments": { "type": "array", "items": { "$ref": "#/definitions/object-term" } }, "annotation": { "type": "object" } }, "required": [ "type", "predicate", "arguments", "annotation" ] }, "function-term": { "type": "object", "properties": { "type": { "type": "string", "const": "function-term" }, "name": { "type": "string", "minLength": 1 }, "arguments": { "type": "array", "items": { "oneOf": [ { "$ref": "#/definitions/object-term" }, { "$ref": "#/definitions/set-term" } ] } } }, "required": [ "type", "name", "arguments" ] }, "relational-atom": { "type": "object", "allOf": [ { "$ref": "#/definitions/relational-atom-base" }, { "properties": { "annotation": { "$ref": "#/definitions/set-term" } } } ] }, "relational-atom-with-dots": { "type": "object", "allOf": [ { "$ref": "#/definitions/relational-atom-base" }, { "properties": { "annotation": { "oneOf": [ { "$ref": "#/definitions/set-literal-with-dots" }, { "$ref": "#/definitions/set-variable" } ] } } } ] }, "relational-atom-with-function-term": { "type": "object", "allOf": [ { "$ref": "#/definitions/relational-atom-base" }, { "properties": { "annotation": { "$ref": "#/definitions/function-term" } } } ] }, "placeholder": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "star", "plus" ] } }, "required": [ "type" ] }, "assignment": { "type": "object", "properties": { "attribute": { "$ref": "#/definitions/object-term" }, "value": { "oneOf": [ { "$ref": "#/definitions/object-term" }, { "$ref": "#/definitions/placeholder" } ] } }, "required": [ "attribute", "value" ] }, "dot": { "type": "object", "properties": { "type": { "type": "string", "const": "dot" }, "fromSpecifier": { "$ref": "#/definitions/set-variable" }, "item": { "$ref": "#/definitions/object-literal" } } }, "specifier": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "open-specifier", "closed-specifier" ] }, "assigmnents": { "type": "array", "items": { "$ref": "#/definitions/assignment" } } }, "required": [ "type", "assignments" ] }, "specifier-expression": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "union", "intersection", "difference" ] }, "specifiers": { "type": "array", "items": { "$ref": "#/definitions/specifier-term" }, "minItems": 1 } }, "required": [ "type", "specifiers" ] }, "specifier-term": { "oneOf": [ { "$ref": "#/definitions/specifier" }, { "$ref": "#/definitions/specifier-expression" } ] }, "specifier-atom": { "type": "object", "properties": { "type": { "type": "string", "const": "specifier-atom" }, "specifier": { "$ref": "#/definitions/specifier-term" }, "set": { "$ref": "#/definitions/set-variable" } }, "required": [ "specifier", "set" ] } }, "type": "object", "properties": { "type": { "type": "string", "const": "rule" }, "body": { "type": "array", "items": { "oneOf": [ { "$ref": "#/definitions/relational-atom" }, { "$ref": "#/definitions/set-atom" }, { "$ref": "#/definitions/specifier-atom" } ] } }, "head": { "oneOf": [ { "$ref": "#/definitions/relational-atom-with-dots" }, { "$ref": "#/definitions/relational-atom-with-function-term" } ] } }, "required": [ "body", "head" ] }
o17383
{ "properties": { "dimensions": { "properties": { "base": { "description": "The base of the shape", "type": "number" }, "height": { "description": "The height of the shape", "type": "number" }, "length": { "description": "The length of the shape", "type": "number" }, "radius": { "description": "The radius of the shape", "type": "number" }, "width": { "description": "The width of the shape", "type": "number" } }, "required": [ "length", "width", "radius", "base", "height" ], "type": "object" }, "shape": { "description": "The type of shape", "type": "string" } }, "required": [ "shape" ], "type": "object" }
calculate_area_1fb44ebd
{ "properties": { "backupfilename": { "readonly": true, "type": "string" }, "createdby": { "readonly": true, "type": "string" }, "creationtime": { "readonly": true, "type": "string" }, "filename": { "type": "string" }, "ipaddress": { "readonly": true, "type": "string" }, "techsuprtname": { "readonly": true, "type": "string" }, "version": { "readonly": true, "type": "string" } }, "title": "systemrestorepoint", "type": "object" }
o31043
{ "description": "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.", "properties": { "key": { "description": "The label key that the selector applies to.", "type": [ "string", "null" ] }, "values": { "description": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed.", "items": { "type": [ "string", "null" ] }, "type": [ "array", "null" ] } }, "required": [ "key", "values" ], "type": "object" }
kb_1082_Normalized
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "CTT Sensor Status Schema", "type": "object", "properties": { "eui": { "type": "string" }, "position": { "type": "object", "properties": { "lat": { "type": "number" }, "lon": { "type": "number" } }, "required": [ "lat", "lon" ] }, "status": { "type": "string", "enum": [ "OK", "UNKNOWN" ] }, "lastSeen": { "type": "string" }, "lastObservation": { "type": "object", "properties": { "eui": { "type": "string" }, "metadata": { "type": "object", "properties": { "gateway_eui": { "type": "string" }, "server_time": { "type": "string" }, "datarate": { "type": "string" }, "frequency": { "type": "number" }, "rssi": { "type": "integer" }, "lsnr": { "type": "integer" }, "codingrate": { "type": "string" }, "modulation": { "type": "string" }, "channel": { "type": "integer" }, "rfchain": { "type": "integer" }, "crc": { "type": "integer" }, "altitude": { "type": "integer" }, "longitude": { "type": "number" }, "latitude": { "type": "number" } }, "required": [ "gateway_eui", "server_time", "datarate", "frequency", "rssi", "lsnr", "codingrate", "modulation", "channel", "rfchain", "crc", "altitude", "longitude", "latitude" ] }, "data": { "type": "object", "properties": { "co2": { "type": "number" }, "no2": { "type": "integer" }, "temperature": { "type": "number" }, "humidity": { "type": "number" }, "pressure": { "type": "number" }, "pm1": { "type": "integer" }, "pm2": { "type": "integer" }, "pm10": { "type": "integer" }, "batteryLevel": { "type": "integer" } }, "required": [ "co2", "no2", "temperature", "humidity", "pressure", "batteryLevel" ] } }, "required": [ "eui", "metadata", "data" ] } }, "required": [ "eui", "position", "status", "lastSeen", "lastObservation" ] }
o11515
{ "properties": { "action": { "type": "string" }, "builtin": { "enum": [ "MODIFIABLE", "DELETABLE", "IMMUTABLE", "PARTITION_ALL" ], "readonly": true, "type": "object" }, "comment": { "type": "string" }, "description": { "readonly": true, "type": "string" }, "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" ], "readonly": true, "type": "string" }, "hits": { "readonly": true, "type": "integer" }, "name": { "type": "string" }, "policytype": { "enum": [ "Classic Policy", "Advanced Policy" ], "readonly": true, "type": "string" }, "reqaction": { "type": "string" }, "rule": { "type": "string" }, "undefaction": { "type": "string" }, "undefhits": { "readonly": true, "type": "integer" } }, "title": "sslpolicy", "type": "object" }
o30962
{ "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", "properties": { "resourceVersion": { "description": "Specifies the target ResourceVersion", "type": [ "string", "null" ] }, "uid": { "description": "Specifies the target UID.", "type": [ "string", "null" ] } }, "type": "object" }
kb_755_Normalized
{ "properties": { "linkerd-viz": { "properties": { "cpus": { "default": 1.0, "description": "CPU shares to allocate to linkerd-viz.", "minimum": 1.0, "type": "number" }, "dcos-ui": { "default": true, "description": "Access linkerd-viz at http://DCOS_URL/service/linkerd-viz via the DC/OS \"Open Service\" button. If you prefer to access linkerd-viz directly (http://PUBLIC_NODE:3000), set this to false.", "type": "boolean" }, "mem": { "default": 512.0, "description": "Memory (MB) to allocate to linkerd-viz.", "minimum": 512.0, "type": "number" }, "public-port": { "default": 3000, "description": "Public port. The port to access the linkerd-viz dashboard.", "type": "integer" }, "resource-role": { "default": "slave_public", "description": "The accepted resource role. By default, this will deploy to an agent with the \"slave_public\" role.", "type": "string" }, "stats-port": { "default": 9191, "description": "Stats port. The port gives the dashboard access to the backend stats server.", "type": "integer" } }, "required": [ "cpus", "mem", "public-port", "resource-role", "stats-port" ], "type": "object" } }, "required": [ "linkerd-viz" ], "type": "object" }
o90720
{ "$schema": "http://json-schema.org/draft-04/schema", "title": "JSON schema for React Cosmos configs", "type": "object", "additionalProperties": false, "properties": { "$schema": { "type": "string" }, "rootDir": { "description": "The root directory that all others paths in this config are relative to. Usually the root of your repo. If omitted, rootDir is equal to the directory containing your Cosmos config. When you don't use a Cosmos config, rootDir defaults to the current working directory.", "type": "string", "minLength": 1 }, "exportPath": { "description": "Where to generate static exports on disk. [default: \"cosmos-export\"]", "type": "string", "minLength": 1 }, "staticPath": { "description": "Dir path to serve static assets from.", "type": "string", "minLength": 1 }, "publicUrl": { "description": "Base URL for static assets. [default: \"/\"]", "type": "string" }, "fixturesDir": { "description": "Name for directories that contain fixtures (eg. __fixtures__/example.jsx). [default: \"__fixtures__\"]", "type": "string", "minLength": 1 }, "fixtureFileSuffix": { "description": "Suffix for fixture files (eg. example.fixture.jsx). [default: \"fixture\"]", "type": "string", "minLength": 1 }, "watchDirs": { "description": "Directories where the Cosmos server watches for fixture files changes while running. [default: [\".\"]]", "type": "array", "items": { "type": "string", "minLength": 1 }, "_uniqueItems": true }, "userDepsFilePath": { "description": "Where to generate a file that contains a map to all fixtures and other Cosmos-related user modules. Only used in setups where Cosmos can't piggyback on the user's build (eg. React Native setups). [default: \"cosmos.userdeps.js\"]", "type": "string", "minLength": 1 }, "hostname": { "description": "Dev server hostname. Set to null to accept connections with any hostname. [default: null]", "anyOf": [ { "type": "string", "minLength": 1 }, { "type": "null" } ] }, "port": { "description": "Dev server port. [default: 5000]", "type": "number" }, "https": { "description": "Server will be served over HTTPS", "type": "boolean" }, "httpsOptions": { "description": "Additional options for HTTPS server", "type": "object", "additionalProperties": false, "properties": { "certPath": { "description": "Path of a certificate file", "type": "string" }, "keyPath": { "description": "Path of a certificate's key file", "type": "string" } } }, "httpProxy": { "description": "Proxy some URLs to a different HTTP server (eg. an API backend dev server). Similar to devServer.proxy in webpack config.", "type": "object", "additionalProperties": true, "patternProperties": { ".*": { "anyOf": [ { "type": "string" }, { "type": "object", "description": "Advanced HTTP proxy config.", "additionalProperties": true, "required": [ "target" ], "properties": { "target": { "type": "string" }, "secure": { "type": "boolean" }, "pathRewrite": { "type": "object", "patternProperties": { ".*": { "type": "string" } } }, "logLevel": { "type": "string", "enum": [ "error", "debug", "info", "warn", "silent" ] } } } ] } } }, "globalImports": { "description": "Modules to be imported before loading components. Stuff like reset.css, polyfills, etc.", "type": "array", "items": { "type": "string", "minLength": 1 }, "_uniqueItems": true }, "dom": { "description": "DOM-related options", "type": "object", "properties": { "containerQuerySelector": { "description": "Document selector for existing element to use as component parent (eg. #root). A blank container element is created from scratch if no selector is provided. [default: null]", "type": [ "string", "null" ], "minLength": 1 } } }, "webpack": { "description": "Webpack-related options", "type": "object", "additionalProperties": false, "properties": { "configPath": { "description": "Path to an existing webpack config, which Cosmos will reuse to build your code. Set to null to disable this behavior. [default \"webpack.config.js\"]", "anyOf": [ { "type": "string", "minLength": 1 }, { "type": "null" } ] }, "overridePath": { "description": "Path to a user module that customizes the webpack config used by Cosmos. Set to null to disable this behavior. [default \"webpack.override.js\"]", "anyOf": [ { "type": "string", "minLength": 1 }, { "type": "null" } ] }, "hotReload": { "description": "Enable webpack's Hot Module Replacement. [default: true]", "type": "boolean" } } }, "ui": { "description": "UI plugin options", "type": "object", "additionalProperties": true, "properties": { "responsivePreview": { "type": "object", "additionalProperties": false, "properties": { "devices": { "description": "List of device viewports", "type": "array", "items": { "type": "object", "additionalProperties": false, "required": [ "label", "width", "height" ], "properties": { "label": { "type": "string", "minLength": 1 }, "width": { "type": "number", "minimum": 1 }, "height": { "type": "number", "minimum": 1 } } } } } } } } } }
o76669
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "Configuration file schema", "type": "object", "properties": { "httpsCertificatePath": { "description": "Path to the certificate", "type": "string" }, "databaseFileName": { "description": "Path to SQLite database", "type": "string" }, "enableHtmlEmail": { "description": "Determines if HTML email should be sent", "type": "boolean", "default": true }, "enableHttp": { "description": "Determines if HTTP is enabled", "type": "boolean" }, "enableHttps": { "description": "Determines if HTTPS is enabled", "type": "boolean" }, "httpListenIP": { "description": "HTTP listen IP", "type": "string" }, "httpsListenIP": { "description": "HTTPS listen IP", "type": "string" }, "httpListenPort": { "description": "HTTP listen port", "type": "integer" }, "httpsListenPort": { "description": "HTTPS listen port", "type": "integer" }, "enableWebInterface": { "description": "Determines if sent email history should be accessible for view", "type": "boolean" }, "webInterfaceIP": { "description": "Web Interface IP", "type": "string" }, "webInterfacePort": { "description": "Web Interface port", "type": "integer" }, "recipientEmails": { "description": "Recipient emails", "type": [ "string", "array" ] }, "smtpOptions": { "description": "Nodemailer SMTP options", "type": "object", "properties": { "port": { "description": "SMTP Port", "type": "integer" }, "host": { "description": "SMTP Host", "type": "string" }, "tls": { "description": "Defines additional node.js TLSSocket options to be passed to the socket constructor", "type": "object", "properties": { "rejectUnauthorized": { "description": "If not false, the server certificate is verified against the list of supplied CAs", "type": "boolean" } } }, "auth": { "description": "Defines authentication data", "type": "object", "properties": { "user": { "description": "User name", "type": "string" }, "pass": { "description": "The password for the user if normal login is used" } } } } }, "formTargets": { "description": "Form keys", "type": "object", "patternProperties": { ".*": { "oneOf": [ { "type": "object", "properties": { "subject": { "type": "string" }, "recipient": { "type": [ "array", "string" ] } } }, { "type": "array" }, { "type": "string" } ] } } }, "fromEmail": { "description": "Sender's email", "type": "string" }, "subject": { "description": "Email subject", "type": "string" }, "maxHttpRequestSize": { "description": "Maximum HTTP Request Size", "type": "string" }, "httpsPrivateKeyPath": { "description": "Path to the certificate private key", "type": "string" }, "logLevel": { "description": "Log level", "type": "string" }, "redirectFieldName": { "description": "Page to be redirected after the form is submitted.", "type": "string" }, "reCaptchaSiteKey": { "description": "Recaptcha Site Key.", "type": "string" }, "reCaptchaSecret": { "description": "Recaptcha Secret Key", "type": "string" }, "enableRecaptcha": { "description": "Determines if g-recaptcha-response checking should be enabled.", "type": "boolean" } }, "required": [ "recipientEmails" ] }
o61006
{ "properties": { "compound_frequency": { "description": "The frequency of compounding interest", "type": "string" }, "duration": { "description": "The duration of the investment in years", "type": "integer" }, "interest_rate": { "description": "The annual interest rate", "type": "number" }, "principal": { "description": "The principal amount of the investment", "type": "number" } }, "required": [ "principal", "interest_rate", "duration", "compound_frequency" ], "type": "object" }
calculate_interest_3d9dcfea
{ "definitions": { "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_MicroTime": { "_format": "date-time", "description": "MicroTime is version of Time with microsecond level precision.", "type": "string" } }, "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.", "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", "format": "int32", "type": [ "integer", "null" ] }, "lastObservedTime": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_MicroTime", "description": "Time when last Event from the series was seen before last heartbeat." }, "state": { "description": "Information whether this series is ongoing or finished. Deprecated. Planned removal for 1.18", "type": [ "string", "null" ] } }, "required": [ "count", "lastObservedTime", "state" ], "type": "object" }
kb_330_Normalized
{ "definitions": { "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_certificates_v1beta1_CertificateSigningRequestCondition": { "properties": { "lastUpdateTime": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time", "description": "timestamp for the last update to this condition" }, "message": { "description": "human readable message with details about the request state", "type": "string" }, "reason": { "description": "brief reason for the request state", "type": "string" }, "type": { "description": "request approval state, currently Approved or Denied.", "type": "string" } }, "required": [ "type" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_certificates_v1beta1_CertificateSigningRequestSpec": { "description": "This information is immutable after the request is created. Only the Request and Usages fields can be set on creation, other fields are derived by Kubernetes and cannot be modified by users.", "properties": { "extra": { "additionalProperties": { "items": { "type": "string" }, "type": "array" }, "description": "Extra information about the requesting user. See user.Info interface for details.", "type": "object" }, "groups": { "description": "Group information about the requesting user. See user.Info interface for details.", "items": { "type": "string" }, "type": "array" }, "request": { "_format": "byte", "description": "Base64-encoded PKCS#10 CSR data", "type": "string" }, "signerName": { "description": "Requested signer for the request. It is a qualified name in the form: `scope-hostname.io/name`. If empty, it will be defaulted:\n 1. If it's a kubelet client certificate, it is assigned\n \"kubernetes.io/kube-apiserver-client-kubelet\".\n 2. If it's a kubelet serving certificate, it is assigned\n \"kubernetes.io/kubelet-serving\".\n 3. Otherwise, it is assigned \"kubernetes.io/legacy-unknown\".\nDistribution of trust for signers happens out of band. You can select on this field using `spec.signerName`.", "type": "string" }, "uid": { "description": "UID information about the requesting user. See user.Info interface for details.", "type": "string" }, "usages": { "description": "allowedUsages specifies a set of usage contexts the key will be valid for. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3\n https://tools.ietf.org/html/rfc5280#section-4.2.1.12", "items": { "type": "string" }, "type": "array" }, "username": { "description": "Information about the requesting user. See user.Info interface for details.", "type": "string" } }, "required": [ "request" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_certificates_v1beta1_CertificateSigningRequestStatus": { "properties": { "certificate": { "_format": "byte", "description": "If request was approved, the controller will place the issued certificate here.", "type": "string" }, "conditions": { "description": "Conditions applied to the request, such as approval or denial.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_certificates_v1beta1_CertificateSigningRequestCondition" }, "type": "array" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1": { "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff", "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry": { "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.", "properties": { "apiVersion": { "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.", "type": "string" }, "fieldsType": { "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"", "type": "string" }, "fieldsV1": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1", "description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type." }, "manager": { "description": "Manager is an identifier of the workflow managing these fields.", "type": "string" }, "operation": { "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.", "type": "string" }, "time": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time", "description": "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta": { "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", "properties": { "annotations": { "additionalProperties": { "type": "string" }, "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", "type": "object" }, "clusterName": { "description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.", "type": "string" }, "creationTimestamp": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time", "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "deletionGracePeriodSeconds": { "_format": "int64", "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", "type": "integer" }, "deletionTimestamp": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time", "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "finalizers": { "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.", "items": { "type": "string" }, "type": "array", "x-kubernetes-patch-strategy": "merge" }, "generateName": { "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency", "type": "string" }, "generation": { "_format": "int64", "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", "type": "integer" }, "labels": { "additionalProperties": { "type": "string" }, "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", "type": "object" }, "managedFields": { "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry" }, "type": "array" }, "name": { "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names", "type": "string" }, "namespace": { "description": "Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces", "type": "string" }, "ownerReferences": { "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_OwnerReference" }, "type": "array", "x-kubernetes-patch-merge-key": "uid", "x-kubernetes-patch-strategy": "merge" }, "resourceVersion": { "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", "type": "string" }, "selfLink": { "description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.", "type": "string" }, "uid": { "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", "type": "string" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_OwnerReference": { "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.", "properties": { "apiVersion": { "description": "API version of the referent.", "type": "string" }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", "type": "boolean" }, "controller": { "description": "If true, this reference points to the managing controller.", "type": "boolean" }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "name": { "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", "type": "string" }, "uid": { "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", "type": "string" } }, "required": [ "apiVersion", "kind", "name", "uid" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time": { "_format": "date-time", "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": "string" } }, "description": "Describes a certificate signing request", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": [ "string", "null" ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "enum": [ "CertificateSigningRequest" ], "type": [ "string", "null" ] }, "metadata": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta" }, "spec": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_certificates_v1beta1_CertificateSigningRequestSpec", "description": "The certificate request itself and any additional information." }, "status": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_certificates_v1beta1_CertificateSigningRequestStatus", "description": "Derived information about the request." } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "certificates.k8s.io", "kind": "CertificateSigningRequest", "version": "v1beta1" } ] }
kb_68_Normalized
{ "properties": { "end_datetime": { "description": "The end date and time of the meeting", "format": "date-time", "type": "string" }, "location": { "description": "The location of the meeting", "type": "string" }, "participants": { "description": "The participants of the meeting", "items": { "type": "string" }, "type": "array" }, "start_datetime": { "description": "The start date and time of the meeting", "format": "date-time", "type": "string" }, "title": { "description": "The title of the meeting", "type": "string" } }, "required": [ "title", "participants", "start_datetime", "end_datetime" ], "type": "object" }
schedule_meeting_f8736b3a
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "Data Statistics", "description": "Defines the format for describing the statistics (distribution, etc.) of a data source (TODO)", "type": "object", "properties": { "avg": { "description": "The average frequency (in ms) for data updates", "type": "integer", "minimum": 0 }, "max": { "description": "The maximum expected frequency (in ms) for data updates", "type": "integer", "minimum": 0 }, "min": { "description": "The minimum expected frequency (in ms) for data updates", "type": "integer", "minimum": 0 } } }
o47064
{ "additionalProperties": false, "definitions": { "backendType": { "additionalProperties": false, "properties": { "serviceName": { "minLength": 1, "type": "string" }, "servicePort": { "$ref": "#/definitions/portType" } }, "required": [ "serviceName", "servicePort" ], "type": "object" }, "frontendIAppType": { "additionalProperties": false, "properties": { "iapp": { "minLength": 1, "type": "string" }, "iappOptions": { "additionalProperties": false, "patternProperties": { "^[a-zA-Z0-9_-]+$": { "minLength": 1, "type": "string" } }, "type": "object" }, "iappTableName": { "minLength": 1, "type": "string" }, "iappVariables": { "additionalProperties": false, "patternProperties": { "^[a-zA-Z0-9_-]+$": { "minLength": 1, "type": "string" } }, "type": "object" }, "partition": { "minLength": 1, "type": "string" } }, "required": [ "partition", "iapp", "iappOptions", "iappTableName", "iappVariables" ], "type": "object" }, "frontendVSType": { "additionalProperties": false, "properties": { "balance": { "enum": [ "dynamic-ratio-member", "dynamic-ratio-node", "fastest-app-response", "fastest-node", "least-connections-member", "least-connections-node", "least-sessions", "observed-member", "observed-node", "predictive-member", "predictive-node", "ratio-least-connections-member", "ratio-least-connections-node", "ratio-member", "ratio-node", "round-robin", "ratio-session", "weighted-least-connections-member", "weighted-least-connections-node" ], "type": "string" }, "mode": { "enum": [ "http", "tcp" ], "type": "string" }, "partition": { "minLength": 1, "type": "string" }, "sslProfile": { "$ref": "#/definitions/sslProfileType" }, "virtualAddress": { "$ref": "#/definitions/virtualAddressType" } }, "required": [ "partition", "virtualAddress" ], "type": "object" }, "portType": { "maximum": 65535, "minimum": 1, "type": "integer" }, "sslProfileType": { "additionalProperties": false, "properties": { "f5ProfileName": { "minLength": 1, "type": "string" } }, "required": [ "f5ProfileName" ], "type": "object" }, "virtualAddressType": { "additionalProperties": false, "properties": { "bindAddr": { "anyOf": [ { "format": "ipv4" }, { "format": "ipv6" } ] }, "port": { "$ref": "#/definitions/portType" } }, "required": [ "bindAddr", "port" ], "type": "object" } }, "properties": { "virtualServer": { "additionalProperties": false, "properties": { "backend": { "$ref": "#/definitions/backendType" }, "frontend": { "oneOf": [ { "$ref": "#/definitions/frontendIAppType" }, { "$ref": "#/definitions/frontendVSType" } ] } }, "required": [ "backend", "frontend" ], "type": "object" } }, "required": [ "virtualServer" ], "type": "object" }
o76576
{ "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" } }, "required": [ "radius", "length", "width", "base", "height" ], "type": "object" }, "shape": { "description": "The shape (e.g. circle, rectangle, triangle)", "type": "string" } }, "required": [ "shape", "dimensions" ], "type": "object" }
calculate_area_1ee30759
{ "$id": "https://json.schemastore.org/golangci-lint.json", "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "gocritic-checks": { "enum": [ "appendAssign", "appendCombine", "argOrder", "assignOp", "badCall", "badCond", "badLock", "badRegexp", "badSorting", "boolExprSimplify", "builtinShadow", "builtinShadowDecl", "captLocal", "caseOrder", "codegenComment", "commentedOutCode", "commentedOutImport", "commentFormatting", "defaultCaseOrder", "deferUnlambda", "deferInLoop", "deprecatedComment", "docStub", "dupArg", "dupBranchBody", "dupCase", "dupImport", "dupSubExpr", "dynamicFmtString", "elseif", "emptyDecl", "emptyFallthrough", "emptyStringTest", "equalFold", "evalOrder", "exitAfterDefer", "exposedSyncMutex", "externalErrorReassign", "filepathJoin", "flagDeref", "flagName", "hexLiteral", "httpNoBody", "hugeParam", "ifElseChain", "importShadow", "indexAlloc", "initClause", "ioutilDeprecated", "mapKey", "methodExprCall", "nestingReduce", "newDeref", "nilValReturn", "octalLiteral", "offBy1", "paramTypeCombine", "preferDecodeRune", "preferFilepathJoin", "preferFprint", "preferStringWriter", "preferWriteByte", "ptrToRefParam", "rangeExprCopy", "rangeValCopy", "redundantSprint", "regexpMust", "regexpPattern", "regexpSimplify", "returnAfterHttpError", "ruleguard", "singleCaseSwitch", "sliceClear", "sloppyLen", "sloppyReassign", "sloppyTypeAssert", "sortSlice", "sprintfQuotedString", "sqlQuery", "stringConcatSimplify", "stringsCompare", "stringXbytes", "suspiciousSorting", "switchTrue", "syncMapLoadAndDelete", "timeCmpSimplify", "timeExprSimplify", "tooManyResultsChecker", "truncateCmp", "typeAssertChain", "typeDefFirst", "typeSwitchVar", "typeUnparen", "uncheckedInlineErr", "underef", "unlabelStmt", "unlambda", "unnamedResult", "unnecessaryBlock", "unnecessaryDefer", "unslice", "valSwap", "weakCond", "whyNoLint", "wrapperFunc", "yodaStyleExpr" ] }, "gocritic-tags": { "enum": [ "diagnostic", "style", "performance", "experimental", "opinionated", "security" ] }, "gosec-rules": { "enum": [ "G101", "G102", "G103", "G104", "G106", "G107", "G108", "G109", "G110", "G111", "G112", "G113", "G114", "G201", "G202", "G203", "G204", "G301", "G302", "G303", "G304", "G305", "G306", "G307", "G401", "G402", "G403", "G404", "G501", "G502", "G503", "G504", "G505", "G601" ] }, "govet-analyzers": { "enum": [ "asmdecl", "assign", "atomic", "atomicalign", "bools", "buildtag", "cgocall", "composites", "copylocks", "deepequalerrors", "errorsas", "fieldalignment", "findcall", "framepointer", "httpresponse", "ifaceassert", "loopclosure", "lostcancel", "nilfunc", "nilness", "printf", "reflectvaluecompare", "shadow", "shift", "sigchanyzer", "sortslice", "stdmethods", "stringintconv", "structtag", "testinggoroutine", "tests", "unmarshal", "unreachable", "unsafeptr", "unusedresult", "unusedwrite" ] }, "linters": { "description": "Linters usable.", "$comment": "anyOf with enum is used to allow auto completion of non-custom linters", "anyOf": [ { "enum": [ "asasalint", "asciicheck", "bidichk", "bodyclose", "containedctx", "contextcheck", "cyclop", "deadcode", "decorder", "depguard", "dogsled", "dupl", "dupword", "durationcheck", "errcheck", "errchkjson", "errname", "errorlint", "execinquery", "exhaustive", "exhaustivestruct", "exhaustruct", "exportloopref", "forbidigo", "forcetypeassert", "funlen", "gci", "ginkgolinter", "gocheckcompilerdirectives", "gochecknoglobals", "gochecknoinits", "gocognit", "goconst", "gocritic", "gocyclo", "godot", "godox", "goerr113", "gofmt", "gofumpt", "goheader", "goimports", "golint", "gomnd", "gomoddirectives", "gomodguard", "goprintffuncname", "gosec", "gosimple", "gosmopolitan", "govet", "grouper", "ifshort", "importas", "ineffassign", "interfacebloat", "interfacer", "ireturn", "lll", "loggercheck", "maintidx", "makezero", "maligned", "mirror", "misspell", "musttag", "nakedret", "nestif", "nilerr", "nilnil", "nlreturn", "noctx", "nolintlint", "nonamedreturns", "nosnakecase", "nosprintfhostport", "paralleltest", "prealloc", "predeclared", "promlinter", "reassign", "revive", "rowserrcheck", "scopelint", "sqlclosecheck", "staticcheck", "structcheck", "stylecheck", "tagalign", "tagliatelle", "tenv", "testableexamples", "testpackage", "thelper", "tparallel", "typecheck", "unconvert", "unparam", "unused", "usestdlibvars", "varcheck", "varnamelen", "wastedassign", "whitespace", "wrapcheck", "wsl", "zerologlint" ] }, { "type": "string" } ] }, "issue-match-path": { "type": "object", "properties": { "path": { "type": "string" }, "severity": { "$comment": "This is here only to allow `additionalProperties: false`." } }, "additionalProperties": false }, "issue-match-linters": { "type": "object", "properties": { "linters": { "type": "array", "items": { "$ref": "#/definitions/linters" } }, "severity": { "$comment": "This is here only to allow `additionalProperties: false`." } }, "additionalProperties": false }, "issue-match-source": { "type": "object", "properties": { "source": { "type": "string" }, "severity": { "$comment": "This is here only to allow `additionalProperties: false`." } }, "additionalProperties": false }, "issue-match-text": { "type": "object", "properties": { "text": { "type": "string" }, "severity": { "$comment": "This is here only to allow `additionalProperties: false`." } }, "additionalProperties": false } }, "properties": { "run": { "description": "Options for analysis running,", "type": "object", "properties": { "concurrency": { "description": "Number of concurrent runners. Defaults to the number of available CPU cores.", "type": "integer", "minimum": 1, "examples": [4] }, "timeout": { "description": "Timeout for the analysis.", "type": "string", "pattern": "^\\d*[sm]$", "default": "1m", "examples": ["30s", "5m"] }, "issue-exit-code": { "description": "Exit code when at least one issue was found.", "type": "integer", "default": 1 }, "tests": { "description": "Enable inclusion of test files.", "type": "boolean", "default": true }, "build-tags": { "description": "List of build tags to pass to all linters.", "type": "array", "items": { "type": "string" }, "default": [], "examples": [["mytag"]] }, "skip-dirs": { "description": "Which directories to skip: issues from them won't be reported.", "type": "array", "items": { "description": "You can use regexp here. The regexp is applied on the full path.\n\"/\" will be replaced by current OS file path separator to properly work on Windows.", "type": "string", "examples": ["generated.*"] }, "default": [], "examples": [["src/external_libs", "autogenerated_by_my_lib"]] }, "skip-dirs-use-default": { "description": "Enable skipping of directories \"vendor\", \"third_party\", \"testdata\", \"examples\", \"Godeps\", and \"builtin\".", "type": "boolean", "default": true }, "skip-files": { "description": "Which files to skip: they will be analyzed, but issues from them will not be reported.", "type": "array", "items": { "description": "You can use regexp here. There is no need to include all autogenerated files, we confidently recognize them. If that is not the case, please let us know.\n\"/\" will be replaced by current OS file path separator to properly work on Windows.", "type": "string", "examples": [".*\\.my\\.go$"] }, "default": [], "examples": [[".*\\.my\\.go$", "lib/bad.go"]] }, "modules-download-mode": { "description": "Option to pass to \"go list -mod={option}\".\nSee \"go help modules\" for more information.", "enum": ["mod", "readonly", "vendor"] }, "allow-parallel-runners": { "description": "Allow multiple parallel golangci-lint instances running. If disabled, golangci-lint acquires file lock on start.", "type": "boolean", "default": false }, "go": { "description": "Targeted Go version.", "type": "string", "default": "1.17" } } }, "output": { "description": "Output configuration options.", "type": "object", "properties": { "format": { "description": "Output format to use.", "pattern": "^(,?(colored-line-number|line-number|json|colored-tab|tab|checkstyle|code-climate|junit-xml|github-actions|teamcity)(:[^,]+)?)+$", "default": "colored-line-number", "examples": [ "colored-line-number", "checkstyle:report.json,colored-line-number", "line-number:golangci-lint.out,colored-line-number:stdout" ] }, "print-issued-lines": { "description": "Print lines of code with issue.", "type": "boolean", "default": true }, "print-linter-name": { "description": "Print linter name in the end of issue text.", "type": "boolean", "default": true }, "unique-by-line": { "description": "Make issues output unique by line.", "type": "boolean", "default": true }, "path-prefix": { "description": "Add a prefix to the output file references.", "type": "string", "default": "" } } }, "linters-settings": { "description": "All available settings of specific linters.", "type": "object", "properties": { "dupword": { "type": "object", "properties": { "keywords": { "description": "Keywords for detecting duplicate words. If this list is not empty, only the words defined in this list will be detected.", "type": "array", "uniqueItems": true, "items": { "type": "string", "examples": ["the", "and", "a"] } } } }, "asasalint": { "type": "object", "properties": { "exclude": { "description": "To specify a set of function names to exclude.", "type": "array", "uniqueItems": true, "items": { "type": "string", "examples": ["\\.Wrapf"] } }, "use-builtin-exclusions": { "description": "To enable/disable the asasalint builtin exclusions of function names.", "type": "boolean", "default": true }, "ignore-test": { "description": "Ignore *_test.go files.", "type": "boolean", "default": false } } }, "bidichk": { "type": "object", "properties": { "left-to-right-embedding": { "description": "Disallow: LEFT-TO-RIGHT-EMBEDDING", "type": "boolean", "default": false }, "right-to-left-embedding": { "description": "Disallow: RIGHT-TO-LEFT-EMBEDDING", "type": "boolean", "default": false }, "pop-directional-formatting": { "description": "Disallow: POP-DIRECTIONAL-FORMATTING", "type": "boolean", "default": false }, "left-to-right-override": { "description": "Disallow: LEFT-TO-RIGHT-OVERRIDE", "type": "boolean", "default": false }, "right-to-left-override": { "description": "Disallow: RIGHT-TO-LEFT-OVERRIDE", "type": "boolean", "default": false }, "left-to-right-isolate": { "description": "Disallow: LEFT-TO-RIGHT-ISOLATE", "type": "boolean", "default": false }, "right-to-left-isolate": { "description": "Disallow: RIGHT-TO-LEFT-ISOLATE", "type": "boolean", "default": false }, "first-strong-isolate": { "description": "Disallow: FIRST-STRONG-ISOLATE", "type": "boolean", "default": false }, "pop-directional-isolate": { "description": "Disallow: POP-DIRECTIONAL-ISOLATE", "type": "boolean", "default": false } } }, "cyclop": { "type": "object", "properties": { "skip-tests": { "description": "Should the linter execute on test files as well", "type": "boolean", "default": false }, "max-complexity": { "description": "Max complexity the function can have", "type": "integer", "default": 10, "minimum": 0 }, "package-average": { "description": "Max average complexity in package", "type": "number", "default": 0, "minimum": 0 } } }, "decorder": { "type": "object", "properties": { "dec-order": { "type": "array", "default": [["type", "const", "var", "func"]], "items": { "enum": ["type", "const", "var", "func"] } }, "disable-dec-order-check": { "description": "Order of declarations is not checked", "default": true, "type": "boolean" }, "disable-init-func-first-check": { "description": "Allow init func to be anywhere in file", "default": true, "type": "boolean" }, "disable-dec-num-check": { "description": "Multiple global type, const and var declarations are allowed", "default": true, "type": "boolean" } } }, "depguard": { "type": "object", "additionalProperties": false, "properties": { "rules": { "description": "Rules to apply.", "type": "object", "additionalProperties": false, "patternProperties": { "^[^.]+$": { "description": "Name of a rule.", "additionalProperties": false, "type": "object", "properties": { "files": { "description": "List of file globs that will match this list of settings to compare against.", "additionalProperties": false, "type": "array", "items": { "type": "string" } }, "allow": { "description": "List of allowed packages.", "additionalProperties": false, "type": "array", "items": { "type": "string" } }, "deny": { "description": "Packages that are not allowed where the value is a suggestion.", "additionalProperties": false, "type": "array", "items": { "additionalProperties": false, "type": "object", "properties": { "desc": { "description": "Description", "type": "string" }, "pkg": { "description": "Package", "type": "string" } } } } } } } } } }, "dogsled": { "type": "object", "properties": { "max-blank-identifiers": { "description": "Check assignments with too many blank identifiers.", "type": "integer", "default": 2, "minimum": 0 } } }, "dupl": { "type": "object", "properties": { "threshold": { "description": "Tokens count to trigger issue.", "type": "integer", "default": 150, "minimum": 0 } } }, "errcheck": { "type": "object", "properties": { "check-type-assertions": { "description": "Report about not checking errors in type assertions, i.e.: `a := b.(MyStruct)`", "type": "boolean", "default": false }, "check-blank": { "description": "Report about assignment of errors to blank identifier", "type": "boolean", "default": false }, "ignore": { "description": "DEPRECATED: use `exclude-functions` instead. Comma-separated list of pairs of the form \"pkg:regex\".", "type": "string", "default": "fmt:.*" }, "exclude": { "description": "DEPRECATED: use `exclude-functions` instead. Path to a file containing a list of functions to exclude from checking.", "type": "string", "examples": ["/path/to/file.txt"] }, "exclude-functions": { "description": "List of functions to exclude from checking, where each entry is a single function to exclude", "type": "array", "examples": ["io/ioutil.ReadFile", "io.Copy(*bytes.Buffer)"], "items": { "type": "string" } }, "disable-default-exclusions": { "description": "To disable the errcheck built-in exclude list", "type": "boolean", "default": false } } }, "errchkjson": { "type": "object", "properties": { "check-error-free-encoding": { "type": "boolean", "default": false }, "report-no-exported": { "description": "Issue on struct that doesn't have exported fields.", "type": "boolean", "default": false } } }, "errorlint": { "type": "object", "properties": { "errorf": { "description": "Check whether fmt.Errorf uses the %w verb for formatting errors", "type": "boolean", "default": true }, "errorf-multi": { "description": "Permit more than 1 %w verb, valid per Go 1.20", "type": "boolean", "default": true }, "asserts": { "description": "Check for plain type assertions and type switches.", "type": "boolean", "default": true }, "comparison": { "description": "Check for plain error comparisons", "type": "boolean", "default": true } } }, "exhaustive": { "type": "object", "properties": { "check": { "description": "Program elements to check for exhaustiveness.", "type": "array", "uniqueItems": true, "items": { "type": "string", "examples": ["switch", "map"] } }, "check-generated": { "description": "Check switch statements in generated files", "type": "boolean", "default": false }, "explicit-exhaustive-switch": { "description": "Only run exhaustive check on switches with \"//exhaustive:enforce\" comment.", "type": "boolean", "default": false }, "explicit-exhaustive-map": { "description": "Only run exhaustive check on map literals with \"//exhaustive:enforce\" comment.", "type": "boolean", "default": false }, "default-signifies-exhaustive": { "description": "Presence of `default` case in switch statements satisfies exhaustiveness, even if all enum members are not listed.", "type": "boolean", "default": false }, "ignore-enum-members": { "description": "Enum members matching `regex` do not have to be listed in switch statements to satisfy exhaustiveness", "type": "string" }, "ignore-enum-types": { "description": "Enum types matching the supplied regex do not have to be listed in switch statements to satisfy exhaustiveness.", "type": "string" }, "package-scope-only": { "description": "Consider enums only in package scopes, not in inner scopes.", "type": "boolean", "default": false } } }, "ginkgolinter": { "type": "object", "properties": { "suppress-len-assertion": { "description": "Suppress the wrong length assertion warning.", "type": "boolean", "default": false }, "suppress-nil-assertion": { "description": "Suppress the wrong nil assertion warning.", "type": "boolean", "default": false }, "suppress-err-assertion": { "description": "Suppress the wrong error assertion warning.", "type": "boolean", "default": false }, "suppress-compare-assertion": { "description": "Suppress the wrong comparison assertion warning.", "type": "boolean", "default": false }, "suppress-async-assertion": { "description": "Suppress the function all in async assertion warning.", "type": "boolean", "default": false }, "allow-havelen-zero": { "description": "Don't trigger warnings for HaveLen(0).", "type": "boolean", "default": false } } }, "exhaustivestruct": { "type": "object", "properties": { "struct-patterns": { "description": "Struct Patterns is list of expressions to match struct packages (written using `path` matching syntax)", "type": "array", "examples": ["^print.*$"], "items": { "type": "string" } } } }, "exhaustruct": { "type": "object", "properties": { "include": { "description": "List of regular expressions to match struct packages and names.", "type": "array", "examples": [".*\\.Test"], "items": { "type": "string" } }, "exclude": { "description": "List of regular expressions to exclude struct packages and names from check.", "type": "array", "examples": ["cobra\\.Command$"], "items": { "type": "string" } } } }, "forbidigo": { "type": "object", "additionalProperties": false, "properties": { "exclude-godoc-examples": { "description": "Exclude code in godoc examples.", "type": "boolean", "default": true }, "analyze-types": { "description": "Instead of matching the literal source code, use type information to replace expressions with strings that contain the package name and (for methods and fields) the type name.", "type": "boolean", "default": true }, "forbid": { "description": "List of identifiers to forbid (written using `regexp`)", "type": "array", "examples": ["^print.*$"], "items": { "anyOf": [ { "type": "string" }, { "type": "object", "properties": { "p": { "description": "Pattern", "type": "string" }, "pkg": { "description": "Package", "type": "string" }, "msg": { "description": "Message", "type": "string" } }, "additionalProperties": false } ] } } } }, "funlen": { "type": "object", "additionalProperties": false, "properties": { "lines": { "description": "Limit lines number per function.", "type": "integer", "default": 60 }, "statements": { "description": "Limit statements number per function", "type": "integer", "default": 40 } } }, "gci": { "type": "object", "properties": { "local-prefixes": { "description": "DEPRECATED: use 'sections' and 'prefix(github.com/org/project)' instead.", "type": "string", "examples": ["github.com/org/project"] }, "sections": { "description": "Section configuration to compare against.", "type": "array", "items": { "type": "string" }, "default": ["standard", "default"] }, "skip-generated": { "description": "Skip generated files.", "type": "boolean", "default": true }, "custom-order": { "description": "Enable custom order of sections.", "type": "boolean", "default": false } } }, "gocognit": { "type": "object", "properties": { "min-complexity": { "description": "Minimal code complexity to report (we recommend 10-20).", "type": "integer", "default": 30 } } }, "goconst": { "type": "object", "properties": { "match-constant": { "description": "Look for existing constants matching the values", "type": "boolean", "default": true }, "min-len": { "description": "Minimum length of string constant.", "type": "integer", "default": 3 }, "min-occurrences": { "description": "Minimum occurrences count to trigger.", "type": "integer", "default": 3 }, "ignore-tests": { "description": "Ignore test files.", "type": "boolean", "default": false }, "ignore-calls": { "description": "Ignore when constant is not used as function argument", "type": "boolean", "default": true }, "numbers": { "description": "Search also for duplicated numbers.", "type": "boolean", "default": false }, "min": { "description": "Minimum value, only works with `numbers`", "type": "integer", "default": 3 }, "max": { "description": "Maximum value, only works with `numbers`", "type": "integer", "default": 3 } } }, "gocritic": { "type": "object", "properties": { "enabled-checks": { "description": "Which checks should be enabled. By default, a list of stable checks is used. To see it, run `GL_DEBUG=gocritic golangci-lint run`.", "type": "array", "items": { "$ref": "#/definitions/gocritic-checks" } }, "disabled-checks": { "description": "Which checks should be disabled.", "type": "array", "items": { "$ref": "#/definitions/gocritic-checks" }, "default": [] }, "enabled-tags": { "description": "Enable multiple checks by tags, run `GL_DEBUG=gocritic golangci-lint run` to see all tags and checks.", "type": "array", "items": { "$ref": "#/definitions/gocritic-tags" } }, "disabled-tags": { "description": "Disable multiple checks by tags, run `GL_DEBUG=gocritic golangci-lint run` to see all tags and checks.", "type": "array", "items": { "$ref": "#/definitions/gocritic-tags" } }, "settings": { "description": "Settings passed to gocritic. Properties must be valid and enabled check names.", "type": "object", "propertyNames": { "$ref": "#/definitions/gocritic-checks" } } } }, "gocyclo": { "type": "object", "properties": { "min-complexity": { "description": "Minimum code complexity to report (we recommend 10-20).", "type": "integer", "default": 30 } } }, "godot": { "type": "object", "properties": { "scope": { "description": "Comments to be checked.", "enum": ["declarations", "toplevel", "all"], "default": "declarations" }, "exclude": { "description": "List of regexps for excluding particular comment lines from check.", "type": "array", "items": { "type": "string" } }, "period": { "description": "Check that each sentence ends with a period.", "type": "boolean", "default": true }, "capital": { "description": "Check that each sentence starts with a capital letter.", "type": "boolean", "default": false }, "check-all": { "description": "DEPRECATED: Check all top-level comments, not only declarations.", "type": "boolean", "default": false } } }, "godox": { "type": "object", "properties": { "keywords": { "description": "Report any comments starting with one of theses keywords. This is useful for TODO or FIXME comments that might be left in the code accidentally and should be resolved before merging.", "type": "array", "items": { "type": "string" }, "default": ["TODO", "BUG", "FIXME"] } } }, "gofmt": { "type": "object", "properties": { "simplify": { "description": "Simplify code.", "type": "boolean", "default": true }, "rewrite-rules": { "description": "Apply the rewrite rules to the source before reformatting.", "type": "array", "items": { "type": "object", "properties": { "pattern": { "type": "string" }, "replacement": { "type": "string" } }, "additionalProperties": false } } } }, "interfacebloat": { "type": "object", "properties": { "max": { "description": "The maximum number of methods allowed for an interface.", "type": "integer" } } }, "gofumpt": { "type": "object", "properties": { "extra-rules": { "description": "Choose whether or not to use the extra rules that are disabled by default.", "type": "boolean", "default": false }, "lang-version": { "description": "Select the Go version to target.", "type": "string", "default": "1.15" }, "module-path": { "description": " Module path which contains the source code being formatted.", "type": "string" } } }, "goheader": { "type": "object", "allOf": [ { "properties": { "values": { "type": "object", "properties": { "const": { "description": "Constants to use in the template.", "type": "object", "patternProperties": { "^.+$": { "description": "Value for the constant.", "type": "string" } }, "additionalProperties": false, "examples": [ { "YEAR": "2030", "COMPANY": "MY FUTURISTIC COMPANY" } ] }, "regexp": { "description": "Regular expressions to use in your template.", "type": "object", "patternProperties": { "^.+$": { "type": "string" } }, "additionalProperties": false, "examples": [ { "AUTHOR": ".*@mycompany\\.com" } ] } } } } }, { "oneOf": [ { "properties": { "template": { "description": "Template to put on top of every file.", "type": "string", "examples": [ "{{ MY COMPANY }}\nSPDX-License-Identifier: Apache-2.0\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at:\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License." ] } }, "required": ["template"] }, { "properties": { "template-path": { "description": "Path to the file containing the template source.", "type": "string", "examples": ["my_header_template.txt"] } }, "required": ["template-path"] } ] } ] }, "goimports": { "type": "object", "properties": { "local-prefixes": { "description": "Put imports beginning with prefix after 3rd-party packages. It is a comma-separated list of prefixes.", "type": "string", "examples": ["github.com/org/project"] } } }, "golint": { "type": "object", "properties": { "min-confidence": { "description": "Minimum confidence for issues.", "type": "number", "minimum": 0, "exclusiveMaximum": 1 } } }, "gomnd": { "type": "object", "properties": { "settings": { "type": "object", "properties": { "mnd": { "type": "object", "properties": { "ignored-files": { "description": "Comma-separated list of file patterns to exclude from the analysis.", "examples": ["magic1_.*.go"], "type": "string" }, "ignored-functions": { "description": "Comma-separated list of function patterns to exclude from the analysis.", "examples": ["math.*,http.StatusText,make"], "type": "string" }, "ignored-numbers": { "description": "Comma-separated list of numbers to exclude from the analysis.", "examples": ["1000,1234_567_890,3.14159264"], "type": "string" }, "checks": { "description": "The list of enabled checks.", "type": "array", "items": { "enum": [ "argument", "case", "condition", "operation", "return", "assign" ] } } } } } }, "ignored-files": { "description": "List of file patterns to exclude from analysis.", "examples": [["magic1_.*.go"]], "type": "array", "items": { "type": "string" } }, "ignored-functions": { "description": "Comma-separated list of function patterns to exclude from the analysis.", "examples": [["math.*", "http.StatusText", "make"]], "type": "array", "items": { "type": "string" } }, "ignored-numbers": { "description": "List of numbers to exclude from analysis.", "examples": [["1000", "1234_567_890", "3.14159264"]], "type": "array", "items": { "type": "string" } }, "checks": { "description": "The list of enabled checks, see https://github.com/tommy-muehle/go-mnd/#checks for description.", "type": "array", "items": { "enum": [ "argument", "case", "condition", "operation", "return", "assign" ] } } } }, "gomodguard": { "type": "object", "properties": { "allowed": { "type": "object", "properties": { "modules": { "description": "List of allowed modules.", "type": "array", "items": { "type": "string", "examples": ["gopkg.in/yaml.v2"] } }, "domains": { "description": "List of allowed module domains.", "type": "array", "items": { "type": "string", "examples": ["golang.org"] } } } }, "blocked": { "type": "object", "properties": { "modules": { "description": "List of blocked modules.", "type": "array", "items": { "type": "object", "patternProperties": { "^.+$": { "type": "object", "properties": { "recommendations": { "description": "Recommended modules that should be used instead.", "type": "array", "items": { "type": "string" } }, "reason": { "description": "Reason why the recommended module should be used.", "type": "string" } } } }, "additionalProperties": false } }, "versions": { "description": "List of blocked module version constraints.", "type": "array", "items": { "type": "object", "patternProperties": { "^.*$": { "type": "object", "properties": { "version": { "description": "Version constraint.", "type": "string" }, "reason": { "description": "Reason why the version constraint exists.", "type": "string" } }, "required": ["reason"] } } } }, "local_replace_directives": { "description": "Raise lint issues if loading local path with replace directive", "type": "boolean", "default": true } } } } }, "gosimple": { "type": "object", "properties": { "go": { "description": "Targeted Go version", "type": "string", "default": "1.13" }, "checks": { "type": "array", "items": { "anyOf": [ { "enum": ["all"] }, { "type": "string" } ] } } } }, "gosec": { "type": "object", "properties": { "includes": { "type": "array", "description": "To select a subset of rules to run", "examples": [["G401"]], "items": { "$ref": "#/definitions/gosec-rules" } }, "excludes": { "type": "array", "description": "To specify a set of rules to explicitly exclude", "examples": [["G401"]], "items": { "$ref": "#/definitions/gosec-rules" } }, "exclude-generated": { "description": "Exclude generated files", "type": "boolean", "default": false }, "severity": { "description": "Filter out the issues with a lower severity than the given value", "type": "string", "enum": ["low", "medium", "high"], "default": "low" }, "confidence": { "description": "Filter out the issues with a lower confidence than the given value", "type": "string", "enum": ["low", "medium", "high"], "default": "low" }, "config": { "description": "To specify the configuration of rules", "type": "object" }, "concurrency": { "description": "Concurrency value", "type": "integer" } } }, "gosmopolitan": { "type": "object", "properties": { "allow-time-local": { "description": "Allow and ignore `time.Local` usages.", "type": "boolean", "default": false }, "escape-hatches": { "description": "List of fully qualified names in the `full/pkg/path.name` form, to act as \"i18n escape hatches\".", "type": "array", "items": { "type": "string" } }, "ignore-tests": { "description": "Ignore test files.", "type": "boolean", "default": false }, "watch-for-scripts": { "description": "List of Unicode scripts to watch for any usage in string literals.", "type": "array", "items": { "type": "string" } } } }, "govet": { "type": "object", "properties": { "check-shadowing": { "description": "Report shadowed variables.", "type": "boolean", "default": true }, "settings": { "description": "Settings per analyzer. Map of analyzer name to specific settings.\nRun `go tool vet help` to find out more.", "type": "object", "propertyNames": { "$ref": "#/definitions/govet-analyzers" }, "patternProperties": { "^.*$": { "description": "Run `go tool vet help <analyzer>` to see all settings.", "type": "object" } } }, "enable": { "description": "Enable analyzers by name.", "type": "array", "items": { "$ref": "#/definitions/govet-analyzers" } }, "disable": { "description": "Disable analyzers by name.", "type": "array", "items": { "$ref": "#/definitions/govet-analyzers" } }, "enable-all": { "description": "Enable all analyzers.", "type": "boolean", "default": false }, "disable-all": { "description": "Disable all analyzers.", "type": "boolean", "default": false } } }, "grouper": { "type": "object", "properties": { "const-require-single-const": { "type": "boolean", "default": false }, "const-require-grouping": { "type": "boolean", "default": false }, "import-require-single-const": { "type": "boolean", "default": false }, "import-require-grouping": { "type": "boolean", "default": false }, "type-require-single-const": { "type": "boolean", "default": false }, "type-require-grouping": { "type": "boolean", "default": false }, "var-require-single-const": { "type": "boolean", "default": false }, "var-require-grouping": { "type": "boolean", "default": false } } }, "ifshort": { "type": "object", "properties": { "max-decl-lines": { "description": "maximum length of variable declaration measured in numbers of lines, after which the linter won't suggest using short syntax. Has precedence over max-decl-chars", "type": "integer", "minimum": 1, "default": 1 }, "max-decl-chars": { "description": "maximum length of variable declaration measured in number of characters, after which the linter won't suggest using short syntax.", "type": "integer", "minimum": 1, "default": 30 } } }, "importas": { "type": "object", "properties": { "no-unaliased": { "description": "Do not allow unaliased imports of aliased packages.", "type": "boolean", "default": false }, "no-extra-aliases": { "description": "Do not allow non-required aliases.", "type": "boolean", "default": false }, "alias": { "description": "List of aliases", "type": "array", "items": { "type": "object", "properties": { "pkg": { "description": "Package path e.g. knative.dev/serving/pkg/apis/autoscaling/v1alpha1", "type": "string" }, "alias": { "description": "Package alias e.g. autoscalingv1alpha1", "type": "string" } }, "required": ["pkg", "alias"] } } } }, "ireturn": { "type": "object", "description": "Use either `reject` or `allow` properties for interfaces matching.", "properties": { "allowed": { "type": "array", "items": { "anyOf": [ { "type": "string" }, { "enum": ["anon", "error", "empty", "stdlib"] } ] } }, "reject": { "type": "array", "items": { "anyOf": [ { "type": "string" }, { "enum": ["anon", "error", "empty", "stdlib"] } ] } } }, "anyOf": [ { "not": { "properties": { "allow": { "const": "reject" } } }, "required": ["allow"] }, { "required": ["reject"] } ] }, "lll": { "type": "object", "properties": { "tab-width": { "description": "Width of \"\\t\" in spaces.", "type": "integer", "minimum": 0, "default": 1 }, "line-length": { "description": "Maximum allowed line length, lines longer will be reported.", "type": "integer", "minimum": 1, "default": 120 } } }, "maintidx": { "description": "Maintainability index https://docs.microsoft.com/en-us/visualstudio/code-quality/code-metrics-maintainability-index-range-and-meaning?view=vs-2022", "type": "object", "properties": { "under": { "description": "Minimum accatpable maintainability index level (see https://docs.microsoft.com/en-us/visualstudio/code-quality/code-metrics-maintainability-index-range-and-meaning?view=vs-2022)", "type": "number", "default": 20 } } }, "makezero": { "type": "object", "properties": { "suggest-new": { "description": "Allow only slices initialized with a length of zero.", "type": "boolean", "default": false } } }, "loggercheck": { "type": "object", "properties": { "kitlog": { "description": "Allow check for the github.com/go-kit/log library.", "type": "boolean", "default": true }, "klog": { "description": "Allow check for the k8s.io/klog/v2 library.", "type": "boolean", "default": true }, "logr": { "description": "Allow check for the github.com/go-logr/logr library.", "type": "boolean", "default": true }, "zap": { "description": "Allow check for the \"sugar logger\" from go.uber.org/zap library.", "type": "boolean", "default": true }, "require-string-key": { "description": "Require all logging keys to be inlined constant strings.", "type": "boolean", "default": false }, "no-printf-like": { "description": "Require printf-like format specifier (%s, %d for example) not present.", "type": "boolean", "default": false }, "rules": { "description": "List of custom rules to check against, where each rule is a single logger pattern, useful for wrapped loggers.", "type": "array", "items": { "type": "string" } } } }, "maligned": { "type": "object", "properties": { "suggest-new": { "description": "Whether to print struct with more effective memory layout.", "type": "boolean", "default": false } } }, "misspell": { "description": "Correct spellings using locale preferences for US or UK. Default is to use a neutral variety of English.", "type": "object", "properties": { "locale": { "enum": ["US", "UK"] }, "ignore-words": { "description": "List of words to ignore.", "type": "array", "items": { "type": "string" } } } }, "musttag": { "type": "object", "properties": { "functions": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "tag": { "type": "string" }, "arg-pos": { "type": "integer" } }, "additionalProperties": false } } } }, "nakedret": { "type": "object", "properties": { "max-func-lines": { "description": "Report if a function has more lines of code than this value and it has naked returns.", "type": "integer", "minimum": 0, "default": 30 } } }, "nestif": { "type": "object", "properties": { "min-complexity": { "description": "Minimum complexity of \"if\" statements to report.", "type": "integer", "default": 5 } } }, "nilnil": { "type": "object", "properties": { "checked-types": { "type": "array", "description": "Order of return types to check.", "items": { "enum": ["ptr", "func", "iface", "map", "chan"] }, "default": ["ptr", "func", "iface", "map", "chan"] } } }, "nlreturn": { "type": "object", "properties": { "block-size": { "description": "set block size that is still ok", "type": "number", "default": 0, "minimum": 0 } } }, "nolintlint": { "type": "object", "properties": { "allow-unused": { "description": "Enable to ensure that nolint directives are all used.", "type": "boolean", "default": true }, "allow-no-explanation": { "description": "Exclude these linters from requiring an explanation.", "type": "array", "items": { "$ref": "#/definitions/linters" }, "default": [] }, "require-explanation": { "description": "Enable to require an explanation of nonzero length after each nolint directive.", "type": "boolean", "default": false }, "require-specific": { "description": "Enable to require nolint directives to mention the specific linter being suppressed.", "type": "boolean", "default": false } } }, "reassign": { "type": "object", "properties": { "patterns": { "type": "array", "items": { "type": "string" } } } }, "nonamedreturns": { "type": "object", "properties": { "report-error-in-defer": { "description": "Report named error if it is assigned inside defer.", "type": "boolean", "default": false } } }, "paralleltest": { "type": "object", "properties": { "ignore-missing": { "description": "Ignore missing calls to `t.Parallel()` and only report incorrect uses of it.", "type": "boolean", "default": false } } }, "prealloc": { "description": "We do not recommend using this linter before doing performance profiling.\nFor most programs usage of `prealloc` will be premature optimization.", "type": "object", "properties": { "simple": { "description": "Report preallocation suggestions only on simple loops that have no returns/breaks/continues/gotos in them.", "type": "boolean", "default": true }, "range-loops": { "description": "Report preallocation suggestions on range loops.", "type": "boolean", "default": true }, "for-loops": { "description": "Report preallocation suggestions on for loops.", "type": "boolean", "default": false } } }, "predeclared": { "type": "object", "properties": { "ignored": { "description": "Comma-separated list of predeclared identifiers to not report on.", "type": "string" }, "q": { "description": "Include method names and field names (i.e., qualified names) in checks.", "type": "boolean", "default": false } } }, "promlinter": { "type": "object", "properties": { "strict": {}, "disabled-linters": { "type": "array", "items": { "enum": [ "Help", "MetricUnits", "Counter", "HistogramSummaryReserved", "MetricTypeInName", "ReservedChars", "CamelCase", "UnitAbbreviations" ] } } } }, "revive": { "type": "object", "examples": [ { "ignore-generated-header": true, "severity": "warning", "rules": [ { "name": "indent-error-flow", "severity": "warning" }, { "name": "add-constant", "severity": "warning", "arguments": [ { "maxLitCount": "3", "allowStrs": "\"\"", "allowInts": "0,1,2", "allowFloats": "0.0,0.,1.0,1.,2.0,2." } ] } ] } ], "properties": { "max-open-files": { "type": "integer" }, "ignore-generated-header": { "type": "boolean" }, "confidence": { "type": "number" }, "severity": { "type": "string", "enum": ["warning", "error"] }, "enable-all-rules": { "type": "boolean", "default": false }, "rules": { "type": "array", "items": { "type": "object", "required": ["name"], "properties": { "name": { "type": "string", "title": "The rule name" }, "disabled": { "type": "boolean" }, "severity": { "type": "string", "enum": ["warning", "error"] }, "arguments": { "type": "array" } } } } } }, "rowserrcheck": { "type": "object", "properties": { "packages": { "type": "array", "items": { "description": "", "type": "string", "examples": ["github.com/jmoiron/sqlx"] } } } }, "staticcheck": { "type": "object", "properties": { "go": { "description": "Targeted Go version", "type": "string", "default": "1.13" }, "checks": { "type": "array", "items": { "anyOf": [ { "enum": ["all"] }, { "type": "string" } ] } } } }, "stylecheck": { "type": "object", "properties": { "go": { "description": "Targeted Go version", "type": "string", "default": "1.13" }, "checks": { "type": "array", "items": { "anyOf": [ { "enum": ["all"] }, { "type": "string" } ] }, "default": [ "all", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022" ] }, "dot-import-whitelist": { "description": "By default, ST1001 forbids all uses of dot imports in non-test packages. This setting allows setting a whitelist of import paths that can be dot-imported anywhere.", "type": "array", "items": { "type": "string" } }, "http-status-code-whitelist": { "description": "ST1013 recommends using constants from the net/http package instead of hard-coding numeric HTTP status codes. This setting specifies a list of numeric status codes that this check does not complain about.", "default": ["200", "400", "404", "500"], "type": "array", "items": { "enum": [ "100", "101", "102", "103", "200", "201", "202", "203", "204", "205", "206", "207", "208", "226", "300", "301", "302", "303", "304", "305", "306", "307", "308", "400", "401", "402", "403", "404", "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "418", "421", "422", "423", "424", "425", "426", "428", "429", "431", "451", "500", "501", "502", "503", "504", "505", "506", "507", "508", "510", "511" ] } }, "initialisms": { "description": "ST1003 check, among other things, for the correct capitalization of initialisms. The set of known initialisms can be configured with this option.", "type": "array", "items": { "type": "string", "default": [ "ACL", "API", "ASCII", "CPU", "CSS", "DNS", "EOF", "GUID", "HTML", "HTTP", "HTTPS", "ID", "IP", "JSON", "QPS", "RAM", "RPC", "SLA", "SMTP", "SQL", "SSH", "TCP", "TLS", "TTL", "UDP", "UI", "GID", "UID", "UUID", "URI", "URL", "UTF8", "VM", "XML", "XMPP", "XSRF", "XSS", "SIP", "RTP", "AMQP", "DB", "TS" ] } } } }, "tagalign": { "type": "object", "properties": { "align": { "description": "Align and sort can be used together or separately.", "type": "boolean", "default": true }, "sort": { "description": "Whether enable tags sort.", "type": "boolean", "default": true }, "order": { "description": "Specify the order of tags, the other tags will be sorted by name.", "type": "array", "items": { "type": "string" }, "default": [], "examples": [ [ "json", "yaml", "yml", "toml", "mapstructure", "binding", "validate" ] ] } } }, "tagliatelle": { "type": "object", "properties": { "case": { "type": "object", "properties": { "use-field-name": { "description": "Use the struct field name to check the name of the struct tag.", "type": "boolean", "default": false }, "rules": { "type": "object", "patternProperties": { "^.+$": { "enum": [ "camel", "pascal", "kebab", "snake", "goCamel", "goPascal", "goKebab", "goSnake", "upper", "upperSnake", "lower", "header" ] } } } } } } }, "tenv": { "type": "object", "properties": { "all": { "description": "The option `all` will run against whole test files (`_test.go`) regardless of method/function signatures.", "type": "boolean", "default": false } } }, "testpackage": { "type": "object", "properties": { "skip-regexp": { "description": "Files with names matching this regular expression are skipped.", "type": "string", "examples": ["(export|internal)_test\\.go"] }, "allow-packages": { "description": "List of packages that don't end with _test that tests are allowed to be in.", "type": "array", "uniqueItems": true, "items": { "type": "string", "examples": ["example"] } } } }, "thelper": { "type": "object", "properties": { "test": { "type": "object", "properties": { "begin": { "description": "Check if `t.Helper()` begins helper function.", "default": true, "type": "boolean" }, "first": { "description": "Check if *testing.T is first param of helper function.", "default": true, "type": "boolean" }, "name": { "description": "Check if *testing.T param has t name.", "default": true, "type": "boolean" } } }, "benchmark": { "type": "object", "properties": { "begin": { "description": "Check if `b.Helper()` begins helper function.", "default": true, "type": "boolean" }, "first": { "description": "Check if *testing.B is first param of helper function.", "default": true, "type": "boolean" }, "name": { "description": "Check if *testing.B param has b name.", "default": true, "type": "boolean" } } }, "tb": { "type": "object", "properties": { "begin": { "description": "Check if `tb.Helper()` begins helper function.", "default": true, "type": "boolean" }, "first": { "description": "Check if *testing.TB is first param of helper function.", "default": true, "type": "boolean" }, "name": { "description": "Check if *testing.TB param has tb name.", "default": true, "type": "boolean" } } }, "fuzz": { "type": "object", "properties": { "begin": { "description": "Check if `f.Helper()` begins helper function.", "default": true, "type": "boolean" }, "first": { "description": "Check if *testing.F is first param of helper function.", "default": true, "type": "boolean" }, "name": { "description": "Check if *testing.F param has f name.", "default": true, "type": "boolean" } } } } }, "unparam": { "type": "object", "properties": { "check-exported": { "description": "Inspect exported functions. Set to true if no external program/library imports your code.\n\nWARNING: if you enable this setting, unparam will report a lot of false-positives in text editors:\nif it's called for subdir of a project it can't find external interfaces. All text editor integrations\nwith golangci-lint call it on a directory with the changed file.", "type": "boolean", "default": false } } }, "usestdlibvars": { "type": "object", "properties": { "http-method": { "description": "Suggest the use of http.MethodXX.", "type": "boolean", "default": true }, "http-status-code": { "description": "Suggest the use of http.StatusXX.", "type": "boolean", "default": true }, "time-weekday": { "description": "Suggest the use of time.Weekday.String().", "type": "boolean", "default": false }, "time-month": { "description": "Suggest the use of time.Month.String().", "type": "boolean", "default": false }, "time-layout": { "description": "Suggest the use of time.Layout.", "type": "boolean", "default": false }, "crypto-hash": { "description": "Suggest the use of crypto.Hash.String().", "type": "boolean", "default": false }, "default-rpc-path": { "description": "Suggest the use of rpc.DefaultXXPath.", "type": "boolean", "default": false }, "os-dev-null": { "description": "Suggest the use of os.DevNull.", "type": "boolean", "default": false }, "sql-isolation-level": { "description": "Suggest the use of sql.LevelXX.String().", "type": "boolean", "default": false }, "tls-signature-scheme": { "description": "Suggest the use of tls.SignatureScheme.String().", "type": "boolean", "default": false }, "constant-kind": { "description": "Suggest the use of constant.Kind.String().", "type": "boolean", "default": false }, "syslog-priority": { "description": "Suggest the use of syslog.Priority.", "type": "boolean", "default": false } } }, "varcheck": { "type": "object", "properties": { "exported-fields": { "description": "Check usage of exported variables", "type": "boolean", "default": false } } }, "varnamelen": { "type": "object", "properties": { "max-distance": { "description": "Variables used in at most this N-many lines will be ignored.", "type": "integer", "default": 5 }, "min-name-length": { "description": "The minimum length of a variable's name that is considered `long`.", "type": "integer", "default": 3 }, "check-receiver": { "description": "Check method receiver names.", "default": false, "type": "boolean" }, "check-return": { "description": "Check named return values.", "default": false, "type": "boolean" }, "check-type-param": { "description": "Check type parameters.", "default": false, "type": "boolean" }, "ignore-type-assert-ok": { "description": "Ignore `ok` variables that hold the bool return value of a type assertion", "default": false, "type": "boolean" }, "ignore-map-index-ok": { "description": "Ignore `ok` variables that hold the bool return value of a map index.", "default": false, "type": "boolean" }, "ignore-chan-recv-ok": { "description": "Ignore `ok` variables that hold the bool return value of a channel receive.", "default": false, "type": "boolean" }, "ignore-names": { "description": "Optional list of variable names that should be ignored completely.", "default": [[]], "type": "array", "items": { "type": "string" } }, "ignore-decls": { "description": "Optional list of variable declarations that should be ignored completely.", "type": "array", "items": { "type": "string" }, "examples": [ ["c echo.Context", "t testing.T", "f *foo.Bar", "const C"] ] } } }, "whitespace": { "type": "object", "properties": { "multi-if": { "description": "Enforces newlines (or comments) after every multi-line if statement", "type": "boolean", "default": false }, "multi-func": { "description": "Enforces newlines (or comments) after every multi-line function signature", "type": "boolean", "default": false } } }, "wrapcheck": { "type": "object", "properties": { "ignoreSigs": { "description": "An array of strings which specify substrings of signatures to ignore.", "default": [ ".Errorf(", "errors.New(", "errors.Unwrap(", ".Wrap(", ".Wrapf(", ".WithMessage(", ".WithMessagef(", ".WithStack(" ], "type": "array", "items": { "type": "string" } }, "ignoreSigRegexps": { "description": "An array of strings which specify regular expressions of signatures to ignore.", "default": [""], "type": "array", "items": { "type": "string" } }, "ignorePackageGlobs": { "description": "An array of glob patterns which, if any match the package of the function returning the error, will skip wrapcheck analysis for this error.", "default": [""], "type": "array", "items": { "type": "string" } }, "ignoreInterfaceRegexps": { "description": "An array of glob patterns which, if matched to an underlying interface name, will ignore unwrapped errors returned from a function whose call is defined on the given interface.", "default": [""], "type": "array", "items": { "type": "string" } } } }, "wsl": { "type": "object", "properties": { "allow-assign-and-anything": { "description": "Controls if you may cuddle assignments and anything without needing an empty line between them.", "type": "boolean", "default": false }, "allow-assign-and-call": { "description": "Allow calls and assignments to be cuddled as long as the lines have any matching variables, fields or types.", "type": "boolean", "default": true }, "allow-cuddle-declarations": { "description": "Allow declarations (var) to be cuddled.", "type": "boolean", "default": false }, "allow-multiline-assign": { "description": "Allow multiline assignments to be cuddled.", "type": "boolean", "default": true }, "allow-separated-leading-comment": { "description": "Allow leading comments to be separated with empty lines.", "type": "boolean", "default": false }, "allow-trailing-comment": { "description": "Allow trailing comments in ending of blocks.", "type": "boolean", "default": false }, "force-case-trailing-whitespace": { "description": "Force newlines in end of case at this limit (0 = never).", "type": "integer", "minimum": 0, "default": 0 }, "allow-cuddle-with-calls": { "description": "A list of call idents that everything can be cuddled with.", "type": "array", "items": { "type": "string" } }, "allow-cuddle-with-rhs": { "description": "AllowCuddleWithRHS is a list of right hand side variables that is allowed to be cuddled with anything.", "type": "array", "items": { "type": "string" } }, "error-variable-names": { "description": "When force-err-cuddling is enabled this is a list of names used for error variables to check for in the conditional.", "type": "array", "items": { "type": "string" } }, "force-err-cuddling": { "description": "Causes an error when an If statement that checks an error variable doesn't cuddle with the assignment of that variable.", "type": "boolean", "default": false }, "force-short-decl-cuddling": { "description": "Causes an error if a short declaration (:=) cuddles with anything other than another short declaration.", "type": "boolean", "default": false }, "strict-append": { "description": "If true, append is only allowed to be cuddled if appending value is matching variables, fields or types on line above.", "type": "boolean", "default": true } } }, "custom": { "description": "The custom section can be used to define linter plugins to be loaded at runtime. See README of golangci-lint for more information.\nEach custom linter should have a unique name.", "type": "object", "patternProperties": { "^.*$": { "type": "object", "properties": { "path": { "description": "The path to the plugin *.so. Can be absolute or local.", "type": "string", "examples": ["/path/to/example.so"] }, "description": { "description": "The description of the linter, for documentation purposes only.", "type": "string" }, "original-url": { "description": "Intended to point to the repo location of the linter, for documentation purposes only.", "type": "string" } }, "required": ["path"] } } } } }, "linters": { "type": "object", "properties": { "enable": { "description": "List of enabled linters.", "type": "array", "items": { "$ref": "#/definitions/linters" } }, "disable": { "description": "List of disabled linters.", "type": "array", "items": { "$ref": "#/definitions/linters" } }, "enable-all": { "description": "Whether to enable all linters. You can re-disable them with `disable` explicitly.", "type": "boolean", "default": false }, "disable-all": { "description": "Whether to disable all linters. You can re-enable them with `enable` explicitly.", "type": "boolean", "default": false }, "presets": { "description": "Allow to use different presets of linters", "type": "array", "items": { "enum": [ "bugs", "comment", "complexity", "error", "format", "import", "metalinter", "module", "performance", "sql", "style", "test", "unused" ] } }, "fast": { "description": "Enable run of fast linters.", "type": "boolean", "default": false } } }, "issues": { "type": "object", "properties": { "exclude": { "description": "List of regular expressions of issue texts to exclude.\nBut independently from this option we use default exclude patterns. Their usage can be controlled through `exclude-use-default`.", "type": "array", "items": { "type": "string" } }, "exclude-rules": { "description": "Exclude configuration per-path, per-linter, per-text and per-source", "type": "array", "items": { "type": "object", "properties": { "path": { "type": "string" }, "path-except": { "type": "string" }, "linters": { "type": "array", "items": { "$ref": "#/definitions/linters" } }, "text": { "type": "string" }, "source": { "type": "string" } } } }, "exclude-use-default": { "description": "Independently from option `exclude` we use default exclude patterns. This behavior can be disabled by this option.", "type": "boolean", "default": true }, "exclude-case-sensitive": { "description": "If set to true, exclude and exclude-rules regular expressions become case sensitive.", "type": "boolean", "default": false }, "include": { "description": "The list of ids of default excludes to include or disable.", "type": "array", "items": { "type": "string" }, "default": [] }, "max-issues-per-linter": { "description": "Maximum issues count per one linter. Set to 0 to disable.", "type": "integer", "default": 50, "minimum": 0 }, "max-same-issues": { "description": "Maximum count of issues with the same text. Set to 0 to disable.", "type": "integer", "default": 3, "minimum": 0 }, "new": { "description": "Show only new issues: if there are unstaged changes or untracked files, only those changes are analyzed, else only changes in HEAD~ are analyzed.", "type": "boolean", "default": false }, "new-from-rev": { "description": "Show only new issues created after this git revision.", "type": "string" }, "new-from-patch": { "description": "Show only new issues created in git patch with this file path.", "type": "string", "examples": ["path/to/patch/file"] } } }, "severity": { "type": "object", "properties": { "default-severity": { "description": "Set the default severity for issues. If severity rules are defined and the issues do not match or no severity is provided to the rule this will be the default severity applied. Severities should match the supported severity names of the selected out format.", "type": "string", "default": "" }, "case-sensitive": { "description": "If set to true, severity-rules regular expressions become case sensitive.", "type": "boolean", "default": false }, "rules": { "description": "When a list of severity rules are provided, severity information will be added to lint issues. Severity rules have the same filtering capability as exclude rules except you are allowed to specify one matcher per severity rule.\nOnly affects out formats that support setting severity information.", "type": "array", "items": { "allOf": [ { "oneOf": [ { "$ref": "#/definitions/issue-match-path" }, { "$ref": "#/definitions/issue-match-source" }, { "$ref": "#/definitions/issue-match-linters" }, { "$ref": "#/definitions/issue-match-text" } ] }, { "properties": { "severity": { "type": "string" } } } ] }, "default": [] } } } }, "type": "object" }
golangci-lint
{ "properties": { "destination": { "description": "The destination address for shipping", "type": "string" }, "dimensions": { "properties": { "height": { "description": "The height of the package in centimeters", "type": "number" }, "length": { "description": "The length of the package in centimeters", "type": "number" }, "width": { "description": "The width of the package in centimeters", "type": "number" } }, "type": "object" }, "weight": { "description": "The weight of the package in kilograms", "type": "number" } }, "required": [ "weight", "dimensions", "destination" ], "type": "object" }
calculate_shipping_cost_c68c84af
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "Rocket font asset.json spec", "description": "Specification for the asset.json file for rocket fonts", "type": "object", "properties": { "asset_type": { "type": "string", "pattern": "rocket_font" }, "font_file": { "type": "string", "description": "path to a ttf or otf font file" }, "rcss_name": { "description": "The name of the font family to use in RCSS, extracted from the file by default.", "type": "string" }, "font_style": { "type": "string", "pattern": "normal|italic", "description": "The overrided font style. Required if rcss_name is supplied." }, "font_weight": { "type": "string", "pattern": "normal|bold", "description": "The overrided font weight. Required if rcss_name is supplied." } }, "required": [ "asset_type", "font_file" ] }
o42984
{ "properties": { "destination": { "description": "The destination of the package", "type": "string" }, "dimensions": { "properties": { "height": { "description": "The height of the package in inches", "type": "number" }, "length": { "description": "The length of the package in inches", "type": "number" }, "width": { "description": "The width of the package in inches", "type": "number" } }, "required": [ "length", "width", "height" ], "type": "object" }, "weight": { "description": "The weight of the package in pounds", "type": "number" } }, "required": [ "weight", "destination", "dimensions" ], "type": "object" }
calculate_shipping_cost_5f3abf0e
{ "$schema": "http://json-schema.org/draft-06/schema#", "title": "Generic Job Output", "type": "object", "properties": { "status": { "type": "string", "enum": [ "Success", "Failure", "Timeout" ], "description": "Result status of the job" }, "message": { "type": "string", "description": "Should capture a summarized error message in case of Failures." }, "results": { "type": "object", "description": "JSON object holding the job specific output details" } }, "required": [ "status" ] }
o71319
{ "$schema": "http://json-schema.org/draft-04/schema#", "properties": { "accuracy": { "type": [ "integer", "string" ] }, "category": { "type": "string" }, "created": { "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}.\\d{6}", "type": "string" }, "description": { "type": "string" }, "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" }, "power": { "type": "integer" }, "pp": { "type": [ "integer", "string" ] }, "resource_uri": { "type": "string" } }, "required": [ "accuracy", "category", "resource_uri", "created", "modified", "name", "description", "id", "power", "pp" ], "type": "object" }
o12621
{ "$schema": "http://json-schema.org/draft-04/schema#", "oneOf": [ { "title": "Data Table Row", "description": "Schema for a single Data Table Row", "type": "object", "properties": { "id": { "type": "string", "pattern": "^[A-Fa-f\\d]{24}$" }, "createdAt": { "type": "string", "format": "date-time" }, "updatedAt": { "type": "string", "format": "date-time" } }, "patternProperties": { "^[0-9a-zA-Z_-]{1,255}$": { "type": [ "string", "number", "boolean", "null" ] } } }, { "type": "object", "properties": { "createdAt": { "type": "string", "format": "date-time" }, "count": { "type": "number" }, "rowIds": { "type": "array", "items": { "type": "string", "pattern": "^[A-Fa-f\\d]{24}$" }, "maxItems": 1000 } } } ] }
o9817
{ "id": "http://schemas.triniti.io/json-schema/triniti/curator/mixin/code-widget/1-0-0.json#", "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "_id": { "type": "string", "pattern": "^[\\w\\/\\.:-]+$", "pbj": { "type": "identifier", "rule": "single", "overridable": true } }, "status": { "type": "string", "default": "draft", "enum": [ "unknown", "published", "scheduled", "pending", "draft", "expired", "archived", "deleted" ], "pbj": { "type": "string-enum", "rule": "single" } }, "etag": { "type": "string", "pattern": "^[\\w\\.:-]+$", "pbj": { "type": "string", "rule": "single" } }, "created_at": { "type": "string", "pattern": "^[1-9]{1}[0-9]{12,15}$", "pbj": { "type": "microtime", "rule": "single" } }, "creator_ref": { "type": "object", "properties": { "curie": { "type": "string", "pattern": "^([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+)$", "minLength": 0, "maxLength": 146 }, "id": { "type": "string", "pattern": "^[A-Za-z0-9:_\\-]+$", "minLength": 0, "maxLength": 255 }, "tag": { "type": "string", "pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$", "minLength": 0, "maxLength": 255 } }, "required": [ "curie", "id" ], "additionalProperties": false, "description": "A fully qualified reference to what created this node. This is intentionally a message-ref and not a user id because it is often a program that creates nodes, not a user.", "pbj": { "type": "message-ref", "rule": "single" } }, "updated_at": { "type": "string", "pattern": "^[1-9]{1}[0-9]{12,15}$", "pbj": { "type": "microtime", "rule": "single", "useTypeDefault": false } }, "updater_ref": { "type": "object", "properties": { "curie": { "type": "string", "pattern": "^([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+)$", "minLength": 0, "maxLength": 146 }, "id": { "type": "string", "pattern": "^[A-Za-z0-9:_\\-]+$", "minLength": 0, "maxLength": 255 }, "tag": { "type": "string", "pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$", "minLength": 0, "maxLength": 255 } }, "required": [ "curie", "id" ], "additionalProperties": false, "description": "A fully qualified reference to what updated this node. This is intentionally a message-ref and not a user id because it is often a program that updates nodes, not a user. E.g. \"acme:iam:node:app:cli-scheduler\" or \"acme:iam:node:user:60c71df0-fda8-11e5-bfb9-30342d363854\"", "pbj": { "type": "message-ref", "rule": "single" } }, "last_event_ref": { "type": "object", "properties": { "curie": { "type": "string", "pattern": "^([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+)$", "minLength": 0, "maxLength": 146 }, "id": { "type": "string", "pattern": "^[A-Za-z0-9:_\\-]+$", "minLength": 0, "maxLength": 255 }, "tag": { "type": "string", "pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$", "minLength": 0, "maxLength": 255 } }, "required": [ "curie", "id" ], "additionalProperties": false, "description": "A reference to the last event that changed the state of this node. E.g. \"acme:blog:event:article-published:60c71df0-fda8-11e5-bfb9-30342d363854\"", "pbj": { "type": "message-ref", "rule": "single" } }, "title": { "type": "string", "minLength": 0, "maxLength": 255, "pbj": { "type": "string", "rule": "single" } }, "pre_render_code": { "type": "string", "minLength": 0, "maxLength": 65535, "description": "A string containing HTML that is injected into the application before the widget renders.", "pbj": { "type": "text", "rule": "single" } }, "post_render_code": { "type": "string", "minLength": 0, "maxLength": 65535, "description": "A string containing HTML that is injected into the application after the widget renders.", "pbj": { "type": "text", "rule": "single" } }, "show_border": { "type": "boolean", "pbj": { "type": "boolean", "rule": "single" } }, "show_header": { "type": "boolean", "default": true, "pbj": { "type": "boolean", "rule": "single" } }, "header_text": { "type": "string", "minLength": 0, "maxLength": 255, "pbj": { "type": "string", "rule": "single" } }, "partner_url": { "type": "string", "pattern": "^(https?:\\/\\/)?([\\da-z\\.-]+)\\.([a-z\\.]{2,6})([\\/\\w \\.-]*)*\\/?$", "pbj": { "type": "text", "rule": "single", "format": "url" } }, "partner_text": { "type": "string", "minLength": 0, "maxLength": 255, "pbj": { "type": "string", "rule": "single" } }, "view_all_url": { "type": "string", "pattern": "^(https?:\\/\\/)?([\\da-z\\.-]+)\\.([a-z\\.]{2,6})([\\/\\w \\.-]*)*\\/?$", "pbj": { "type": "text", "rule": "single", "format": "url" } }, "view_all_text": { "type": "string", "minLength": 0, "maxLength": 255, "pbj": { "type": "string", "rule": "single" } }, "code": { "type": "string", "minLength": 0, "maxLength": 65535, "pbj": { "type": "text", "rule": "single" } } }, "required": [ "_id" ], "additionalProperties": true }
o82746
{ "definitions": { "absolute_path": { "pattern": "^/[^\u0000]+$", "type": "string" }, "bytes": { "pattern": "^\\d+([KMGT]i?B|B)$", "type": "string" }, "no_partitions": { "additionalProperties": false, "properties": { "root": { "$ref": "#/definitions/partition" }, "type": { "enum": [ "none" ] } }, "required": [ "root" ], "type": "object" }, "partition": { "properties": { "filesystem": { "enum": [ "ext2", "ext3", "ext4", "xfs" ] }, "size": { "$ref": "#/definitions/bytes" } }, "required": [ "size", "filesystem" ], "type": "object" }, "partition_table": { "additionalProperties": false, "properties": { "boot": { "$ref": "#/definitions/partition" }, "root": { "$ref": "#/definitions/partition" }, "swap": { "properties": { "size": { "$ref": "#/definitions/bytes" } }, "required": [ "size" ], "type": "object" }, "type": { "enum": [ "msdos", "gpt" ] } }, "required": [ "root" ], "type": "object" }, "path": { "pattern": "^[^\u0000]+$", "type": "string" } }, "properties": { "bootstrapper": { "properties": { "mirror": { "_format": "uri", "type": "string" }, "tarball": { "type": "boolean" }, "workspace": { "$ref": "#/definitions/path" } }, "required": [ "workspace" ], "type": "object" }, "image": { "properties": { "name": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "packages": { "additionalProperties": false, "properties": { "install": { "items": { "anyOf": [ { "pattern": "^[^/]+(/[^/]+)?$" }, { "$ref": "#/definitions/absolute_path" } ] }, "minItems": 1, "type": "array" }, "mirror": { "_format": "uri", "type": "string" }, "sources": { "additionalProperties": false, "minItems": 1, "patternProperties": { "^\\w+$": { "items": { "pattern": "^(deb|deb-src)\\s+(\\[\\s*(.+\\S)?\\s*\\]\\s+)?\\S+\\s+\\S+(\\s+(.+\\S))?\\s*$", "type": "string" }, "minItems": 1, "type": "array" } }, "type": "object" }, "trusted-keys": { "items": { "$ref": "#/definitions/absolute_path" }, "minItems": 1, "type": "array" } }, "type": "object" }, "plugins": { "additionalProperties": false, "patternProperties": { "^\\w+$": { "type": "object" } }, "type": "object" }, "provider": { "type": "string" }, "system": { "properties": { "architecture": { "enum": [ "i386", "amd64" ] }, "bootloader": { "enum": [ "pvgrub", "grub", "extlinux" ] }, "charmap": { "type": "string" }, "locale": { "type": "string" }, "release": { "enum": [ "wheezy", "testing", "unstable" ] }, "sections": { "minItems": 1, "type": "array" }, "timezone": { "type": "string" } }, "required": [ "release", "architecture", "bootloader", "timezone", "locale", "charmap" ], "type": "object" }, "volume": { "properties": { "backing": { "type": "string" }, "partitions": { "oneOf": [ { "$ref": "#/definitions/no_partitions" }, { "$ref": "#/definitions/partition_table" } ], "type": "object" } }, "required": [ "partitions" ], "type": "object" } }, "required": [ "provider", "bootstrapper", "system", "packages", "volume" ], "title": "Generic manifest", "type": "object" }
o27348
{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "id": "http://snowflakepowe.red/stone/schema/platform", "properties": { "BiosFiles": { "additionalProperties": false, "id": "http://snowflakepowe.red/stone/schema/platform/BiosFiles", "patternProperties": { "(^.+\\..+)|(^[a-zA-Z0-9_-]+)": { "items": { "pattern": "^[a-f0-9]{32}$", "type": "string" }, "type": "array" } }, "type": "object" }, "FileTypes": { "id": "http://snowflakepowe.red/stone/schema/platform/FileTypes", "minItems": 1, "patternProperties": { "^BIOS$": { "pattern": "^application\\/vnd\\.stone-romfile\\..+-sys", "type": "string" }, "^RSRC$": { "pattern": "^application\\/vnd\\.stone-romfile\\..+-resource", "type": "string" }, "^\\.": { "pattern": "^application\\/vnd\\.stone-romfile\\..+", "type": "string" } }, "required": [ "RSRC" ], "type": "object", "_uniqueItems": true }, "FriendlyName": { "id": "http://snowflakepowe.red/stone/schema/platform/FriendlyName", "type": "string" }, "MaximumInputs": { "id": "http://snowflakepowe.red/stone/schema/platform/MaximumInputs", "type": "integer" }, "Metadata": { "additionalProperties": false, "id": "http://snowflakepowe.red/stone/schema/platform/Metadata", "patternProperties": { "^platform_": { "type": "string" } }, "properties": {}, "type": "object" }, "PlatformID": { "id": "http://snowflakepowe.red/stone/schema/platform/PlatformID", "type": "string" } }, "required": [ "PlatformID", "Metadata", "MaximumInputs", "FriendlyName", "FileTypes" ], "type": "object" }
o14405
{ "title": "AuthoringInfo Visual Variable", "type": "object", "$schema": "http://json-schema.org/draft-04/schema", "description": "This visual variable is different from `sizeInfo`, `colorInfo`, `transparencyInfo`, and `rotationInfo` as it is an array of visual variables pertaining specifically to authoringInfo and not directly on the [renderer](renderer.md).", "properties": { "endTime": { "description": "A Unix stamp. Both `startTime` or `endTime` can be fields. If this is the case, their names must be different.", "oneOf": [ { "type": "number" }, { "type": "string" } ] }, "field": { "type": "string", "description": "The attribute field the user chose in the Smart Mapping gallery. Must be the same as in either `startTime` or `endTime`." }, "maxSliderValue": { "type": "number", "description": "A numeric value indicating the maximum value displayed." }, "minSliderValue": { "type": "number", "description": "A numeric value indicating the minimum value displayed." }, "startTime": { "description": "A Unix time stamp. Both `startTime` or `endTime` can be fields. If this is the case, their names must be different.", "oneOf": [ { "type": "number" }, { "type": "string" } ] }, "style": { "type": "string", "description": "(This property is used for comparison rendering). It is used to map the ratio between two numbers. It is possible to express that relationship as percentages, simple ratios, or an overall percentage.", "enum": [ "percent", "ratio", "percentTotal" ] }, "theme": { "type": "string", "description": "Theme to be used only when working with visual variables of type `colorInfo`. Default is `high-to-low`.", "enum": [ "high-to-low", "above-and-below", "centered-on", "extremes" ] }, "type": { "type": "string", "description": "A string value specifying the type of renderer's visual variable.", "enum": [ "colorInfo", "sizeInfo", "transparencyInfo", "rotationInfo" ] }, "units": { "type": "string", "description": "(This property is used only with age renderers.) Units for startTime and endTime.", "enum": [ "seconds", "minutes", "hours", "days", "months", "years" ] } }, "additionalProperties": false, "esriDocumentation": { "examples": [ { "title": "Attribute Transparency", "description": "Allows displaying features with different levels of opacity.", "code": { "visualVariables": [ { "type": "transparencyInfo", "minSliderValue": 0.0003, "maxSliderValue": 23.8951 } ] } }, { "title": "Continuous Size Renderer", "description": "If a layer contains date values, it is possible to use a sequence of proportional symbols to view dates sequentially on a scene.", "code": { "visualVariables": [ { "type": "sizeInfo", "minSliderValue": 1, "maxSliderValue": 14928.5396 } ] } }, { "title": "Continuous Color Renderer", "description": "If a layer contains date values, it is possible to use color to view data sequentially from new to old or before and after a key date.", "code": { "visualVariables": [ { "type": "colorInfo", "minSliderValue": 1, "maxSliderValue": 14928.5396, "theme": "high-to-low" } ] } }, { "title": "Age-Size Renderer", "description": "If a layer contains date or time values, it is possible to use a sequence of proportional symbols to view the age of features. Age reflects the length of time (in seconds, minutes, hours, days, months, or years) from a start date or time to an end date or time.", "code": { "visualVariables": [ { "type": "sizeInfo", "minSliderValue": -129.2625, "maxSliderValue": 234.7374, "units": "days", "startTime": "DATE", "endTime": 1471970511924, "field": "DATE" } ] } }, { "title": "Age-Color Renderer", "description": "If a layer contains date or time values, it is possible to use color to represent the age of features. Age reflects the length of time (in seconds, minutes, hours, days, months, or years) from a start date or time to an end date or time.", "code": { "visualVariables": [ { "type": "colorInfo", "minSliderValue": -129.2625, "maxSliderValue": 234.7374, "units": "days", "startTime": "DATE", "endTime": 1471970511924, "field": "DATE", "theme": "high-to-low" } ] } }, { "title": "Compare Renderer (special color renderer)", "description": "This style allows mapping the ratio between two numbers and expresses that relationship as percentages, simple ratios, or overall percentage.", "code": { "visualVariables": [ { "type": "colorInfo", "minSliderValue": 0.0003858501658018686, "maxSliderValue": 23.89513157894737, "theme": "above-and-below", "style": "ratio" } ] } }, { "title": "Predominance Renderer", "description": "This style uses transparency to show the relative strength of the predominant attribute for each feature in the layer. The strength, or degree, of predominance is calculated as a percentage of the total value of all the attributes for a given feature.", "schema": "authoringInfo_schema.json", "code": { "authoringInfo": { "type": "predominance", "fields": [ "COST", "DOLLARS", "PRICE" ], "visualVariables": [ { "type": "transparencyInfo", "minSliderValue": 0, "maxSliderValue": 100 } ] } } } ] } }
o90000
{ "description": "A configuration of the video display object.</a>", "properties": { "url": { "description": "The url of the video file.", "example": "./videos/video.mp4", "title": "URL", "type": "string" } }, "required": [ "url" ], "title": "VideoConfig", "type": "object" }
o44260
{ "properties": { "networking": { "description": "influxdb networking configuration properties", "properties": { "external_access": { "description": "Enable access from outside the cluster through Marathon-LB.\nNOTE: this connection is unencrypted.", "properties": { "enable": { "default": false, "description": "Enable or disable creating a VIP for external access through a public node running Marathon-LB.", "type": "boolean" }, "external_access_port": { "default": 18083, "description": "For external access, port number to be used for clear communication in the external Marathon-LB load balancer", "type": "number" } }, "type": "object" }, "port": { "default": 8083, "description": "Port number to be used for administration internally to the cluster.", "type": "number" }, "port_api": { "default": 8086, "description": "Port number to be used for api communication internally to the cluster.", "type": "number" } }, "type": "object" }, "service": { "description": "DC/OS service configuration properties", "properties": { "cpus": { "default": 1, "description": "CPU shares to allocate to each service instance.", "minimum": 1, "type": "number" }, "mem": { "default": 2048.0, "description": "Memory to allocate to each service instance.", "minimum": 1024.0, "type": "number" }, "name": { "default": "influxdb", "description": "Name of this service instance", "type": "string" } }, "required": [ "cpus", "mem" ], "type": "object" }, "storage": { "description": "influxdb storage configuration properties", "properties": { "host_volume_influxdb": { "default": "/tmp", "description": "If using non-persistent volumes (local volumes), this sets the location of a volume on the host to be used for the influxdb service to store the contents of the influxdb. The final location will be derived from this value plus the name set in `name` (e.g. `/mnt/host_volume/service_name`). This can be a mounted NFS drive. Note that this path must be the same on all DC/OS agents. NOTE: if you don't change the default /tmp value, YOUR DATA WILL NOT BE SAVED IN ANY WAY.", "type": "string" }, "persistence": { "description": "Enable persistent storage.", "properties": { "enable": { "default": false, "description": "Enable or disable persistent storage.", "type": "boolean" }, "external": { "description": "External persistent storage properties", "properties": { "driver": { "default": "rexray", "description": "Volume driver to use for storage. The default value should be correct for most use cases.", "type": "string" }, "enable": { "default": false, "description": "Enable or disable external persistent storage. The `persistence` option must also be selected. Please note that for these to work, your DC/OS cluster MUST have been installed with the right options in `config.yaml`. Also, please note this requires a working configuration file for the driver (e.g. `rexray.yaml`).", "type": "boolean" }, "provider": { "default": "dvdi", "description": "Provider of the external persistent volume. The default value should be correct for most use cases.", "type": "string" }, "volume_name_influxdb": { "default": "influxdb", "description": "Name that your volume driver uses to look up your external volume. When your task is staged on an agent, the volume driver queries the storage service for a volume with this name. If one does not exist, it is created implicitly. Otherwise, the existing volume is reused.", "type": "string" } }, "type": "object" }, "volume_size_influxdb": { "default": 2048, "description": "If a new volume is to be created, this controls its size in MBs.", "type": "number" } }, "type": "object" }, "pre_create_database": { "default": true, "description": "Check to create one or more databases on the first time the service starts automatically.", "type": "boolean" }, "pre_create_database_name": { "default": "cadvisor", "description": "Use 'db1;db2;db3' to create databases named 'db1', 'db2', and 'db3' on the first time the service starts automatically. Each database name is separated by ; .", "type": "string" } }, "type": "object" } } }
o90707
{ "definitions": {}, "$schema": "http://json-schema.org/draft-07/schema#", "$id": "http://jsonschema.net/", "type": "object", "required": [ "addresses", "options", "states", "userActions" ], "properties": { "addresses": { "type": "object", "required": [ "srcAddress", "optionalOutputAddress" ], "properties": { "srcAddress": { "type": "string", "default": "", "pattern": "^(.*)$" }, "optionalOutputAddress": { "type": "string", "default": "", "pattern": "^(.*)$" } } }, "options": { "type": "object", "required": [ "rtspTcp" ], "properties": { "rtspTcp": { "type": "boolean", "default": false }, "video": { "type": "object", "default": null, "required": [ "codec", "preset", "bitrate", "fps", "profile", "tune" ], "properties": { "codec": { "type": "string", "default": "copy", "pattern": "^(.*)$" }, "preset": { "type": "string", "default": "ultrafast", "pattern": "^(.*)$" }, "bitrate": { "type": "string", "default": "4096", "pattern": "^(.*)$" }, "fps": { "type": "string", "default": "25", "pattern": "^(.*)$" }, "profile": { "type": "string", "default": "none", "pattern": "^(.*)$" }, "tune": { "type": "string", "default": "none", "pattern": "^(.*)$" } } }, "audio": { "type": "object", "required": [ "codec", "preset", "bitrate", "channels", "sampling" ], "properties": { "codec": { "type": "string", "default": "auto", "pattern": "^(.*)$" }, "preset": { "type": "string", "default": "silence", "pattern": "^(.*)$" }, "bitrate": { "type": "string", "default": "64", "pattern": "^(.*)$" }, "channels": { "type": "string", "default": "mono", "pattern": "^(.*)$" }, "sampling": { "type": "string", "default": "44100", "pattern": "^(.*)$" } } }, "output": { "type": "object", "required": [ "type", "rtmp", "hls" ], "properties": { "type": { "type": "string", "default": "rtmp", "pattern": "^(rtmp|hls)$" }, "rtmp": { "type": "object", "default": {} }, "hls": { "type": "object", "required": [ "method", "time", "listSize", "timeout" ], "properties": { "method": { "type": "string", "default": "POST", "pattern": "^(POST|PUT)$" }, "time": { "type": "string", "default": "2", "pattern": "^(.*)$" }, "listSize": { "type": "string", "default": "10", "pattern": "^(.*)$" }, "timeout": { "type": "string", "default": "10", "pattern": "^(.*)$" } } } } }, "player": { "type": "object", "required": [ "autoplay", "mute", "statistics", "color", "logo" ], "properties": { "autoplay": { "type": "boolean", "default": false }, "mute": { "type": "boolean", "default": false }, "statistics": { "type": "boolean", "default": false }, "color": { "type": "string", "default": "#3daa48", "pattern": "^#[0-9a-f]{6}$" }, "logo": { "type": "object", "required": [ "image", "position", "link" ], "properties": { "image": { "type": "string", "default": "", "pattern": "^(.*)$" }, "position": { "type": "string", "default": "bottom-right", "pattern": "^(.*)$" }, "link": { "type": "string", "default": "", "pattern": "^(.*)$" } } } } } } }, "states": { "type": "object", "required": [ "repeatToLocalNginx", "repeatToOptionalOutput" ], "properties": { "repeatToLocalNginx": { "type": "object", "required": [ "type" ], "properties": { "type": { "type": "string", "default": "", "pattern": "^(.*)$" } } }, "repeatToOptionalOutput": { "type": "object", "required": [ "type" ], "properties": { "type": { "type": "string", "default": "", "pattern": "^(.*)$" } } } } }, "userActions": { "type": "object", "required": [ "repeatToLocalNginx", "repeatToOptionalOutput" ], "properties": { "repeatToLocalNginx": { "type": "string", "default": "", "pattern": "^(.*)$" }, "repeatToOptionalOutput": { "type": "string", "default": "", "pattern": "^(.*)$" } } } } }
o34899
{ "additionalProperties": false, "description": "Schema for a Mandrill message clicked event", "properties": { "_id": { "type": "string" }, "ip": { "type": "string" }, "location": { "additionalProperties": false, "properties": { "city": { "type": "string" }, "country": { "type": "string" }, "country_short": { "type": "string" }, "latitude": { "type": "number" }, "longitude": { "type": "number" }, "postal_code": { "type": "string" }, "region": { "type": "string" }, "timezone": { "type": "string" } }, "type": "object" }, "msg": { "additionalProperties": false, "properties": { "_id": { "type": "string" }, "_version": { "type": "string" }, "clicks": { "items": { "additionalProperties": true, "properties": { "ip": { "type": "string" }, "location": { "type": [ "string", "null" ] }, "ts": { "_format": "date-time", "type": "string" }, "ua": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "type": "array" }, "email": { "type": "string" }, "metadata": { "additionalProperties": true, "properties": { "user_id": { "type": "number" } }, "type": "object" }, "opens": { "items": { "additionalProperties": true, "properties": { "ip": { "type": "string" }, "location": { "type": [ "string", "null" ] }, "ts": { "_format": "date-time", "type": "string" }, "ua": { "type": "string" } }, "type": "object" }, "type": "array" }, "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" }, "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" }, "url": { "type": "string" }, "user_agent": { "type": "string" }, "user_agent_parsed": { "additionalProperties": false, "properties": { "mobile": { "type": "boolean" }, "os_company": { "type": "string" }, "os_company_url": { "type": "string" }, "os_family": { "type": "string" }, "os_icon": { "type": "string" }, "os_name": { "type": "string" }, "os_url": { "type": "string" }, "type": { "type": "string" }, "ua_company": { "type": "string" }, "ua_company_url": { "type": "string" }, "ua_family": { "type": "string" }, "ua_icon": { "type": "string" }, "ua_name": { "type": "string" }, "ua_url": { "type": "string" }, "ua_version": { "type": "string" } }, "type": "object" } }, "self": { "format": "jsonschema", "name": "message_clicked", "vendor": "com.mandrill", "version": "1-0-0" }, "type": "object" }
sp_123_Normalized
{ "definitions": { "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Preconditions": { "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", "properties": { "resourceVersion": { "description": "Specifies the target ResourceVersion", "type": "string" }, "uid": { "description": "Specifies the target UID.", "type": "string" } }, "type": "object" } }, "description": "DeleteOptions may be provided when deleting an API object.", "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": [ "v1", "admission.k8s.io/v1", "admission.k8s.io/v1beta1", "admissionregistration.k8s.io/v1", "admissionregistration.k8s.io/v1beta1", "apiextensions.k8s.io/v1", "apiextensions.k8s.io/v1beta1", "apiregistration.k8s.io/v1", "apiregistration.k8s.io/v1beta1", "apps/v1", "apps/v1beta1", "apps/v1beta2", "auditregistration.k8s.io/v1alpha1", "authentication.k8s.io/v1", "authentication.k8s.io/v1beta1", "authorization.k8s.io/v1", "authorization.k8s.io/v1beta1", "autoscaling/v1", "autoscaling/v2beta1", "autoscaling/v2beta2", "batch/v1", "batch/v1beta1", "batch/v2alpha1", "certificates.k8s.io/v1beta1", "coordination.k8s.io/v1", "coordination.k8s.io/v1beta1", "discovery.k8s.io/v1alpha1", "discovery.k8s.io/v1beta1", "events.k8s.io/v1beta1", "extensions/v1beta1", "flowcontrol.apiserver.k8s.io/v1alpha1", "imagepolicy.k8s.io/v1alpha1", "networking.k8s.io/v1", "networking.k8s.io/v1beta1", "node.k8s.io/v1alpha1", "node.k8s.io/v1beta1", "policy/v1beta1", "rbac.authorization.k8s.io/v1", "rbac.authorization.k8s.io/v1alpha1", "rbac.authorization.k8s.io/v1beta1", "scheduling.k8s.io/v1", "scheduling.k8s.io/v1alpha1", "scheduling.k8s.io/v1beta1", "settings.k8s.io/v1alpha1", "storage.k8s.io/v1", "storage.k8s.io/v1alpha1", "storage.k8s.io/v1beta1" ], "type": [ "string", "null" ] }, "dryRun": { "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "items": { "type": [ "string", "null" ] }, "type": [ "array", "null" ] }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", "format": "int64", "type": [ "integer", "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": [ "DeleteOptions" ], "type": [ "string", "null" ] }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "type": [ "boolean", "null" ] }, "preconditions": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Preconditions", "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned." }, "propagationPolicy": { "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "type": [ "string", "null" ] } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "", "kind": "DeleteOptions", "version": "v1" }, { "group": "admission.k8s.io", "kind": "DeleteOptions", "version": "v1" }, { "group": "admission.k8s.io", "kind": "DeleteOptions", "version": "v1beta1" }, { "group": "admissionregistration.k8s.io", "kind": "DeleteOptions", "version": "v1" }, { "group": "admissionregistration.k8s.io", "kind": "DeleteOptions", "version": "v1beta1" }, { "group": "apiextensions.k8s.io", "kind": "DeleteOptions", "version": "v1" }, { "group": "apiextensions.k8s.io", "kind": "DeleteOptions", "version": "v1beta1" }, { "group": "apiregistration.k8s.io", "kind": "DeleteOptions", "version": "v1" }, { "group": "apiregistration.k8s.io", "kind": "DeleteOptions", "version": "v1beta1" }, { "group": "apps", "kind": "DeleteOptions", "version": "v1" }, { "group": "apps", "kind": "DeleteOptions", "version": "v1beta1" }, { "group": "apps", "kind": "DeleteOptions", "version": "v1beta2" }, { "group": "auditregistration.k8s.io", "kind": "DeleteOptions", "version": "v1alpha1" }, { "group": "authentication.k8s.io", "kind": "DeleteOptions", "version": "v1" }, { "group": "authentication.k8s.io", "kind": "DeleteOptions", "version": "v1beta1" }, { "group": "authorization.k8s.io", "kind": "DeleteOptions", "version": "v1" }, { "group": "authorization.k8s.io", "kind": "DeleteOptions", "version": "v1beta1" }, { "group": "autoscaling", "kind": "DeleteOptions", "version": "v1" }, { "group": "autoscaling", "kind": "DeleteOptions", "version": "v2beta1" }, { "group": "autoscaling", "kind": "DeleteOptions", "version": "v2beta2" }, { "group": "batch", "kind": "DeleteOptions", "version": "v1" }, { "group": "batch", "kind": "DeleteOptions", "version": "v1beta1" }, { "group": "batch", "kind": "DeleteOptions", "version": "v2alpha1" }, { "group": "certificates.k8s.io", "kind": "DeleteOptions", "version": "v1beta1" }, { "group": "coordination.k8s.io", "kind": "DeleteOptions", "version": "v1" }, { "group": "coordination.k8s.io", "kind": "DeleteOptions", "version": "v1beta1" }, { "group": "discovery.k8s.io", "kind": "DeleteOptions", "version": "v1alpha1" }, { "group": "discovery.k8s.io", "kind": "DeleteOptions", "version": "v1beta1" }, { "group": "events.k8s.io", "kind": "DeleteOptions", "version": "v1beta1" }, { "group": "extensions", "kind": "DeleteOptions", "version": "v1beta1" }, { "group": "flowcontrol.apiserver.k8s.io", "kind": "DeleteOptions", "version": "v1alpha1" }, { "group": "imagepolicy.k8s.io", "kind": "DeleteOptions", "version": "v1alpha1" }, { "group": "networking.k8s.io", "kind": "DeleteOptions", "version": "v1" }, { "group": "networking.k8s.io", "kind": "DeleteOptions", "version": "v1beta1" }, { "group": "node.k8s.io", "kind": "DeleteOptions", "version": "v1alpha1" }, { "group": "node.k8s.io", "kind": "DeleteOptions", "version": "v1beta1" }, { "group": "policy", "kind": "DeleteOptions", "version": "v1beta1" }, { "group": "rbac.authorization.k8s.io", "kind": "DeleteOptions", "version": "v1" }, { "group": "rbac.authorization.k8s.io", "kind": "DeleteOptions", "version": "v1alpha1" }, { "group": "rbac.authorization.k8s.io", "kind": "DeleteOptions", "version": "v1beta1" }, { "group": "scheduling.k8s.io", "kind": "DeleteOptions", "version": "v1" }, { "group": "scheduling.k8s.io", "kind": "DeleteOptions", "version": "v1alpha1" }, { "group": "scheduling.k8s.io", "kind": "DeleteOptions", "version": "v1beta1" }, { "group": "settings.k8s.io", "kind": "DeleteOptions", "version": "v1alpha1" }, { "group": "storage.k8s.io", "kind": "DeleteOptions", "version": "v1" }, { "group": "storage.k8s.io", "kind": "DeleteOptions", "version": "v1alpha1" }, { "group": "storage.k8s.io", "kind": "DeleteOptions", "version": "v1beta1" } ] }
kb_249_Normalized
{ "properties": { "check_in_date": { "description": "The check-in date", "format": "date", "type": "string" }, "check_out_date": { "description": "The check-out date", "format": "date", "type": "string" }, "location": { "description": "The location to search for hotels", "type": "string" }, "min_stars": { "description": "The minimum star rating of the hotels", "type": "number" } }, "required": [ "location", "check_in_date", "check_out_date" ], "type": "object" }
search_hotels_e68aed25
{ "properties": { "PayloadDescription": { "default": "Parental Controls Content Filter", "description": "Description of the payload", "type": "string" }, "PayloadDisplayName": { "default": "Parental Controls Content Filter", "description": "Name of the payload", "type": "string" }, "PayloadIdentifier": { "default": "com.apple.familycontrols.contentfilter", "description": "A unique identifier for the payload, dot-delimited. Usually root PayloadIdentifier+subidentifier", "type": "string" }, "PayloadOrganization": { "description": "This value describes the issuing organization of the profile, as displayed to the user", "type": "string" }, "PayloadType": { "default": "com.apple.familycontrols.contentfilter", "description": "The type of the payload, a reverse dns string", "type": "string" }, "PayloadUUID": { "default": "", "description": "Unique identifier for the payload (format 01234567-89AB-CDEF-0123-456789ABCDEF)", "pattern": "^[0-9A-Za-z]{8}-[0-9A-Za-z]{4}-[0-9A-Za-z]{4}-[0-9A-Za-z]{4}-[0-9A-Za-z]{12}$", "type": "string" }, "PayloadVersion": { "default": 1, "description": "The version of the whole configuration profile.", "type": "number" }, "filterBlacklist": { "description": "If specified and restrictWeb is true, an array of URLs of Websites never to be allowed.", "type": "array" }, "filterWhitelist": { "description": "If specified and restrictWeb is true, an array of URLs designating the only allowed Websites.", "type": "array" }, "restrictWeb": { "description": "Set to true to enable Web content filters.", "type": "boolean" }, "siteWhitelist": { "description": "Required if whiteListEnabled is true. If specified, this key contains an array of dictionaries that define additional allowed sites besides those in the automated list of allowed and unallowed sites, including disallowed adult sites.", "items": { "properties": { "address": { "description": "Site prefix, including http(s) scheme.", "type": "string" }, "pageTitle": { "description": "Optional Page Title", "type": "string" } }, "type": "object" }, "type": "array" }, "useContentFilter": { "description": "Set to true to try to automatically filter content.", "type": "boolean" }, "whitelistEnabled": { "description": "Set to true to use the filterWhiteList and filterBlackList lists.", "type": "boolean" } }, "title": "com.apple.familycontrols.contentfilter", "type": "object" }
o61609
{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "StrykerOptions", "description": "JSON schema for the Stryker Mutator configuration file", "type": "object", "definitions": { "commandRunnerOptions": { "title": "CommandRunnerOptions", "type": "object", "properties": { "command": { "description": "The command to test each mutant. For example \"npm run mocha\". Defaults to \"npm test\".", "type": "string", "default": "npm test" } } }, "logLevel": { "title": "LogLevel", "type": "string", "enum": [ "off", "fatal", "error", "warn", "info", "debug", "trace" ], "tsEnumNames": [ "Off", "Fatal", "Error", "Warning", "Information", "Debug", "Trace" ] }, "coverageAnalysis": { "title": "CoverageAnalysis", "type": "string", "enum": [ "off", "all", "perTest" ] }, "reportType": { "title": "ReportType", "type": "string", "enum": [ "full", "mutationScore" ], "tsEnumNames": [ "Full", "MutationScore" ] }, "clearTextReporterOptions": { "title": "ClearTextReporterOptions", "type": "object", "properties": { "allowColor": { "description": "Indicates whether or not to use color coding in output.", "type": "boolean", "default": true }, "allowEmojis": { "description": "Enable emojis in your clear text report (experimental).", "type": "boolean", "default": false }, "logTests": { "description": "Indicates whether or not to log which tests were executed for a given mutant.", "type": "boolean", "default": true }, "maxTestsToLog": { "description": "Indicates the maximum amount of test to log when `logTests` is enabled", "type": "integer", "minimum": 0, "default": 3 } } }, "dashboardOptions": { "title": "DashboardOptions", "additionalProperties": false, "type": "object", "properties": { "project": { "description": "Indicates which project to use if the \"dashboard\" reporter is enabled.", "type": "string" }, "version": { "description": "Indicates which version to use if the \"dashboard\" reporter is enabled.", "type": "string" }, "module": { "description": "Indicates which module to use if the \"dashboard\" reporter is enabled.", "type": "string" }, "baseUrl": { "description": "Indicates the base url of the stryker dashboard.", "type": "string", "default": "https://dashboard.stryker-mutator.io/api/reports" }, "reportType": { "description": "Indicates wether to send a full report (inc. source code and mutant results) or only the mutation score.", "$ref": "#/definitions/reportType", "default": "full" } } }, "eventRecorderOptions": { "title": "EventRecorderOptions", "additionalProperties": false, "type": "object", "properties": { "baseDir": { "description": "The base dir to write the events to", "type": "string", "default": "reports/mutation/events" } } }, "htmlReporterOptions": { "title": "HtmlReporterOptions", "additionalProperties": false, "type": "object", "properties": { "fileName": { "description": "The `fileName` of the html report.", "type": "string", "default": "reports/mutation/mutation.html" } } }, "jsonReporterOptions": { "title": "JsonReporterOptions", "additionalProperties": false, "type": "object", "properties": { "fileName": { "description": "The relative filename for the json report.", "type": "string", "default": "reports/mutation/mutation.json" } } }, "mutationScoreThresholds": { "title": "MutationScoreThresholds", "additionalProperties": false, "type": "object", "properties": { "high": { "$ref": "#/definitions/percentage", "default": 80 }, "low": { "$ref": "#/definitions/percentage", "default": 60 }, "break": { "oneOf": [ { "type": "null" }, { "$ref": "#/definitions/percentage" } ], "default": null } } }, "percentage": { "type": "number", "minimum": 0, "maximum": 100 }, "mutatorDescriptor": { "type": "object", "additionalProperties": false, "properties": { "plugins": { "description": "Override the default babel plugins Stryker uses to parse your JavaScript files. The default list of plugins is extensive and normally doesn't need overriding. Stryker also loads your babel plugins by default (if you have them). If Stryker's default babel plugins conflicts with your plugins, try to override this list with an empty array.", "anyOf": [ { "type": "array", "items": { "type": [ "string", "array" ] } }, { "type": "null" } ], "default": null }, "excludedMutations": { "type": "array", "items": { "type": "string" }, "default": [] } } }, "warningOptions": { "title": "WarningOptions", "type": "object", "default": {}, "properties": { "unknownOptions": { "description": "decide whether or not to log warnings when additional stryker options are configured", "type": "boolean", "default": true }, "preprocessorErrors": { "description": "decide whether or not to log warnings when a preprocessor error occurs. For example, when the disabling of type errors fails.", "type": "boolean", "default": true }, "unserializableOptions": { "description": "decide whether or not to log warnings when a configuration options are unserializable. For example, using a `/regex/` or `function` in your configuration options.", "type": "boolean", "default": true }, "slow": { "description": "decide whether or not to log warnings when Stryker detects a slow part of mutation that can be sped up by changing some configuration. For example using `--ignoreStatic`.", "type": "boolean", "default": true } } } }, "properties": { "allowConsoleColors": { "description": "The 'allowConsoleColors' value indicates whether Stryker should use colors in console.", "type": "boolean", "default": true }, "buildCommand": { "type": "string", "description": "Configure a build command to run after mutating the code, but before mutants are tested. This is generally used to transpile your code before testing. Only configure this if your test runner doesn't take care of this already and you're not using just-in-time transpiler like `babel/register` or `ts-node`.", "examples": [ "tsc -b", "babel src --out-dir lib", "npm run build" ] }, "checkers": { "description": "Enable checker plugins here. A checker plugin will be invoked for each mutant before it is run in a test runner. It can check to see of a given mutant is valid, by for example validate that it won't result in a type error", "type": "array", "items": { "type": "string" }, "default": [] }, "checkerNodeArgs": { "description": "Configure arguments to be passed as exec arguments to the checker child process(es). For example, running Stryker with `--concurrency 1 --checkerNodeArgs --inspect-brk` will allow you to debug the checker child process. See `execArgv` of [`child_process.fork`](https://nodejs.org/api/child_process.html#child_process_child_process_fork_modulepath_args_options)", "type": "array", "default": [], "items": { "type": "string" } }, "concurrency": { "description": "Set the concurrency of workers. Stryker will always run checkers and test runners in parallel by creating worker processes (note, not `worker_threads`). This defaults to `n-1` where `n` is the number of logical CPU cores available on your machine, unless `n <= 4`, in that case it uses `n`. This is a sane default for most use cases.", "type": "number" }, "commandRunner": { "description": "Options used by the command test runner. Note: these options will only be used when the command test runner is activated (this is the default)", "$ref": "#/definitions/commandRunnerOptions", "default": {} }, "coverageAnalysis": { "$ref": "#/definitions/coverageAnalysis", "description": "Indicates which coverage analysis strategy to use. During mutation testing, Stryker will try to only run the tests that cover a particular mutant.\n\n'perTest': Analyse coverage per test.\n'all': Analyse the coverage for the entire test suite.\n'off' (default): Don't use coverage analysis", "default": "perTest" }, "clearTextReporter": { "description": "The options for the clear text reporter.", "$ref": "#/definitions/clearTextReporterOptions", "default": {} }, "dashboard": { "description": "The options for the dashboard reporter.", "$ref": "#/definitions/dashboardOptions", "default": {} }, "dryRunOnly": { "description": "Execute the initial test run only without doing actual mutation testing. Dry run only will still mutate your code before doing the dry run without those mutants being active, thus can be used to test that StrykerJS can run your test setup. This can be useful, for example, in CI pipelines.", "type":"boolean", "default": false }, "eventReporter": { "description": "The options for the event recorder reporter.", "$ref": "#/definitions/eventRecorderOptions", "default": {} }, "ignorePatterns": { "description": "A comma separated list of patterns used for specifying which files need to be ignored. This should only be used in cases where you experience a slow Stryker startup, because too many (or too large) files are copied to the sandbox that are not needed to run the tests. For example, image or movie directories. Note: This option will have NO effect when using the `--inPlace` option. The directories `node_modules`, `.git` and some others are always ignored. Example: `--ignorePatterns dist`. These patterns are ALWAYS ignored: [`node_modules`, `.git`, `/reports`, `*.tsbuildinfo`, `/stryker.log`, `.stryker-tmp`]. Because Stryker always ignores these, you should rarely have to adjust the `ignorePatterns` setting at all. This is useful to speed up Stryker by ignoring big directories/files you might have in your repo that has nothing to do with your code. For example, 1.5GB of movie/image files. Specify the patterns to all files or directories that are not used to run your tests and thus should NOT be copied to the sandbox directory for mutation testing. Each patterns in this array should be a [glob pattern](#usage-of-globbing-expressions-on-options). If a glob pattern starts with `/`, the pattern is relative to the current working directory. For example, `/foo.js` matches to `foo.js` but not `subdir/foo.js`. However to SELECT specific files TO BE mutated, you better use `--mutate`.", "type": "array", "items": { "type": "string" }, "default": [] }, "ignoreStatic": { "description": "Ignore static mutants. Static mutants are mutants which are only executed during the loading of a file. This means that Stryker has to reload the entire environment in order to test the mutant AND has to run all tests. Therefore, it might make sense to ignore static mutants.", "type": "boolean", "default": false }, "incremental": { "description": "Enable 'incremental mode'. Stryker will store results in a file and use that file to speed up the next --incremental run", "type": "boolean", "default": false }, "incrementalFile": { "description": "Specify the file to use for incremental mode.", "type": "string", "default": "reports/stryker-incremental.json" }, "force": { "description": "Run all mutants, even if --incremental is provided and an incremental file exists. Can be used to force a rebuild of the incremental file.", "type": "boolean", "default": false }, "fileLogLevel": { "description": "Set the log level that Stryker uses to write to the \"stryker.log\" file", "$ref": "#/definitions/logLevel", "default": "off" }, "inPlace": { "type": "boolean", "description": "Determines whether or not Stryker should mutate your files in place. Note: mutating your files in place is generally not needed for mutation testing, unless you have a dependency in your project that is really dependent on the file locations (like \"app-root-path\" for example).\n\nWhen `true`, Stryker will override your files, but it will keep a copy of the originals in the temp directory (using `tempDirName`) and it will place the originals back after it is done. Also with `true` the `ignorePatterns` has no effect any more.\n\nWhen `false` (default) Stryker will work in the copy of your code inside the temp directory.", "default": false }, "logLevel": { "description": "Set the log level that Stryker uses to write to the console.", "$ref": "#/definitions/logLevel", "default": "info" }, "maxConcurrentTestRunners": { "description": "[DEPRECATED please use \"concurrency\" instead]. Specifies the maximum number of concurrent test runners to spawn. Mutation testing is time consuming. By default, Stryker tries to make the most of your CPU's, by spawning as many test runners as you have CPU cores (`Number.MAX_SAFE_INTEGER`).", "type": "number", "default": 9007199254740991 }, "maxTestRunnerReuse": { "description": "Restart each test runner worker process after `n` runs. Not recommended unless you are experiencing memory leaks that you are unable to resolve. Configuring `0` here means infinite reuse.", "type": "number", "default": 0 }, "mutate": { "description": "With `mutate` you configure the subset of files or just one specific file to be mutated. These should be your _production code files_, and definitely not your test files.\n(Whereas with `ignorePatterns` you prevent non-relevant files from being copied to the sandbox directory in the first place)\nThe default will try to guess your production code files based on sane defaults. It reads like this:\n- Include all js-like files inside the `src` or `lib` dir\n- Except files inside `__tests__` directories and file names ending with `test` or `spec`.\nIf the defaults are not sufficient for you, for example in a angular project you might want to\n **exclude** not only the `*.spec.ts` files but other files too, just like the default already does.\nIt is possible to specify exactly which code blocks to mutate by means of a _mutation range_. This can be done postfixing your file with `:startLine[:startColumn]-endLine[:endColumn]`. Example: src/index.js:1:3-1:5", "type": "array", "items": { "type": "string" }, "default": [ "{src,lib}/**/!(*.+(s|S)pec|*.+(t|T)est).+(cjs|mjs|js|ts|jsx|tsx|html|vue)", "!{src,lib}/**/__tests__/**/*.+(cjs|mjs|js|ts|jsx|tsx|html|vue)" ] }, "mutator": { "description": "Configure how Stryker mutates your code.", "$ref": "#/definitions/mutatorDescriptor", "default": {} }, "packageManager": { "enum": [ "npm", "yarn", "pnpm" ], "description": "The package manager Stryker can use to install missing dependencies." }, "plugins": { "description": "With 'plugins', you can add additional Node modules for Stryker to load (or require). By default, all node_modules starting with @stryker-mutator/* will be loaded, so you would normally not need to specify this option. These modules should be installed right next to stryker. For a current list of plugins, you can consult 'npm' or 'stryker-mutator.io.'", "type": "array", "items": { "type": "string" }, "default": [ "@stryker-mutator/*" ] }, "appendPlugins": { "description": "A list of additional plugins you want Stryker to load (`require`) without overwriting the (default) `plugins`.", "type": "array", "items": { "type": "string" }, "default": [] }, "reporters": { "description": "With reporters, you can set the reporters for stryker to use.", "type": "array", "items": { "type": "string" }, "default": [ "clear-text", "progress", "html" ] }, "htmlReporter": { "description": "The options for the html reporter", "$ref": "#/definitions/htmlReporterOptions", "default": {} }, "jsonReporter": { "description": "The options for the json reporter", "$ref": "#/definitions/jsonReporterOptions", "default": {} }, "disableTypeChecks": { "description": "Set to 'true' to disable type checking, or 'false' to enable it. For more control, configure a pattern that matches the files of which type checking has to be disabled. This is needed because Stryker will create (typescript) type errors when inserting the mutants in your code. Stryker disables type checking by inserting `// @ts-nocheck` atop those files and removing other `// @ts-xxx` directives (so they won't interfere with `@ts-nocheck`). The default setting allows these directives to be stripped from all JavaScript and friend files in `lib`, `src` and `test` directories.", "oneOf": [ { "type": "boolean" }, { "type": "string" } ], "examples": [ "{test,src,lib}/**/*.{js,ts,jsx,tsx,html,vue,cts,mts}" ], "default": true }, "symlinkNodeModules": { "description": "The 'symlinkNodeModules' value indicates whether Stryker should create a symbolic link to your current node_modules directory in the sandbox directories. This makes running your tests by Stryker behave more like your would run the tests yourself in your project directory. Only disable this setting if you really know what you are doing.", "type": "boolean", "default": true }, "tempDirName": { "description": "Choose a different temp dir that Stryker uses for mutation testing. This directory will contain copies of your source code during a mutation test run. It will be created if it not exists and is *entirely deleted* after a successful run, so change this with caution.", "type": "string", "default": ".stryker-tmp" }, "cleanTempDir": { "description": "Choose whether or not to clean the temp dir (which is \".stryker-tmp\" inside the current working directory by default).\n - false: Never delete the temp dir;\n - true: Delete the tmp dir after a successful run;\n - \"always\": Always delete the temp dir, regardless of whether the run was successful.", "enum": [ "always", false, true ], "default": true }, "testRunner": { "description": "With 'testRunner' you specify the test runner that Stryker uses to run your tests. The default value is command. The command runner runs a configurable bash/cmd command and bases the result on the exit code of that program (0 for success, otherwise failed). You can configure this command via the config file using the 'commandRunner: { command: 'npm run mocha' }'. It uses 'npm test' as the command by default.", "type": "string", "default": "command" }, "testRunnerNodeArgs": { "description": "Configure arguments to be passed as exec arguments to the test runner child process. For example, running Stryker with `--timeoutMS 9999999 --concurrency 1 --testRunnerNodeArgs --inspect-brk` will allow you to debug the test runner child process. See `execArgv` of [`child_process.fork`](https://nodejs.org/api/child_process.html#child_process_child_process_fork_modulepath_args_options)", "type": "array", "default": [], "items": { "type": "string" } }, "thresholds": { "description": "Specify the thresholds for mutation score.", "$ref": "#/definitions/mutationScoreThresholds", "default": {} }, "timeoutFactor": { "description": "Configure the allowed timeout deviation relative to the time of a normal test run. Tweak this if you notice that mutants are prone to creating slower code, but not infinite loops (for that, use `timeoutMS`)", "type": "number", "default": 1.5 }, "timeoutMS": { "description": "Configure an absolute timeout deviation. Tweak this if you run Stryker on a busy machine and you need to wait longer to make sure that the code indeed entered an infinite loop.", "type": "number", "default": 5000 }, "dryRunTimeoutMinutes": { "description": "Configure an absolute timeout for the initial test run. (It can take a while, therefore we use minutes as time unit.)", "type": "number", "minimum": 0, "default": 5 }, "tsconfigFile": { "description": "Configure the (root) tsconfig file for typescript projects. This will allow Stryker to rewrite the `extends` and `references` settings in this and related tsconfig files in your sandbox. Defaults to `tsconfig.json`. This setting is also used when you enable the `@stryker-mutator/typescript-checker plugin", "type": "string", "default": "tsconfig.json" }, "warnings": { "default": true, "oneOf": [ { "type": "boolean" }, { "$ref": "#/definitions/warningOptions" } ], "description": "Enable or disable certain warnings" }, "disableBail": { "description": "Disables the default of bailing after first failing test. When true runs all tests covering a mutant. Useful when the subject under test is not completely isolated by mocks and you want to know which tests are killing the mutants. This will impact performance.", "type": "boolean", "default": false }, "allowEmpty": { "description": "Allows stryker to exit without any errors in cases where no tests are found", "type": "boolean", "default": false } } }
stryker-core
{ "description": "The field of view of a media object. An instance of <a href=\"#scene-media-fov\">a scene media fov object.</a>", "properties": { "diagonal": { "default": 90, "description": "The diagonal field of view of the media.", "maximum": 180, "minimum": 0, "title": "Diagonal field of view", "type": "number" }, "horizontal": { "default": 90, "description": "The horizontal field of view of the media.", "maximum": 180, "minimum": 0, "title": "Horizontal field of view", "type": "number" }, "vertical": { "default": 90, "description": "The vertical field of view of the media.", "maximum": 180, "minimum": 0, "title": "Vertical field of view", "type": "number" } }, "title": "SceneMediaFovConfig", "type": "object" }
o44296
{ "additionalProperties": false, "description": "Schema for cookie extractor enrichment", "properties": { "enabled": { "type": "boolean" }, "name": { "type": "string" }, "parameters": { "additionalProperties": false, "properties": { "cookies": { "items": { "type": "string" }, "type": "array" } }, "required": [ "cookies" ], "type": "object" }, "vendor": { "type": "string" } }, "required": [ "name", "vendor", "enabled", "parameters" ], "self": { "format": "jsonschema", "name": "cookie_extractor_config", "vendor": "com.snowplowanalytics.snowplow", "version": "1-0-0" }, "type": "object" }
sp_274_Normalized
{ "properties": { "dimensions": { "properties": { "base": { "description": "The base length of the triangle (if applicable)", "type": "number" }, "height": { "description": "The height of the triangle (if applicable)", "type": "number" }, "radius": { "description": "The radius of the circle (if applicable)", "type": "number" }, "side_length": { "description": "The side length of the square (if applicable)", "type": "number" } }, "required": [ "radius", "side_length", "base", "height" ], "type": "object" }, "shape": { "description": "The type of shape (e.g. circle, square, triangle)", "type": "string" } }, "required": [ "shape", "dimensions" ], "type": "object" }
calculate_area_c040f289
{ "title": "TextRandom", "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "startsWithLipsum": { "type": "boolean" }, "minWords": { "type": "integer", "minimum": 1 }, "maxWords": { "type": "integer", "minimum": 1 } }, "required": [ "startsWithLipsum", "minWords", "maxWords" ] }
o91002
{ "$schema": "http://json-schema.org/draft-04/schema#", "id": "https://raw.githubusercontent.com/nataliapc/metacatalog-msx/master/schemas/index.schema.json#", "name": "metacatalog-msx", "title": "", "type": "object", "description": "Schema for 8-bit-computer software metacataloguing", "required": [ "header", "catalog", "content" ], "properties": { "$schema": { "type": "string" }, "header": { "$ref": "#/definitions/headerType" }, "catalog": { "$ref": "#/definitions/catalogType" }, "content": { "$ref": "#/definitions/contentArrayType" }, "extras": { "$ref": "#/definitions/extrasType" } }, "additionalProperties": false, "definitions": { "headerType": { "description": "Header definition", "type": "object", "required": [ "mimecrc", "mimetype", "version" ], "properties": { "mimecrc": { "$ref": "#/definitions/crc32Type", "description": "CRC32 of mimetype" }, "mimetype": { "type": "string", "pattern": "^application/x-metacatalog-(tape|cartridge|disk)$" }, "version": { "type": "string", "pattern": "^\\d+\\.\\d{1,2}\\.\\d{1,2}$" } }, "additionalProperties": false }, "catalogType": { "description": "Catalog info definition", "type": "object", "required": [ "id", "updated", "platform", "type", "name", "license" ], "properties": { "id": { "$ref": "#/definitions/idCatalogType" }, "updated": { "$ref": "#/definitions/datetimeType" }, "platform": { "enum": [ "MSX", "MSX2", "MSX2+", "Turbo-R" ] }, "type": { "enum": [ "game", "application", "demoscene" ] }, "name": { "type": "string" }, "name.original": { "type": "string" }, "name.transliterated": { "type": "string" }, "company": { "type": "string" }, "publisher": { "type": "string" }, "code": { "type": "string", "description": "Game serial code" }, "license": { "enum": [ "unknown", "copyleft", "commercial" ] }, "date": { "type": "integer", "minimum": 1982 }, "country": { "type": "string" }, "sound": { "type": "array", "minItems": 1, "_uniqueItems": true, "items": { "enum": [ "PSG", "OPLL", "SCC", "SCC+", "MSX-Audio", "OPL4" ] } }, "genre": { "type": "array", "minItems": 1, "_uniqueItems": true, "items": { "enum": [ "action", "adventure", "isometric", "puzzle", "shooter", "arcade", "platforms", "strategy", "others" ] } }, "language": { "type": "array", "minItems": 1, "_uniqueItems": true, "items": { "enum": [ "en", "jp", "es", "nl", "br", "fr", "it" ] } }, "controls": { "type": "array", "minItems": 1, "_uniqueItems": true, "items": { "enum": [ "keyboard", "joystick", "mouse" ] } }, "developers": { "type": "array", "_uniqueItems": true, "items": { "$ref": "#/definitions/developerType" } }, "instructions": { "type": "string" } }, "additionalProperties": false }, "idCatalogType": { "description": "Id for catalogType object", "type": "object", "required": [ "string", "crc32", "md5", "sha1" ], "properties": { "string": { "type": "string", "pattern": "^\\w+(|\\.[\\w,]+)*$" }, "crc32": { "$ref": "#/definitions/crc32Type" }, "md5": { "$ref": "#/definitions/md5Type" }, "sha1": { "$ref": "#/definitions/sha1Type" } }, "additionalProperties": false }, "developerType": { "description": "Developer name, task and an optional email", "type": "object", "required": [ "name", "task" ], "properties": { "name": { "type": "string" }, "task": { "type": "string" }, "email": { "type": "string" } }, "additionalProperties": false }, "contentArrayType": { "description": "Content to catalog.", "type": "array", "minItems": 1, "items": { "$rel": "#/definitions/contentItemType" } }, "contentItemType": { "description": "Item file of main content folder", "type": "object", "required": [ "id", "mimetype", "file", "hash.sha1" ], "properties": { "id": { "$rel": "#/definitions/idContentType" }, "mimetype": { "type": "string" }, "format": { "type": "string", "description": "Aditional content format info." }, "file": { "$ref": "#/definitions/contentFileType" }, "hash.sha1": { "$ref": "#/definitions/sha1Type" }, "start.command": { "type": "string", "description": "BLOAD or RUN commands" }, "related.images": { "description": "Im\u00e1genes relacionadas", "type": "array", "minItems": 1, "_uniqueItems": true, "items": { "type": "string" } }, "alternates": { "type": "array", "minItems": 1, "_uniqueItems": true, "items": { "$rel": "#/definitions/contentAlternateType" } } }, "patternProperties": { "^label(\\.[a-z]{2}){0,1}$": { "type": "string" }, "^comment(\\.[a-z]{2}){0,1}$": { "type": "string" } }, "additionalProperties": false }, "contentAlternateType": { "type": "object", "required": [ "id", "mimetype", "file", "hash.sha1" ], "properties": { "id": { "$rel": "#/definitions/idContentType" }, "mimetype": { "type": "string" }, "format": { "type": "string", "description": "Aditional content format info." }, "file": { "$ref": "#/definitions/contentFileType" }, "hash.sha1": { "$ref": "#/definitions/sha1Type" } }, "patternProperties": { "^comment(\\.[a-z]{2}){0,1}$": { "type": "string" } }, "additionalProperties": false }, "idContentType": { "oneOf": [ { "type": "string", "pattern": "^tape\\d+(\\.side[A-Z](\\.part\\d+){0,1}){0,1}$(\\.alt\\d+){0,1}" }, { "type": "string", "pattern": "^disk\\d+(\\.alt\\d+){0,1}$" }, { "type": "string", "pattern": "^rom\\d+(\\.alt\\d+){0,1}$" } ], "description": "Use https://regex101.com to validate ids" }, "extrasType": { "description": "Extra content", "type": "object", "properties": { "maintheme": { "$ref": "#/definitions/extraFileType" }, "images": { "$ref": "#/definitions/imageArrayType" }, "tips": { "type": "array", "_uniqueItems": true, "items": { "$ref": "#/definitions/tipsType" } }, "cheats": { "type": "array", "_uniqueItems": true, "items": { "$ref": "#/definitions/cheatsType" } } }, "additionalProperties": false }, "imageArrayType": { "description": "To launchers: get main game image in this order by availability 'screen.loading', 'screen.ingame.menu', 'screen.ingame.1', and the image with true default attribute.", "type": "array", "minItems": 1, "_uniqueItems": true, "items": { "$ref": "#/definitions/imageItemType" } }, "imageItemType": { "type": "object", "required": [ "id", "file", "hash.sha1", "label" ], "properties": { "id": { "anyOf": [ { "type": "string", "pattern": "^screen\\.(loading|ingame\\.(menu|end|\\d+))$" }, { "type": "string", "pattern": "^scan\\.tape\\d+\\.(inlay(Front|Back)|side[A-B])$" }, { "type": "string", "pattern": "^scan\\.disk\\d+$" }, { "type": "string", "pattern": "^scan\\.rom\\.(inlay(Front|Back))$" }, { "type": "string", "pattern": "^scan\\.manual\\d+$" }, { "type": "string", "pattern": "^custom\\.(coverhd|gamemap)$" } ] }, "file": { "$ref": "#/definitions/imageFileType" }, "hash.sha1": { "$ref": "#/definitions/sha1Type" }, "default": { "type": "boolean" } }, "patternProperties": { "^label(\\.[a-z]{2}){0,1}$": { "type": "string" } }, "additionalProperties": false }, "tipsType": { "description": "Tips item", "type": "object", "required": [ "label", "description" ], "patternProperties": { "^label(\\.[a-z]{2}){0,1}$": { "type": "string" }, "^description(\\.[a-z]{2}){0,1}$": { "type": "string" } }, "additionalProperties": false }, "cheatsType": { "description": "Need definition" }, "imageFileType": { "type": "string", "pattern": "^extras/[^/]+\\.(jpg|png|gif)$" }, "extraFileType": { "type": "string", "pattern": "^extras/[^/]+$" }, "contentFileType": { "type": "string", "pattern": "^content/[^/]+\\.(cas|rom|dsk)$" }, "datetimeType": { "type": "string", "pattern": "^\\d{4}(-\\d{2}){0,2}( \\d{2}(:\\d{2}){1,2}){0,1}$", "description": "Date-time format 'YYYY-MM-DD [HH:MM:[SS]]'" }, "crc32Type": { "type": "string", "pattern": "^[0-9a-f]{8}$", "description": "To generate CRC32 use: http://hash-functions.online-domain-tools.com/" }, "md5Type": { "type": "string", "pattern": "^[0-9a-f]{32}$", "description": "To generate MD5 use: http://hash-functions.online-domain-tools.com/" }, "sha1Type": { "type": "string", "pattern": "^[0-9a-f]{40}$", "description": "To generate SHA1 use: http://hash-functions.online-domain-tools.com/" }, "hashType": { "description": "File hash", "type": "object", "required": [ "crc32", "md5", "sha1" ], "properties": { "crc32": { "$ref": "#/definitions/crc32Type" }, "md5": { "$ref": "#/definitions/md5Type" }, "sha1": { "$ref": "#/definitions/sha1Type" } }, "additionalProperties": false } } }
o62947
{ "$schema": "http://json-schema.org/draft-04/schema#", "description": "List of people for Timezone GNOME Shell Extension", "title": "People", "type": "array", "format": "table", "items": { "type": "object", "title": "Person", "required": [ "tz" ], "properties": { "name": { "type": "string", "description": "Person's name" }, "avatar": { "type": "string", "description": "URL for the person's avatar" }, "city": { "type": "string", "description": "Person's location (city, country...)" }, "tz": { "type": "string", "description": "Person's timezone. Required. TZ List: http://bit.ly/1BKGEkq" }, "gravatar": { "type": "string", "description": "Gravatar ID (person's email)" }, "github": { "type": "string", "description": "GitHub ID" } } } }
o53703
{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://github.com/Enfernuz/quik-lua-rpc/json/schema/getFuturesHolding.result.scheme.json", "title": "\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b getFuturesHolding", "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 getFuturesHolding", "type": "object", "properties": { "futures_holding": { "description": "\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442", "type": "object", "properties": { "firmid": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 firmid", "type": "string" }, "trdaccid": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 trdaccid", "type": "string" }, "sec_code": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 sec_code", "type": "string" }, "type": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 type", "type": "integer" }, "startbuy": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 startbuy", "type": "string" }, "startsell": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 startsell", "type": "string" }, "startnet": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 startnet", "type": "string" }, "todaybuy": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 todaybuy", "type": "string" }, "todaysell": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 todaysell", "type": "string" }, "totalnet": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 totalnet", "type": "string" }, "openbuys": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 openbuys", "type": "number" }, "opensells": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 opensells", "type": "number" }, "cbplused": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 cbplused", "type": "string" }, "cbplplanned": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 cbplplanned", "type": "string" }, "varmargin": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 varmargin", "type": "string" }, "avrposnprice": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 avrposnprice", "type": "string" }, "positionvalue": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 positionvalue", "type": "string" }, "real_varmargin": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 real_varmargin", "type": "string" }, "total_varmargin": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 total_varmargin", "type": "string" }, "session_status": { "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 session_status", "type": "number" } }, "required": [ "firmid", "trdaccid", "sec_code", "type", "openbuys", "opensells", "session_status" ] } }, "additionalProperties": false }
o5223
{ "$id": "https://raw.githubusercontent.com/Cog-Creators/Red-DiscordBot/V3/develop/schema/red_cog_repo.schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "title": "Red-DiscordBot Сog Repo metadata file", "type": "object", "properties": { "author": { "type": "array", "description": "List of names of authors of the cog", "items": { "type": "string" } }, "description": { "type": "string", "description": "A long description of the cog or repo. For cogs, this is displayed when a user executes [p]cog info." }, "install_msg": { "type": "string", "description": "The message that gets displayed when a cog is installed or a repo is added" }, "short": { "type": "string", "description": "A short description of the cog or repo. For cogs, this info is displayed when a user executes [p]cog list" } } }
red_cog_repo
{ "additionalProperties": false, "description": "Schema for PII pseudonymization enrichment", "properties": { "enabled": { "type": "boolean" }, "name": { "type": "string" }, "parameters": { "additionalProperties": false, "properties": { "pii": { "items": { "additionalProperties": false, "oneOf": [ { "required": [ "pojo" ] }, { "required": [ "json" ] } ], "properties": { "json": { "additionalProperties": false, "properties": { "field": { "type": "string" }, "jsonPath": { "pattern": "^\\$.*$", "type": "string" }, "schemaCriterion": { "pattern": "^iglu:([a-zA-Z0-9-_.]+)/([a-zA-Z0-9-_]+)/([a-zA-Z0-9-_]+)/([1-9][0-9]*|\\*)-((?:0|[1-9][0-9]*)|\\*)-((?:0|[1-9][0-9]*)|\\*)$", "type": "string" } }, "required": [ "field", "schemaCriterion", "jsonPath" ], "type": "object" }, "pojo": { "additionalProperties": false, "properties": { "field": { "enum": [ "user_id", "user_ipaddress", "user_fingerprint", "domain_userid", "network_userid", "ip_organization", "ip_domain", "tr_orderid", "ti_orderid", "mkt_term", "mkt_content", "se_category", "se_action", "se_label", "se_property", "mkt_clickid", "refr_domain_userid", "domain_sessionid" ] } }, "required": [ "field" ], "type": "object" } }, "type": "object" }, "type": "array" }, "strategy": { "additionalProperties": false, "properties": { "pseudonymize": { "additionalProperties": false, "properties": { "hashFunction": { "enum": [ "MD2", "MD5", "SHA-1", "SHA-256", "SHA-384", "SHA-512" ] } }, "required": [ "hashFunction" ], "type": "object" } }, "required": [ "pseudonymize" ], "type": "object" } }, "required": [ "pii", "strategy" ], "type": "object" }, "vendor": { "type": "string" } }, "required": [ "vendor", "name", "enabled", "parameters" ], "self": { "format": "jsonschema", "name": "pii_enrichment_config", "vendor": "com.snowplowanalytics.snowplow.enrichments", "version": "1-0-0" }, "type": "object" }
sp_351_Normalized
{ "title": "CLI sync input", "$schema": "http://json-schema.org/draft-06/schema#", "type": "object", "additionalProperties": false, "properties": { "fabric_uuid": { "type": "string", "description": "Fabric UUID" }, "devices_cli": { "type": "array", "items": { "title": "Devices CLI Items", "type": "object", "description": "Dictionaries of device details", "additionalProperties": false, "required": [ "device_uuid", "cli_objects" ], "properties": { "device_uuid": { "type": "string", "title": "UUIDs of the device" }, "cli_objects": { "type": "array", "title": "cli objects for that device", "items": { "type": "object", "required": [ "time", "status" ], "properties": { "time": { "type": "string", "title": "Timestamp of the cli change" }, "status": { "type": "string", "title": "Accept or Reject the commit" } } } } } } } } }
o8449
{ "title": "ProgrammingLanguage", "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "language": { "enum": [ "JavaScript", "Perl", "PHP", "Ruby", "CSharp" ] } }, "required": [ "language" ] }
o84263
{ "$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" }, "groups": { "$ref": "#/definitions/topic_groups" }, "internal_name": { "$ref": "#/definitions/taxonomy_internal_name" } }, "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" }, "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" }, "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" } ] }, "publishing_scheduled_at": { "_format": "date-time", "description": "When this content was last scheduled for publishing. Determined by the publishing intent sent by the publishing API.", "type": "string" }, "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" }, "scheduled_publishing_delay_seconds": { "description": "The delay between the most recent scheduled and actual publishing times. Determined by the content store based on the publishing intent.", "type": "integer" }, "taxonomy_internal_name": { "description": "An internal name for taxonomy admin interfaces. Includes parent.", "type": "string" }, "title": { "type": "string" }, "topic_groups": { "description": "Lists of items with titles & paths in named groups, used for showing curated links on browse pages and topics", "items": { "additionalProperties": false, "properties": { "content_ids": { "$ref": "#/definitions/guid_list", "description": "DEPRECATED" }, "contents": { "items": { "$ref": "#/definitions/absolute_path" }, "type": "array" }, "description": { "description": "DEPRECATED", "type": "string" }, "name": { "type": "string" } }, "required": [ "name", "contents" ], "type": "object" }, "type": "array" }, "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" }, "description": { "$ref": "#/definitions/description_optional" }, "details": { "$ref": "#/definitions/details" }, "document_type": { "enum": [ "topic" ], "type": "string" }, "first_published_at": { "anyOf": [ { "$ref": "#/definitions/first_published_at" }, { "type": "null" } ] }, "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" }, "linked_items": { "$ref": "#/definitions/frontend_links_with_base_path", "description": "Includes all content ids referenced in 'details'. This is a temporary measure to expand content ids for frontends which is planned to be replaced by a dependency resolution service." }, "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" }, "locale": { "$ref": "#/definitions/locale" }, "need_ids": { "items": { "type": "string" }, "type": "array" }, "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": { "anyOf": [ { "$ref": "#/definitions/public_updated_at" }, { "type": "null" } ] }, "publishing_app": { "$ref": "#/definitions/publishing_app_name" }, "publishing_request_id": { "$ref": "#/definitions/publishing_request_id" }, "publishing_scheduled_at": { "anyOf": [ { "$ref": "#/definitions/publishing_scheduled_at" }, { "type": "null" } ] }, "rendering_app": { "$ref": "#/definitions/rendering_app" }, "scheduled_publishing_delay_seconds": { "anyOf": [ { "$ref": "#/definitions/scheduled_publishing_delay_seconds" }, { "type": "null" } ] }, "schema_name": { "enum": [ "topic" ], "type": "string" }, "title": { "$ref": "#/definitions/title" }, "updated_at": { "_format": "date-time", "type": "string" }, "withdrawn_notice": { "$ref": "#/definitions/withdrawn_notice" } }, "required": [ "base_path", "content_id", "description", "details", "document_type", "links", "locale", "public_updated_at", "schema_name", "title", "updated_at" ], "type": "object" }
o21403
{ "definitions": { "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ConfigMap": { "description": "ConfigMap holds configuration data for pods to consume.", "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" }, "binaryData": { "additionalProperties": { "_format": "byte", "type": "string" }, "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", "type": "object" }, "data": { "additionalProperties": { "type": "string" }, "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", "type": "object" }, "immutable": { "description": "Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is an alpha field enabled by ImmutableEphemeralVolumes feature gate.", "type": "boolean" }, "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": [ "ConfigMap" ], "type": "string" }, "metadata": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "", "kind": "ConfigMap", "version": "v1" } ] }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1": { "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff", "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ListMeta": { "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", "properties": { "continue": { "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.", "type": "string" }, "remainingItemCount": { "_format": "int64", "description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.", "type": "integer" }, "resourceVersion": { "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", "type": "string" }, "selfLink": { "description": "selfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.", "type": "string" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry": { "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.", "properties": { "apiVersion": { "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.", "type": "string" }, "fieldsType": { "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"", "type": "string" }, "fieldsV1": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1", "description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type." }, "manager": { "description": "Manager is an identifier of the workflow managing these fields.", "type": "string" }, "operation": { "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.", "type": "string" }, "time": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time", "description": "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta": { "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", "properties": { "annotations": { "additionalProperties": { "type": "string" }, "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", "type": "object" }, "clusterName": { "description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.", "type": "string" }, "creationTimestamp": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time", "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "deletionGracePeriodSeconds": { "_format": "int64", "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", "type": "integer" }, "deletionTimestamp": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time", "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "finalizers": { "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.", "items": { "type": "string" }, "type": "array", "x-kubernetes-patch-strategy": "merge" }, "generateName": { "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency", "type": "string" }, "generation": { "_format": "int64", "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", "type": "integer" }, "labels": { "additionalProperties": { "type": "string" }, "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", "type": "object" }, "managedFields": { "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry" }, "type": "array" }, "name": { "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names", "type": "string" }, "namespace": { "description": "Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces", "type": "string" }, "ownerReferences": { "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_OwnerReference" }, "type": "array", "x-kubernetes-patch-merge-key": "uid", "x-kubernetes-patch-strategy": "merge" }, "resourceVersion": { "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", "type": "string" }, "selfLink": { "description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.", "type": "string" }, "uid": { "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", "type": "string" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_OwnerReference": { "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.", "properties": { "apiVersion": { "description": "API version of the referent.", "type": "string" }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", "type": "boolean" }, "controller": { "description": "If true, this reference points to the managing controller.", "type": "boolean" }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "name": { "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", "type": "string" }, "uid": { "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", "type": "string" } }, "required": [ "apiVersion", "kind", "name", "uid" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time": { "_format": "date-time", "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": "string" } }, "description": "ConfigMapList is a resource containing a list of ConfigMap objects.", "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": "Items is the list of ConfigMaps.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ConfigMap" }, "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": [ "ConfigMapList" ], "type": [ "string", "null" ] }, "metadata": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ListMeta", "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ "items" ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "", "kind": "ConfigMapList", "version": "v1" } ] }
kb_112_Normalized
{ "properties": { "builtin": { "enum": [ "MODIFIABLE", "DELETABLE", "IMMUTABLE", "PARTITION_ALL" ], "readonly": true, "type": "object" }, "clienttransactions": { "readonly": true, "type": "integer" }, "clientttlb": { "readonly": true, "type": "integer" }, "description": { "readonly": true, "type": "string" }, "expressiontype": { "enum": [ "Classic Policy", "Advanced Policy" ], "readonly": true, "type": "string" }, "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" ], "readonly": true, "type": "string" }, "hits": { "readonly": true, "type": "integer" }, "isdefault": { "readonly": true, "type": "boolean" }, "name": { "type": "string" }, "newname": { "type": "string" }, "reqaction": { "readonly": true, "type": "string" }, "resaction": { "type": "string" }, "rule": { "type": "string" }, "rxbytes": { "readonly": true, "type": "integer" }, "servertransactions": { "readonly": true, "type": "integer" }, "serverttlb": { "readonly": true, "type": "integer" }, "txbytes": { "readonly": true, "type": "integer" } }, "title": "cmppolicy", "type": "object" }
o30309
{ "$schema": "http://json-schema.org/draft-04/schema#", "id": "http://judkins.house/apis/k2/v1/awsEbsStorageOptions.json", "$$target": "awsEbsStorageOptions.json", "title": "AWS EBS Storage Options", "description": "Describes AWS EBS storage options", "properties": { "device_name": { "description": "The name of the device on the node (sde, sdg, etc).", "type": "string" }, "volume_type": { "description": "The storage type on EBS (gp2, etc).", "type": "string" }, "volume_size": { "description": "The size of the storage, in gigabytes.", "type": "number" }, "delete_on_termination": { "description": "Whether or not to delete the volume after the node is terminated.", "type": "boolean" }, "snapshot_id": { "description": "The id of a snapshot to recover from.", "type": [ "string", "null" ] }, "encrypted": { "description": "Whether or not the volume is encrypted within AWS.", "type": "boolean" } }, "required": [ "device_name", "volume_type", "volume_size", "delete_on_termination", "snapshot_id", "encrypted" ], "additionalProperties": false, "type": "object" }
o90354
{ "properties": { "dimensions": { "properties": { "base": { "description": "The base of the shape", "type": "number" }, "height": { "description": "The height of the shape", "type": "number" }, "length": { "description": "The length of the shape", "type": "number" }, "radius": { "description": "The radius of the shape", "type": "number" }, "width": { "description": "The width of the shape", "type": "number" } }, "required": [], "type": "object" }, "shape": { "description": "The shape to calculate the area for", "type": "string" } }, "required": [ "shape", "dimensions" ], "type": "object" }
calculate_area_bfdc1b56
{ "$schema": "http://json-schema.org/draft-04/schema#", "id": "http://test.phpsx.org/test#", "type": "object", "properties": { "any": { "type": "object", "additionalProperties": { "type": "string" } }, "array": { "type": "array", "items": { "type": "string" } }, "arrayComplex": { "type": "array", "items": { "title": "a", "type": "object", "properties": { "foo": { "type": "string" } } } }, "arrayChoice": { "type": "array", "items": { "oneOf": [ { "title": "choiceA", "type": "object", "additionalProperties": false, "properties": { "foo": { "type": "string" } } }, { "title": "choiceB", "type": "object", "additionalProperties": false, "properties": { "bar": { "type": "string" } } } ] } }, "boolean": { "type": "boolean" }, "choice": { "oneOf": [ { "title": "choiceA", "type": "object", "additionalProperties": false, "properties": { "foo": { "type": "string" } } }, { "title": "choiceB", "type": "object", "additionalProperties": false, "properties": { "bar": { "type": "string" } } } ] }, "complex": { "type": "object", "additionalProperties": false, "properties": { "foo": { "type": "string" } } }, "date": { "type": "string", "format": "date" }, "dateTime": { "type": "string", "format": "date-time" }, "duration": { "type": "string", "format": "duration" }, "float": { "type": "number" }, "integer": { "type": "integer" }, "string": { "type": "string" }, "time": { "type": "string", "format": "time" } } }
o23176
{ "$id": "https://json.schemastore.org/drush.site.yml.json", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": { "type": "object", "properties": { "root": { "title": "The Drupal root for this site", "default": "/path/to/drupal/root", "type": "string" }, "host": { "title": "The fully-qualified domain name of the remote system hosting the Drupal instance", "default": "my-server.com", "type": "string" }, "uri": { "title": "Site URI", "description": "The value of uri should always be the same as when the site is being accessed from a web browser", "default": "https://example.com", "type": "string" }, "user": { "title": "The username to log in as when using ssh or rsync", "type": "string" }, "os": { "title": "The operating system of the remote server", "type": "string", "enum": ["Windows", "Linux"] }, "ssh": { "title": "Contains settings used to control how ssh commands are generated when running remote commands", "type": "object", "properties": { "options": { "title": "Additional commandline options for the ssh command itself", "type": "string" }, "tty": { "title": "A flag to force Drush to always or never create a tty", "type": "boolean" } } }, "paths": { "title": "Aliases for common rsync targets", "type": "object", "properties": { "drush-script": { "title": "Path to the remote Drush command", "default": "/path/to/drush", "type": "string" }, "alias-path": { "title": "A list of paths where Drush will search for alias files", "type": "array", "items": { "type": "string" } }, "files": { "titles": "Path to 'files' directory", "type": "string" } }, "additionalProperties": { "type": "string" } }, "command": { "title": "Contains options for specific commands", "type": "object", "additionalProperties": { "type": "object" } }, "docker": { "type": "object", "properties": { "service": { "title": "The name of the container to run on", "type": "string" }, "exec": { "type": "object", "options": { "title": "Options for exec command", "type": "string" } } } }, "vagrant": { "title": "Vagrant transport", "type": "null" } } }, "title": "JSON Schema for Drush site aliases", "type": "object" }
drush
{ "definitions": { "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TypedLocalObjectReference": { "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.", "properties": { "apiGroup": { "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", "type": "string" }, "kind": { "description": "Kind is the type of resource being referenced", "type": "string" }, "name": { "description": "Name is the name of resource being referenced", "type": "string" } }, "required": [ "kind", "name" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_HTTPIngressPath": { "description": "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.", "properties": { "backend": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_IngressBackend", "description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to." }, "path": { "description": "Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched.", "type": "string" }, "pathType": { "description": "PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types. Defaults to ImplementationSpecific.", "type": "string" } }, "required": [ "backend" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_HTTPIngressRuleValue": { "description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.", "properties": { "paths": { "description": "A collection of paths that map requests to backends.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_HTTPIngressPath" }, "type": "array" } }, "required": [ "paths" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_IngressBackend": { "description": "IngressBackend describes all endpoints for a given service and port.", "properties": { "resource": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TypedLocalObjectReference", "description": "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified." }, "serviceName": { "description": "Specifies the name of the referenced service.", "type": "string" }, "servicePort": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_util_intstr_IntOrString", "description": "Specifies the port of the referenced service." } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_IngressRule": { "description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", "properties": { "host": { "description": "Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.\n\nHost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.", "type": "string" }, "http": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_HTTPIngressRuleValue" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_IngressTLS": { "description": "IngressTLS describes the transport layer security associated with an Ingress.", "properties": { "hosts": { "description": "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", "items": { "type": "string" }, "type": "array" }, "secretName": { "description": "SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.", "type": "string" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_util_intstr_IntOrString": { "oneOf": [ { "type": "string" }, { "type": "integer" } ] } }, "description": "IngressSpec describes the Ingress the user wishes to exist.", "properties": { "backend": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_IngressBackend", "description": "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default." }, "ingressClassName": { "description": "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.", "type": [ "string", "null" ] }, "rules": { "description": "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_IngressRule" }, "type": [ "array", "null" ] }, "tls": { "description": "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_IngressTLS" }, "type": [ "array", "null" ] } }, "type": "object" }
kb_456_Normalized
{ "properties": { "client_name": { "description": "The name of the client", "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" }, "tax_rate": { "description": "The tax rate as a percentage", "type": "number" } }, "required": [ "client_name", "items" ], "type": "object" }
create_invoice_b9509f0f
{ "definitions": { "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Namespace": { "description": "Namespace provides a scope for Names. Use of multiple namespaces is optional.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "enum": [ "Namespace" ], "type": "string" }, "metadata": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta", "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NamespaceSpec", "description": "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NamespaceStatus", "description": "Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "", "kind": "Namespace", "version": "v1" } ] }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NamespaceCondition": { "description": "NamespaceCondition contains details about state of namespace.", "properties": { "lastTransitionTime": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time" }, "message": { "type": "string" }, "reason": { "type": "string" }, "status": { "description": "Status of the condition, one of True, False, Unknown.", "type": "string" }, "type": { "description": "Type of namespace controller condition.", "type": "string" } }, "required": [ "type", "status" ], "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NamespaceSpec": { "description": "NamespaceSpec describes the attributes on a Namespace.", "properties": { "finalizers": { "description": "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/", "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NamespaceStatus": { "description": "NamespaceStatus is information about the current status of a Namespace.", "properties": { "conditions": { "description": "Represents the latest available observations of a namespace's current state.", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NamespaceCondition" }, "type": "array", "x-kubernetes-patch-merge-key": "type", "x-kubernetes-patch-strategy": "merge" }, "phase": { "description": "Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/", "type": "string" } }, "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1": { "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff", "type": "object" }, "https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_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": "NamespaceList is a list of Namespaces.", "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": [ "v1" ], "type": [ "string", "null" ] }, "items": { "description": "Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", "items": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Namespace" }, "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": [ "NamespaceList" ], "type": [ "string", "null" ] }, "metadata": { "$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ListMeta", "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, "required": [ "items" ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "", "kind": "NamespaceList", "version": "v1" } ] }
kb_577_Normalized
{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "allOf Schema", "description": "An example of a schema with an allOf property", "type": "object", "allOf": [ { "properties": { "foo": { "description": "Fooing", "type": "string", "example": "Foo" } } }, { "properties": { "bar": { "description": "A place to get a drink", "type": "object" } } } ] }
o44455
{ "$schema": "http://json-schema.org/draft-04/schema#", "$id": "http://webapp.com/schema/status.json", "type": "object", "properties": { "status": { "type": "string", "enum": [ "OK", "ERROR" ] }, "uptime": { "type": "number", "minimum": 0 }, "components": { "type": "array", "items": { "type": "object", "properties": { "status": { "type": "string", "enum": [ "OK", "ERROR" ] }, "name": { "type": "string" }, "date": { "type": "string" }, "message": { "type": "string" } }, "required": [ "status", "name", "date" ] } } }, "required": [ "status", "uptime", "components" ] }
o12299
{ "properties": { "dimensions": { "properties": { "base": { "description": "The base length of the triangle or rectangle", "type": "number" }, "height": { "description": "The height of the triangle or rectangle", "type": "number" }, "radius": { "description": "The radius of the circle", "type": "number" } }, "required": [ "radius" ], "type": "object" }, "shape": { "description": "The type of shape (e.g. circle, triangle, rectangle)", "type": "string" } }, "required": [ "shape" ], "type": "object" }
calculate_area_5e6df160