json_schema
stringlengths 43
1.28M
| unique_id
stringlengths 2
41
|
---|---|
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_rbac_v1beta1_AggregationRule": {
"description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole",
"properties": {
"clusterRoleSelectors": {
"description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector"
},
"type": "array"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_rbac_v1beta1_PolicyRule": {
"description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.",
"properties": {
"apiGroups": {
"description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.",
"items": {
"type": "string"
},
"type": "array"
},
"nonResourceURLs": {
"description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.",
"items": {
"type": "string"
},
"type": "array"
},
"resourceNames": {
"description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups.",
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"verbs"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1": {
"description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff",
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector": {
"description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
"properties": {
"matchExpressions": {
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement"
},
"type": "array"
},
"matchLabels": {
"additionalProperties": {
"type": "string"
},
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"type": "object"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement": {
"description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
"properties": {
"key": {
"description": "key is the label key that the selector applies to.",
"type": "string",
"x-kubernetes-patch-merge-key": "key",
"x-kubernetes-patch-strategy": "merge"
},
"operator": {
"description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
"type": "string"
},
"values": {
"description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"key",
"operator"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_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": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.",
"properties": {
"aggregationRule": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_rbac_v1beta1_AggregationRule",
"description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."
},
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"enum": [
"rbac.authorization.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": [
"ClusterRole"
],
"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."
},
"rules": {
"description": "Rules holds all the PolicyRules for this ClusterRole",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_rbac_v1beta1_PolicyRule"
},
"type": [
"array",
"null"
]
}
},
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "rbac.authorization.k8s.io",
"kind": "ClusterRole",
"version": "v1beta1"
}
]
} | kb_85_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"FileMetadata": {
"type": "object",
"title": "File Metadata",
"properties": {
"identifiers": {
"type": "object",
"title": "Namespace Identifiers",
"description": "Sandbox for file ID information (e.g. echonest ID, musicbrainz ID, etc.)."
},
"artist": {
"type": "string"
},
"title": {
"type": "string"
},
"release": {
"type": "string"
},
"duration": {
"type": "number",
"minimum": 0.0
},
"jams_version": {
"type": "string",
"pattern": "[0-9].[0-9].[0-9]"
}
}
},
"Curator": {
"type": "object",
"title": "Curator",
"description": "Curator contact information: name and email",
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string",
"format": "email"
}
},
"required": [
"name",
"email"
]
},
"AnnotationMetadata": {
"type": "object",
"title": "Annotation metadata",
"description": "All metadata required to describe an annotation",
"properties": {
"corpus": {
"type": "string"
},
"version": {
"type": [
"string",
"number"
]
},
"curator": {
"$ref": "#/definitions/Curator"
},
"annotator": {
"type": "object",
"title": "Annotator",
"description": "Sandbox for information about the annotator."
},
"annotation_tools": {
"type": "string"
},
"annotation_rules": {
"type": "string"
},
"validation": {
"type": "string"
},
"data_source": {
"type": "string"
}
}
},
"SparseObservation": {
"type": "object",
"title": "SparseObservation",
"description": "An observation that spans an interval of time",
"properties": {
"value": {},
"confidence": {},
"time": {
"type": "number",
"minimum": 0.0
},
"duration": {
"type": "number",
"minimum": 0.0
}
},
"required": [
"value",
"time",
"duration",
"confidence"
]
},
"DenseObservation": {
"type": "object",
"title": "DenseObservation",
"description": "A dense series of observations",
"properties": {
"value": {
"type": "array"
},
"confidence": {
"type": "array"
},
"time": {
"type": "array",
"items": {
"type": "number",
"minimum": 0.0
}
},
"duration": {
"type": "array",
"items": {
"type": "number",
"minimum": 0.0
}
}
},
"required": [
"value",
"time",
"duration",
"confidence"
]
},
"SparseObservationList": {
"type": "array",
"title": "Sparse Observation List",
"id": "#sparse-observation-list",
"description": "A list of sparse observation objects",
"items": {
"$ref": "#/definitions/SparseObservation"
}
},
"Annotation": {
"id": "#annotation",
"type": "object",
"title": "Annotation",
"description": "An annotation of a single observation, e.g. tags",
"properties": {
"annotation_metadata": {
"$ref": "#/definitions/AnnotationMetadata"
},
"data": {
"title": "Data",
"description": "An array of observations",
"oneOf": [
{
"$ref": "#/definitions/DenseObservation"
},
{
"$ref": "#/definitions/SparseObservationList"
}
]
},
"namespace": {
"type": "string"
},
"sandbox": {
"type": "object"
},
"time": {
"oneOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
]
},
"duration": {
"oneOf": [
{
"type": "number",
"minimum": 0.0
},
{
"type": "null"
}
]
}
},
"required": [
"annotation_metadata",
"data",
"namespace"
]
}
},
"type": "object",
"title": "JAMS file",
"description": "JSON Annotated Music Specification",
"properties": {
"file_metadata": {
"$ref": "#/definitions/FileMetadata"
},
"annotations": {
"type": "array",
"title": "Annotations",
"description": "Array of annotations",
"items": {
"$ref": "#/definitions/Annotation"
}
},
"sandbox": {
"type": "object"
}
}
} | o58837 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"timestamp": {
"description": "the number of seconds since the Unix epoch",
"type": "string",
"minLength": 10,
"maxLength": 10,
"pattern": "[0-9]{10,10}"
},
"author": {
"type": "string"
},
"original": {
"description": "the SHA1 hash of another comment on the same revision, and it means this comment is an updated version of that comment",
"type": "string"
},
"parent": {
"description": "the SHA1 hash of another comment on the same revision, and it means this comment is a reply to that comment",
"type": "string"
},
"location": {
"type": "object",
"properties": {
"commit": {
"type": "string"
},
"path": {
"type": "string"
},
"range": {
"type": "object",
"properties": {
"startLine": {
"type": "integer"
},
"startColumn": {
"type": "integer"
},
"endLine": {
"type": "integer"
},
"endColumn": {
"type": "integer"
}
}
}
}
},
"description": {
"type": "string"
},
"resolved": {
"type": "boolean"
},
"v": {
"type": "integer",
"enum": [
0
]
}
},
"required": [
"timestamp",
"author"
]
} | o44205 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time": {
"_format": "date-time",
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": "string"
}
},
"description": "APIServiceCondition describes the state of an APIService at a particular point",
"properties": {
"lastTransitionTime": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Last time the condition transitioned from one status to another."
},
"message": {
"description": "Human-readable message indicating details about last transition.",
"type": [
"string",
"null"
]
},
"reason": {
"description": "Unique, one-word, CamelCase reason for the condition's last transition.",
"type": [
"string",
"null"
]
},
"status": {
"description": "Status is the status of the condition. Can be True, False, Unknown.",
"type": [
"string",
"null"
]
},
"type": {
"description": "Type is the type of the condition.",
"type": [
"string",
"null"
]
}
},
"required": [
"type",
"status"
],
"type": "object"
} | kb_28_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"definitions": {
"absolute_path": {
"description": "A path only. Query string and/or fragment are not allowed.",
"pattern": "^/(([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})+(/([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})*)*)?$",
"type": "string"
},
"analytics_identifier": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "A short identifier we send to Google Analytics for multi-valued fields. This means we avoid the truncated values we would get if we sent the path or slug of eg organisations."
},
"body": {
"description": "The main content provided as HTML rendered from govspeak",
"type": "string"
},
"change_history": {
"items": {
"additionalProperties": false,
"properties": {
"note": {
"description": "A summary of the change",
"type": "string"
},
"public_timestamp": {
"_format": "date-time",
"type": "string"
}
},
"required": [
"public_timestamp",
"note"
],
"type": "object"
},
"type": "array"
},
"description": {
"type": "string"
},
"description_optional": {
"anyOf": [
{
"$ref": "#/definitions/description"
},
{
"type": "null"
}
]
},
"details": {
"additionalProperties": false,
"properties": {
"body": {
"$ref": "#/definitions/body"
},
"change_history": {
"$ref": "#/definitions/change_history"
},
"read_more": {
"type": "string"
}
},
"required": [
"read_more",
"body"
],
"type": "object"
},
"first_published_at": {
"_format": "date-time",
"description": "The date the content was first published. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string"
},
"frontend_links": {
"items": {
"additionalProperties": true,
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"api_path": {
"$ref": "#/definitions/absolute_path"
},
"api_url": {
"_format": "uri",
"description": "DEPRECATED: api_path should be used instead of api_url. This is due to values of api_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"document_type": {
"type": "string"
},
"links": {
"patternProperties": {
"^[a-z_]+$": {
"$ref": "#/definitions/frontend_links"
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"public_updated_at": {
"oneOf": [
{
"$ref": "#/definitions/public_updated_at"
},
{
"type": "null"
}
]
},
"schema_name": {
"type": "string"
},
"title": {
"type": "string"
},
"web_url": {
"_format": "uri",
"description": "DEPRECATED: base_path should be used instead of web_url. This is due to values of web_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
}
},
"required": [
"content_id",
"locale",
"title"
],
"type": "object"
},
"type": "array"
},
"frontend_links_with_base_path": {
"items": {
"additionalProperties": true,
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"api_path": {
"$ref": "#/definitions/absolute_path"
},
"api_url": {
"_format": "uri",
"description": "DEPRECATED: api_path should be used instead of api_url. This is due to values of api_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"document_type": {
"type": "string"
},
"links": {
"patternProperties": {
"^[a-z_]+$": {
"$ref": "#/definitions/frontend_links_with_base_path"
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"public_updated_at": {
"oneOf": [
{
"$ref": "#/definitions/public_updated_at"
},
{
"type": "null"
}
]
},
"schema_name": {
"type": "string"
},
"title": {
"type": "string"
},
"web_url": {
"_format": "uri",
"description": "DEPRECATED: base_path should be used instead of web_url. This is due to values of web_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
}
},
"required": [
"base_path",
"content_id",
"locale",
"title"
],
"type": "object"
},
"type": "array"
},
"govuk_request_id": {
"type": [
"string",
"null"
]
},
"guid": {
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
"type": "string"
},
"guid_list": {
"items": {
"$ref": "#/definitions/guid"
},
"type": "array",
"_uniqueItems": true
},
"locale": {
"enum": [
"ar",
"az",
"be",
"bg",
"bn",
"cs",
"cy",
"da",
"de",
"dr",
"el",
"en",
"es",
"es-419",
"et",
"fa",
"fi",
"fr",
"gd",
"he",
"hi",
"hr",
"hu",
"hy",
"id",
"is",
"it",
"ja",
"ka",
"kk",
"ko",
"lt",
"lv",
"ms",
"mt",
"nl",
"no",
"pl",
"ps",
"pt",
"ro",
"ru",
"si",
"sk",
"sl",
"so",
"sq",
"sr",
"sv",
"sw",
"ta",
"th",
"tk",
"tr",
"uk",
"ur",
"uz",
"vi",
"zh",
"zh-hk",
"zh-tw"
],
"type": "string"
},
"payload_version": {
"description": "Counter to indicate when the payload was generated",
"type": "integer"
},
"public_updated_at": {
"_format": "date-time",
"description": "When the content was last significantly changed (a major update). Shown to users. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string"
},
"publishing_app_name": {
"description": "The application that published this item.",
"enum": [
"calculators",
"calendars",
"collections-publisher",
"contacts",
"content-publisher",
"content-tagger",
"email-alert-frontend",
"external-link-tracker",
"feedback",
"frontend",
"government-frontend",
"hmrc-manuals-api",
"info-frontend",
"licencefinder",
"local-links-manager",
"manuals-frontend",
"manuals-publisher",
"maslow",
"performanceplatform-big-screen-view",
"publisher",
"rummager",
"search-admin",
"search-api",
"service-manual-publisher",
"share-sale-publisher",
"short-url-manager",
"smartanswers",
"special-route-publisher",
"specialist-publisher",
"static",
"tariff",
"travel-advice-publisher",
"whitehall"
],
"type": "string"
},
"publishing_request_id": {
"description": "A unique identifier used to track publishing requests to rendered content",
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"rendering_app": {
"description": "The application that renders this item.",
"enum": [
"calculators",
"calendars",
"collections",
"content-store",
"email-alert-frontend",
"email-campaign-frontend",
"feedback",
"finder-frontend",
"frontend",
"government-frontend",
"info-frontend",
"licencefinder",
"manuals-frontend",
"performanceplatform-big-screen-view",
"rummager",
"search-api",
"service-manual-frontend",
"smartanswers",
"spotlight",
"static",
"tariff",
"whitehall-admin",
"whitehall-frontend"
],
"type": "string"
},
"route": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"type": {
"enum": [
"prefix",
"exact"
]
}
},
"required": [
"path",
"type"
],
"type": "object"
},
"routes": {
"items": {
"$ref": "#/definitions/route"
},
"minItems": 1,
"type": "array"
},
"title": {
"type": "string"
},
"update_type": {
"enum": [
"major",
"minor",
"republish"
]
},
"withdrawn_notice": {
"additionalProperties": false,
"properties": {
"explanation": {
"type": "string"
},
"withdrawn_at": {
"format": "date-time"
}
},
"type": "object"
}
},
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"content_purpose_document_supertype": {
"description": "DEPRECATED. Use `content_purpose_subgroup`.",
"type": "string"
},
"content_purpose_subgroup": {
"description": "Document subgroup grouping documents by purpose. Narrows down the purpose defined in content_purpose_supergroup.",
"type": "string"
},
"content_purpose_supergroup": {
"description": "Document supergroup grouping documents by a purpose",
"type": "string"
},
"description": {
"$ref": "#/definitions/description_optional"
},
"details": {
"$ref": "#/definitions/details"
},
"document_type": {
"enum": [
"topical_event_about_page"
],
"type": "string"
},
"email_document_supertype": {
"description": "Document supertype grouping intended to power the Whitehall finders and email subscriptions",
"type": "string"
},
"expanded_links": {
"additionalProperties": false,
"properties": {
"available_translations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"child_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"children": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"document_collections": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"facet_groups": {
"$ref": "#/definitions/frontend_links",
"description": "Prototype-stage metadata tagging tree roots for this content item. A content item my belong to many facet groups without having any specific facet_values links."
},
"facet_values": {
"$ref": "#/definitions/frontend_links",
"description": "Prototype-stage metadata tagging values for this content item, a content item can be linked to many facet values from varying facet groups."
},
"finder": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers links from content back to finders the content is surfaced on"
},
"lead_organisations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "DEPRECATED: A subset of organisations that should be emphasised in relation to this content item. All organisations specified here should also be part of the organisations array."
},
"level_one_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"mainstream_browse_pages": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers the /browse section of the site. These are known as sections in some legacy apps."
},
"meets_user_needs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The user needs this piece of content meets."
},
"ministers": {
"$ref": "#/definitions/frontend_links",
"description": "Link type automatically added by Publishing API"
},
"ordered_related_items": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger."
},
"ordered_related_items_overrides": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation."
},
"organisations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "All organisations linked to this content item. This should include lead organisations."
},
"original_primary_publishing_organisation": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The organisation that published the original version of the page. Corresponds to the first of the 'Lead organisations' in Whitehall for the first edition, and is empty for all other publishing applications."
},
"parent": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The parent content item.",
"maxItems": 1
},
"part_of_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"policies": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"policy_areas": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "A largely deprecated tag currently only used to power email alerts."
},
"primary_publishing_organisation": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The organisation that published the page. Corresponds to the first of the 'Lead organisations' in Whitehall, and is empty for all other publishing applications.",
"maxItems": 1
},
"related_to_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"role_appointments": {
"$ref": "#/definitions/frontend_links",
"description": "Link type automatically added by Publishing API"
},
"secondary_to_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"suggested_ordered_related_items": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "New A/B test suggestions for related items. Used for displaying related content on most pages, except for step-by-step and fatality notices. Links and their ordering are determined by the machine learning algorithms included in this A/B test."
},
"taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Prototype-stage taxonomy label for this content item"
},
"topic_taxonomy_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"topics": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers the /topic section of the site. These are known as specialist sectors in some legacy apps."
}
},
"type": "object"
},
"first_published_at": {
"$ref": "#/definitions/first_published_at"
},
"government_document_supertype": {
"description": "Document supertype grouping intended to power the Whitehall finders and email subscriptions",
"type": "string"
},
"govuk_request_id": {
"$ref": "#/definitions/govuk_request_id"
},
"links": {
"additionalProperties": false,
"properties": {
"facet_groups": {
"$ref": "#/definitions/guid_list",
"description": "Prototype-stage metadata tagging tree roots for this content item. A content item my belong to many facet groups without having any specific facet_values links."
},
"facet_values": {
"$ref": "#/definitions/guid_list",
"description": "Prototype-stage metadata tagging values for this content item, a content item can be linked to many facet values from varying facet groups."
},
"finder": {
"$ref": "#/definitions/guid_list",
"description": "Powers links from content back to finders the content is surfaced on"
},
"lead_organisations": {
"$ref": "#/definitions/guid_list",
"description": "DEPRECATED: A subset of organisations that should be emphasised in relation to this content item. All organisations specified here should also be part of the organisations array."
},
"mainstream_browse_pages": {
"$ref": "#/definitions/guid_list",
"description": "Powers the /browse section of the site. These are known as sections in some legacy apps."
},
"meets_user_needs": {
"$ref": "#/definitions/guid_list",
"description": "The user needs this piece of content meets."
},
"ordered_related_items": {
"$ref": "#/definitions/guid_list",
"description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger."
},
"ordered_related_items_overrides": {
"$ref": "#/definitions/guid_list",
"description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation."
},
"organisations": {
"$ref": "#/definitions/guid_list",
"description": "All organisations linked to this content item. This should include lead organisations."
},
"original_primary_publishing_organisation": {
"$ref": "#/definitions/guid_list",
"description": "The organisation that published the original version of the page. Corresponds to the first of the 'Lead organisations' in Whitehall for the first edition, and is empty for all other publishing applications."
},
"parent": {
"$ref": "#/definitions/guid_list",
"description": "The parent content item.",
"maxItems": 1
},
"policy_areas": {
"$ref": "#/definitions/guid_list",
"description": "A largely deprecated tag currently only used to power email alerts."
},
"primary_publishing_organisation": {
"$ref": "#/definitions/guid_list",
"description": "The organisation that published the page. Corresponds to the first of the 'Lead organisations' in Whitehall, and is empty for all other publishing applications.",
"maxItems": 1
},
"suggested_ordered_related_items": {
"$ref": "#/definitions/guid_list",
"description": "New A/B test suggestions for related items. Used for displaying related content on most pages, except for step-by-step and fatality notices. Links and their ordering are determined by the machine learning algorithms included in this A/B test."
},
"taxons": {
"$ref": "#/definitions/guid_list",
"description": "Prototype-stage taxonomy label for this content item"
},
"topics": {
"$ref": "#/definitions/guid_list",
"description": "Powers the /topic section of the site. These are known as specialist sectors in some legacy apps."
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"navigation_document_supertype": {
"description": "Document type grouping powering the new taxonomy-based navigation pages",
"type": "string"
},
"need_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"payload_version": {
"$ref": "#/definitions/payload_version"
},
"phase": {
"description": "The service design phase of this content item - https://www.gov.uk/service-manual/phases",
"enum": [
"alpha",
"beta",
"live"
],
"type": "string"
},
"public_updated_at": {
"$ref": "#/definitions/public_updated_at"
},
"publishing_app": {
"$ref": "#/definitions/publishing_app_name"
},
"publishing_request_id": {
"$ref": "#/definitions/publishing_request_id"
},
"redirects": {
"additionalItems": false,
"items": {},
"type": "array"
},
"rendering_app": {
"$ref": "#/definitions/rendering_app"
},
"routes": {
"$ref": "#/definitions/routes"
},
"schema_name": {
"enum": [
"topical_event_about_page"
],
"type": "string"
},
"search_user_need_document_supertype": {
"description": "Document supertype grouping core and government documents",
"type": "string"
},
"title": {
"$ref": "#/definitions/title"
},
"update_type": {
"$ref": "#/definitions/update_type"
},
"user_journey_document_supertype": {
"description": "Document type grouping powering analytics of user journeys",
"type": "string"
},
"user_need_document_supertype": {
"description": "DEPRECATED. Use `content_purpose_document_supertype`.",
"type": "string"
},
"withdrawn_notice": {
"$ref": "#/definitions/withdrawn_notice"
}
},
"required": [
"analytics_identifier",
"base_path",
"content_id",
"description",
"details",
"document_type",
"email_document_supertype",
"expanded_links",
"first_published_at",
"government_document_supertype",
"govuk_request_id",
"links",
"locale",
"navigation_document_supertype",
"payload_version",
"phase",
"public_updated_at",
"publishing_app",
"redirects",
"rendering_app",
"routes",
"schema_name",
"title",
"update_type",
"user_journey_document_supertype"
],
"type": "object"
} | o21408 |
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "A name for the specification. The name is used to annotate marks, scale names, and more."
},
"description": {
"type": "string"
},
"data": {
"$ref": "#/definitions/Data"
},
"transform": {
"$ref": "#/definitions/Transform"
},
"mark": {
"$ref": "#/definitions/Mark"
},
"encoding": {
"$ref": "#/definitions/Encoding"
},
"config": {
"$ref": "#/definitions/Config"
}
},
"required": [
"mark",
"encoding"
],
"definitions": {
"DataFormat": {
"type": "string",
"title": "DataFormat",
"enum": [
"json",
"csv",
"tsv"
]
},
"Data": {
"type": "object",
"properties": {
"formatType": {
"$ref": "#/definitions/DataFormat"
},
"url": {
"type": "string"
},
"values": {
"type": "array",
"items": {
"type": "object"
},
"description": "Pass array of objects instead of a url to a file."
}
}
},
"VgFormula": {
"type": "object",
"properties": {
"field": {
"type": "string",
"description": "The field in which to store the computed formula value."
},
"expr": {
"type": "string",
"description": "A string containing an expression for the formula. Use the variable `datum` to to refer to the current data object."
}
},
"required": [
"field",
"expr"
]
},
"Transform": {
"type": "object",
"properties": {
"filter": {
"type": "string",
"description": "A string containing the filter Vega expression. Use `datum` to refer to the current data object."
},
"filterNull": {
"type": "boolean",
"description": "Filter null values from the data. If set to true, all rows with null values are filtered. If false, no rows are filtered. Set the property to undefined to filter only quantitative and temporal fields."
},
"calculate": {
"type": "array",
"items": {
"$ref": "#/definitions/VgFormula"
},
"description": "Calculate new field(s) using the provided expresssion(s). Calculation are applied before filter."
}
}
},
"Mark": {
"type": "string",
"title": "Mark",
"enum": [
"area",
"bar",
"line",
"point",
"text",
"tick",
"circle",
"square"
]
},
"AxisOrient": {
"type": "string",
"title": "AxisOrient",
"enum": [
"top",
"right",
"left",
"bottom"
]
},
"AxisProperties": {
"type": "object",
"properties": {
"labelAngle": {
"type": "number",
"description": "The rotation angle of the axis labels."
},
"format": {
"type": "string",
"description": "The formatting pattern for axis labels."
},
"orient": {
"$ref": "#/definitions/AxisOrient",
"description": "The orientation of the axis. One of top, bottom, left or right. The orientation can be used to further specialize the axis type (e.g., a y axis oriented for the right edge of the chart)."
},
"title": {
"type": "string",
"description": "A title for the axis. Shows field name and its function by default."
},
"values": {
"type": "array",
"items": {
"type": "number"
}
},
"axisWidth": {
"type": "number",
"description": "Width of the axis line"
},
"layer": {
"type": "string",
"description": "A string indicating if the axis (and any gridlines) should be placed above or below the data marks."
},
"offset": {
"type": "number",
"description": "The offset, in pixels, by which to displace the axis from the edge of the enclosing group or data rectangle."
},
"grid": {
"type": "boolean",
"description": "A flag indicate if gridlines should be created in addition to ticks. If `grid` is unspecified, the default value is `true` for ROW and COL. For X and Y, the default value is `true` for quantitative and time fields and `false` otherwise."
},
"labels": {
"type": "boolean",
"description": "Enable or disable labels."
},
"labelAlign": {
"type": "string",
"description": "Text alignment for the Label."
},
"labelBaseline": {
"type": "string",
"description": "Text baseline for the label."
},
"labelMaxLength": {
"type": "number",
"description": "Truncate labels that are too long.",
"minimum": 1
},
"shortTimeLabels": {
"type": "boolean",
"description": "Whether month and day names should be abbreviated."
},
"subdivide": {
"type": "number",
"description": "If provided, sets the number of minor ticks between major ticks (the value 9 results in decimal subdivision). Only applicable for axes visualizing quantitative scales."
},
"ticks": {
"type": "number",
"description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of 2, 5, 10) and lie within the underlying scale's range.",
"minimum": 0
},
"tickPadding": {
"type": "number",
"description": "The padding, in pixels, between ticks and text labels."
},
"tickSize": {
"type": "number",
"description": "The size, in pixels, of major, minor and end ticks.",
"minimum": 0
},
"tickSizeMajor": {
"type": "number",
"description": "The size, in pixels, of major ticks.",
"minimum": 0
},
"tickSizeMinor": {
"type": "number",
"description": "The size, in pixels, of minor ticks.",
"minimum": 0
},
"tickSizeEnd": {
"type": "number",
"description": "The size, in pixels, of end ticks.",
"minimum": 0
},
"titleOffset": {
"type": "number",
"description": "A title offset value for the axis."
},
"titleMaxLength": {
"type": "number",
"description": "Max length for axis title if the title is automatically generated from the field's description. By default, this is automatically based on cell size and characterWidth property.",
"minimum": 0
},
"characterWidth": {
"type": "number",
"description": "Character width for automatically determining title max length."
},
"properties": {
"type": "object",
"description": "Optional mark property definitions for custom axis styling."
}
}
},
"ScaleType": {
"type": "string",
"title": "ScaleType",
"enum": [
"linear",
"log",
"pow",
"sqrt",
"quantile",
"quantize",
"ordinal",
"time",
"utc"
]
},
"NiceTime": {
"type": "string",
"title": "NiceTime",
"enum": [
"second",
"minute",
"hour",
"day",
"week",
"month",
"year"
]
},
"Scale": {
"type": "object",
"properties": {
"type": {
"$ref": "#/definitions/ScaleType"
},
"domain": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "The domain of the scale, representing the set of data values. For quantitative data, this can take the form of a two-element array with minimum and maximum values. For ordinal/categorical data, this may be an array of valid input values. The domain may also be specified by a reference to a data source."
},
"range": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "The range of the scale, representing the set of visual values. For numeric values, the range can take the form of a two-element array with minimum and maximum values. For ordinal or quantized data, the range may by an array of desired output values, which are mapped to elements in the specified domain. For ordinal scales only, the range can be defined using a DataRef: the range values are then drawn dynamically from a backing data set."
},
"round": {
"type": "boolean",
"description": "If true, rounds numeric output values to integers. This can be helpful for snapping to the pixel grid."
},
"bandSize": {
"type": "number",
"minimum": 0
},
"padding": {
"type": "number",
"description": "Applies spacing among ordinal elements in the scale range. The actual effect depends on how the scale is configured. If the __points__ parameter is `true`, the padding value is interpreted as a multiple of the spacing between points. A reasonable value is 1.0, such that the first and last point will be offset from the minimum and maximum value by half the distance between points. Otherwise, padding is typically in the range [0, 1] and corresponds to the fraction of space in the range interval to allocate to padding. A value of 0.5 means that the range band width will be equal to the padding width. For more, see the [D3 ordinal scale documentation](https://github.com/mbostock/d3/wiki/Ordinal-Scales)."
},
"clamp": {
"type": "boolean",
"description": "If true, values that exceed the data domain are clamped to either the minimum or maximum range value"
},
"nice": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "#/definitions/NiceTime"
}
],
"description": "If specified, modifies the scale domain to use a more human-friendly value range. If specified as a true boolean, modifies the scale domain to use a more human-friendly number range (e.g., 7 instead of 6.96). If specified as a string, modifies the scale domain to use a more human-friendly value range. For time and utc scale types only, the nice value should be a string indicating the desired time interval."
},
"exponent": {
"type": "number",
"description": "Sets the exponent of the scale transformation. For pow scale types only, otherwise ignored."
},
"zero": {
"type": "boolean",
"description": "If true, ensures that a zero baseline value is included in the scale domain. This option is ignored for non-quantitative scales."
},
"includeRawDomain": {
"type": "boolean",
"description": "Uses the source data range as scale domain instead of aggregated data for aggregate axis. This option does not work with sum or count aggregate as they might have a substantially larger scale range."
}
}
},
"AggregateOp": {
"type": "string",
"title": "AggregateOp",
"enum": [
"values",
"count",
"valid",
"missing",
"distinct",
"sum",
"mean",
"average",
"variance",
"variancep",
"stdev",
"stdevp",
"median",
"q1",
"q3",
"modeskew",
"min",
"max",
"argmin",
"argmax"
]
},
"SortOrder": {
"type": "string",
"title": "SortOrder",
"enum": [
"ascending",
"descending",
"none"
]
},
"SortField": {
"type": "object",
"properties": {
"field": {
"type": "string",
"description": "The field name to aggregate over."
},
"op": {
"$ref": "#/definitions/AggregateOp",
"description": "The sort aggregation operator"
},
"order": {
"$ref": "#/definitions/SortOrder"
}
},
"required": [
"field",
"op"
]
},
"Type": {
"type": "string",
"title": "Type",
"enum": [
"quantitative",
"ordinal",
"temporal",
"nominal"
]
},
"TimeUnit": {
"type": "string",
"title": "TimeUnit",
"enum": [
"year",
"month",
"day",
"date",
"hours",
"minutes",
"seconds",
"milliseconds",
"yearmonth",
"yearmonthday",
"yearmonthdate",
"yearday",
"yeardate",
"yearmonthdayhours",
"yearmonthdayhoursminutes",
"yearmonthdayhoursminutesseconds",
"hoursminutes",
"hoursminutesseconds",
"minutesseconds",
"secondsmilliseconds"
]
},
"BinProperties": {
"type": "object",
"properties": {
"min": {
"type": "number",
"description": "The minimum bin value to consider. If unspecified, the minimum value of the specified field is used."
},
"max": {
"type": "number",
"description": "The maximum bin value to consider. If unspecified, the maximum value of the specified field is used."
},
"base": {
"type": "number",
"description": "The number base to use for automatic bin determination (default is base 10)."
},
"step": {
"type": "number",
"description": "An exact step size to use between bins. If provided, options such as maxbins will be ignored."
},
"steps": {
"type": "array",
"items": {
"type": "number"
},
"description": "An array of allowable step sizes to choose from."
},
"minstep": {
"type": "number",
"description": "A minimum allowable step size (particularly useful for integer values)."
},
"div": {
"type": "array",
"items": {
"type": "number"
},
"description": "Scale factors indicating allowable subdivisions. The default value is [5, 2], which indicates that for base 10 numbers (the default base), the method may consider dividing bin sizes by 5 and/or 2. For example, for an initial step size of 10, the method can check if bin sizes of 2 (= 10/5), 5 (= 10/2), or 1 (= 10/(5*2)) might also satisfy the given constraints."
},
"maxbins": {
"type": "number",
"description": "Maximum number of bins.",
"minimum": 2
}
}
},
"PositionChannelDef": {
"type": "object",
"properties": {
"axis": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "#/definitions/AxisProperties"
}
]
},
"scale": {
"$ref": "#/definitions/Scale"
},
"sort": {
"oneOf": [
{
"$ref": "#/definitions/SortField"
},
{
"$ref": "#/definitions/SortOrder"
}
]
},
"field": {
"type": "string"
},
"type": {
"$ref": "#/definitions/Type"
},
"value": {
"oneOf": [
{
"type": "number"
},
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"timeUnit": {
"$ref": "#/definitions/TimeUnit"
},
"bin": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "#/definitions/BinProperties"
}
]
},
"aggregate": {
"$ref": "#/definitions/AggregateOp"
},
"displayName": {
"type": "string"
}
}
},
"LegendProperties": {
"type": "object",
"properties": {
"format": {
"type": "string",
"description": "An optional formatting pattern for legend labels. Vega uses D3\\'s format pattern."
},
"title": {
"type": "string",
"description": "A title for the legend. (Shows field name and its function by default.)"
},
"values": {
"type": "array",
"items": {
"type": "object"
},
"description": "Explicitly set the visible legend values."
},
"orient": {
"type": "string",
"description": "The orientation of the legend. One of \"left\" or \"right\". This determines how the legend is positioned within the scene. The default is \"right\"."
},
"shortTimeLabels": {
"type": "boolean",
"description": "Whether month names and weekday names should be abbreviated."
},
"properties": {
"type": "object",
"description": "Optional mark property definitions for custom legend styling."
}
}
},
"ChannelDefWithLegend": {
"type": "object",
"properties": {
"legend": {
"$ref": "#/definitions/LegendProperties"
},
"scale": {
"$ref": "#/definitions/Scale"
},
"sort": {
"oneOf": [
{
"$ref": "#/definitions/SortField"
},
{
"$ref": "#/definitions/SortOrder"
}
]
},
"field": {
"type": "string"
},
"type": {
"$ref": "#/definitions/Type"
},
"value": {
"oneOf": [
{
"type": "number"
},
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"timeUnit": {
"$ref": "#/definitions/TimeUnit"
},
"bin": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "#/definitions/BinProperties"
}
]
},
"aggregate": {
"$ref": "#/definitions/AggregateOp"
},
"displayName": {
"type": "string"
}
}
},
"FieldDef": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"type": {
"$ref": "#/definitions/Type"
},
"value": {
"oneOf": [
{
"type": "number"
},
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"timeUnit": {
"$ref": "#/definitions/TimeUnit"
},
"bin": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "#/definitions/BinProperties"
}
]
},
"aggregate": {
"$ref": "#/definitions/AggregateOp"
},
"displayName": {
"type": "string"
}
}
},
"OrderChannelDef": {
"type": "object",
"properties": {
"sort": {
"$ref": "#/definitions/SortOrder"
},
"field": {
"type": "string"
},
"type": {
"$ref": "#/definitions/Type"
},
"value": {
"oneOf": [
{
"type": "number"
},
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"timeUnit": {
"$ref": "#/definitions/TimeUnit"
},
"bin": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "#/definitions/BinProperties"
}
]
},
"aggregate": {
"$ref": "#/definitions/AggregateOp"
},
"displayName": {
"type": "string"
}
}
},
"Encoding": {
"type": "object",
"properties": {
"x": {
"$ref": "#/definitions/PositionChannelDef"
},
"y": {
"$ref": "#/definitions/PositionChannelDef"
},
"row": {
"$ref": "#/definitions/PositionChannelDef"
},
"column": {
"$ref": "#/definitions/PositionChannelDef"
},
"color": {
"$ref": "#/definitions/ChannelDefWithLegend"
},
"size": {
"$ref": "#/definitions/ChannelDefWithLegend"
},
"shape": {
"$ref": "#/definitions/ChannelDefWithLegend"
},
"detail": {
"oneOf": [
{
"$ref": "#/definitions/FieldDef"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/FieldDef"
}
}
]
},
"text": {
"$ref": "#/definitions/FieldDef"
},
"label": {
"$ref": "#/definitions/FieldDef"
},
"path": {
"oneOf": [
{
"$ref": "#/definitions/OrderChannelDef"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/OrderChannelDef"
}
}
]
},
"order": {
"oneOf": [
{
"$ref": "#/definitions/OrderChannelDef"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/OrderChannelDef"
}
}
]
}
}
},
"CellConfig": {
"type": "object",
"properties": {
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"clip": {
"type": "boolean"
},
"fill": {
"type": "string",
"format": "color"
},
"fillOpacity": {
"type": "number"
},
"stroke": {
"type": "string"
},
"strokeWidth": {
"type": "number"
},
"strokeOpacity": {
"type": "number"
},
"strokeDash": {
"type": "number"
},
"strokeDashOffset": {
"type": "number",
"description": "The offset (in pixels) into which to begin drawing with the stroke dash array."
}
}
},
"StackOffset": {
"type": "string",
"title": "StackOffset",
"enum": [
"zero",
"center",
"normalize",
"none"
]
},
"Shape": {
"type": "string",
"title": "Shape",
"enum": [
"circle",
"square",
"cross",
"diamond",
"triangle-up",
"triangle-down"
]
},
"HorizontalAlign": {
"type": "string",
"title": "HorizontalAlign",
"enum": [
"left",
"right",
"center"
]
},
"VerticalAlign": {
"type": "string",
"title": "VerticalAlign",
"enum": [
"top",
"middle",
"bottom"
]
},
"FontStyle": {
"type": "string",
"title": "FontStyle",
"enum": [
"normal",
"italic"
]
},
"FontWeight": {
"type": "string",
"title": "FontWeight",
"enum": [
"normal",
"bold"
]
},
"MarkConfig": {
"type": "object",
"properties": {
"filled": {
"type": "boolean",
"description": "Whether the shape\\'s color should be used as fill color instead of stroke color.\n\nThis is only applicable for \"bar\", \"point\", and \"area\".\n\nAll marks except \"point\" marks are filled by default.\n\nSee Mark Documentation (http://vega.github.io/vega-lite/docs/marks.html)\n\nfor usage example."
},
"color": {
"type": "string",
"description": "Default color.",
"format": "color"
},
"fill": {
"type": "string",
"description": "Default Fill Color. This has higher precedence than config.color",
"format": "color"
},
"stroke": {
"type": "string",
"description": "Default Stroke Color. This has higher precedence than config.color",
"format": "color"
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"fillOpacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"strokeOpacity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"strokeWidth": {
"type": "number",
"minimum": 0
},
"strokeDash": {
"type": "array",
"items": {
"type": "number"
},
"description": "An array of alternating stroke, space lengths for creating dashed or dotted lines."
},
"strokeDashOffset": {
"type": "number",
"description": "The offset (in pixels) into which to begin drawing with the stroke dash array."
},
"stacked": {
"$ref": "#/definitions/StackOffset"
},
"orient": {
"type": "string",
"description": "The orientation of a non-stacked bar, tick, area, and line charts.\n\nThe value is either horizontal (default) or vertical.\n\n- For bar and tick, this determines whether the size of the bar and tick\n\nshould be applied to x or y dimension.\n\n- For area, this property determines the orient property of the Vega output.\n\n- For line, this property determines the sort order of the points in the line\n\nif `config.sortLineBy` is not specified.\n\nFor stacked charts, this is always determined by the orientation of the stack;\n\ntherefore explicitly specified value will be ignored."
},
"interpolate": {
"type": "string",
"description": "The line interpolation method to use. One of linear, step-before, step-after, basis, basis-open, basis-closed, bundle, cardinal, cardinal-open, cardinal-closed, monotone."
},
"tension": {
"type": "number",
"description": "Depending on the interpolation type, sets the tension parameter."
},
"barSize": {
"type": "number",
"description": "The size of the bars. If unspecified, the default size is `bandSize-1`,\n\nwhich provides 1 pixel offset between bars."
},
"barThinSize": {
"type": "number",
"description": "The size of the bars on continuous scales."
},
"shape": {
"$ref": "#/definitions/Shape",
"description": "The symbol shape to use. One of circle (default), square, cross, diamond, triangle-up, or triangle-down."
},
"size": {
"type": "number",
"description": "The pixel area each the point. For example: in the case of circles, the radius is determined in part by the square root of the size value."
},
"tickSize": {
"type": "number",
"description": "The width of the ticks."
},
"tickThickness": {
"type": "number",
"description": "Thickness of the tick mark."
},
"align": {
"$ref": "#/definitions/HorizontalAlign",
"description": "The horizontal alignment of the text. One of left, right, center."
},
"angle": {
"type": "number",
"description": "The rotation angle of the text, in degrees."
},
"baseline": {
"$ref": "#/definitions/VerticalAlign",
"description": "The vertical alignment of the text. One of top, middle, bottom."
},
"dx": {
"type": "number",
"description": "The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property."
},
"dy": {
"type": "number",
"description": "The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property."
},
"radius": {
"type": "number",
"description": "Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties."
},
"theta": {
"type": "number",
"description": "Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating \"north\"."
},
"font": {
"type": "string",
"description": "The typeface to set the text in (e.g., Helvetica Neue)."
},
"fontSize": {
"type": "number",
"description": "The font size, in pixels."
},
"fontStyle": {
"$ref": "#/definitions/FontStyle",
"description": "The font style (e.g., italic)."
},
"fontWeight": {
"$ref": "#/definitions/FontWeight",
"description": "The font weight (e.g., bold)."
},
"format": {
"type": "string",
"description": "The formatting pattern for text value. If not defined, this will be determined automatically."
},
"shortTimeLabels": {
"type": "boolean",
"description": "Whether month names and weekday names should be abbreviated."
},
"text": {
"type": "string",
"description": "Placeholder Text"
},
"applyColorToBackground": {
"type": "boolean",
"description": "Apply color field to background color instead of the text."
}
}
},
"ScaleConfig": {
"type": "object",
"properties": {
"round": {
"type": "boolean",
"description": "If true, rounds numeric output values to integers.\n\nThis can be helpful for snapping to the pixel grid.\n\n(Only available for `x`, `y`, `size`, `row`, and `column` scales.)"
},
"textBandWidth": {
"type": "number",
"description": "Default band width for `x` ordinal scale when is mark is `text`.",
"minimum": 0
},
"bandSize": {
"type": "number",
"description": "Default band size for (1) `y` ordinal scale,\n\nand (2) `x` ordinal scale when the mark is not `text`.",
"minimum": 0
},
"padding": {
"type": "number",
"description": "Default padding for `x` and `y` ordinal scales."
},
"includeRawDomain": {
"type": "boolean"
},
"nominalColorRange": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "Default range for nominal color scale"
},
"sequentialColorRange": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "Default range for ordinal / continuous color scale"
},
"shapeRange": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "Default range for shape"
},
"barSizeRange": {
"type": "array",
"items": {
"type": "number"
},
"description": "Default range for bar size scale"
},
"fontSizeRange": {
"type": "array",
"items": {
"type": "number"
},
"description": "Default range for font size scale"
},
"pointSizeRange": {
"type": "array",
"items": {
"type": "number"
},
"description": "Default range for bar size scale"
}
}
},
"AxisConfig": {
"type": "object",
"properties": {
"axisWidth": {
"type": "number",
"description": "Width of the axis line"
},
"layer": {
"type": "string",
"description": "A string indicating if the axis (and any gridlines) should be placed above or below the data marks."
},
"offset": {
"type": "number",
"description": "The offset, in pixels, by which to displace the axis from the edge of the enclosing group or data rectangle."
},
"grid": {
"type": "boolean",
"description": "A flag indicate if gridlines should be created in addition to ticks. If `grid` is unspecified, the default value is `true` for ROW and COL. For X and Y, the default value is `true` for quantitative and time fields and `false` otherwise."
},
"labels": {
"type": "boolean",
"description": "Enable or disable labels."
},
"labelAngle": {
"type": "number",
"description": "The rotation angle of the axis labels."
},
"labelAlign": {
"type": "string",
"description": "Text alignment for the Label."
},
"labelBaseline": {
"type": "string",
"description": "Text baseline for the label."
},
"labelMaxLength": {
"type": "number",
"description": "Truncate labels that are too long.",
"minimum": 1
},
"shortTimeLabels": {
"type": "boolean",
"description": "Whether month and day names should be abbreviated."
},
"subdivide": {
"type": "number",
"description": "If provided, sets the number of minor ticks between major ticks (the value 9 results in decimal subdivision). Only applicable for axes visualizing quantitative scales."
},
"ticks": {
"type": "number",
"description": "A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are \"nice\" (multiples of 2, 5, 10) and lie within the underlying scale's range.",
"minimum": 0
},
"tickPadding": {
"type": "number",
"description": "The padding, in pixels, between ticks and text labels."
},
"tickSize": {
"type": "number",
"description": "The size, in pixels, of major, minor and end ticks.",
"minimum": 0
},
"tickSizeMajor": {
"type": "number",
"description": "The size, in pixels, of major ticks.",
"minimum": 0
},
"tickSizeMinor": {
"type": "number",
"description": "The size, in pixels, of minor ticks.",
"minimum": 0
},
"tickSizeEnd": {
"type": "number",
"description": "The size, in pixels, of end ticks.",
"minimum": 0
},
"titleOffset": {
"type": "number",
"description": "A title offset value for the axis."
},
"titleMaxLength": {
"type": "number",
"description": "Max length for axis title if the title is automatically generated from the field's description. By default, this is automatically based on cell size and characterWidth property.",
"minimum": 0
},
"characterWidth": {
"type": "number",
"description": "Character width for automatically determining title max length."
},
"properties": {
"type": "object",
"description": "Optional mark property definitions for custom axis styling."
}
}
},
"LegendConfig": {
"type": "object",
"properties": {
"orient": {
"type": "string",
"description": "The orientation of the legend. One of \"left\" or \"right\". This determines how the legend is positioned within the scene. The default is \"right\"."
},
"shortTimeLabels": {
"type": "boolean",
"description": "Whether month names and weekday names should be abbreviated."
},
"properties": {
"type": "object",
"description": "Optional mark property definitions for custom legend styling."
}
}
},
"FacetScaleConfig": {
"type": "object",
"properties": {
"round": {
"type": "boolean"
},
"padding": {
"type": "number"
}
}
},
"FacetGridConfig": {
"type": "object",
"properties": {
"color": {
"type": "string",
"format": "color"
},
"opacity": {
"type": "number"
},
"offset": {
"type": "number"
}
}
},
"FacetConfig": {
"type": "object",
"properties": {
"scale": {
"$ref": "#/definitions/FacetScaleConfig"
},
"axis": {
"$ref": "#/definitions/AxisConfig"
},
"grid": {
"$ref": "#/definitions/FacetGridConfig"
},
"cell": {
"$ref": "#/definitions/CellConfig"
}
}
},
"Config": {
"type": "object",
"properties": {
"viewport": {
"type": "number",
"description": "The width and height of the on-screen viewport, in pixels. If necessary, clipping and scrolling will be applied."
},
"background": {
"type": "string",
"description": "CSS color property to use as background of visualization. Default is `\"transparent\"`."
},
"numberFormat": {
"type": "string",
"description": "D3 Number format for axis labels and text tables. For example \"s\" for SI units."
},
"timeFormat": {
"type": "string",
"description": "Default datetime format for axis and legend labels. The format can be set directly on each axis and legend."
},
"cell": {
"$ref": "#/definitions/CellConfig"
},
"mark": {
"$ref": "#/definitions/MarkConfig"
},
"scale": {
"$ref": "#/definitions/ScaleConfig"
},
"axis": {
"$ref": "#/definitions/AxisConfig"
},
"legend": {
"$ref": "#/definitions/LegendConfig"
},
"facet": {
"$ref": "#/definitions/FacetConfig"
}
}
}
},
"$schema": "http://json-schema.org/draft-04/schema#"
} | o48781 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Competency framework schema",
"definitions": {
"namedObject": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"name"
]
},
"competency": {
"allOf": [
{
"$ref": "#/definitions/namedObject"
},
{
"oneOf": [
{
"properties": {
"competencies": {
"type": "array",
"_uniqueItems": true,
"items": {
"$ref": "#/definitions/competency"
}
}
},
"required": [
"competencies"
]
},
{
"properties": {
"abilities": {
"type": "array",
"_uniqueItems": true,
"items": {
"$ref": "#/definitions/ability"
}
}
},
"required": [
"abilities"
]
}
]
}
]
},
"ability": {
"allOf": [
{
"$ref": "#/definitions/namedObject"
},
{
"properties": {
"level": {
"type": "string",
"minLength": 1,
"maxLength": 255
}
},
"required": [
"level"
]
}
]
}
},
"allOf": [
{
"$ref": "#/definitions/competency"
},
{
"properties": {
"description": {
"type": "string",
"minLength": 1
},
"scale": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"levels": {
"type": "array",
"minItems": 1,
"_uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 255
}
}
},
"required": [
"name",
"levels"
]
}
},
"required": [
"description",
"scale"
]
}
]
} | o78062 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"code": {
"$ref": "#/definitions/error-codeType"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"definitions": {
"error-codeType": {
"type": "string",
"enum": [
"not-open-status",
"subscription-used",
"investor-not-found",
"wrong-lisa-manager",
"cant-change-accountID",
"cant-change-investor",
"invalid-status-change",
"no-acccount-with-manager",
"investor-already-created",
"compliance-charge-wrong",
"compliance-bonus-wrong",
"compliance-too-many-subscriptions-in-FP",
"compliance-too-much-LISA-funds-credited",
"compliance-too-much-ISA-funds-credited",
"compliance-account-open-outside-age-range",
"compliance-funds-credit-outside-age-range"
]
}
}
} | o70367 |
{
"additionalProperties": false,
"description": "Schema for a bad raw event",
"properties": {
"errors": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"line": {
"type": "string"
}
},
"required": [
"line",
"errors"
],
"self": {
"format": "jsonschema",
"name": "bad_raw_event",
"vendor": "com.snowplowanalytics.snowplow",
"version": "1-0-0"
},
"type": "object"
} | sp_262_Normalized |
{
"properties": {
"award_value": {
"type": "integer"
},
"awarding_organisation_name": {
"type": "string"
},
"brief_id": {
"type": "integer"
},
"brief_response_id": {
"type": "integer"
},
"completed_at": {
"format": "date-time",
"type": "string"
},
"direct_award_archived_service_id": {
"type": "integer"
},
"direct_award_project_id": {
"type": "integer"
},
"direct_award_search_id": {
"type": "integer"
},
"end_date": {
"format": "date",
"type": "string"
},
"external_id": {
"type": "string"
},
"id": {
"type": "integer"
},
"result": {
"type": "string"
},
"start_date": {
"format": "date",
"type": "string"
}
},
"required": [
"id",
"result"
],
"title": "Outcome",
"type": "object"
} | o21097 |
{
"definitions": {
"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": "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",
"enum": [
"v1"
],
"type": [
"string",
"null"
]
},
"binaryData": {
"additionalProperties": {
"format": "byte",
"type": [
"string",
"null"
]
},
"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",
"null"
]
},
"data": {
"additionalProperties": {
"type": [
"string",
"null"
]
},
"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",
"null"
]
},
"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",
"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": [
"ConfigMap"
],
"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"
}
},
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "",
"kind": "ConfigMap",
"version": "v1"
}
]
} | kb_105_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://mkvtoolnix.download/doc/mkvmerge-identification-output-schema-v7.json",
"title": "mkvmerge identification output",
"description": "The JSON output produced by mkvmerge's file identification mode",
"additionalProperties": false,
"type": "object",
"properties": {
"attachments": {
"description": "an array describing the attachments found if any",
"type": "array",
"items": {
"additionalProperties": false,
"type": "object",
"properties": {
"content_type": {
"type": "string",
"minLength": 1
},
"description": {
"type": "string"
},
"file_name": {
"type": "string"
},
"id": {
"type": "integer",
"minimum": 0
},
"size": {
"type": "integer",
"minimum": 0
},
"properties": {
"additionalProperties": false,
"type": "object",
"properties": {
"uid": {
"type": "integer",
"minimum": 0
}
}
},
"type": {
"type": "string"
}
},
"required": [
"file_name",
"id",
"properties",
"size"
]
}
},
"chapters": {
"type": "array",
"items": {
"additionalProperties": false,
"type": "object",
"properties": {
"num_entries": {
"type": "integer"
}
},
"required": [
"num_entries"
]
}
},
"container": {
"additionalProperties": false,
"description": "information about the identified container",
"type": "object",
"properties": {
"properties": {
"additionalProperties": false,
"description": "additional properties for the container varying by container format",
"type": "object",
"properties": {
"container_type": {
"description": "A unique number identifying the container type that's supposed to stay constant over all future releases of MKVToolNix",
"type": "integer",
"minLength": 1
},
"date_local": {
"description": "The muxing date in ISO 8601 format (in local time zone)",
"type": "string",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}([+-][0-9]{2}:[0-9]{2}|Z)$"
},
"date_utc": {
"description": "The muxing date in ISO 8601 format (in UTC)",
"type": "string",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}([+-][0-9]{2}:[0-9]{2}|Z)$"
},
"duration": {
"description": "The file's/segment's duration in nanoseconds",
"type": "integer",
"minimum": 0
},
"is_providing_timecodes": {
"description": "States whether or not the container has timestamps for the packets (e.g. Matroska, MP4) or not (e.g. SRT, MP3)",
"type": "boolean"
},
"muxing_application": {
"description": "A Unicode string containing the name and possibly version of the low-level library or application that created the file",
"type": "string"
},
"next_segment_uid": {
"description": "A hexadecimal string of the next segment's UID (only for Matroska files)",
"type": "string",
"minLength": 32,
"maxLength": 32
},
"other_file": {
"description": "An array of names of additional files processed as well",
"type": "array",
"items": {
"type": "string"
}
},
"playlist": {
"description": "States whether or not the identified file is a playlist (e.g. MPLS) referring to several other files",
"type": "boolean"
},
"playlist_chapters": {
"description": "The number of chapters in a playlist if it is a one",
"type": "integer",
"minimum": 0
},
"playlist_duration": {
"description": "The total duration in nanoseconds of all files referenced by the playlist if it is a one",
"type": "integer",
"minimum": 0
},
"playlist_file": {
"description": "An array of file names the playlist contains",
"type": "array",
"items": {
"type": "string"
}
},
"playlist_size": {
"description": "The total size in bytes of all files referenced by the playlist if it is a one",
"type": "integer",
"minimum": 0
},
"previous_segment_uid": {
"description": "A hexadecimal string of the previous segment's UID (only for Matroska files)",
"type": "string",
"minLength": 32,
"maxLength": 32
},
"programs": {
"description": "A container describing multiple programs multiplexed into the source file, e.g. multiple programs in one DVB transport stream",
"type": "array",
"items": {
"additionalProperties": false,
"description": "Properties describing a single program",
"type": "object",
"properties": {
"program_number": {
"description": "A unique number identifying a set of tracks that belong together; used e.g. in DVB for multiplexing multiple stations within a single transport stream",
"type": "integer",
"minimum": 0
},
"service_name": {
"description": "The name of a service provided by this program, e.g. a TV channel name such as 'arte HD'",
"type": "string"
},
"service_provider": {
"description": "The name of the provider of the service provided by this program, e.g. a TV station name such as 'ARD'",
"type": "string"
}
}
}
},
"segment_uid": {
"description": "A hexadecimal string of the segment's UID (only for Matroska files)",
"type": "string",
"minLength": 32,
"maxLength": 32
},
"title": {
"type": "string"
},
"writing_application": {
"description": "A Unicode string containing the name and possibly version of the high-level application that created the file",
"type": "string"
}
}
},
"recognized": {
"description": "States whether or not mkvmerge knows about the format",
"type": "boolean"
},
"supported": {
"description": "States whether or not mkvmerge can read the format",
"type": "boolean"
},
"type": {
"description": "A human-readable description/name for the container format",
"type": "string",
"minLength": 1
}
},
"required": [
"recognized",
"supported"
]
},
"errors": {
"type": "array",
"items": {
"type": "string"
}
},
"file_name": {
"description": "the identified file's name",
"type": "string",
"minLength": 1
},
"global_tags": {
"type": "array",
"items": {
"additionalProperties": false,
"type": "object",
"properties": {
"num_entries": {
"type": "integer"
}
},
"required": [
"num_entries"
]
}
},
"identification_format_version": {
"description": "The output format's version",
"type": "integer",
"minimum": 7,
"maximum": 7
},
"track_tags": {
"type": "array",
"items": {
"additionalProperties": false,
"type": "object",
"properties": {
"num_entries": {
"type": "integer"
},
"track_id": {
"type": "integer"
}
},
"required": [
"num_entries",
"track_id"
]
}
},
"tracks": {
"type": "array",
"items": {
"additionalProperties": false,
"type": "object",
"properties": {
"codec": {
"type": "string",
"minLength": 1
},
"id": {
"type": "integer",
"minLength": 0
},
"type": {
"type": "string"
},
"properties": {
"additionalProperties": false,
"type": "object",
"properties": {
"aac_is_sbr": {
"type": "string",
"enum": [
"true",
"false",
"unknown"
]
},
"audio_bits_per_sample": {
"type": "integer",
"minimum": 0
},
"audio_channels": {
"type": "integer",
"minimum": 0
},
"audio_sampling_frequency": {
"type": "integer",
"minimum": 0
},
"codec_delay": {
"type": "integer"
},
"codec_id": {
"type": "string"
},
"codec_private_data": {
"type": "string"
},
"codec_private_length": {
"type": "integer",
"minimum": 0
},
"content_encoding_algorithms": {
"type": "string",
"minLength": 1
},
"default_duration": {
"type": "integer",
"minimum": 0
},
"default_track": {
"type": "boolean"
},
"display_dimensions": {
"type": "string",
"pattern": "^[0-9]+x[0-9]+$"
},
"enabled_track": {
"type": "boolean"
},
"forced_track": {
"type": "boolean"
},
"language": {
"type": "string"
},
"minimum_timestamp": {
"description": "The minimum timestamp in nanoseconds of all the frames of this track found within the first couple of seconds of the file",
"type": "integer",
"minimum": 0
},
"multiplexed_tracks": {
"description": "An array of track IDs indicating which tracks were originally multiplexed within the same track in the source file",
"type": "array",
"items": {
"type": "integer",
"minimum": 0
}
},
"number": {
"type": "integer",
"minimum": 0
},
"packetizer": {
"type": "string",
"minLength": 1
},
"pixel_dimensions": {
"type": "string",
"pattern": "^[0-9]+x[0-9]+$"
},
"program_number": {
"description": "A unique number identifying a set of tracks that belong together; used e.g. in DVB for multiplexing multiple stations within a single transport stream",
"type": "integer",
"minimum": 0
},
"stereo_mode": {
"type": "integer",
"minimum": 0
},
"stream_id": {
"type": "string",
"pattern": "^[0-9a-f]{2}$"
},
"sub_stream_id": {
"type": "string",
"pattern": "^[0-9a-f]{2}$"
},
"tag_artist": {
"type": "string"
},
"tag_bitsps": {
"type": "string"
},
"tag_bps": {
"type": "string"
},
"tag_fps": {
"type": "string"
},
"tag_title": {
"type": "string"
},
"teletext_page": {
"type": "integer",
"minimum": 0
},
"text_subtitles": {
"type": "boolean"
},
"track_name": {
"type": "string"
},
"ts_pid": {
"type": "integer",
"minimum": 0
},
"uid": {
"type": "integer",
"minimum": 0
}
}
}
},
"required": [
"codec",
"id",
"type"
]
}
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
}
}
} | o81134 |
{
"title": "Custom record schema v1.0.0",
"id": "http://localhost:5000/schemas/custom-record-v1.0.0.json",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Record title."
},
"description": {
"type": "string",
"description": "Description for record."
},
"references": {
"type": "array",
"items": {
"type": "object"
}
},
"custom_pid": {
"type": "string"
}
}
} | o48012 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"string": {
"type": "string",
"default": ""
},
"array": {
"type": "array",
"items": {
"type": "string"
}
}
}
} | o63977 |
{
"additionalProperties": true,
"definitions": {},
"description": "catalog_get_config_v1",
"links": [
{
"description": "catalog_get_config_v1",
"href": "/catalog_get_config_v1",
"method": "post",
"rel": "instances",
"schema": {
"allOf": [
{
"properties": {
"action": {
"description": "Action Name name",
"example": "catalog_get_config",
"type": "string"
},
"channel_info": {
"properties": {
"id": {
"description": "channel id",
"example": 21,
"type": "integer"
}
},
"type": "object"
},
"client_id": {
"description": "RetailOPS client id",
"example": 497,
"type": "integer"
},
"integration_auth_token": {
"description": "Randomly generated authorization token, for authenticating genuine RetailOps- originated requests.",
"example": "2KuxqV9rsAtAM78i47CITMvtnflUapNmgGJAvWiHqgUrk1xkeDNWlM3EsrmJEtmV",
"type": "string"
},
"version": {
"description": "Action Version",
"example": 1,
"type": "integer"
}
},
"required": [
"action",
"version",
"client_id",
"channel_info"
],
"type": "object"
}
]
},
"targetSchema": {
"properties": {
"sku_fanout": {
"description": "channel fanout configuration",
"enum": [
"related_skus",
"no_fanout"
],
"example": "no_fanout",
"type": "string"
}
},
"type": "object"
},
"title": "/catalog_get_config_v1"
}
],
"properties": {},
"stability": "draft",
"title": "/catalog_get_config_v1",
"type": "object"
} | o45019 |
{
"$id": "http://www.pucomex.serpro.gov.br/catp/operador_estrangeiro.schema.json",
"type": "object",
"definitions": {},
"$schema": "http://json-schema.org/draft-06/schema#",
"properties": {
"items": {
"type": "object",
"properties": {
"seq": {
"type": "integer"
},
"cpfCnpjRaiz": {
"type": "string"
},
"codigo": {
"type": "string"
},
"nome": {
"type": "string"
},
"logradouro": {
"type": "string"
},
"nomeCidade": {
"type": "string"
},
"codigoSubdivisaoPais": {
"type": [
"string",
"null"
]
},
"codigoPais": {
"type": "string"
},
"cep": {
"type": [
"string",
"null"
]
}
}
}
}
} | o73015 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"info": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"category": {
"type": "null"
},
"user": {
"type": "string"
},
"cook_time": {
"type": "string"
},
"date": {
"type": "string"
},
"description": {
"type": "string"
},
"image": {
"type": "string"
}
},
"required": [
"title",
"description"
]
},
"ingredients": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ingredient": {
"type": "string"
},
"qty": {
"type": "string"
}
},
"required": [
"ingredient",
"qty"
]
}
},
"directions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"direction": {
"type": "string"
},
"step": {
"type": "integer"
}
},
"required": [
"id",
"direction",
"step"
]
}
}
},
"required": [
"info",
"ingredients",
"directions"
]
} | o56103 |
{
"$id": "https://json.schemastore.org/sarif-2.1.0-rtm.2.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"address": {
"description": "A physical or virtual address, or a range of addresses, in an 'addressable region' (memory or a binary file).",
"additionalProperties": false,
"type": "object",
"properties": {
"absoluteAddress": {
"description": "The address expressed as a byte offset from the start of the addressable region.",
"type": "integer",
"minimum": -1,
"default": -1
},
"relativeAddress": {
"description": "The address expressed as a byte offset from the absolute address of the top-most parent object.",
"type": "integer"
},
"length": {
"description": "The number of bytes in this range of addresses.",
"type": "integer"
},
"kind": {
"description": "An open-ended string that identifies the address kind. 'data', 'function', 'header','instruction', 'module', 'page', 'section', 'segment', 'stack', 'stackFrame', 'table' are well-known values.",
"type": "string"
},
"name": {
"description": "A name that is associated with the address, e.g., '.text'.",
"type": "string"
},
"fullyQualifiedName": {
"description": "A human-readable fully qualified name that is associated with the address.",
"type": "string"
},
"offsetFromParent": {
"description": "The byte offset of this address from the absolute or relative address of the parent object.",
"type": "integer"
},
"index": {
"description": "The index within run.addresses of the cached object for this address.",
"type": "integer",
"default": -1,
"minimum": -1
},
"parentIndex": {
"description": "The index within run.addresses of the parent object.",
"type": "integer",
"default": -1,
"minimum": -1
},
"properties": {
"description": "Key/value pairs that provide additional information about the address.",
"$ref": "#/definitions/propertyBag"
}
}
},
"artifact": {
"description": "A single artifact. In some cases, this artifact might be nested within another artifact.",
"additionalProperties": false,
"type": "object",
"properties": {
"description": {
"description": "A short description of the artifact.",
"$ref": "#/definitions/message"
},
"location": {
"description": "The location of the artifact.",
"$ref": "#/definitions/artifactLocation"
},
"parentIndex": {
"description": "Identifies the index of the immediate parent of the artifact, if this artifact is nested.",
"type": "integer",
"default": -1,
"minimum": -1
},
"offset": {
"description": "The offset in bytes of the artifact within its containing artifact.",
"type": "integer",
"minimum": 0
},
"length": {
"description": "The length of the artifact in bytes.",
"type": "integer",
"default": -1,
"minimum": -1
},
"roles": {
"description": "The role or roles played by the artifact in the analysis.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"enum": [
"analysisTarget",
"attachment",
"responseFile",
"resultFile",
"standardStream",
"tracedFile",
"unmodified",
"modified",
"added",
"deleted",
"renamed",
"uncontrolled",
"driver",
"extension",
"translation",
"taxonomy",
"policy",
"referencedOnCommandLine",
"memoryContents",
"directory",
"userSpecifiedConfiguration",
"toolSpecifiedConfiguration",
"debugOutputFile"
]
}
},
"mimeType": {
"description": "The MIME type (RFC 2045) of the artifact.",
"type": "string",
"pattern": "[^/]+/.+"
},
"contents": {
"description": "The contents of the artifact.",
"$ref": "#/definitions/artifactContent"
},
"encoding": {
"description": "Specifies the encoding for an artifact object that refers to a text file.",
"type": "string"
},
"sourceLanguage": {
"description": "Specifies the source language for any artifact object that refers to a text file that contains source code.",
"type": "string"
},
"hashes": {
"description": "A dictionary, each of whose keys is the name of a hash function and each of whose values is the hashed value of the artifact produced by the specified hash function.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"lastModifiedTimeUtc": {
"description": "The Coordinated Universal Time (UTC) date and time at which the artifact was most recently modified. See \"Date/time properties\" in the SARIF spec for the required format.",
"type": "string",
"format": "date-time"
},
"properties": {
"description": "Key/value pairs that provide additional information about the artifact.",
"$ref": "#/definitions/propertyBag"
}
}
},
"artifactChange": {
"description": "A change to a single artifact.",
"additionalProperties": false,
"type": "object",
"properties": {
"artifactLocation": {
"description": "The location of the artifact to change.",
"$ref": "#/definitions/artifactLocation"
},
"replacements": {
"description": "An array of replacement objects, each of which represents the replacement of a single region in a single artifact specified by 'artifactLocation'.",
"type": "array",
"minItems": 1,
"uniqueItems": false,
"items": {
"$ref": "#/definitions/replacement"
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the change.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["artifactLocation", "replacements"]
},
"artifactContent": {
"description": "Represents the contents of an artifact.",
"type": "object",
"additionalProperties": false,
"properties": {
"text": {
"description": "UTF-8-encoded content from a text artifact.",
"type": "string"
},
"binary": {
"description": "MIME Base64-encoded content from a binary artifact, or from a text artifact in its original encoding.",
"type": "string"
},
"rendered": {
"description": "An alternate rendered representation of the artifact (e.g., a decompiled representation of a binary region).",
"$ref": "#/definitions/multiformatMessageString"
},
"properties": {
"description": "Key/value pairs that provide additional information about the artifact content.",
"$ref": "#/definitions/propertyBag"
}
}
},
"artifactLocation": {
"description": "Specifies the location of an artifact.",
"additionalProperties": false,
"type": "object",
"properties": {
"uri": {
"description": "A string containing a valid relative or absolute URI.",
"type": "string",
"format": "uri-reference"
},
"uriBaseId": {
"description": "A string which indirectly specifies the absolute URI with respect to which a relative URI in the \"uri\" property is interpreted.",
"type": "string"
},
"index": {
"description": "The index within the run artifacts array of the artifact object associated with the artifact location.",
"type": "integer",
"default": -1,
"minimum": -1
},
"description": {
"description": "A short description of the artifact location.",
"$ref": "#/definitions/message"
},
"properties": {
"description": "Key/value pairs that provide additional information about the artifact location.",
"$ref": "#/definitions/propertyBag"
}
}
},
"attachment": {
"description": "An artifact relevant to a result.",
"type": "object",
"additionalProperties": false,
"properties": {
"description": {
"description": "A message describing the role played by the attachment.",
"$ref": "#/definitions/message"
},
"artifactLocation": {
"description": "The location of the attachment.",
"$ref": "#/definitions/artifactLocation"
},
"regions": {
"description": "An array of regions of interest within the attachment.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/region"
}
},
"rectangles": {
"description": "An array of rectangles specifying areas of interest within the image.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/rectangle"
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the attachment.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["artifactLocation"]
},
"codeFlow": {
"description": "A set of threadFlows which together describe a pattern of code execution relevant to detecting a result.",
"additionalProperties": false,
"type": "object",
"properties": {
"message": {
"description": "A message relevant to the code flow.",
"$ref": "#/definitions/message"
},
"threadFlows": {
"description": "An array of one or more unique threadFlow objects, each of which describes the progress of a program through a thread of execution.",
"type": "array",
"minItems": 1,
"uniqueItems": false,
"items": {
"$ref": "#/definitions/threadFlow"
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the code flow.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["threadFlows"]
},
"configurationOverride": {
"description": "Information about how a specific rule or notification was reconfigured at runtime.",
"type": "object",
"additionalProperties": false,
"properties": {
"configuration": {
"description": "Specifies how the rule or notification was configured during the scan.",
"$ref": "#/definitions/reportingConfiguration"
},
"descriptor": {
"description": "A reference used to locate the descriptor whose configuration was overridden.",
"$ref": "#/definitions/reportingDescriptorReference"
},
"properties": {
"description": "Key/value pairs that provide additional information about the configuration override.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["configuration", "descriptor"]
},
"conversion": {
"description": "Describes how a converter transformed the output of a static analysis tool from the analysis tool's native output format into the SARIF format.",
"additionalProperties": false,
"type": "object",
"properties": {
"tool": {
"description": "A tool object that describes the converter.",
"$ref": "#/definitions/tool"
},
"invocation": {
"description": "An invocation object that describes the invocation of the converter.",
"$ref": "#/definitions/invocation"
},
"analysisToolLogFiles": {
"description": "The locations of the analysis tool's per-run log files.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/artifactLocation"
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the conversion.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["tool"]
},
"edge": {
"description": "Represents a directed edge in a graph.",
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"description": "A string that uniquely identifies the edge within its graph.",
"type": "string"
},
"label": {
"description": "A short description of the edge.",
"$ref": "#/definitions/message"
},
"sourceNodeId": {
"description": "Identifies the source node (the node at which the edge starts).",
"type": "string"
},
"targetNodeId": {
"description": "Identifies the target node (the node at which the edge ends).",
"type": "string"
},
"properties": {
"description": "Key/value pairs that provide additional information about the edge.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["id", "sourceNodeId", "targetNodeId"]
},
"edgeTraversal": {
"description": "Represents the traversal of a single edge during a graph traversal.",
"type": "object",
"additionalProperties": false,
"properties": {
"edgeId": {
"description": "Identifies the edge being traversed.",
"type": "string"
},
"message": {
"description": "A message to display to the user as the edge is traversed.",
"$ref": "#/definitions/message"
},
"finalState": {
"description": "The values of relevant expressions after the edge has been traversed.",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/multiformatMessageString"
}
},
"stepOverEdgeCount": {
"description": "The number of edge traversals necessary to return from a nested graph.",
"type": "integer",
"minimum": 0
},
"properties": {
"description": "Key/value pairs that provide additional information about the edge traversal.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["edgeId"]
},
"exception": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"description": "A string that identifies the kind of exception, for example, the fully qualified type name of an object that was thrown, or the symbolic name of a signal."
},
"message": {
"description": "A message that describes the exception.",
"type": "string"
},
"stack": {
"description": "The sequence of function calls leading to the exception.",
"$ref": "#/definitions/stack"
},
"innerExceptions": {
"description": "An array of exception objects each of which is considered a cause of this exception.",
"type": "array",
"minItems": 0,
"uniqueItems": false,
"default": [],
"items": {
"$ref": "#/definitions/exception"
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the exception.",
"$ref": "#/definitions/propertyBag"
}
}
},
"externalProperties": {
"type": "object",
"properties": {
"schema": {
"description": "The URI of the JSON schema corresponding to the version of the external property file format.",
"type": "string",
"format": "uri"
},
"version": {
"description": "The SARIF format version of this external properties object.",
"enum": ["2.1.0"]
},
"guid": {
"description": "A stable, unique identifier for this external properties object, in the form of a GUID.",
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
},
"runGuid": {
"description": "A stable, unique identifier for the run associated with this external properties object, in the form of a GUID.",
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
},
"conversion": {
"description": "A conversion object that will be merged with a separate run.",
"$ref": "#/definitions/conversion"
},
"graphs": {
"description": "An array of graph objects that will be merged with a separate run.",
"type": "array",
"minItems": 0,
"default": [],
"uniqueItems": true,
"items": {
"$ref": "#/definitions/graph"
}
},
"externalizedProperties": {
"description": "Key/value pairs that provide additional information that will be merged with a separate run.",
"$ref": "#/definitions/propertyBag"
},
"artifacts": {
"description": "An array of artifact objects that will be merged with a separate run.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": {
"$ref": "#/definitions/artifact"
}
},
"invocations": {
"description": "Describes the invocation of the analysis tool that will be merged with a separate run.",
"type": "array",
"minItems": 0,
"uniqueItems": false,
"default": [],
"items": {
"$ref": "#/definitions/invocation"
}
},
"logicalLocations": {
"description": "An array of logical locations such as namespaces, types or functions that will be merged with a separate run.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/logicalLocation"
}
},
"threadFlowLocations": {
"description": "An array of threadFlowLocation objects that will be merged with a separate run.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/threadFlowLocation"
}
},
"results": {
"description": "An array of result objects that will be merged with a separate run.",
"type": "array",
"minItems": 0,
"uniqueItems": false,
"default": [],
"items": {
"$ref": "#/definitions/result"
}
},
"taxonomies": {
"description": "Tool taxonomies that will be merged with a separate run.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/toolComponent"
}
},
"driver": {
"description": "The analysis tool object that will be merged with a separate run.",
"$ref": "#/definitions/toolComponent"
},
"extensions": {
"description": "Tool extensions that will be merged with a separate run.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/toolComponent"
}
},
"policies": {
"description": "Tool policies that will be merged with a separate run.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/toolComponent"
}
},
"translations": {
"description": "Tool translations that will be merged with a separate run.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/toolComponent"
}
},
"addresses": {
"description": "Addresses that will be merged with a separate run.",
"type": "array",
"minItems": 0,
"uniqueItems": false,
"default": [],
"items": {
"$ref": "#/definitions/address"
}
},
"webRequests": {
"description": "Requests that will be merged with a separate run.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/webRequest"
}
},
"webResponses": {
"description": "Responses that will be merged with a separate run.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/webResponse"
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the external properties.",
"$ref": "#/definitions/propertyBag"
}
}
},
"externalPropertyFileReference": {
"type": "object",
"properties": {
"location": {
"description": "The location of the external property file.",
"$ref": "#/definitions/artifactLocation"
},
"guid": {
"description": "A stable, unique identifier for the external property file in the form of a GUID.",
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
},
"itemCount": {
"description": "A non-negative integer specifying the number of items contained in the external property file.",
"type": "integer",
"default": -1,
"minimum": -1
},
"properties": {
"description": "Key/value pairs that provide additional information about the external property file.",
"$ref": "#/definitions/propertyBag"
}
},
"anyOf": [
{
"required": ["location"]
},
{
"required": ["guid"]
}
]
},
"externalPropertyFileReferences": {
"description": "References to external property files that should be inlined with the content of a root log file.",
"additionalProperties": false,
"type": "object",
"properties": {
"conversion": {
"description": "An external property file containing a run.conversion object to be merged with the root log file.",
"$ref": "#/definitions/externalPropertyFileReference"
},
"graphs": {
"description": "An array of external property files containing a run.graphs object to be merged with the root log file.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/externalPropertyFileReference"
}
},
"externalizedProperties": {
"description": "An external property file containing a run.properties object to be merged with the root log file.",
"$ref": "#/definitions/externalPropertyFileReference"
},
"artifacts": {
"description": "An array of external property files containing run.artifacts arrays to be merged with the root log file.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/externalPropertyFileReference"
}
},
"invocations": {
"description": "An array of external property files containing run.invocations arrays to be merged with the root log file.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/externalPropertyFileReference"
}
},
"logicalLocations": {
"description": "An array of external property files containing run.logicalLocations arrays to be merged with the root log file.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/externalPropertyFileReference"
}
},
"threadFlowLocations": {
"description": "An array of external property files containing run.threadFlowLocations arrays to be merged with the root log file.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/externalPropertyFileReference"
}
},
"results": {
"description": "An array of external property files containing run.results arrays to be merged with the root log file.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/externalPropertyFileReference"
}
},
"taxonomies": {
"description": "An array of external property files containing run.taxonomies arrays to be merged with the root log file.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/externalPropertyFileReference"
}
},
"addresses": {
"description": "An array of external property files containing run.addresses arrays to be merged with the root log file.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/externalPropertyFileReference"
}
},
"driver": {
"description": "An external property file containing a run.driver object to be merged with the root log file.",
"$ref": "#/definitions/externalPropertyFileReference"
},
"extensions": {
"description": "An array of external property files containing run.extensions arrays to be merged with the root log file.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/externalPropertyFileReference"
}
},
"policies": {
"description": "An array of external property files containing run.policies arrays to be merged with the root log file.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/externalPropertyFileReference"
}
},
"translations": {
"description": "An array of external property files containing run.translations arrays to be merged with the root log file.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/externalPropertyFileReference"
}
},
"webRequests": {
"description": "An array of external property files containing run.requests arrays to be merged with the root log file.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/externalPropertyFileReference"
}
},
"webResponses": {
"description": "An array of external property files containing run.responses arrays to be merged with the root log file.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/externalPropertyFileReference"
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the external property files.",
"$ref": "#/definitions/propertyBag"
}
}
},
"fix": {
"description": "A proposed fix for the problem represented by a result object. A fix specifies a set of artifacts to modify. For each artifact, it specifies a set of bytes to remove, and provides a set of new bytes to replace them.",
"additionalProperties": false,
"type": "object",
"properties": {
"description": {
"description": "A message that describes the proposed fix, enabling viewers to present the proposed change to an end user.",
"$ref": "#/definitions/message"
},
"artifactChanges": {
"description": "One or more artifact changes that comprise a fix for a result.",
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"$ref": "#/definitions/artifactChange"
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the fix.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["artifactChanges"]
},
"graph": {
"description": "A network of nodes and directed edges that describes some aspect of the structure of the code (for example, a call graph).",
"type": "object",
"additionalProperties": false,
"properties": {
"description": {
"description": "A description of the graph.",
"$ref": "#/definitions/message"
},
"nodes": {
"description": "An array of node objects representing the nodes of the graph.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/node"
}
},
"edges": {
"description": "An array of edge objects representing the edges of the graph.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/edge"
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the graph.",
"$ref": "#/definitions/propertyBag"
}
}
},
"graphTraversal": {
"description": "Represents a path through a graph.",
"type": "object",
"additionalProperties": false,
"properties": {
"runGraphIndex": {
"description": "The index within the run.graphs to be associated with the result.",
"type": "integer",
"default": -1,
"minimum": -1
},
"resultGraphIndex": {
"description": "The index within the result.graphs to be associated with the result.",
"type": "integer",
"default": -1,
"minimum": -1
},
"description": {
"description": "A description of this graph traversal.",
"$ref": "#/definitions/message"
},
"initialState": {
"description": "Values of relevant expressions at the start of the graph traversal that may change during graph traversal.",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/multiformatMessageString"
}
},
"immutableState": {
"description": "Values of relevant expressions at the start of the graph traversal that remain constant for the graph traversal.",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/multiformatMessageString"
}
},
"edgeTraversals": {
"description": "The sequences of edges traversed by this graph traversal.",
"type": "array",
"minItems": 0,
"uniqueItems": false,
"default": [],
"items": {
"$ref": "#/definitions/edgeTraversal"
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the graph traversal.",
"$ref": "#/definitions/propertyBag"
}
},
"oneOf": [
{
"required": ["runGraphIndex"]
},
{
"required": ["resultGraphIndex"]
}
]
},
"invocation": {
"description": "The runtime environment of the analysis tool run.",
"additionalProperties": false,
"type": "object",
"properties": {
"commandLine": {
"description": "The command line used to invoke the tool.",
"type": "string"
},
"arguments": {
"description": "An array of strings, containing in order the command line arguments passed to the tool from the operating system.",
"type": "array",
"minItems": 0,
"uniqueItems": false,
"items": {
"type": "string"
}
},
"responseFiles": {
"description": "The locations of any response files specified on the tool's command line.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": {
"$ref": "#/definitions/artifactLocation"
}
},
"startTimeUtc": {
"description": "The Coordinated Universal Time (UTC) date and time at which the run started. See \"Date/time properties\" in the SARIF spec for the required format.",
"type": "string",
"format": "date-time"
},
"endTimeUtc": {
"description": "The Coordinated Universal Time (UTC) date and time at which the run ended. See \"Date/time properties\" in the SARIF spec for the required format.",
"type": "string",
"format": "date-time"
},
"exitCode": {
"description": "The process exit code.",
"type": "integer"
},
"ruleConfigurationOverrides": {
"description": "An array of configurationOverride objects that describe rules related runtime overrides.",
"type": "array",
"minItems": 0,
"default": [],
"uniqueItems": true,
"items": {
"$ref": "#/definitions/configurationOverride"
}
},
"notificationConfigurationOverrides": {
"description": "An array of configurationOverride objects that describe notifications related runtime overrides.",
"type": "array",
"minItems": 0,
"default": [],
"uniqueItems": true,
"items": {
"$ref": "#/definitions/configurationOverride"
}
},
"toolExecutionNotifications": {
"description": "A list of runtime conditions detected by the tool during the analysis.",
"type": "array",
"minItems": 0,
"uniqueItems": false,
"default": [],
"items": {
"$ref": "#/definitions/notification"
}
},
"toolConfigurationNotifications": {
"description": "A list of conditions detected by the tool that are relevant to the tool's configuration.",
"type": "array",
"minItems": 0,
"uniqueItems": false,
"default": [],
"items": {
"$ref": "#/definitions/notification"
}
},
"exitCodeDescription": {
"description": "The reason for the process exit.",
"type": "string"
},
"exitSignalName": {
"description": "The name of the signal that caused the process to exit.",
"type": "string"
},
"exitSignalNumber": {
"description": "The numeric value of the signal that caused the process to exit.",
"type": "integer"
},
"processStartFailureMessage": {
"description": "The reason given by the operating system that the process failed to start.",
"type": "string"
},
"executionSuccessful": {
"description": "Specifies whether the tool's execution completed successfully.",
"type": "boolean"
},
"machine": {
"description": "The machine that hosted the analysis tool run.",
"type": "string"
},
"account": {
"description": "The account that ran the analysis tool.",
"type": "string"
},
"processId": {
"description": "The process id for the analysis tool run.",
"type": "integer"
},
"executableLocation": {
"description": "An absolute URI specifying the location of the analysis tool's executable.",
"$ref": "#/definitions/artifactLocation"
},
"workingDirectory": {
"description": "The working directory for the analysis tool run.",
"$ref": "#/definitions/artifactLocation"
},
"environmentVariables": {
"description": "The environment variables associated with the analysis tool process, expressed as key/value pairs.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"stdin": {
"description": "A file containing the standard input stream to the process that was invoked.",
"$ref": "#/definitions/artifactLocation"
},
"stdout": {
"description": "A file containing the standard output stream from the process that was invoked.",
"$ref": "#/definitions/artifactLocation"
},
"stderr": {
"description": "A file containing the standard error stream from the process that was invoked.",
"$ref": "#/definitions/artifactLocation"
},
"stdoutStderr": {
"description": "A file containing the interleaved standard output and standard error stream from the process that was invoked.",
"$ref": "#/definitions/artifactLocation"
},
"properties": {
"description": "Key/value pairs that provide additional information about the invocation.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["executionSuccessful"]
},
"location": {
"description": "A location within a programming artifact.",
"additionalProperties": false,
"type": "object",
"properties": {
"id": {
"description": "Value that distinguishes this location from all other locations within a single result object.",
"type": "integer",
"minimum": -1,
"default": -1
},
"physicalLocation": {
"description": "Identifies the artifact and region.",
"$ref": "#/definitions/physicalLocation"
},
"logicalLocations": {
"description": "The logical locations associated with the result.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/logicalLocation"
}
},
"message": {
"description": "A message relevant to the location.",
"$ref": "#/definitions/message"
},
"annotations": {
"description": "A set of regions relevant to the location.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/region"
}
},
"relationships": {
"description": "An array of objects that describe relationships between this location and others.",
"type": "array",
"default": [],
"minItems": 0,
"uniqueItems": true,
"items": {
"$ref": "#/definitions/locationRelationship"
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the location.",
"$ref": "#/definitions/propertyBag"
}
}
},
"locationRelationship": {
"description": "Information about the relation of one location to another.",
"type": "object",
"additionalProperties": false,
"properties": {
"target": {
"description": "A reference to the related location.",
"type": "integer",
"minimum": 0
},
"kinds": {
"description": "A set of distinct strings that categorize the relationship. Well-known kinds include 'includes', 'isIncludedBy' and 'relevant'.",
"type": "array",
"default": ["relevant"],
"uniqueItems": true,
"items": {
"type": "string"
}
},
"description": {
"description": "A description of the location relationship.",
"$ref": "#/definitions/message"
},
"properties": {
"description": "Key/value pairs that provide additional information about the location relationship.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["target"]
},
"logicalLocation": {
"description": "A logical location of a construct that produced a result.",
"additionalProperties": false,
"type": "object",
"properties": {
"name": {
"description": "Identifies the construct in which the result occurred. For example, this property might contain the name of a class or a method.",
"type": "string"
},
"index": {
"description": "The index within the logical locations array.",
"type": "integer",
"default": -1,
"minimum": -1
},
"fullyQualifiedName": {
"description": "The human-readable fully qualified name of the logical location.",
"type": "string"
},
"decoratedName": {
"description": "The machine-readable name for the logical location, such as a mangled function name provided by a C++ compiler that encodes calling convention, return type and other details along with the function name.",
"type": "string"
},
"parentIndex": {
"description": "Identifies the index of the immediate parent of the construct in which the result was detected. For example, this property might point to a logical location that represents the namespace that holds a type.",
"type": "integer",
"default": -1,
"minimum": -1
},
"kind": {
"description": "The type of construct this logical location component refers to. Should be one of 'function', 'member', 'module', 'namespace', 'parameter', 'resource', 'returnType', 'type', 'variable', 'object', 'array', 'property', 'value', 'element', 'text', 'attribute', 'comment', 'declaration', 'dtd' or 'processingInstruction', if any of those accurately describe the construct.",
"type": "string"
},
"properties": {
"description": "Key/value pairs that provide additional information about the logical location.",
"$ref": "#/definitions/propertyBag"
}
}
},
"message": {
"description": "Encapsulates a message intended to be read by the end user.",
"type": "object",
"additionalProperties": false,
"properties": {
"text": {
"description": "A plain text message string.",
"type": "string"
},
"markdown": {
"description": "A Markdown message string.",
"type": "string"
},
"id": {
"description": "The identifier for this message.",
"type": "string"
},
"arguments": {
"description": "An array of strings to substitute into the message string.",
"type": "array",
"minItems": 0,
"uniqueItems": false,
"default": [],
"items": {
"type": "string"
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the message.",
"$ref": "#/definitions/propertyBag"
}
},
"anyOf": [
{
"required": ["text"]
},
{
"required": ["id"]
}
]
},
"multiformatMessageString": {
"description": "A message string or message format string rendered in multiple formats.",
"type": "object",
"additionalProperties": false,
"properties": {
"text": {
"description": "A plain text message string or format string.",
"type": "string"
},
"markdown": {
"description": "A Markdown message string or format string.",
"type": "string"
},
"properties": {
"description": "Key/value pairs that provide additional information about the message.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["text"]
},
"node": {
"description": "Represents a node in a graph.",
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"description": "A string that uniquely identifies the node within its graph.",
"type": "string"
},
"label": {
"description": "A short description of the node.",
"$ref": "#/definitions/message"
},
"location": {
"description": "A code location associated with the node.",
"$ref": "#/definitions/location"
},
"children": {
"description": "Array of child nodes.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/node"
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the node.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["id"]
},
"notification": {
"description": "Describes a condition relevant to the tool itself, as opposed to being relevant to a target being analyzed by the tool.",
"type": "object",
"additionalProperties": false,
"properties": {
"locations": {
"description": "The locations relevant to this notification.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/location"
}
},
"message": {
"description": "A message that describes the condition that was encountered.",
"$ref": "#/definitions/message"
},
"level": {
"description": "A value specifying the severity level of the notification.",
"default": "warning",
"enum": ["none", "note", "warning", "error"]
},
"threadId": {
"description": "The thread identifier of the code that generated the notification.",
"type": "integer"
},
"timeUtc": {
"description": "The Coordinated Universal Time (UTC) date and time at which the analysis tool generated the notification.",
"type": "string",
"format": "date-time"
},
"exception": {
"description": "The runtime exception, if any, relevant to this notification.",
"$ref": "#/definitions/exception"
},
"descriptor": {
"description": "A reference used to locate the descriptor relevant to this notification.",
"$ref": "#/definitions/reportingDescriptorReference"
},
"associatedRule": {
"description": "A reference used to locate the rule descriptor associated with this notification.",
"$ref": "#/definitions/reportingDescriptorReference"
},
"properties": {
"description": "Key/value pairs that provide additional information about the notification.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["message"]
},
"physicalLocation": {
"description": "A physical location relevant to a result. Specifies a reference to a programming artifact together with a range of bytes or characters within that artifact.",
"additionalProperties": false,
"type": "object",
"properties": {
"address": {
"description": "The address of the location.",
"$ref": "#/definitions/address"
},
"artifactLocation": {
"description": "The location of the artifact.",
"$ref": "#/definitions/artifactLocation"
},
"region": {
"description": "Specifies a portion of the artifact.",
"$ref": "#/definitions/region"
},
"contextRegion": {
"description": "Specifies a portion of the artifact that encloses the region. Allows a viewer to display additional context around the region.",
"$ref": "#/definitions/region"
},
"properties": {
"description": "Key/value pairs that provide additional information about the physical location.",
"$ref": "#/definitions/propertyBag"
}
},
"anyOf": [
{
"required": ["address"]
},
{
"required": ["artifactLocation"]
}
]
},
"propertyBag": {
"description": "Key/value pairs that provide additional information about the object.",
"type": "object",
"additionalProperties": true,
"properties": {
"tags": {
"description": "A set of distinct strings that provide additional information.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"type": "string"
}
}
}
},
"rectangle": {
"description": "An area within an image.",
"additionalProperties": false,
"type": "object",
"properties": {
"top": {
"description": "The Y coordinate of the top edge of the rectangle, measured in the image's natural units.",
"type": "number"
},
"left": {
"description": "The X coordinate of the left edge of the rectangle, measured in the image's natural units.",
"type": "number"
},
"bottom": {
"description": "The Y coordinate of the bottom edge of the rectangle, measured in the image's natural units.",
"type": "number"
},
"right": {
"description": "The X coordinate of the right edge of the rectangle, measured in the image's natural units.",
"type": "number"
},
"message": {
"description": "A message relevant to the rectangle.",
"$ref": "#/definitions/message"
},
"properties": {
"description": "Key/value pairs that provide additional information about the rectangle.",
"$ref": "#/definitions/propertyBag"
}
}
},
"region": {
"description": "A region within an artifact where a result was detected.",
"additionalProperties": false,
"type": "object",
"properties": {
"startLine": {
"description": "The line number of the first character in the region.",
"type": "integer",
"minimum": 1
},
"startColumn": {
"description": "The column number of the first character in the region.",
"type": "integer",
"minimum": 1
},
"endLine": {
"description": "The line number of the last character in the region.",
"type": "integer",
"minimum": 1
},
"endColumn": {
"description": "The column number of the character following the end of the region.",
"type": "integer",
"minimum": 1
},
"charOffset": {
"description": "The zero-based offset from the beginning of the artifact of the first character in the region.",
"type": "integer",
"default": -1,
"minimum": -1
},
"charLength": {
"description": "The length of the region in characters.",
"type": "integer",
"minimum": 0
},
"byteOffset": {
"description": "The zero-based offset from the beginning of the artifact of the first byte in the region.",
"type": "integer",
"default": -1,
"minimum": -1
},
"byteLength": {
"description": "The length of the region in bytes.",
"type": "integer",
"minimum": 0
},
"snippet": {
"description": "The portion of the artifact contents within the specified region.",
"$ref": "#/definitions/artifactContent"
},
"message": {
"description": "A message relevant to the region.",
"$ref": "#/definitions/message"
},
"sourceLanguage": {
"description": "Specifies the source language, if any, of the portion of the artifact specified by the region object.",
"type": "string"
},
"properties": {
"description": "Key/value pairs that provide additional information about the region.",
"$ref": "#/definitions/propertyBag"
}
}
},
"replacement": {
"description": "The replacement of a single region of an artifact.",
"additionalProperties": false,
"type": "object",
"properties": {
"deletedRegion": {
"description": "The region of the artifact to delete.",
"$ref": "#/definitions/region"
},
"insertedContent": {
"description": "The content to insert at the location specified by the 'deletedRegion' property.",
"$ref": "#/definitions/artifactContent"
},
"properties": {
"description": "Key/value pairs that provide additional information about the replacement.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["deletedRegion"]
},
"reportingDescriptor": {
"description": "Metadata that describes a specific report produced by the tool, as part of the analysis it provides or its runtime reporting.",
"additionalProperties": false,
"type": "object",
"properties": {
"id": {
"description": "A stable, opaque identifier for the report.",
"type": "string"
},
"deprecatedIds": {
"description": "An array of stable, opaque identifiers by which this report was known in some previous version of the analysis tool.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": {
"type": "string"
}
},
"guid": {
"description": "A unique identifier for the reporting descriptor in the form of a GUID.",
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
},
"deprecatedGuids": {
"description": "An array of unique identifies in the form of a GUID by which this report was known in some previous version of the analysis tool.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": {
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
}
},
"name": {
"description": "A report identifier that is understandable to an end user.",
"type": "string"
},
"deprecatedNames": {
"description": "An array of readable identifiers by which this report was known in some previous version of the analysis tool.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": {
"type": "string"
}
},
"shortDescription": {
"description": "A concise description of the report. Should be a single sentence that is understandable when visible space is limited to a single line of text.",
"$ref": "#/definitions/multiformatMessageString"
},
"fullDescription": {
"description": "A description of the report. Should, as far as possible, provide details sufficient to enable resolution of any problem indicated by the result.",
"$ref": "#/definitions/multiformatMessageString"
},
"messageStrings": {
"description": "A set of name/value pairs with arbitrary names. Each value is a multiformatMessageString object, which holds message strings in plain text and (optionally) Markdown format. The strings can include placeholders, which can be used to construct a message in combination with an arbitrary number of additional string arguments.",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/multiformatMessageString"
}
},
"defaultConfiguration": {
"description": "Default reporting configuration information.",
"$ref": "#/definitions/reportingConfiguration"
},
"helpUri": {
"description": "A URI where the primary documentation for the report can be found.",
"type": "string",
"format": "uri"
},
"help": {
"description": "Provides the primary documentation for the report, useful when there is no online documentation.",
"$ref": "#/definitions/multiformatMessageString"
},
"relationships": {
"description": "An array of objects that describe relationships between this reporting descriptor and others.",
"type": "array",
"default": [],
"minItems": 0,
"uniqueItems": true,
"items": {
"$ref": "#/definitions/reportingDescriptorRelationship"
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the report.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["id"]
},
"reportingConfiguration": {
"description": "Information about a rule or notification that can be configured at runtime.",
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Specifies whether the report may be produced during the scan.",
"type": "boolean",
"default": true
},
"level": {
"description": "Specifies the failure level for the report.",
"default": "warning",
"enum": ["none", "note", "warning", "error"]
},
"rank": {
"description": "Specifies the relative priority of the report. Used for analysis output only.",
"type": "number",
"default": -1,
"minimum": -1,
"maximum": 100
},
"parameters": {
"description": "Contains configuration information specific to a report.",
"$ref": "#/definitions/propertyBag"
},
"properties": {
"description": "Key/value pairs that provide additional information about the reporting configuration.",
"$ref": "#/definitions/propertyBag"
}
}
},
"reportingDescriptorReference": {
"description": "Information about how to locate a relevant reporting descriptor.",
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"description": "The id of the descriptor.",
"type": "string"
},
"index": {
"description": "The index into an array of descriptors in toolComponent.ruleDescriptors, toolComponent.notificationDescriptors, or toolComponent.taxonomyDescriptors, depending on context.",
"type": "integer",
"default": -1,
"minimum": -1
},
"guid": {
"description": "A guid that uniquely identifies the descriptor.",
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
},
"toolComponent": {
"description": "A reference used to locate the toolComponent associated with the descriptor.",
"$ref": "#/definitions/toolComponentReference"
},
"properties": {
"description": "Key/value pairs that provide additional information about the reporting descriptor reference.",
"$ref": "#/definitions/propertyBag"
}
},
"anyOf": [
{
"required": ["index"]
},
{
"required": ["guid"]
},
{
"required": ["id"]
}
]
},
"reportingDescriptorRelationship": {
"description": "Information about the relation of one reporting descriptor to another.",
"type": "object",
"additionalProperties": false,
"properties": {
"target": {
"description": "A reference to the related reporting descriptor.",
"$ref": "#/definitions/reportingDescriptorReference"
},
"kinds": {
"description": "A set of distinct strings that categorize the relationship. Well-known kinds include 'canPrecede', 'canFollow', 'willPrecede', 'willFollow', 'superset', 'subset', 'equal', 'disjoint', 'relevant', and 'incomparable'.",
"type": "array",
"default": ["relevant"],
"uniqueItems": true,
"items": {
"type": "string"
}
},
"description": {
"description": "A description of the reporting descriptor relationship.",
"$ref": "#/definitions/message"
},
"properties": {
"description": "Key/value pairs that provide additional information about the reporting descriptor reference.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["target"]
},
"result": {
"description": "A result produced by an analysis tool.",
"additionalProperties": false,
"type": "object",
"properties": {
"ruleId": {
"description": "The stable, unique identifier of the rule, if any, to which this notification is relevant. This member can be used to retrieve rule metadata from the rules dictionary, if it exists.",
"type": "string"
},
"ruleIndex": {
"description": "The index within the tool component rules array of the rule object associated with this result.",
"type": "integer",
"default": -1,
"minimum": -1
},
"rule": {
"description": "A reference used to locate the rule descriptor relevant to this result.",
"$ref": "#/definitions/reportingDescriptorReference"
},
"kind": {
"description": "A value that categorizes results by evaluation state.",
"default": "fail",
"enum": [
"notApplicable",
"pass",
"fail",
"review",
"open",
"informational"
]
},
"level": {
"description": "A value specifying the severity level of the result.",
"default": "warning",
"enum": ["none", "note", "warning", "error"]
},
"message": {
"description": "A message that describes the result. The first sentence of the message only will be displayed when visible space is limited.",
"$ref": "#/definitions/message"
},
"analysisTarget": {
"description": "Identifies the artifact that the analysis tool was instructed to scan. This need not be the same as the artifact where the result actually occurred.",
"$ref": "#/definitions/artifactLocation"
},
"locations": {
"description": "The set of locations where the result was detected. Specify only one location unless the problem indicated by the result can only be corrected by making a change at every specified location.",
"type": "array",
"minItems": 0,
"uniqueItems": false,
"default": [],
"items": {
"$ref": "#/definitions/location"
}
},
"guid": {
"description": "A stable, unique identifier for the result in the form of a GUID.",
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
},
"correlationGuid": {
"description": "A stable, unique identifier for the equivalence class of logically identical results to which this result belongs, in the form of a GUID.",
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
},
"occurrenceCount": {
"description": "A positive integer specifying the number of times this logically unique result was observed in this run.",
"type": "integer",
"minimum": 1
},
"partialFingerprints": {
"description": "A set of strings that contribute to the stable, unique identity of the result.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"fingerprints": {
"description": "A set of strings each of which individually defines a stable, unique identity for the result.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"stacks": {
"description": "An array of 'stack' objects relevant to the result.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/stack"
}
},
"codeFlows": {
"description": "An array of 'codeFlow' objects relevant to the result.",
"type": "array",
"minItems": 0,
"uniqueItems": false,
"default": [],
"items": {
"$ref": "#/definitions/codeFlow"
}
},
"graphs": {
"description": "An array of zero or more unique graph objects associated with the result.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/graph"
}
},
"graphTraversals": {
"description": "An array of one or more unique 'graphTraversal' objects.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/graphTraversal"
}
},
"relatedLocations": {
"description": "A set of locations relevant to this result.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/location"
}
},
"suppressions": {
"description": "A set of suppressions relevant to this result.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": {
"$ref": "#/definitions/suppression"
}
},
"baselineState": {
"description": "The state of a result relative to a baseline of a previous run.",
"enum": ["new", "unchanged", "updated", "absent"]
},
"rank": {
"description": "A number representing the priority or importance of the result.",
"type": "number",
"default": -1,
"minimum": -1,
"maximum": 100
},
"attachments": {
"description": "A set of artifacts relevant to the result.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/attachment"
}
},
"hostedViewerUri": {
"description": "An absolute URI at which the result can be viewed.",
"type": "string",
"format": "uri"
},
"workItemUris": {
"description": "The URIs of the work items associated with this result.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": {
"type": "string",
"format": "uri"
}
},
"provenance": {
"description": "Information about how and when the result was detected.",
"$ref": "#/definitions/resultProvenance"
},
"fixes": {
"description": "An array of 'fix' objects, each of which represents a proposed fix to the problem indicated by the result.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/fix"
}
},
"taxa": {
"description": "An array of references to taxonomy reporting descriptors that are applicable to the result.",
"type": "array",
"default": [],
"minItems": 0,
"uniqueItems": true,
"items": {
"$ref": "#/definitions/reportingDescriptorReference"
}
},
"webRequest": {
"description": "A web request associated with this result.",
"$ref": "#/definitions/webRequest"
},
"webResponse": {
"description": "A web response associated with this result.",
"$ref": "#/definitions/webResponse"
},
"properties": {
"description": "Key/value pairs that provide additional information about the result.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["message"]
},
"resultProvenance": {
"description": "Contains information about how and when a result was detected.",
"additionalProperties": false,
"type": "object",
"properties": {
"firstDetectionTimeUtc": {
"description": "The Coordinated Universal Time (UTC) date and time at which the result was first detected. See \"Date/time properties\" in the SARIF spec for the required format.",
"type": "string",
"format": "date-time"
},
"lastDetectionTimeUtc": {
"description": "The Coordinated Universal Time (UTC) date and time at which the result was most recently detected. See \"Date/time properties\" in the SARIF spec for the required format.",
"type": "string",
"format": "date-time"
},
"firstDetectionRunGuid": {
"description": "A GUID-valued string equal to the automationDetails.guid property of the run in which the result was first detected.",
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
},
"lastDetectionRunGuid": {
"description": "A GUID-valued string equal to the automationDetails.guid property of the run in which the result was most recently detected.",
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
},
"invocationIndex": {
"description": "The index within the run.invocations array of the invocation object which describes the tool invocation that detected the result.",
"type": "integer",
"default": -1,
"minimum": -1
},
"conversionSources": {
"description": "An array of physicalLocation objects which specify the portions of an analysis tool's output that a converter transformed into the result.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/physicalLocation"
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the result.",
"$ref": "#/definitions/propertyBag"
}
}
},
"run": {
"description": "Describes a single run of an analysis tool, and contains the reported output of that run.",
"additionalProperties": false,
"type": "object",
"properties": {
"tool": {
"description": "Information about the tool or tool pipeline that generated the results in this run. A run can only contain results produced by a single tool or tool pipeline. A run can aggregate results from multiple log files, as long as context around the tool run (tool command-line arguments and the like) is identical for all aggregated files.",
"$ref": "#/definitions/tool"
},
"invocations": {
"description": "Describes the invocation of the analysis tool.",
"type": "array",
"minItems": 0,
"uniqueItems": false,
"default": [],
"items": {
"$ref": "#/definitions/invocation"
}
},
"conversion": {
"description": "A conversion object that describes how a converter transformed an analysis tool's native reporting format into the SARIF format.",
"$ref": "#/definitions/conversion"
},
"language": {
"description": "The language of the messages emitted into the log file during this run (expressed as an ISO 639-1 two-letter lowercase culture code) and an optional region (expressed as an ISO 3166-1 two-letter uppercase subculture code associated with a country or region). The casing is recommended but not required (in order for this data to conform to RFC5646).",
"type": "string",
"default": "en-US",
"pattern": "^[a-zA-Z]{2}|^[a-zA-Z]{2}-[a-zA-Z]{2}?$"
},
"versionControlProvenance": {
"description": "Specifies the revision in version control of the artifacts that were scanned.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/versionControlDetails"
}
},
"originalUriBaseIds": {
"description": "The artifact location specified by each uriBaseId symbol on the machine where the tool originally ran.",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/artifactLocation"
}
},
"artifacts": {
"description": "An array of artifact objects relevant to the run.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": {
"$ref": "#/definitions/artifact"
}
},
"logicalLocations": {
"description": "An array of logical locations such as namespaces, types or functions.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/logicalLocation"
}
},
"graphs": {
"description": "An array of zero or more unique graph objects associated with the run.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/graph"
}
},
"results": {
"description": "The set of results contained in an SARIF log. The results array can be omitted when a run is solely exporting rules metadata. It must be present (but may be empty) if a log file represents an actual scan.",
"type": "array",
"minItems": 0,
"uniqueItems": false,
"items": {
"$ref": "#/definitions/result"
}
},
"automationDetails": {
"description": "Automation details that describe this run.",
"$ref": "#/definitions/runAutomationDetails"
},
"runAggregates": {
"description": "Automation details that describe the aggregate of runs to which this run belongs.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/runAutomationDetails"
}
},
"baselineGuid": {
"description": "The 'guid' property of a previous SARIF 'run' that comprises the baseline that was used to compute result 'baselineState' properties for the run.",
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
},
"redactionTokens": {
"description": "An array of strings used to replace sensitive information in a redaction-aware property.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"type": "string"
}
},
"defaultEncoding": {
"description": "Specifies the default encoding for any artifact object that refers to a text file.",
"type": "string"
},
"defaultSourceLanguage": {
"description": "Specifies the default source language for any artifact object that refers to a text file that contains source code.",
"type": "string"
},
"newlineSequences": {
"description": "An ordered list of character sequences that were treated as line breaks when computing region information for the run.",
"type": "array",
"minItems": 1,
"uniqueItems": true,
"default": ["\r\n", "\n"],
"items": {
"type": "string"
}
},
"columnKind": {
"description": "Specifies the unit in which the tool measures columns.",
"enum": ["utf16CodeUnits", "unicodeCodePoints"]
},
"externalPropertyFileReferences": {
"description": "References to external property files that should be inlined with the content of a root log file.",
"$ref": "#/definitions/externalPropertyFileReferences"
},
"threadFlowLocations": {
"description": "An array of threadFlowLocation objects cached at run level.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/threadFlowLocation"
}
},
"taxonomies": {
"description": "An array of toolComponent objects relevant to a taxonomy in which results are categorized.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/toolComponent"
}
},
"addresses": {
"description": "Addresses associated with this run instance, if any.",
"type": "array",
"minItems": 0,
"uniqueItems": false,
"default": [],
"items": {
"$ref": "#/definitions/address"
}
},
"translations": {
"description": "The set of available translations of the localized data provided by the tool.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/toolComponent"
}
},
"policies": {
"description": "Contains configurations that may potentially override both reportingDescriptor.defaultConfiguration (the tool's default severities) and invocation.configurationOverrides (severities established at run-time from the command line).",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/toolComponent"
}
},
"webRequests": {
"description": "An array of request objects cached at run level.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/webRequest"
}
},
"webResponses": {
"description": "An array of response objects cached at run level.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/webResponse"
}
},
"specialLocations": {
"description": "A specialLocations object that defines locations of special significance to SARIF consumers.",
"$ref": "#/definitions/specialLocations"
},
"properties": {
"description": "Key/value pairs that provide additional information about the run.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["tool"]
},
"runAutomationDetails": {
"description": "Information that describes a run's identity and role within an engineering system process.",
"additionalProperties": false,
"type": "object",
"properties": {
"description": {
"description": "A description of the identity and role played within the engineering system by this object's containing run object.",
"$ref": "#/definitions/message"
},
"id": {
"description": "A hierarchical string that uniquely identifies this object's containing run object.",
"type": "string"
},
"guid": {
"description": "A stable, unique identifier for this object's containing run object in the form of a GUID.",
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
},
"correlationGuid": {
"description": "A stable, unique identifier for the equivalence class of runs to which this object's containing run object belongs in the form of a GUID.",
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
},
"properties": {
"description": "Key/value pairs that provide additional information about the run automation details.",
"$ref": "#/definitions/propertyBag"
}
}
},
"specialLocations": {
"description": "Defines locations of special significance to SARIF consumers.",
"type": "object",
"properties": {
"displayBase": {
"description": "Provides a suggestion to SARIF consumers to display file paths relative to the specified location.",
"$ref": "#/definitions/artifactLocation"
},
"properties": {
"description": "Key/value pairs that provide additional information about the special locations.",
"$ref": "#/definitions/propertyBag"
}
}
},
"stack": {
"description": "A call stack that is relevant to a result.",
"additionalProperties": false,
"type": "object",
"properties": {
"message": {
"description": "A message relevant to this call stack.",
"$ref": "#/definitions/message"
},
"frames": {
"description": "An array of stack frames that represents a sequence of calls, rendered in reverse chronological order, that comprise the call stack.",
"type": "array",
"minItems": 0,
"uniqueItems": false,
"items": {
"$ref": "#/definitions/stackFrame"
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the stack.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["frames"]
},
"stackFrame": {
"description": "A function call within a stack trace.",
"additionalProperties": false,
"type": "object",
"properties": {
"location": {
"description": "The location to which this stack frame refers.",
"$ref": "#/definitions/location"
},
"module": {
"description": "The name of the module that contains the code of this stack frame.",
"type": "string"
},
"threadId": {
"description": "The thread identifier of the stack frame.",
"type": "integer"
},
"parameters": {
"description": "The parameters of the call that is executing.",
"type": "array",
"minItems": 0,
"uniqueItems": false,
"default": [],
"items": {
"type": "string",
"default": []
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the stack frame.",
"$ref": "#/definitions/propertyBag"
}
}
},
"suppression": {
"description": "A suppression that is relevant to a result.",
"additionalProperties": false,
"type": "object",
"properties": {
"guid": {
"description": "A stable, unique identifier for the suppression in the form of a GUID.",
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
},
"kind": {
"description": "A string that indicates where the suppression is persisted.",
"enum": ["inSource", "external"]
},
"state": {
"description": "A string that indicates the state of the suppression.",
"enum": ["accepted", "underReview", "rejected"]
},
"justification": {
"description": "A string representing the justification for the suppression.",
"type": "string"
},
"location": {
"description": "Identifies the location associated with the suppression.",
"$ref": "#/definitions/location"
},
"properties": {
"description": "Key/value pairs that provide additional information about the suppression.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["kind"]
},
"threadFlow": {
"type": "object",
"properties": {
"id": {
"description": "An string that uniquely identifies the threadFlow within the codeFlow in which it occurs.",
"type": "string"
},
"message": {
"description": "A message relevant to the thread flow.",
"$ref": "#/definitions/message"
},
"initialState": {
"description": "Values of relevant expressions at the start of the thread flow that may change during thread flow execution.",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/multiformatMessageString"
}
},
"immutableState": {
"description": "Values of relevant expressions at the start of the thread flow that remain constant.",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/multiformatMessageString"
}
},
"locations": {
"description": "A temporally ordered array of 'threadFlowLocation' objects, each of which describes a location visited by the tool while producing the result.",
"type": "array",
"minItems": 1,
"uniqueItems": false,
"items": {
"$ref": "#/definitions/threadFlowLocation"
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the thread flow.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["locations"]
},
"threadFlowLocation": {
"description": "A location visited by an analysis tool while simulating or monitoring the execution of a program.",
"additionalProperties": false,
"type": "object",
"properties": {
"index": {
"description": "The index within the run threadFlowLocations array.",
"type": "integer",
"default": -1,
"minimum": -1
},
"location": {
"description": "The code location.",
"$ref": "#/definitions/location"
},
"stack": {
"description": "The call stack leading to this location.",
"$ref": "#/definitions/stack"
},
"kinds": {
"description": "A set of distinct strings that categorize the thread flow location. Well-known kinds include 'acquire', 'release', 'enter', 'exit', 'call', 'return', 'branch', 'implicit', 'false', 'true', 'caution', 'danger', 'unknown', 'unreachable', 'taint', 'function', 'handler', 'lock', 'memory', 'resource', 'scope' and 'value'.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"type": "string"
}
},
"taxa": {
"description": "An array of references to rule or taxonomy reporting descriptors that are applicable to the thread flow location.",
"type": "array",
"default": [],
"minItems": 0,
"uniqueItems": true,
"items": {
"$ref": "#/definitions/reportingDescriptorReference"
}
},
"module": {
"description": "The name of the module that contains the code that is executing.",
"type": "string"
},
"state": {
"description": "A dictionary, each of whose keys specifies a variable or expression, the associated value of which represents the variable or expression value. For an annotation of kind 'continuation', for example, this dictionary might hold the current assumed values of a set of global variables.",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/multiformatMessageString"
}
},
"nestingLevel": {
"description": "An integer representing a containment hierarchy within the thread flow.",
"type": "integer",
"minimum": 0
},
"executionOrder": {
"description": "An integer representing the temporal order in which execution reached this location.",
"type": "integer",
"default": -1,
"minimum": -1
},
"executionTimeUtc": {
"description": "The Coordinated Universal Time (UTC) date and time at which this location was executed.",
"type": "string",
"format": "date-time"
},
"importance": {
"description": "Specifies the importance of this location in understanding the code flow in which it occurs. The order from most to least important is \"essential\", \"important\", \"unimportant\". Default: \"important\".",
"enum": ["important", "essential", "unimportant"],
"default": "important"
},
"webRequest": {
"description": "A web request associated with this thread flow location.",
"$ref": "#/definitions/webRequest"
},
"webResponse": {
"description": "A web response associated with this thread flow location.",
"$ref": "#/definitions/webResponse"
},
"properties": {
"description": "Key/value pairs that provide additional information about the threadflow location.",
"$ref": "#/definitions/propertyBag"
}
}
},
"tool": {
"description": "The analysis tool that was run.",
"additionalProperties": false,
"type": "object",
"properties": {
"driver": {
"description": "The analysis tool that was run.",
"$ref": "#/definitions/toolComponent"
},
"extensions": {
"description": "Tool extensions that contributed to or reconfigured the analysis tool that was run.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/toolComponent"
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the tool.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["driver"]
},
"toolComponent": {
"description": "A component, such as a plug-in or the driver, of the analysis tool that was run.",
"additionalProperties": false,
"type": "object",
"properties": {
"guid": {
"description": "A unique identifier for the tool component in the form of a GUID.",
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
},
"name": {
"description": "The name of the tool component.",
"type": "string"
},
"organization": {
"description": "The organization or company that produced the tool component.",
"type": "string"
},
"product": {
"description": "A product suite to which the tool component belongs.",
"type": "string"
},
"productSuite": {
"description": "A localizable string containing the name of the suite of products to which the tool component belongs.",
"type": "string"
},
"shortDescription": {
"description": "A brief description of the tool component.",
"$ref": "#/definitions/multiformatMessageString"
},
"fullDescription": {
"description": "A comprehensive description of the tool component.",
"$ref": "#/definitions/multiformatMessageString"
},
"fullName": {
"description": "The name of the tool component along with its version and any other useful identifying information, such as its locale.",
"type": "string"
},
"version": {
"description": "The tool component version, in whatever format the component natively provides.",
"type": "string"
},
"semanticVersion": {
"description": "The tool component version in the format specified by Semantic Versioning 2.0.",
"type": "string"
},
"dottedQuadFileVersion": {
"description": "The binary version of the tool component's primary executable file expressed as four non-negative integers separated by a period (for operating systems that express file versions in this way).",
"type": "string",
"pattern": "[0-9]+(\\.[0-9]+){3}"
},
"releaseDateUtc": {
"description": "A string specifying the UTC date (and optionally, the time) of the component's release.",
"type": "string"
},
"downloadUri": {
"description": "The absolute URI from which the tool component can be downloaded.",
"type": "string",
"format": "uri"
},
"informationUri": {
"description": "The absolute URI at which information about this version of the tool component can be found.",
"type": "string",
"format": "uri"
},
"globalMessageStrings": {
"description": "A dictionary, each of whose keys is a resource identifier and each of whose values is a multiformatMessageString object, which holds message strings in plain text and (optionally) Markdown format. The strings can include placeholders, which can be used to construct a message in combination with an arbitrary number of additional string arguments.",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/multiformatMessageString"
}
},
"notifications": {
"description": "An array of reportingDescriptor objects relevant to the notifications related to the configuration and runtime execution of the tool component.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/reportingDescriptor"
}
},
"rules": {
"description": "An array of reportingDescriptor objects relevant to the analysis performed by the tool component.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/reportingDescriptor"
}
},
"taxa": {
"description": "An array of reportingDescriptor objects relevant to the definitions of both standalone and tool-defined taxonomies.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/reportingDescriptor"
}
},
"locations": {
"description": "An array of the artifactLocation objects associated with the tool component.",
"type": "array",
"minItems": 0,
"default": [],
"items": {
"$ref": "#/definitions/artifactLocation"
}
},
"language": {
"description": "The language of the messages emitted into the log file during this run (expressed as an ISO 639-1 two-letter lowercase language code) and an optional region (expressed as an ISO 3166-1 two-letter uppercase subculture code associated with a country or region). The casing is recommended but not required (in order for this data to conform to RFC5646).",
"type": "string",
"default": "en-US",
"pattern": "^[a-zA-Z]{2}|^[a-zA-Z]{2}-[a-zA-Z]{2}?$"
},
"contents": {
"description": "The kinds of data contained in this object.",
"type": "array",
"uniqueItems": true,
"default": ["localizedData", "nonLocalizedData"],
"items": {
"enum": ["localizedData", "nonLocalizedData"]
}
},
"isComprehensive": {
"description": "Specifies whether this object contains a complete definition of the localizable and/or non-localizable data for this component, as opposed to including only data that is relevant to the results persisted to this log file.",
"type": "boolean",
"default": false
},
"localizedDataSemanticVersion": {
"description": "The semantic version of the localized strings defined in this component; maintained by components that provide translations.",
"type": "string"
},
"minimumRequiredLocalizedDataSemanticVersion": {
"description": "The minimum value of localizedDataSemanticVersion required in translations consumed by this component; used by components that consume translations.",
"type": "string"
},
"associatedComponent": {
"description": "The component which is strongly associated with this component. For a translation, this refers to the component which has been translated. For an extension, this is the driver that provides the extension's plugin model.",
"$ref": "#/definitions/toolComponentReference"
},
"translationMetadata": {
"description": "Translation metadata, required for a translation, not populated by other component types.",
"$ref": "#/definitions/translationMetadata"
},
"supportedTaxonomies": {
"description": "An array of toolComponentReference objects to declare the taxonomies supported by the tool component.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"default": [],
"items": {
"$ref": "#/definitions/toolComponentReference"
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the tool component.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["name"]
},
"toolComponentReference": {
"description": "",
"type": "object",
"properties": {
"name": {
"description": "The 'name' property of the referenced toolComponent.",
"type": "string"
},
"index": {
"description": "An index into the referenced toolComponent in tool.extensions.",
"type": "integer",
"default": -1,
"minimum": -1
},
"guid": {
"description": "The 'guid' property of the referenced toolComponent.",
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
},
"properties": {
"description": "Key/value pairs that provide additional information about the toolComponentReference.",
"$ref": "#/definitions/propertyBag"
}
}
},
"translationMetadata": {
"description": "Provides additional metadata related to translation.",
"type": "object",
"properties": {
"name": {
"description": "The name associated with the translation metadata.",
"type": "string"
},
"fullName": {
"description": "The full name associated with the translation metadata.",
"type": "string"
},
"shortDescription": {
"description": "A brief description of the translation metadata.",
"$ref": "#/definitions/multiformatMessageString"
},
"fullDescription": {
"description": "A comprehensive description of the translation metadata.",
"$ref": "#/definitions/multiformatMessageString"
},
"downloadUri": {
"description": "The absolute URI from which the translation metadata can be downloaded.",
"type": "string",
"format": "uri"
},
"informationUri": {
"description": "The absolute URI from which information related to the translation metadata can be downloaded.",
"type": "string",
"format": "uri"
},
"properties": {
"description": "Key/value pairs that provide additional information about the translation metadata.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["name"]
},
"versionControlDetails": {
"description": "Specifies the information necessary to retrieve a desired revision from a version control system.",
"type": "object",
"additionalProperties": false,
"properties": {
"repositoryUri": {
"description": "The absolute URI of the repository.",
"type": "string",
"format": "uri"
},
"revisionId": {
"description": "A string that uniquely and permanently identifies the revision within the repository.",
"type": "string"
},
"branch": {
"description": "The name of a branch containing the revision.",
"type": "string"
},
"revisionTag": {
"description": "A tag that has been applied to the revision.",
"type": "string"
},
"asOfTimeUtc": {
"description": "A Coordinated Universal Time (UTC) date and time that can be used to synchronize an enlistment to the state of the repository at that time.",
"type": "string",
"format": "date-time"
},
"mappedTo": {
"description": "The location in the local file system to which the root of the repository was mapped at the time of the analysis.",
"$ref": "#/definitions/artifactLocation"
},
"properties": {
"description": "Key/value pairs that provide additional information about the version control details.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["repositoryUri"]
},
"webRequest": {
"description": "A web request object.",
"type": "object",
"properties": {
"index": {
"description": "The index within the run.webRequests array of the request object associated with this result.",
"type": "integer",
"default": -1,
"minimum": -1
},
"protocol": {
"description": "The request protocol. Example: 'http'.",
"type": "string"
},
"version": {
"description": "The request version. Example: '1.1'.",
"type": "string"
},
"target": {
"description": "The target of the request.",
"type": "string"
},
"method": {
"description": "The HTTP method. Well-known values are 'GET', 'PUT', 'POST', 'DELETE', 'PATCH', 'HEAD', 'OPTIONS', 'TRACE', 'CONNECT'.",
"type": "string"
},
"headers": {
"description": "The request headers.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"parameters": {
"description": "The request parameters.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"body": {
"description": "The body of the request.",
"$ref": "#/definitions/artifactContent"
},
"properties": {
"description": "Key/value pairs that provide additional information about the request.",
"$ref": "#/definitions/propertyBag"
}
}
},
"webResponse": {
"description": "A web response object.",
"type": "object",
"properties": {
"index": {
"description": "The index within the run.webResponses array of the response object associated with this result.",
"type": "integer",
"default": -1,
"minimum": -1
},
"protocol": {
"description": "The response protocol. Example: 'http'.",
"type": "string"
},
"version": {
"description": "The response version. Example: '1.1'.",
"type": "string"
},
"statusCode": {
"description": "The response status code. Example: 451.",
"type": "integer"
},
"reasonPhrase": {
"description": "The response reason. Example: 'Not found'.",
"type": "string"
},
"headers": {
"description": "The response headers.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"body": {
"description": "The body of the response.",
"$ref": "#/definitions/artifactContent"
},
"noResponseReceived": {
"description": "Specifies whether a response was received from the server.",
"type": "boolean",
"default": false
},
"properties": {
"description": "Key/value pairs that provide additional information about the response.",
"$ref": "#/definitions/propertyBag"
}
}
}
},
"description": "Static Analysis Results Format (SARIF) Version 2.1.0-rtm.2 JSON Schema: a standard format for the output of static analysis tools.",
"properties": {
"$schema": {
"description": "The URI of the JSON schema corresponding to the version.",
"type": "string",
"format": "uri"
},
"version": {
"description": "The SARIF format version of this log file.",
"enum": ["2.1.0"]
},
"runs": {
"description": "The set of runs contained in this log file.",
"type": "array",
"minItems": 0,
"uniqueItems": false,
"items": {
"$ref": "#/definitions/run"
}
},
"inlineExternalProperties": {
"description": "References to external property files that share data between runs.",
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": {
"$ref": "#/definitions/externalProperties"
}
},
"properties": {
"description": "Key/value pairs that provide additional information about the log file.",
"$ref": "#/definitions/propertyBag"
}
},
"required": ["version", "runs"],
"title": "Static Analysis Results Format (SARIF) Version 2.1.0-rtm.2 JSON Schema",
"type": "object"
}
| sarif-2 |
{
"description": "Maps a string key to a path within a volume.",
"properties": {
"key": {
"description": "The key to project.",
"type": [
"string",
"null"
]
},
"mode": {
"description": "Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
"format": "int32",
"type": [
"integer",
"null"
]
},
"path": {
"description": "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.",
"type": [
"string",
"null"
]
}
},
"required": [
"key",
"path"
],
"type": "object"
} | kb_507_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Fibaro Home Center User JSON Schema",
"name": "user",
"type": "object",
"properties": {
"id": {
"description": "Identifier for the user",
"type": "integer",
"minimum": 0
},
"name": {
"description": "Name of the user",
"type": "string",
"maxLength": 20
},
"type": {
"description": "Type of the user",
"type": "string",
"enum": [
"user",
"superuser"
]
},
"email": {
"description": "Email of the user",
"type": "string",
"format": "email"
},
"hasGPS": {
"description": "User has GPS Flag",
"type": "boolean"
},
"deviceRights": {
"description": "List of Devices Visible for User",
"type": "array",
"items": {
"type": "number",
"minimum": 0
}
},
"sceneRights": {
"description": "List of Scenes Visible for User",
"type": "array",
"items": {
"type": "number",
"minimum": 0
}
},
"hotelRoom": {
"description": "Hotel room number",
"type": "integer"
},
"sendNotifications": {
"description": "Shall Fibaro send notifications",
"type": "boolean"
},
"tracking": {
"description": "How frequently GPS position from the user's iPhone should be collected [min]",
"type": "integer"
},
"usePin": {
"description": "Use PIN Flag",
"type": "boolean"
},
"useOptionalArmPin": {
"description": "Use Optional Arm PIN Falg",
"type": "boolean"
},
"pin": {
"description": "PIN instead of a password for confirmations",
"type": "string"
},
"password": {
"description": "Password",
"type": "string"
}
},
"required": [
"name"
],
"additionalProperties": false
} | o56020 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "List of Languages",
"type": "array",
"items": {
"title": "Language",
"type": "string"
}
} | o17123 |
{
"description": "The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.",
"properties": {
"effect": {
"description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.",
"type": [
"string",
"null"
]
},
"key": {
"description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.",
"type": [
"string",
"null"
]
},
"operator": {
"description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.",
"type": [
"string",
"null"
]
},
"tolerationSeconds": {
"description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"value": {
"description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.",
"type": [
"string",
"null"
]
}
},
"type": "object"
} | kb_1080_Normalized |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base length of the shape (for triangle)",
"type": "number"
},
"height": {
"description": "The height of the shape (for triangle)",
"type": "number"
},
"radius": {
"description": "The radius of the shape (for circle)",
"type": "number"
},
"side_length": {
"description": "The side length of the shape (for square)",
"type": "number"
}
},
"required": [],
"type": "object"
},
"shape": {
"description": "The type of shape (e.g. square, circle, triangle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_7f47ee60 |
{
"properties": {
"ca": {
"readonly": true,
"type": "boolean"
},
"cipherredirect": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"cipherurl": {
"type": "string"
},
"cleartextport": {
"type": "integer"
},
"clientauth": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"clientcert": {
"enum": [
"Mandatory",
"Optional"
],
"type": "string"
},
"crlcheck": {
"enum": [
"Mandatory",
"Optional"
],
"readonly": true,
"type": "string"
},
"dh": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"dhcount": {
"type": "integer"
},
"dhekeyexchangewithpsk": {
"enum": [
"YES",
"NO"
],
"type": "string"
},
"dhfile": {
"type": "string"
},
"dhkeyexpsizelimit": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"dtls1": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"dtls12": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"dtlsflag": {
"readonly": true,
"type": "boolean"
},
"dtlsprofilename": {
"type": "string"
},
"ersa": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"ersacount": {
"type": "integer"
},
"hsts": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"includesubdomains": {
"enum": [
"YES",
"NO"
],
"type": "string"
},
"maxage": {
"type": "integer"
},
"nonfipsciphers": {
"enum": [
"ENABLED",
"DISABLED"
],
"readonly": true,
"type": "string"
},
"ocspcheck": {
"enum": [
"Mandatory",
"Optional"
],
"readonly": true,
"type": "string"
},
"ocspstapling": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"preload": {
"enum": [
"YES",
"NO"
],
"type": "string"
},
"pushenctrigger": {
"enum": [
"Always",
"Merge",
"Ignore",
"Timer"
],
"type": "string"
},
"redirectportrewrite": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"sendclosenotify": {
"enum": [
"YES",
"NO"
],
"type": "string"
},
"service": {
"readonly": true,
"type": "integer"
},
"sessreuse": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"sesstimeout": {
"type": "integer"
},
"skipcaname": {
"readonly": true,
"type": "boolean"
},
"snicert": {
"readonly": true,
"type": "boolean"
},
"snienable": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"ssl2": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"ssl3": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"sslprofile": {
"type": "string"
},
"sslredirect": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"sslv2redirect": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"sslv2url": {
"type": "string"
},
"strictsigdigestcheck": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"tls1": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"tls11": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"tls12": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"tls13": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"tls13sessionticketsperauthcontext": {
"type": "integer"
},
"vservername": {
"type": "string"
},
"zerorttearlydata": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
}
},
"title": "sslvserver",
"type": "object"
} | o30994 |
{
"$comment": "https://minecraft.fandom.com/wiki/Custom_dimension#Dimension_syntax",
"$id": "https://json.schemastore.org/minecraft-dimension.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"noise": {
"title": "noise options",
"type": "object",
"properties": {
"firstOctave": {
"title": "First Octave",
"description": "The lower the value, the smoother the changes in altitude will be, making biome edges smoother.",
"type": "integer",
"default": -7
},
"amplitudes": {
"title": "Amplitudes",
"description": "A list of floats. Using more values allows for greater precision. Higher absolute values seem to make the altitude reach greater absolute values.",
"type": "array",
"items": {
"type": "number"
},
"default": [1, 1]
}
}
},
"dimensionType": {
"$comment": "https://minecraft.fandom.com/wiki/Custom_dimension#Dimension_type",
"title": "dimension type",
"description": "Configuration file defining a dimension type for a data pack for Minecraft.",
"type": "object",
"properties": {
"name": {
"title": "Name",
"description": "The resource location used for the dimension type.",
"type": "string"
},
"ultrawarm": {
"title": "Ultrawarm",
"description": "Whether the dimensions behaves like the nether (water evaporates and sponges dry) or not. Also lets stalactites drip lava and causes lava to spread faster and thinner.",
"type": "boolean"
},
"natural": {
"title": "Natural",
"description": "When true, nether portals can spawn zombified piglins. When false, compasses spin randomly, and using a bed to set the respawn point or sleep, is disabled.",
"type": "boolean"
},
"coordinate_scale": {
"title": "Coordinate Scale",
"description": "The multiplier applied to coordinates when traveling to the dimension.",
"type": "number"
},
"has_skylight": {
"title": "Has Skylight",
"description": "Whether the dimension has skylight access or not.",
"type": "boolean"
},
"has_ceiling": {
"title": "Has Ceiling",
"description": "Whether the dimension has a bedrock ceiling or not.",
"type": "boolean"
},
"ambient_light": {
"title": "Ambient Light",
"description": "How much light the dimension has.",
"type": "number",
"default": 0.5
},
"fixed_time": {
"title": "Fixed Time",
"description": "If this is set to a number, the time of the day is the specified value.",
"anyOf": [
{
"type": "boolean",
"default": false
},
{
"type": "integer",
"minimum": 0,
"maximum": 24000
}
]
},
"piglin_safe": {
"title": "Piglin Safe",
"description": "Whether piglins shake and transform to zombified piglins.",
"type": "boolean"
},
"bed_works": {
"title": "Bed Words",
"description": "When false, the bed blows up when trying to sleep.",
"type": "boolean"
},
"respawn_anchor_works": {
"title": "Respawn Anchor Works",
"description": "Whether players can charge and use respawn anchors.",
"type": "boolean"
},
"has_raids": {
"title": "Has Raids",
"description": "Whether players with the Bad Omen effect can cause a raid.",
"type": "boolean"
},
"logical_height": {
"title": "Logical Height",
"description": "The maximum height to which chorus fruits and nether portals can bring players within this dimension. This excludes portals that were already built above the limit as they still connect normally.",
"type": "integer"
},
"min_y": {
"title": "Minimum Y",
"description": "The minimum height in which blocks can exist within this dimension.",
"type": "integer",
"minimum": -2032,
"maximum": 2031,
"multipleOf": 16
},
"height": {
"title": "Height",
"description": "The total height in which blocks can exist within this dimension.",
"type": "integer",
"minimum": 0,
"maximum": 4096,
"multipleOf": 16
},
"infiniburn": {
"title": "Infiniburn",
"description": "A resource location defining what block tag to use for infiniburn.",
"type": "string"
},
"effects": {
"title": "Effects",
"description": "Determines the dimension effect used for this dimension.",
"type": "string",
"enum": [
"minecraft:overworld",
"minecraft:the_nether",
"minecraft:the_end"
],
"default": "minecraft:overworld"
}
}
}
},
"description": "Configuration file defining a dimension for a data pack for Minecraft.",
"properties": {
"type": {
"title": "Type",
"description": "The namespaced ID of the dimension type.",
"anyOf": [
{
"type": "string",
"enum": [
"minecraft:overworld",
"minecraft:overworld_caves",
"minecraft:the_nether",
"minecraft:the_end"
]
},
{
"$ref": "#/definitions/dimensionType"
}
]
},
"generator": {
"title": "generator",
"description": "Generation settings used for that dimension.",
"type": "object",
"properties": {
"type": {
"title": "Type",
"description": "The ID of the generator.",
"type": "string",
"enum": ["minecraft:flat", "minecraft:noise", "minecraft:debug"]
}
},
"allOf": [
{
"if": {
"properties": {
"type": {
"const": "minecraft:flat"
}
}
},
"then": {
"properties": {
"settings": {
"title": "superflat options",
"description": "Superflat settings.",
"type": "object",
"properties": {
"layers": {
"title": "Layers",
"description": "Layer settings.",
"type": "array",
"items": {
"title": "layer options",
"description": "A superflat layer. The first entry is the bottom layer, the last entry is the top layer.",
"type": "object",
"properties": {
"height": {
"title": "Height",
"description": "The number of blocks in the layer.",
"type": "integer"
},
"block": {
"title": "Block",
"description": "The block the layer is made of.",
"type": "string"
}
}
}
},
"biome": {
"title": "Biome",
"description": "The single biome of the world.",
"type": "string"
},
"lakes": {
"title": "Lakes",
"description": "Whether or not to generate lakes. If set to true, then water and lava lakes generate often even in biomes where lakes don't normally generate. Lava lakes generate surrounded by different types of stone and ores from the overworld.",
"type": "boolean"
},
"features": {
"title": "Features",
"description": "Whether or not to generate biome-specific decorations like trees, grass, flowers, cacti, etc.",
"type": "boolean"
},
"structures": {
"title": "structure options",
"description": "Structure settings.",
"type": "object",
"properties": {
"stronghold": {
"title": "stronghold options",
"description": "Settings for how strongholds should be spawned.",
"type": "object",
"properties": {
"distance": {
"title": "Distance",
"description": "Controls how far apart the strongholds are.",
"type": "integer"
},
"count": {
"title": "Count",
"description": "How many strongholds to generate.",
"type": "integer"
},
"spread": {
"title": "Spread",
"type": "integer"
}
}
},
"structures": {
"title": "structures",
"description": "Map of structures to use in this dimension.",
"type": "object",
"additionalProperties": {
"title": "structure",
"type": "object",
"properties": {
"spacing": {
"title": "Spacing",
"description": "Average distance between two structure placement attempts of this type in chunks.",
"type": "integer"
},
"seperation": {
"title": "Seperation",
"description": "Minimum distance between two structures of this type in chunks; must be less than spacing.",
"type": "integer"
},
"salt": {
"title": "Salt",
"description": "A number that assists in randomization.",
"type": "integer"
}
}
}
}
}
}
}
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "minecraft:noise"
}
}
},
"then": {
"properties": {
"seed": {
"title": "Seed",
"description": "The seed used to generate the dimension. In most cases, this is exactly the same as the world seed, but can be different and the dimension generated is based upon this seed and not the world seed.",
"type": "integer"
},
"settings": {
"title": "Settings",
"description": "The noise settings used in the terrain generator. Can be set to a string to use a preset defined in the worldgen/noise_settings folder with a list of customized options.",
"type": ["string", "object"]
},
"biome_source": {
"title": "biome source",
"description": "Settings dictating which biomes and biome shapes.",
"type": "object",
"properties": {
"seed": {
"title": "Seed",
"description": "The seed used for biome generation.",
"type": "integer"
},
"biomes": {
"title": "Biomes",
"description": "A list of biome IDs to generate.",
"type": "array"
},
"type": {
"title": "Type",
"description": "The type of biome generation.",
"type": "string",
"allOf": [
{
"if": {
"properties": {
"type": {
"const": "minecraft:vanilla_layered"
}
}
},
"then": {
"description": "Default and large biome generation used in the overworld.",
"properties": {
"large_biomes": {
"title": "Large Biomes",
"description": "Whether the biomes are large.",
"type": "boolean"
},
"legacy_biome_init_layer": {
"title": "Legacy Biome Init Layer",
"description": "Whether the world was default_1_1.",
"type": "boolean"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "minecraft:fixed"
}
}
},
"then": {
"description": "A single biome.",
"properties": {
"biome": {
"title": "Biome",
"description": "The single biome to generate.",
"type": "string"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "minecraft:checkerboard"
}
}
},
"then": {
"description": "A biome generation in which biomes are square (or close to square) and repeat along the diagonals.",
"properties": {
"biomes": {
"title": "Biomes",
"description": "A list of biomes that repeat along the diagonals.",
"type": "array"
},
"scale": {
"title": "Scale",
"description": "Determines the size of the squares on an exponential scale.",
"type": "integer",
"minimum": 0,
"maximum": 62
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "minecraft:multi_noise"
}
}
},
"then": {
"description": "3D biome generation used in the nether.",
"properties": {
"altitude_noise": {
"title": "Altitude Noise",
"description": "How the altitude parameter is spread in the world.",
"$ref": "#/definitions/noise"
},
"weirdness_noise": {
"title": "Weirdness Noise",
"description": "Similar to altitude_noise for the weirdness parameter.",
"$ref": "#/definitions/noise"
},
"temperature_noise": {
"title": "Temperature Noise",
"description": "Similar to altitude_noise for the temperature parameter.",
"$ref": "#/definitions/noise"
},
"humidity_noise": {
"title": "Humidity Noise",
"description": "Similar to altitude_noise for the humidity parameter.",
"$ref": "#/definitions/noise"
}
},
"anyOf": [
{
"properties": {
"preset": {
"title": "Preset",
"description": "A preset of the set of biomes to be used.",
"type": "string",
"enum": ["minecraft:nether"]
}
}
},
{
"properties": {
"biomes": {
"title": "Biomes",
"description": "A list of biomes, including their likelihood.",
"type": "array",
"items": {
"title": "biome",
"type": "object",
"description": "A biome and its properties.",
"properties": {
"biome": {
"title": "Biome",
"description": "The biome.",
"type": "string"
},
"parameters": {
"title": "parameters",
"description": "Represent optimal conditions for where the biome should be placed. These values do not affect the generation of terrain within biomes; they affect where the game chooses to place biomes.",
"type": "object",
"properties": {
"altitude": {
"title": "Altitude",
"description": "Used to place similar biomes near each other.",
"type": "number",
"minimum": -2,
"maximum": 2
},
"weirdness": {
"title": "Weirdness",
"description": "Defines how weird the biome is going to appear next to other biomes.",
"type": "number",
"minimum": -2,
"maximum": 2
},
"offset": {
"title": "Offset",
"description": " Similar to the other parameters but offset is 0 everywhere, thus setting this parameter nearer to 0 gives the biome a greater edge over others, all else being equal.",
"type": "number",
"minimum": 0,
"maximum": 1
},
"temperature": {
"title": "Temperature",
"description": "Used to place similar biomes near each other. This is NOT the same as the temperature value listed on Biome, it does NOT affect rain/snow or the color of leaves and grass.",
"type": "number",
"minimum": -2,
"maximum": 2
},
"humidity": {
"title": "Humidity",
"description": "Used to place similar biomes near each other.",
"type": "number",
"minimum": -2,
"maximum": 2
}
}
}
}
}
}
}
}
]
}
},
{
"if": {
"properties": {
"type": {
"const": "minecraft:the_end"
}
}
},
"then": {
"description": "Biome generation used in the end with biome minecraft:the_end in the center and other end biomes around."
}
}
]
}
}
}
}
}
}
]
}
},
"title": "Minecraft Data Pack Dimension",
"type": "object"
}
| minecraft-dimension |
{
"properties": {
"clid": {
"type": "integer"
},
"clusterhealth": {
"enum": [
"UP",
"Configurations of the node are lagging behind the cluster by more than 256 commands",
"The config sync operation has exceeded the time limit of 60 seconds",
"The config sync operation (full sync) is in progress",
"The node is not in sync with the cluster configurations as sync is disabled on this node",
"The execution of a configuration command has failed on this node",
"UNKNOWN"
],
"readonly": true,
"type": "string"
},
"effectivestate": {
"enum": [
"UP",
"NOT UP",
"UNKNOWN",
"INIT"
],
"readonly": true,
"type": "string"
},
"health": {
"enum": [
"UNKNOWN",
"INIT",
"DOWN",
"UP",
"Some enabled and HAMON interfaces of the node are down",
"All interfaces of the node are down or disabled",
"SSL card(s) of the node have failed",
"Route Monitor(s) of the node have failed",
"Service state is being synchronized with the cluster",
"The backplane interface is either not set or it is down or is disabled",
"The CLAG member(s) of the node are down",
"Persistence sessions are being synchronized with the cluster",
"The Syn Cookie is being synchronized with the cluster",
"Unknown Health",
"AAA keys are being sychronized with the cluster",
"Cluster health is not up due to config sync is in progress"
],
"readonly": true,
"type": "string"
},
"ipaddress": {
"readonly": true,
"type": "string"
},
"isconfigurationcoordinator": {
"readonly": true,
"type": "boolean"
},
"islocalnode": {
"readonly": true,
"type": "boolean"
},
"masterstate": {
"enum": [
"INACTIVE",
"ACTIVE",
"UNKNOWN"
],
"readonly": true,
"type": "string"
},
"nodeid": {
"type": "integer"
},
"nodejumbonotsupported": {
"readonly": true,
"type": "boolean"
},
"nodelicensemismatch": {
"readonly": true,
"type": "boolean"
},
"nodersskeymismatch": {
"readonly": true,
"type": "boolean"
},
"state": {
"enum": [
"ACTIVE",
"SPARE",
"PASSIVE"
],
"readonly": true,
"type": "string"
}
},
"title": "clusterinstance_clusternode_binding",
"type": "object"
} | o30286 |
{
"$defs": {
"BlueprintActuationTool": {
"properties": {
"flavor": {
"type": "string"
},
"version": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"BlueprintArchitecture": {
"properties": {
"diagramUrl": {
"type": "string"
},
"description": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object",
"required": ["diagramUrl", "description"]
},
"BlueprintAuthor": {
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"url": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": ["title"]
},
"BlueprintCloudProduct": {
"properties": {
"productId": {
"type": "string"
},
"pageUrl": {
"type": "string"
},
"label": {
"type": "string"
},
"isExternal": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object",
"required": ["pageUrl"]
},
"BlueprintContent": {
"properties": {
"architecture": {
"$ref": "#/$defs/BlueprintArchitecture"
},
"diagrams": {
"items": {
"$ref": "#/$defs/BlueprintDiagram"
},
"type": "array"
},
"documentation": {
"items": {
"$ref": "#/$defs/BlueprintListContent"
},
"type": "array"
},
"subBlueprints": {
"items": {
"$ref": "#/$defs/BlueprintMiscContent"
},
"type": "array"
},
"examples": {
"items": {
"$ref": "#/$defs/BlueprintMiscContent"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"BlueprintCostEstimate": {
"properties": {
"description": {
"type": "string"
},
"url": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": ["description", "url"]
},
"BlueprintDescription": {
"properties": {
"tagline": {
"type": "string"
},
"detailed": {
"type": "string"
},
"preDeploy": {
"type": "string"
},
"html": {
"type": "string"
},
"eulaUrls": {
"items": {
"type": "string"
},
"type": "array"
},
"architecture": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"BlueprintDiagram": {
"properties": {
"name": {
"type": "string"
},
"altText": {
"type": "string"
},
"description": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": ["name"]
},
"BlueprintInfo": {
"properties": {
"title": {
"type": "string"
},
"source": {
"$ref": "#/$defs/BlueprintRepoDetail"
},
"version": {
"type": "string"
},
"actuationTool": {
"$ref": "#/$defs/BlueprintActuationTool"
},
"description": {
"$ref": "#/$defs/BlueprintDescription"
},
"icon": {
"type": "string"
},
"deploymentDuration": {
"$ref": "#/$defs/BlueprintTimeEstimate"
},
"costEstimate": {
"$ref": "#/$defs/BlueprintCostEstimate"
},
"cloudProducts": {
"items": {
"$ref": "#/$defs/BlueprintCloudProduct"
},
"type": "array"
},
"quotaDetails": {
"items": {
"$ref": "#/$defs/BlueprintQuotaDetail"
},
"type": "array"
},
"author": {
"$ref": "#/$defs/BlueprintAuthor"
},
"softwareGroups": {
"items": {
"$ref": "#/$defs/BlueprintSoftwareGroup"
},
"type": "array"
},
"supportInfo": {
"$ref": "#/$defs/BlueprintSupport"
},
"orgPolicyChecks": {
"items": {
"$ref": "#/$defs/BlueprintOrgPolicyCheck"
},
"type": "array"
},
"singleDeployment": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object",
"required": ["title"]
},
"BlueprintInterface": {
"properties": {
"variables": {
"items": {
"$ref": "#/$defs/BlueprintVariable"
},
"type": "array"
},
"variableGroups": {
"items": {
"$ref": "#/$defs/BlueprintVariableGroup"
},
"type": "array"
},
"outputs": {
"items": {
"$ref": "#/$defs/BlueprintOutput"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"BlueprintListContent": {
"properties": {
"title": {
"type": "string"
},
"url": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": ["title"]
},
"BlueprintMetadata": {
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ResourceTypeMeta"
},
"spec": {
"$ref": "#/$defs/BlueprintMetadataSpec"
}
},
"additionalProperties": false,
"type": "object",
"required": ["spec"]
},
"BlueprintMetadataSpec": {
"properties": {
"info": {
"$ref": "#/$defs/BlueprintInfo"
},
"content": {
"$ref": "#/$defs/BlueprintContent"
},
"interfaces": {
"$ref": "#/$defs/BlueprintInterface"
},
"requirements": {
"$ref": "#/$defs/BlueprintRequirements"
},
"ui": {
"$ref": "#/$defs/BlueprintUI"
}
},
"additionalProperties": false,
"type": "object"
},
"BlueprintMiscContent": {
"properties": {
"name": {
"type": "string"
},
"location": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": ["name"]
},
"BlueprintOrgPolicyCheck": {
"properties": {
"policyId": {
"type": "string"
},
"requiredValues": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object",
"required": ["policyId"]
},
"BlueprintOutput": {
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": ["name"]
},
"BlueprintQuotaDetail": {
"properties": {
"dynamicVariable": {
"type": "string"
},
"resourceType": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"quotaType": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"additionalProperties": false,
"type": "object",
"required": ["resourceType", "quotaType"]
},
"BlueprintRepoDetail": {
"properties": {
"repo": {
"type": "string"
},
"sourceType": {
"type": "string"
},
"dir": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": ["repo", "sourceType"]
},
"BlueprintRequirements": {
"properties": {
"roles": {
"items": {
"$ref": "#/$defs/BlueprintRoles"
},
"type": "array"
},
"services": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"BlueprintRoles": {
"properties": {
"level": {
"type": "string"
},
"roles": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object",
"required": ["level", "roles"]
},
"BlueprintSoftware": {
"properties": {
"title": {
"type": "string"
},
"version": {
"type": "string"
},
"url": {
"type": "string"
},
"licenseUrl": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": ["title"]
},
"BlueprintSoftwareGroup": {
"properties": {
"type": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"software": {
"items": {
"$ref": "#/$defs/BlueprintSoftware"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"BlueprintSupport": {
"properties": {
"description": {
"type": "string"
},
"url": {
"type": "string"
},
"entity": {
"type": "string"
},
"showSupportId": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object",
"required": ["description"]
},
"BlueprintTimeEstimate": {
"properties": {
"configurationSecs": {
"type": "integer"
},
"deploymentSecs": {
"type": "integer"
}
},
"additionalProperties": false,
"type": "object"
},
"BlueprintUI": {
"properties": {
"input": {
"$ref": "#/$defs/BlueprintUIInput"
},
"runtime": {
"$ref": "#/$defs/BlueprintUIOutput"
}
},
"additionalProperties": false,
"type": "object"
},
"BlueprintUIInput": {
"properties": {
"variables": {
"patternProperties": {
".*": {
"$ref": "#/$defs/DisplayVariable"
}
},
"type": "object"
},
"sections": {
"items": {
"$ref": "#/$defs/DisplaySection"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"BlueprintUIOutput": {
"properties": {
"outputMessage": {
"type": "string"
},
"suggestedActions": {
"items": {
"$ref": "#/$defs/UIActionItem"
},
"type": "array"
},
"outputs": {
"patternProperties": {
".*": {
"$ref": "#/$defs/DisplayOutput"
}
},
"type": "object"
}
},
"additionalProperties": false,
"type": "object"
},
"BlueprintVariable": {
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"varType": {
"type": "string"
},
"defaultValue": true,
"required": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object"
},
"BlueprintVariableGroup": {
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"variables": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object",
"required": ["name"]
},
"DisplayOutput": {
"properties": {
"openInNewTab": {
"type": "boolean"
},
"showInNotification": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object"
},
"DisplaySection": {
"properties": {
"name": {
"type": "string"
},
"title": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"subtext": {
"type": "string"
},
"parent": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": ["name"]
},
"DisplayVariable": {
"properties": {
"name": {
"type": "string"
},
"title": {
"type": "string"
},
"invisible": {
"type": "boolean"
},
"tooltip": {
"type": "string"
},
"placeholder": {
"type": "string"
},
"regexValidation": {
"type": "string"
},
"minItems": {
"type": "integer"
},
"maxItems": {
"type": "integer"
},
"minLength": {
"type": "integer"
},
"maxLength": {
"type": "integer"
},
"min": {
"type": "number"
},
"max": {
"type": "number"
},
"section": {
"type": "string"
},
"xGoogleProperty": {
"$ref": "#/$defs/GooglePropertyExtension"
},
"validation": {
"type": "string"
},
"subtext": {
"type": "string"
},
"enumValueLabels": {
"items": {
"$ref": "#/$defs/ValueLabel"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object",
"required": ["name", "title"]
},
"GCEDiskSizeExtension": {
"properties": {
"diskTypeVariable": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": ["diskTypeVariable"]
},
"GCEExternalIPExtension": {
"properties": {
"networkVariable": {
"type": "string"
},
"type": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"notConfigurable": {
"type": "boolean"
},
"allowStaticIPs": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object",
"required": ["networkVariable"]
},
"GCEFirewallExtension": {
"properties": {
"networkVariable": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": ["networkVariable"]
},
"GCEFirewallRangeExtension": {
"properties": {
"firewallVariable": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": ["firewallVariable"]
},
"GCEGPUCountExtension": {
"properties": {
"machineTypeVariable": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": ["machineTypeVariable"]
},
"GCEGPUTypeExtension": {
"properties": {
"machineType": {
"type": "string"
},
"gpuType": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object",
"required": ["machineType"]
},
"GCEGenericResourceExtension": {
"properties": {
"resourceVariable": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": ["resourceVariable"]
},
"GCEIPForwardingExtension": {
"properties": {
"networkVariable": {
"type": "string"
},
"notConfigurable": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object",
"required": ["networkVariable"]
},
"GCELocationExtension": {
"properties": {
"allowlistedZones": {
"items": {
"type": "string"
},
"type": "array"
},
"allowlistedRegions": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"GCEMachineTypeExtension": {
"properties": {
"minCpu": {
"type": "integer"
},
"minRamGb": {
"type": "number"
},
"disallowCustomMachineTypes": {
"type": "boolean"
},
"diskImageProperty": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"GCENetworkExtension": {
"properties": {
"allowSharedVpcs": {
"type": "boolean"
},
"machineTypeVariable": {
"type": "string"
},
"labels": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object",
"required": ["machineTypeVariable"]
},
"GCESubnetworkExtension": {
"properties": {
"networkVariable": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": ["networkVariable"]
},
"GooglePropertyExtension": {
"properties": {
"type": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"zoneProperty": {
"type": "string"
},
"gceMachineType": {
"$ref": "#/$defs/GCEMachineTypeExtension"
},
"gceDiskSize": {
"$ref": "#/$defs/GCEDiskSizeExtension"
},
"gceSubnetwork": {
"$ref": "#/$defs/GCESubnetworkExtension"
},
"gceResource": {
"$ref": "#/$defs/GCEGenericResourceExtension"
},
"gceGpuType": {
"$ref": "#/$defs/GCEGPUTypeExtension"
},
"gceGpuCount": {
"$ref": "#/$defs/GCEGPUCountExtension"
},
"gceNetwork": {
"$ref": "#/$defs/GCENetworkExtension"
},
"gceExternalIp": {
"$ref": "#/$defs/GCEExternalIPExtension"
},
"gceIpForwarding": {
"$ref": "#/$defs/GCEIPForwardingExtension"
},
"gceFirewall": {
"$ref": "#/$defs/GCEFirewallExtension"
},
"gceFirewallRange": {
"$ref": "#/$defs/GCEFirewallRangeExtension"
},
"gceZone": {
"$ref": "#/$defs/GCELocationExtension"
},
"gceRegion": {
"$ref": "#/$defs/GCELocationExtension"
},
"iamServiceAccount": {
"$ref": "#/$defs/IAMServiceAccountExtension"
}
},
"additionalProperties": false,
"type": "object",
"required": ["type"]
},
"IAMServiceAccountExtension": {
"properties": {
"roles": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object",
"required": ["roles"]
},
"ResourceTypeMeta": {
"properties": {
"name": {
"type": "string"
},
"labels": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"annotations": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
}
},
"additionalProperties": false,
"type": "object"
},
"UIActionItem": {
"properties": {
"heading": {
"type": "string"
},
"description": {
"type": "string"
},
"snippet": {
"type": "string"
},
"showIf": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": ["heading"]
},
"Value": {
"properties": {
"Kind": true
},
"additionalProperties": false,
"type": "object",
"required": ["Kind"]
},
"ValueLabel": {
"properties": {
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
}
},
"$id": "https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/cli/bpmetadata/blueprint-metadata",
"$ref": "#/$defs/BlueprintMetadata",
"$schema": "http://json-schema.org/draft-07/schema#"
}
| gcp-blueprint-metadata |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://footown.com/generic/credentials+v1#",
"description": "a generic user credentials schema",
"type": "object",
"required": [
"username",
"password"
],
"properties": {
"credentials": {
"type": "object",
"username": {
"description": "The persons unique id in the system",
"$ref": "#/definitions/login"
},
"password": {
"description": "The persons unique id in the system",
"$ref": "#/definitions/login"
},
"api": {
"type": "object",
"properties": {
"key": {
"oneOf": [
{
"$ref": "#/definitions/nested"
},
{
"type": "null"
}
]
}
}
}
}
},
"definitions": {
"login": {
"type": "string",
"minLength": 1
},
"nested": {
"allOf": [
{
"$ref": "#/definitions/login"
}
]
}
}
} | o48873 |
{
"$defs": {
"AliasPredicateEnum": {
"description": "permissible values for the relationship between an element and an alias",
"enum": [
"EXACT_SYNONYM",
"RELATED_SYNONYM",
"BROAD_SYNONYM",
"NARROW_SYNONYM"
],
"title": "AliasPredicateEnum",
"type": "string"
},
"AltDescription": {
"additionalProperties": false,
"description": "an attributed description",
"properties": {
"description": {
"description": "text of an attributed description",
"type": "string"
},
"source": {
"description": "the source of an attributed description",
"type": "string"
}
},
"required": [
"source",
"description"
],
"title": "AltDescription",
"type": "object"
},
"AltDescription__identifier_optional": {
"additionalProperties": false,
"description": "an attributed description",
"properties": {
"description": {
"description": "text of an attributed description",
"type": "string"
},
"source": {
"description": "the source of an attributed description",
"type": "string"
}
},
"required": [
"description"
],
"title": "AltDescription",
"type": "object"
},
"Annotation": {
"additionalProperties": false,
"description": "a tag/value pair with the semantics of OWL Annotation",
"properties": {
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"tag": {
"description": "a tag associated with an extension",
"type": "string"
},
"value": {
"description": "the actual annotation",
"type": "string"
}
},
"required": [
"tag",
"value"
],
"title": "Annotation",
"type": "object"
},
"Annotation__identifier_optional": {
"additionalProperties": false,
"description": "a tag/value pair with the semantics of OWL Annotation",
"properties": {
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"tag": {
"description": "a tag associated with an extension",
"type": "string"
},
"value": {
"description": "the actual annotation",
"type": "string"
}
},
"required": [
"value"
],
"title": "Annotation",
"type": "object"
},
"AnonymousClassExpression": {
"additionalProperties": false,
"description": "",
"properties": {
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"all_of": {
"description": "holds if all of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousClassExpression"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"any_of": {
"description": "holds if at least one of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousClassExpression"
},
"type": "array"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"exactly_one_of": {
"description": "holds if only one of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousClassExpression"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"is_a": {
"description": "A primary parent class or slot from which inheritable metaslots are propagated from. While multiple inheritance is not allowed, mixins can be provided effectively providing the same thing. The semantics are the same when translated to formalisms that allow MI (e.g. RDFS/OWL). When translating to a SI framework (e.g. java classes, python classes) then is a is used. When translating a framework without polymorphism (e.g. json-schema, solr document schema) then is a and mixins are recursively unfolded",
"type": "string"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"none_of": {
"description": "holds if none of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousClassExpression"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"slot_conditions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/SlotDefinition__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "expresses constraints on a group of slots for a class expression",
"type": "object"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "AnonymousClassExpression",
"type": "object"
},
"AnonymousEnumExpression": {
"additionalProperties": false,
"description": "An enum_expression that is not named",
"properties": {
"code_set": {
"description": "the identifier of an enumeration code set.",
"type": "string"
},
"code_set_tag": {
"description": "the version tag of the enumeration code set",
"type": "string"
},
"code_set_version": {
"description": "the version identifier of the enumeration code set",
"type": "string"
},
"concepts": {
"description": "A list of identifiers that are used to construct a set of permissible values",
"items": {
"type": "string"
},
"type": "array"
},
"include": {
"description": "An enum expression that yields a list of permissible values that are to be included, after subtracting the minus set",
"items": {
"$ref": "#/$defs/AnonymousEnumExpression"
},
"type": "array"
},
"inherits": {
"description": "An enum definition that is used as the basis to create a new enum",
"items": {
"type": "string"
},
"type": "array"
},
"matches": {
"$ref": "#/$defs/MatchQuery",
"description": "Specifies a match query that is used to calculate the list of permissible values"
},
"minus": {
"description": "An enum expression that yields a list of permissible values that are to be subtracted from the enum",
"items": {
"$ref": "#/$defs/AnonymousEnumExpression"
},
"type": "array"
},
"permissible_values": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/PermissibleValue__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "A list of possible values for a slot range",
"type": "object"
},
"pv_formula": {
"$ref": "#/$defs/PvFormulaOptions",
"description": "Defines the specific formula to be used to generate the permissible values."
},
"reachable_from": {
"$ref": "#/$defs/ReachabilityQuery",
"description": "Specifies a query for obtaining a list of permissible values based on graph reachability"
}
},
"title": "AnonymousEnumExpression",
"type": "object"
},
"AnonymousSlotExpression": {
"additionalProperties": false,
"description": "",
"properties": {
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"all_members": {
"$ref": "#/$defs/AnonymousSlotExpression",
"description": "the value of the slot is multivalued with all members satisfying the condition"
},
"all_of": {
"description": "holds if all of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousSlotExpression"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"any_of": {
"description": "holds if at least one of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousSlotExpression"
},
"type": "array"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"enum_range": {
"$ref": "#/$defs/EnumExpression",
"description": "An inlined enumeration"
},
"equals_expression": {
"description": "the value of the slot must equal the value of the evaluated expression",
"type": "string"
},
"equals_number": {
"description": "the slot must have range of a number and the value of the slot must equal the specified value",
"type": "integer"
},
"equals_string": {
"description": "the slot must have range string and the value of the slot must equal the specified value",
"type": "string"
},
"equals_string_in": {
"description": "the slot must have range string and the value of the slot must equal one of the specified values",
"items": {
"type": "string"
},
"type": "array"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"exactly_one_of": {
"description": "holds if only one of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousSlotExpression"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"has_member": {
"$ref": "#/$defs/AnonymousSlotExpression",
"description": "the value of the slot is multivalued with at least one member satisfying the condition"
},
"implicit_prefix": {
"description": "Causes the slot value to be interpreted as a uriorcurie after prefixing with this string",
"type": "string"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"inlined": {
"description": "True means that keyed or identified slot appears in an outer structure by value. False means that only the key or identifier for the slot appears within the domain, referencing a structure that appears elsewhere.",
"type": "boolean"
},
"inlined_as_list": {
"description": "True means that an inlined slot is represented as a list of range instances. False means that an inlined slot is represented as a dictionary, whose key is the slot key or identifier and whose value is the range instance.",
"type": "boolean"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"maximum_cardinality": {
"description": "the maximum number of entries for a multivalued slot",
"type": "integer"
},
"maximum_value": {
"description": "for slots with ranges of type number, the value must be equal to or lowe than this",
"type": "integer"
},
"minimum_cardinality": {
"description": "the minimum number of entries for a multivalued slot",
"type": "integer"
},
"minimum_value": {
"description": "for slots with ranges of type number, the value must be equal to or higher than this",
"type": "integer"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"none_of": {
"description": "holds if none of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousSlotExpression"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"pattern": {
"description": "the string value of the slot must conform to this regular expression expressed in the string",
"type": "string"
},
"range": {
"description": "defines the type of the object of the slot. Given the following slot definition\n S1:\n domain: C1\n range: C2\nthe declaration\n X:\n S1: Y\n\nimplicitly asserts Y is an instance of C2\n",
"type": "string"
},
"range_expression": {
"$ref": "#/$defs/AnonymousClassExpression",
"description": "A range that is described as a boolean expression combining existing ranges"
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"recommended": {
"description": "true means that the slot should be present in instances of the class definition, but this is not required",
"type": "boolean"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"required": {
"description": "true means that the slot must be present in instances of the class definition",
"type": "boolean"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"structured_pattern": {
"$ref": "#/$defs/PatternExpression",
"description": "the string value of the slot must conform to the regular expression in the pattern expression"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
},
"unit": {
"$ref": "#/$defs/UnitOfMeasure",
"description": "an encoding of a unit"
},
"value_presence": {
"$ref": "#/$defs/PresenceEnum",
"description": "if true then a value must be present (for lists there must be at least one value). If false then a value must be absent (for lists, must be empty)"
}
},
"title": "AnonymousSlotExpression",
"type": "object"
},
"AnonymousTypeExpression": {
"additionalProperties": false,
"description": "A type expression that is not a top-level named type definition. Used for nesting.",
"properties": {
"all_of": {
"description": "holds if all of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousTypeExpression"
},
"type": "array"
},
"any_of": {
"description": "holds if at least one of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousTypeExpression"
},
"type": "array"
},
"equals_number": {
"description": "the slot must have range of a number and the value of the slot must equal the specified value",
"type": "integer"
},
"equals_string": {
"description": "the slot must have range string and the value of the slot must equal the specified value",
"type": "string"
},
"equals_string_in": {
"description": "the slot must have range string and the value of the slot must equal one of the specified values",
"items": {
"type": "string"
},
"type": "array"
},
"exactly_one_of": {
"description": "holds if only one of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousTypeExpression"
},
"type": "array"
},
"implicit_prefix": {
"description": "Causes the slot value to be interpreted as a uriorcurie after prefixing with this string",
"type": "string"
},
"maximum_value": {
"description": "for slots with ranges of type number, the value must be equal to or lowe than this",
"type": "integer"
},
"minimum_value": {
"description": "for slots with ranges of type number, the value must be equal to or higher than this",
"type": "integer"
},
"none_of": {
"description": "holds if none of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousTypeExpression"
},
"type": "array"
},
"pattern": {
"description": "the string value of the slot must conform to this regular expression expressed in the string",
"type": "string"
},
"structured_pattern": {
"$ref": "#/$defs/PatternExpression",
"description": "the string value of the slot must conform to the regular expression in the pattern expression"
},
"unit": {
"$ref": "#/$defs/UnitOfMeasure",
"description": "an encoding of a unit"
}
},
"title": "AnonymousTypeExpression",
"type": "object"
},
"Anything": {
"additionalProperties": true,
"description": "",
"title": "Anything",
"type": "object"
},
"ClassDefinition": {
"additionalProperties": false,
"description": "an element whose instances are complex objects that may have slot-value assignments",
"properties": {
"abstract": {
"description": "Indicates the class or slot cannot be directly instantiated and is intended for grouping purposes.",
"type": "boolean"
},
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"all_of": {
"description": "holds if all of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousClassExpression"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"any_of": {
"description": "holds if at least one of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousClassExpression"
},
"type": "array"
},
"apply_to": {
"description": "Used to extend class or slot definitions. For example, if we have a core schema where a gene has two slots for identifier and symbol, and we have a specialized schema for my_organism where we wish to add a slot systematic_name, we can avoid subclassing by defining a class gene_my_organism, adding the slot to this class, and then adding an apply_to pointing to the gene class. The new slot will be 'injected into' the gene class.",
"items": {
"type": "string"
},
"type": "array"
},
"attributes": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/SlotDefinition__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "Inline definition of slots",
"type": "object"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"children_are_mutually_disjoint": {
"description": "If true then all direct is_a children are mutually disjoint and share no instances in common",
"type": "boolean"
},
"class_uri": {
"description": "URI of the class that provides a semantic interpretation of the element in a linked data context. The URI may come from any namespace and may be shared between schemas",
"type": "string"
},
"classification_rules": {
"description": "The collection of classification rules that apply to all members of this class. Classification rules allow for automatically assigning the instantiated type of an instance.",
"items": {
"$ref": "#/$defs/AnonymousClassExpression"
},
"type": "array"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"conforms_to": {
"description": "An established standard to which the element conforms.",
"type": "string"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"defining_slots": {
"description": "The combination of is a plus defining slots form a genus-differentia definition, or the set of necessary and sufficient conditions that can be transformed into an OWL equivalence axiom",
"items": {
"type": "string"
},
"type": "array"
},
"definition_uri": {
"description": "The native URI of the element. This is always within the namespace of the containing schema. Contrast with the assigned URI, via class_uri or slot_uri",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"disjoint_with": {
"description": "Two classes are disjoint if they have no instances in common, two slots are disjoint if they can never hold between the same two instances",
"items": {
"type": "string"
},
"type": "array"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"exactly_one_of": {
"description": "holds if only one of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousClassExpression"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"id_prefixes": {
"description": "An allowed list of prefixes for which identifiers must conform. The identifier of this class or slot must begin with the URIs referenced by this prefix",
"items": {
"type": "string"
},
"type": "array"
},
"implements": {
"description": "An element in another schema which this element conforms to. The referenced element is not imported into the schema for the implementing element. However, the referenced schema may be used to check conformance of the implementing element.",
"items": {
"type": "string"
},
"type": "array"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"instantiates": {
"description": "An element in another schema which this element instantiates.",
"items": {
"type": "string"
},
"type": "array"
},
"is_a": {
"description": "A primary parent class from which inheritable metaslots are propagated",
"type": "string"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"local_names": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/LocalName__identifier_optional"
},
{
"description": "a name assigned to an element in a given ontology",
"type": "string"
}
]
},
"type": "object"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"mixin": {
"description": "Indicates the class or slot is intended to be inherited from without being an is_a parent. mixins should not be inherited from using is_a, except by other mixins.",
"type": "boolean"
},
"mixins": {
"description": "A collection of secondary parent mixin classes from which inheritable metaslots are propagated",
"items": {
"type": "string"
},
"type": "array"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"name": {
"description": "the unique name of the element within the context of the schema. Name is combined with the default prefix to form the globally unique subject of the target class.",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"none_of": {
"description": "holds if none of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousClassExpression"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"represents_relationship": {
"description": "true if this class represents a relationship rather than an entity",
"type": "boolean"
},
"rules": {
"description": "the collection of rules that apply to all members of this class",
"items": {
"$ref": "#/$defs/ClassRule"
},
"type": "array"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"slot_conditions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/SlotDefinition__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "expresses constraints on a group of slots for a class expression",
"type": "object"
},
"slot_names_unique": {
"description": "if true then induced/mangled slot names are not created for class_usage and attributes",
"type": "boolean"
},
"slot_usage": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/SlotDefinition__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "the refinement of a slot in the context of the containing class definition.",
"type": "object"
},
"slots": {
"description": "collection of slot names that are applicable to a class",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"string_serialization": {
"description": "Used on a slot that stores the string serialization of the containing object. The syntax follows python formatted strings, with slot names enclosed in {}s. These are expanded using the values of those slots.\nWe call the slot with the serialization the s-slot, the slots used in the {}s are v-slots. If both s-slots and v-slots are populated on an object then the value of the s-slot should correspond to the expansion.\nImplementations of frameworks may choose to use this property to either (a) PARSE: implement automated normalizations by parsing denormalized strings into complex objects (b) GENERARE: implement automated to_string labeling of complex objects\nFor example, a Measurement class may have 3 fields: unit, value, and string_value. The string_value slot may have a string_serialization of {value}{unit} such that if unit=cm and value=2, the value of string_value shouldd be 2cm",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"subclass_of": {
"description": "DEPRECATED -- rdfs:subClassOf to be emitted in OWL generation",
"type": "string"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
},
"tree_root": {
"description": "Indicates that this is the Container class which forms the root of the serialized document structure in tree serializations",
"type": "boolean"
},
"union_of": {
"description": "indicates that the domain element consists exactly of the members of the element in the range.",
"items": {
"type": "string"
},
"type": "array"
},
"unique_keys": {
"additionalProperties": {
"$ref": "#/$defs/UniqueKey__identifier_optional"
},
"description": "A collection of named unique keys for this class. Unique keys may be singular or compound.",
"type": "object"
},
"values_from": {
"description": "The identifier of a \"value set\" -- a set of identifiers that form the possible values for the range of a slot. Note: this is different than 'subproperty_of' in that 'subproperty_of' is intended to be a single ontology term while 'values_from' is the identifier of an entire value set. Additionally, this is different than an enumeration in that in an enumeration, the values of the enumeration are listed directly in the model itself. Setting this property on a slot does not guarantee an expansion of the ontological hierarchy into an enumerated list of possible values in every serialization of the model.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "ClassDefinition",
"type": "object"
},
"ClassDefinition__identifier_optional": {
"additionalProperties": false,
"description": "an element whose instances are complex objects that may have slot-value assignments",
"properties": {
"abstract": {
"description": "Indicates the class or slot cannot be directly instantiated and is intended for grouping purposes.",
"type": "boolean"
},
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"all_of": {
"description": "holds if all of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousClassExpression"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"any_of": {
"description": "holds if at least one of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousClassExpression"
},
"type": "array"
},
"apply_to": {
"description": "Used to extend class or slot definitions. For example, if we have a core schema where a gene has two slots for identifier and symbol, and we have a specialized schema for my_organism where we wish to add a slot systematic_name, we can avoid subclassing by defining a class gene_my_organism, adding the slot to this class, and then adding an apply_to pointing to the gene class. The new slot will be 'injected into' the gene class.",
"items": {
"type": "string"
},
"type": "array"
},
"attributes": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/SlotDefinition__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "Inline definition of slots",
"type": "object"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"children_are_mutually_disjoint": {
"description": "If true then all direct is_a children are mutually disjoint and share no instances in common",
"type": "boolean"
},
"class_uri": {
"description": "URI of the class that provides a semantic interpretation of the element in a linked data context. The URI may come from any namespace and may be shared between schemas",
"type": "string"
},
"classification_rules": {
"description": "The collection of classification rules that apply to all members of this class. Classification rules allow for automatically assigning the instantiated type of an instance.",
"items": {
"$ref": "#/$defs/AnonymousClassExpression"
},
"type": "array"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"conforms_to": {
"description": "An established standard to which the element conforms.",
"type": "string"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"defining_slots": {
"description": "The combination of is a plus defining slots form a genus-differentia definition, or the set of necessary and sufficient conditions that can be transformed into an OWL equivalence axiom",
"items": {
"type": "string"
},
"type": "array"
},
"definition_uri": {
"description": "The native URI of the element. This is always within the namespace of the containing schema. Contrast with the assigned URI, via class_uri or slot_uri",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"disjoint_with": {
"description": "Two classes are disjoint if they have no instances in common, two slots are disjoint if they can never hold between the same two instances",
"items": {
"type": "string"
},
"type": "array"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"exactly_one_of": {
"description": "holds if only one of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousClassExpression"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"id_prefixes": {
"description": "An allowed list of prefixes for which identifiers must conform. The identifier of this class or slot must begin with the URIs referenced by this prefix",
"items": {
"type": "string"
},
"type": "array"
},
"implements": {
"description": "An element in another schema which this element conforms to. The referenced element is not imported into the schema for the implementing element. However, the referenced schema may be used to check conformance of the implementing element.",
"items": {
"type": "string"
},
"type": "array"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"instantiates": {
"description": "An element in another schema which this element instantiates.",
"items": {
"type": "string"
},
"type": "array"
},
"is_a": {
"description": "A primary parent class from which inheritable metaslots are propagated",
"type": "string"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"local_names": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/LocalName__identifier_optional"
},
{
"description": "a name assigned to an element in a given ontology",
"type": "string"
}
]
},
"type": "object"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"mixin": {
"description": "Indicates the class or slot is intended to be inherited from without being an is_a parent. mixins should not be inherited from using is_a, except by other mixins.",
"type": "boolean"
},
"mixins": {
"description": "A collection of secondary parent mixin classes from which inheritable metaslots are propagated",
"items": {
"type": "string"
},
"type": "array"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"name": {
"description": "the unique name of the element within the context of the schema. Name is combined with the default prefix to form the globally unique subject of the target class.",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"none_of": {
"description": "holds if none of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousClassExpression"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"represents_relationship": {
"description": "true if this class represents a relationship rather than an entity",
"type": "boolean"
},
"rules": {
"description": "the collection of rules that apply to all members of this class",
"items": {
"$ref": "#/$defs/ClassRule"
},
"type": "array"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"slot_conditions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/SlotDefinition__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "expresses constraints on a group of slots for a class expression",
"type": "object"
},
"slot_names_unique": {
"description": "if true then induced/mangled slot names are not created for class_usage and attributes",
"type": "boolean"
},
"slot_usage": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/SlotDefinition__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "the refinement of a slot in the context of the containing class definition.",
"type": "object"
},
"slots": {
"description": "collection of slot names that are applicable to a class",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"string_serialization": {
"description": "Used on a slot that stores the string serialization of the containing object. The syntax follows python formatted strings, with slot names enclosed in {}s. These are expanded using the values of those slots.\nWe call the slot with the serialization the s-slot, the slots used in the {}s are v-slots. If both s-slots and v-slots are populated on an object then the value of the s-slot should correspond to the expansion.\nImplementations of frameworks may choose to use this property to either (a) PARSE: implement automated normalizations by parsing denormalized strings into complex objects (b) GENERARE: implement automated to_string labeling of complex objects\nFor example, a Measurement class may have 3 fields: unit, value, and string_value. The string_value slot may have a string_serialization of {value}{unit} such that if unit=cm and value=2, the value of string_value shouldd be 2cm",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"subclass_of": {
"description": "DEPRECATED -- rdfs:subClassOf to be emitted in OWL generation",
"type": "string"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
},
"tree_root": {
"description": "Indicates that this is the Container class which forms the root of the serialized document structure in tree serializations",
"type": "boolean"
},
"union_of": {
"description": "indicates that the domain element consists exactly of the members of the element in the range.",
"items": {
"type": "string"
},
"type": "array"
},
"unique_keys": {
"additionalProperties": {
"$ref": "#/$defs/UniqueKey__identifier_optional"
},
"description": "A collection of named unique keys for this class. Unique keys may be singular or compound.",
"type": "object"
},
"values_from": {
"description": "The identifier of a \"value set\" -- a set of identifiers that form the possible values for the range of a slot. Note: this is different than 'subproperty_of' in that 'subproperty_of' is intended to be a single ontology term while 'values_from' is the identifier of an entire value set. Additionally, this is different than an enumeration in that in an enumeration, the values of the enumeration are listed directly in the model itself. Setting this property on a slot does not guarantee an expansion of the ontological hierarchy into an enumerated list of possible values in every serialization of the model.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [],
"title": "ClassDefinition",
"type": "object"
},
"ClassRule": {
"additionalProperties": false,
"description": "A rule that applies to instances of a class",
"properties": {
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"bidirectional": {
"description": "in addition to preconditions entailing postconditions, the postconditions entail the preconditions",
"type": "boolean"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"deactivated": {
"description": "a deactivated rule is not executed by the rules engine",
"type": "boolean"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"elseconditions": {
"$ref": "#/$defs/AnonymousClassExpression",
"description": "an expression that must hold for an instance of the class, if the preconditions no not hold"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"open_world": {
"description": "if true, the the postconditions may be omitted in instance data, but it is valid for an inference engine to add these",
"type": "boolean"
},
"postconditions": {
"$ref": "#/$defs/AnonymousClassExpression",
"description": "an expression that must hold for an instance of the class, if the preconditions hold"
},
"preconditions": {
"$ref": "#/$defs/AnonymousClassExpression",
"description": "an expression that must hold in order for the rule to be applicable to an instance"
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "ClassRule",
"type": "object"
},
"EnumDefinition": {
"additionalProperties": false,
"description": "an element whose instances must be drawn from a specified set of permissible values",
"properties": {
"abstract": {
"description": "Indicates the class or slot cannot be directly instantiated and is intended for grouping purposes.",
"type": "boolean"
},
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"apply_to": {
"description": "Used to extend class or slot definitions. For example, if we have a core schema where a gene has two slots for identifier and symbol, and we have a specialized schema for my_organism where we wish to add a slot systematic_name, we can avoid subclassing by defining a class gene_my_organism, adding the slot to this class, and then adding an apply_to pointing to the gene class. The new slot will be 'injected into' the gene class.",
"items": {
"type": "string"
},
"type": "array"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"code_set": {
"description": "the identifier of an enumeration code set.",
"type": "string"
},
"code_set_tag": {
"description": "the version tag of the enumeration code set",
"type": "string"
},
"code_set_version": {
"description": "the version identifier of the enumeration code set",
"type": "string"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"concepts": {
"description": "A list of identifiers that are used to construct a set of permissible values",
"items": {
"type": "string"
},
"type": "array"
},
"conforms_to": {
"description": "An established standard to which the element conforms.",
"type": "string"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"definition_uri": {
"description": "The native URI of the element. This is always within the namespace of the containing schema. Contrast with the assigned URI, via class_uri or slot_uri",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"enum_uri": {
"description": "URI of the enum that provides a semantic interpretation of the element in a linked data context. The URI may come from any namespace and may be shared between schemas",
"type": "string"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"id_prefixes": {
"description": "An allowed list of prefixes for which identifiers must conform. The identifier of this class or slot must begin with the URIs referenced by this prefix",
"items": {
"type": "string"
},
"type": "array"
},
"implements": {
"description": "An element in another schema which this element conforms to. The referenced element is not imported into the schema for the implementing element. However, the referenced schema may be used to check conformance of the implementing element.",
"items": {
"type": "string"
},
"type": "array"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"include": {
"description": "An enum expression that yields a list of permissible values that are to be included, after subtracting the minus set",
"items": {
"$ref": "#/$defs/AnonymousEnumExpression"
},
"type": "array"
},
"inherits": {
"description": "An enum definition that is used as the basis to create a new enum",
"items": {
"type": "string"
},
"type": "array"
},
"instantiates": {
"description": "An element in another schema which this element instantiates.",
"items": {
"type": "string"
},
"type": "array"
},
"is_a": {
"description": "A primary parent class or slot from which inheritable metaslots are propagated from. While multiple inheritance is not allowed, mixins can be provided effectively providing the same thing. The semantics are the same when translated to formalisms that allow MI (e.g. RDFS/OWL). When translating to a SI framework (e.g. java classes, python classes) then is a is used. When translating a framework without polymorphism (e.g. json-schema, solr document schema) then is a and mixins are recursively unfolded",
"type": "string"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"local_names": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/LocalName__identifier_optional"
},
{
"description": "a name assigned to an element in a given ontology",
"type": "string"
}
]
},
"type": "object"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"matches": {
"$ref": "#/$defs/MatchQuery",
"description": "Specifies a match query that is used to calculate the list of permissible values"
},
"minus": {
"description": "An enum expression that yields a list of permissible values that are to be subtracted from the enum",
"items": {
"$ref": "#/$defs/AnonymousEnumExpression"
},
"type": "array"
},
"mixin": {
"description": "Indicates the class or slot is intended to be inherited from without being an is_a parent. mixins should not be inherited from using is_a, except by other mixins.",
"type": "boolean"
},
"mixins": {
"description": "A collection of secondary parent classes or slots from which inheritable metaslots are propagated from.",
"items": {
"type": "string"
},
"type": "array"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"name": {
"description": "the unique name of the element within the context of the schema. Name is combined with the default prefix to form the globally unique subject of the target class.",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"permissible_values": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/PermissibleValue__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "A list of possible values for a slot range",
"type": "object"
},
"pv_formula": {
"$ref": "#/$defs/PvFormulaOptions",
"description": "Defines the specific formula to be used to generate the permissible values."
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"reachable_from": {
"$ref": "#/$defs/ReachabilityQuery",
"description": "Specifies a query for obtaining a list of permissible values based on graph reachability"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"string_serialization": {
"description": "Used on a slot that stores the string serialization of the containing object. The syntax follows python formatted strings, with slot names enclosed in {}s. These are expanded using the values of those slots.\nWe call the slot with the serialization the s-slot, the slots used in the {}s are v-slots. If both s-slots and v-slots are populated on an object then the value of the s-slot should correspond to the expansion.\nImplementations of frameworks may choose to use this property to either (a) PARSE: implement automated normalizations by parsing denormalized strings into complex objects (b) GENERARE: implement automated to_string labeling of complex objects\nFor example, a Measurement class may have 3 fields: unit, value, and string_value. The string_value slot may have a string_serialization of {value}{unit} such that if unit=cm and value=2, the value of string_value shouldd be 2cm",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
},
"values_from": {
"description": "The identifier of a \"value set\" -- a set of identifiers that form the possible values for the range of a slot. Note: this is different than 'subproperty_of' in that 'subproperty_of' is intended to be a single ontology term while 'values_from' is the identifier of an entire value set. Additionally, this is different than an enumeration in that in an enumeration, the values of the enumeration are listed directly in the model itself. Setting this property on a slot does not guarantee an expansion of the ontological hierarchy into an enumerated list of possible values in every serialization of the model.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "EnumDefinition",
"type": "object"
},
"EnumDefinition__identifier_optional": {
"additionalProperties": false,
"description": "an element whose instances must be drawn from a specified set of permissible values",
"properties": {
"abstract": {
"description": "Indicates the class or slot cannot be directly instantiated and is intended for grouping purposes.",
"type": "boolean"
},
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"apply_to": {
"description": "Used to extend class or slot definitions. For example, if we have a core schema where a gene has two slots for identifier and symbol, and we have a specialized schema for my_organism where we wish to add a slot systematic_name, we can avoid subclassing by defining a class gene_my_organism, adding the slot to this class, and then adding an apply_to pointing to the gene class. The new slot will be 'injected into' the gene class.",
"items": {
"type": "string"
},
"type": "array"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"code_set": {
"description": "the identifier of an enumeration code set.",
"type": "string"
},
"code_set_tag": {
"description": "the version tag of the enumeration code set",
"type": "string"
},
"code_set_version": {
"description": "the version identifier of the enumeration code set",
"type": "string"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"concepts": {
"description": "A list of identifiers that are used to construct a set of permissible values",
"items": {
"type": "string"
},
"type": "array"
},
"conforms_to": {
"description": "An established standard to which the element conforms.",
"type": "string"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"definition_uri": {
"description": "The native URI of the element. This is always within the namespace of the containing schema. Contrast with the assigned URI, via class_uri or slot_uri",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"enum_uri": {
"description": "URI of the enum that provides a semantic interpretation of the element in a linked data context. The URI may come from any namespace and may be shared between schemas",
"type": "string"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"id_prefixes": {
"description": "An allowed list of prefixes for which identifiers must conform. The identifier of this class or slot must begin with the URIs referenced by this prefix",
"items": {
"type": "string"
},
"type": "array"
},
"implements": {
"description": "An element in another schema which this element conforms to. The referenced element is not imported into the schema for the implementing element. However, the referenced schema may be used to check conformance of the implementing element.",
"items": {
"type": "string"
},
"type": "array"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"include": {
"description": "An enum expression that yields a list of permissible values that are to be included, after subtracting the minus set",
"items": {
"$ref": "#/$defs/AnonymousEnumExpression"
},
"type": "array"
},
"inherits": {
"description": "An enum definition that is used as the basis to create a new enum",
"items": {
"type": "string"
},
"type": "array"
},
"instantiates": {
"description": "An element in another schema which this element instantiates.",
"items": {
"type": "string"
},
"type": "array"
},
"is_a": {
"description": "A primary parent class or slot from which inheritable metaslots are propagated from. While multiple inheritance is not allowed, mixins can be provided effectively providing the same thing. The semantics are the same when translated to formalisms that allow MI (e.g. RDFS/OWL). When translating to a SI framework (e.g. java classes, python classes) then is a is used. When translating a framework without polymorphism (e.g. json-schema, solr document schema) then is a and mixins are recursively unfolded",
"type": "string"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"local_names": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/LocalName__identifier_optional"
},
{
"description": "a name assigned to an element in a given ontology",
"type": "string"
}
]
},
"type": "object"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"matches": {
"$ref": "#/$defs/MatchQuery",
"description": "Specifies a match query that is used to calculate the list of permissible values"
},
"minus": {
"description": "An enum expression that yields a list of permissible values that are to be subtracted from the enum",
"items": {
"$ref": "#/$defs/AnonymousEnumExpression"
},
"type": "array"
},
"mixin": {
"description": "Indicates the class or slot is intended to be inherited from without being an is_a parent. mixins should not be inherited from using is_a, except by other mixins.",
"type": "boolean"
},
"mixins": {
"description": "A collection of secondary parent classes or slots from which inheritable metaslots are propagated from.",
"items": {
"type": "string"
},
"type": "array"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"name": {
"description": "the unique name of the element within the context of the schema. Name is combined with the default prefix to form the globally unique subject of the target class.",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"permissible_values": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/PermissibleValue__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "A list of possible values for a slot range",
"type": "object"
},
"pv_formula": {
"$ref": "#/$defs/PvFormulaOptions",
"description": "Defines the specific formula to be used to generate the permissible values."
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"reachable_from": {
"$ref": "#/$defs/ReachabilityQuery",
"description": "Specifies a query for obtaining a list of permissible values based on graph reachability"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"string_serialization": {
"description": "Used on a slot that stores the string serialization of the containing object. The syntax follows python formatted strings, with slot names enclosed in {}s. These are expanded using the values of those slots.\nWe call the slot with the serialization the s-slot, the slots used in the {}s are v-slots. If both s-slots and v-slots are populated on an object then the value of the s-slot should correspond to the expansion.\nImplementations of frameworks may choose to use this property to either (a) PARSE: implement automated normalizations by parsing denormalized strings into complex objects (b) GENERARE: implement automated to_string labeling of complex objects\nFor example, a Measurement class may have 3 fields: unit, value, and string_value. The string_value slot may have a string_serialization of {value}{unit} such that if unit=cm and value=2, the value of string_value shouldd be 2cm",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
},
"values_from": {
"description": "The identifier of a \"value set\" -- a set of identifiers that form the possible values for the range of a slot. Note: this is different than 'subproperty_of' in that 'subproperty_of' is intended to be a single ontology term while 'values_from' is the identifier of an entire value set. Additionally, this is different than an enumeration in that in an enumeration, the values of the enumeration are listed directly in the model itself. Setting this property on a slot does not guarantee an expansion of the ontological hierarchy into an enumerated list of possible values in every serialization of the model.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [],
"title": "EnumDefinition",
"type": "object"
},
"EnumExpression": {
"additionalProperties": false,
"description": "An expression that constrains the range of a slot",
"properties": {
"code_set": {
"description": "the identifier of an enumeration code set.",
"type": "string"
},
"code_set_tag": {
"description": "the version tag of the enumeration code set",
"type": "string"
},
"code_set_version": {
"description": "the version identifier of the enumeration code set",
"type": "string"
},
"concepts": {
"description": "A list of identifiers that are used to construct a set of permissible values",
"items": {
"type": "string"
},
"type": "array"
},
"include": {
"description": "An enum expression that yields a list of permissible values that are to be included, after subtracting the minus set",
"items": {
"$ref": "#/$defs/AnonymousEnumExpression"
},
"type": "array"
},
"inherits": {
"description": "An enum definition that is used as the basis to create a new enum",
"items": {
"type": "string"
},
"type": "array"
},
"matches": {
"$ref": "#/$defs/MatchQuery",
"description": "Specifies a match query that is used to calculate the list of permissible values"
},
"minus": {
"description": "An enum expression that yields a list of permissible values that are to be subtracted from the enum",
"items": {
"$ref": "#/$defs/AnonymousEnumExpression"
},
"type": "array"
},
"permissible_values": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/PermissibleValue__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "A list of possible values for a slot range",
"type": "object"
},
"pv_formula": {
"$ref": "#/$defs/PvFormulaOptions",
"description": "Defines the specific formula to be used to generate the permissible values."
},
"reachable_from": {
"$ref": "#/$defs/ReachabilityQuery",
"description": "Specifies a query for obtaining a list of permissible values based on graph reachability"
}
},
"title": "EnumExpression",
"type": "object"
},
"Example": {
"additionalProperties": false,
"description": "usage example and description",
"properties": {
"description": {
"description": "description of what the value is doing",
"type": "string"
},
"object": {
"$ref": "#/$defs/Anything",
"description": "direct object representation of the example"
},
"value": {
"description": "example value",
"type": "string"
}
},
"title": "Example",
"type": "object"
},
"Extension": {
"additionalProperties": false,
"description": "a tag/value pair used to add non-model information to an entry",
"properties": {
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"tag": {
"description": "a tag associated with an extension",
"type": "string"
},
"value": {
"description": "the actual annotation",
"type": "string"
}
},
"required": [
"tag",
"value"
],
"title": "Extension",
"type": "object"
},
"Extension__identifier_optional": {
"additionalProperties": false,
"description": "a tag/value pair used to add non-model information to an entry",
"properties": {
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"tag": {
"description": "a tag associated with an extension",
"type": "string"
},
"value": {
"description": "the actual annotation",
"type": "string"
}
},
"required": [
"value"
],
"title": "Extension",
"type": "object"
},
"ImportExpression": {
"additionalProperties": false,
"description": "an expression describing an import",
"properties": {
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"import_as": {
"type": "string"
},
"import_from": {
"type": "string"
},
"import_map": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/Setting__identifier_optional"
},
{
"description": "The value assigned for a setting",
"type": "string"
}
]
},
"type": "object"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"import_from"
],
"title": "ImportExpression",
"type": "object"
},
"LocalName": {
"additionalProperties": false,
"description": "an attributed label",
"properties": {
"local_name_source": {
"description": "the ncname of the source of the name",
"type": "string"
},
"local_name_value": {
"description": "a name assigned to an element in a given ontology",
"type": "string"
}
},
"required": [
"local_name_source",
"local_name_value"
],
"title": "LocalName",
"type": "object"
},
"LocalName__identifier_optional": {
"additionalProperties": false,
"description": "an attributed label",
"properties": {
"local_name_source": {
"description": "the ncname of the source of the name",
"type": "string"
},
"local_name_value": {
"description": "a name assigned to an element in a given ontology",
"type": "string"
}
},
"required": [
"local_name_value"
],
"title": "LocalName",
"type": "object"
},
"MatchQuery": {
"additionalProperties": false,
"description": "A query that is used on an enum expression to dynamically obtain a set of permissivle values via a query that matches on properties of the external concepts",
"properties": {
"identifier_pattern": {
"description": "A regular expression that is used to obtain a set of identifiers from a source_ontology to construct a set of permissible values",
"type": "string"
},
"source_ontology": {
"description": "An ontology or vocabulary or terminology that is used in a query to obtain a set of permissible values",
"type": "string"
}
},
"title": "MatchQuery",
"type": "object"
},
"PathExpression": {
"additionalProperties": false,
"description": "An expression that describes an abstract path from an object to another through a sequence of slot lookups",
"properties": {
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"all_of": {
"description": "holds if all of the expressions hold",
"items": {
"$ref": "#/$defs/PathExpression"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"any_of": {
"description": "holds if at least one of the expressions hold",
"items": {
"$ref": "#/$defs/PathExpression"
},
"type": "array"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"exactly_one_of": {
"description": "holds if only one of the expressions hold",
"items": {
"$ref": "#/$defs/PathExpression"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"followed_by": {
"$ref": "#/$defs/PathExpression",
"description": "in a sequential list, this indicates the next member"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"none_of": {
"description": "holds if none of the expressions hold",
"items": {
"$ref": "#/$defs/PathExpression"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"range_expression": {
"$ref": "#/$defs/AnonymousClassExpression",
"description": "A range that is described as a boolean expression combining existing ranges"
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"reversed": {
"description": "true if the slot is to be inversed",
"type": "boolean"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
},
"traverse": {
"description": "the slot to traverse",
"type": "string"
}
},
"title": "PathExpression",
"type": "object"
},
"PatternExpression": {
"additionalProperties": false,
"description": "a regular expression pattern used to evaluate conformance of a string",
"properties": {
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"interpolated": {
"description": "if true then the pattern is first string interpolated",
"type": "boolean"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"partial_match": {
"description": "if true then the pattern must match the whole string, as if enclosed in ^...$",
"type": "boolean"
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"syntax": {
"description": "the string value of the slot must conform to this regular expression expressed in the string. May be interpolated.",
"type": "string"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
}
},
"title": "PatternExpression",
"type": "object"
},
"PermissibleValue": {
"additionalProperties": false,
"description": "a permissible value, accompanied by intended text and an optional mapping to a concept URI",
"properties": {
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"meaning": {
"description": "the value meaning of a permissible value",
"type": "string"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"text": {
"description": "The actual permissible value itself",
"type": "string"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
},
"unit": {
"$ref": "#/$defs/UnitOfMeasure",
"description": "an encoding of a unit"
}
},
"required": [
"text"
],
"title": "PermissibleValue",
"type": "object"
},
"PermissibleValue__identifier_optional": {
"additionalProperties": false,
"description": "a permissible value, accompanied by intended text and an optional mapping to a concept URI",
"properties": {
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"meaning": {
"description": "the value meaning of a permissible value",
"type": "string"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"text": {
"description": "The actual permissible value itself",
"type": "string"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
},
"unit": {
"$ref": "#/$defs/UnitOfMeasure",
"description": "an encoding of a unit"
}
},
"required": [],
"title": "PermissibleValue",
"type": "object"
},
"Prefix": {
"additionalProperties": false,
"description": "prefix URI tuple",
"properties": {
"prefix_prefix": {
"description": "The prefix components of a prefix expansions. This is the part that appears before the colon in a CURIE.",
"type": "string"
},
"prefix_reference": {
"description": "The namespace to which a prefix expands to.",
"type": "string"
}
},
"required": [
"prefix_prefix",
"prefix_reference"
],
"title": "Prefix",
"type": "object"
},
"Prefix__identifier_optional": {
"additionalProperties": false,
"description": "prefix URI tuple",
"properties": {
"prefix_prefix": {
"description": "The prefix components of a prefix expansions. This is the part that appears before the colon in a CURIE.",
"type": "string"
},
"prefix_reference": {
"description": "The namespace to which a prefix expands to.",
"type": "string"
}
},
"required": [
"prefix_reference"
],
"title": "Prefix",
"type": "object"
},
"PresenceEnum": {
"description": "enumeration of conditions by which a slot value should be set",
"enum": [
"UNCOMMITTED",
"PRESENT",
"ABSENT"
],
"title": "PresenceEnum",
"type": "string"
},
"PvFormulaOptions": {
"description": "The formula used to generate the set of permissible values from the code_set values",
"enum": [
"CODE",
"CURIE",
"URI",
"FHIR_CODING"
],
"title": "PvFormulaOptions",
"type": "string"
},
"ReachabilityQuery": {
"additionalProperties": false,
"description": "A query that is used on an enum expression to dynamically obtain a set of permissible values via walking from a set of source nodes to a set of descendants or ancestors over a set of relationship types",
"properties": {
"include_self": {
"description": "True if the query is reflexive",
"type": "boolean"
},
"is_direct": {
"description": "True if the reachability query should only include directly related nodes, if False then include also transitively connected",
"type": "boolean"
},
"relationship_types": {
"description": "A list of relationship types (properties) that are used in a reachability query",
"items": {
"type": "string"
},
"type": "array"
},
"source_nodes": {
"description": "A list of nodes that are used in the reachability query",
"items": {
"type": "string"
},
"type": "array"
},
"source_ontology": {
"description": "An ontology or vocabulary or terminology that is used in a query to obtain a set of permissible values",
"type": "string"
},
"traverse_up": {
"description": "True if the direction of the reachability query is reversed and ancestors are retrieved",
"type": "boolean"
}
},
"title": "ReachabilityQuery",
"type": "object"
},
"RelationalRoleEnum": {
"description": "enumeration of roles a slot on a relationship class can play",
"enum": [
"SUBJECT",
"OBJECT",
"PREDICATE",
"NODE",
"OTHER_ROLE"
],
"title": "RelationalRoleEnum",
"type": "string"
},
"SchemaDefinition": {
"additionalProperties": false,
"description": "A collection of definitions that make up a schema or a data model.",
"properties": {
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"classes": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/ClassDefinition__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "An index to the collection of all class definitions in the schema",
"type": "object"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"conforms_to": {
"description": "An established standard to which the element conforms.",
"type": "string"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"default_curi_maps": {
"description": "ordered list of prefixcommon biocontexts to be fetched to resolve id prefixes and inline prefix variables",
"items": {
"type": "string"
},
"type": "array"
},
"default_prefix": {
"description": "The prefix that is used for all elements within a schema",
"type": "string"
},
"default_range": {
"description": "default slot range to be used if range element is omitted from a slot definition",
"type": "string"
},
"definition_uri": {
"description": "The native URI of the element. This is always within the namespace of the containing schema. Contrast with the assigned URI, via class_uri or slot_uri",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"emit_prefixes": {
"description": "a list of Curie prefixes that are used in the representation of instances of the model. All prefixes in this list are added to the prefix sections of the target models.",
"items": {
"type": "string"
},
"type": "array"
},
"enums": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/EnumDefinition__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "An index to the collection of all enum definitions in the schema",
"type": "object"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"generation_date": {
"description": "date and time that the schema was loaded/generated",
"format": "date-time",
"type": "string"
},
"id": {
"description": "The official schema URI",
"type": "string"
},
"id_prefixes": {
"description": "An allowed list of prefixes for which identifiers must conform. The identifier of this class or slot must begin with the URIs referenced by this prefix",
"items": {
"type": "string"
},
"type": "array"
},
"implements": {
"description": "An element in another schema which this element conforms to. The referenced element is not imported into the schema for the implementing element. However, the referenced schema may be used to check conformance of the implementing element.",
"items": {
"type": "string"
},
"type": "array"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"imports": {
"description": "A list of schemas that are to be included in this schema",
"items": {
"type": "string"
},
"type": "array"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"instantiates": {
"description": "An element in another schema which this element instantiates.",
"items": {
"type": "string"
},
"type": "array"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"license": {
"description": "license for the schema",
"type": "string"
},
"local_names": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/LocalName__identifier_optional"
},
{
"description": "a name assigned to an element in a given ontology",
"type": "string"
}
]
},
"type": "object"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"metamodel_version": {
"description": "Version of the metamodel used to load the schema",
"type": "string"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"name": {
"description": "a unique name for the schema that is both human-readable and consists of only characters from the NCName set",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"prefixes": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/Prefix__identifier_optional"
},
{
"description": "The namespace to which a prefix expands to.",
"type": "string"
}
]
},
"description": "A collection of prefix expansions that specify how CURIEs can be expanded to URIs",
"type": "object"
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"settings": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/Setting__identifier_optional"
},
{
"description": "The value assigned for a setting",
"type": "string"
}
]
},
"description": "A collection of global variable settings",
"type": "object"
},
"slot_names_unique": {
"description": "if true then induced/mangled slot names are not created for class_usage and attributes",
"type": "boolean"
},
"slots": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/SlotDefinition__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "An index to the collection of all slot definitions in the schema",
"type": "object"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"source_file": {
"description": "name, uri or description of the source of the schema",
"type": "string"
},
"source_file_date": {
"description": "modification date of the source of the schema",
"format": "date-time",
"type": "string"
},
"source_file_size": {
"description": "size in bytes of the source of the schema",
"type": "integer"
},
"status": {
"description": "status of the element",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"subsets": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/SubsetDefinition__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "An index to the collection of all subset definitions in the schema",
"type": "object"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
},
"types": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/TypeDefinition__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "An index to the collection of all type definitions in the schema",
"type": "object"
},
"version": {
"description": "particular version of schema",
"type": "string"
}
},
"required": [
"id",
"name"
],
"title": "SchemaDefinition",
"type": "object"
},
"Setting": {
"additionalProperties": false,
"description": "assignment of a key to a value",
"properties": {
"setting_key": {
"description": "the variable name for a setting",
"type": "string"
},
"setting_value": {
"description": "The value assigned for a setting",
"type": "string"
}
},
"required": [
"setting_key",
"setting_value"
],
"title": "Setting",
"type": "object"
},
"Setting__identifier_optional": {
"additionalProperties": false,
"description": "assignment of a key to a value",
"properties": {
"setting_key": {
"description": "the variable name for a setting",
"type": "string"
},
"setting_value": {
"description": "The value assigned for a setting",
"type": "string"
}
},
"required": [
"setting_value"
],
"title": "Setting",
"type": "object"
},
"SlotDefinition": {
"additionalProperties": false,
"description": "an element that describes how instances are related to other instances",
"properties": {
"abstract": {
"description": "Indicates the class or slot cannot be directly instantiated and is intended for grouping purposes.",
"type": "boolean"
},
"alias": {
"description": "the name used for a slot in the context of its owning class. If present, this is used instead of the actual slot name.",
"type": "string"
},
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"all_members": {
"$ref": "#/$defs/AnonymousSlotExpression",
"description": "the value of the slot is multivalued with all members satisfying the condition"
},
"all_of": {
"description": "holds if all of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousSlotExpression"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"any_of": {
"description": "holds if at least one of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousSlotExpression"
},
"type": "array"
},
"apply_to": {
"description": "Used to extend class or slot definitions. For example, if we have a core schema where a gene has two slots for identifier and symbol, and we have a specialized schema for my_organism where we wish to add a slot systematic_name, we can avoid subclassing by defining a class gene_my_organism, adding the slot to this class, and then adding an apply_to pointing to the gene class. The new slot will be 'injected into' the gene class.",
"items": {
"type": "string"
},
"type": "array"
},
"asymmetric": {
"description": "If s is antisymmetric, and i.s=v where i is different from v, v.s cannot have value i",
"type": "boolean"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"children_are_mutually_disjoint": {
"description": "If true then all direct is_a children are mutually disjoint and share no instances in common",
"type": "boolean"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"conforms_to": {
"description": "An established standard to which the element conforms.",
"type": "string"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"definition_uri": {
"description": "The native URI of the element. This is always within the namespace of the containing schema. Contrast with the assigned URI, via class_uri or slot_uri",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"designates_type": {
"description": "True means that the key slot(s) is used to determine the instantiation (types) relation between objects and a ClassDefinition",
"type": "boolean"
},
"disjoint_with": {
"description": "Two classes are disjoint if they have no instances in common, two slots are disjoint if they can never hold between the same two instances",
"items": {
"type": "string"
},
"type": "array"
},
"domain": {
"description": "defines the type of the subject of the slot. Given the following slot definition\n S1:\n domain: C1\n range: C2\nthe declaration\n X:\n S1: Y\n\nimplicitly asserts that X is an instance of C1\n",
"type": "string"
},
"domain_of": {
"description": "the class(es) that reference the slot in a \"slots\" or \"slot_usage\" context",
"items": {
"type": "string"
},
"type": "array"
},
"enum_range": {
"$ref": "#/$defs/EnumExpression",
"description": "An inlined enumeration"
},
"equals_expression": {
"description": "the value of the slot must equal the value of the evaluated expression",
"type": "string"
},
"equals_number": {
"description": "the slot must have range of a number and the value of the slot must equal the specified value",
"type": "integer"
},
"equals_string": {
"description": "the slot must have range string and the value of the slot must equal the specified value",
"type": "string"
},
"equals_string_in": {
"description": "the slot must have range string and the value of the slot must equal one of the specified values",
"items": {
"type": "string"
},
"type": "array"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"exactly_one_of": {
"description": "holds if only one of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousSlotExpression"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"has_member": {
"$ref": "#/$defs/AnonymousSlotExpression",
"description": "the value of the slot is multivalued with at least one member satisfying the condition"
},
"id_prefixes": {
"description": "An allowed list of prefixes for which identifiers must conform. The identifier of this class or slot must begin with the URIs referenced by this prefix",
"items": {
"type": "string"
},
"type": "array"
},
"identifier": {
"description": "True means that the key slot(s) uniquely identifies the elements. There can be at most one identifier or key per container",
"type": "boolean"
},
"ifabsent": {
"description": "function that provides a default value for the slot. Possible values for this slot are defined in\nlinkml.utils.ifabsent_functions.default_library:\n * [Tt]rue -- boolean True\n * [Ff]alse -- boolean False\n * bnode -- blank node identifier\n * class_curie -- CURIE for the containing class\n * class_uri -- URI for the containing class\n * default_ns -- schema default namespace\n * default_range -- schema default range\n * int(value) -- integer value\n * slot_uri -- URI for the slot\n * slot_curie -- CURIE for the slot\n * string(value) -- string value",
"type": "string"
},
"implements": {
"description": "An element in another schema which this element conforms to. The referenced element is not imported into the schema for the implementing element. However, the referenced schema may be used to check conformance of the implementing element.",
"items": {
"type": "string"
},
"type": "array"
},
"implicit_prefix": {
"description": "Causes the slot value to be interpreted as a uriorcurie after prefixing with this string",
"type": "string"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"inherited": {
"description": "true means that the *value* of a slot is inherited by subclasses",
"type": "boolean"
},
"inlined": {
"description": "True means that keyed or identified slot appears in an outer structure by value. False means that only the key or identifier for the slot appears within the domain, referencing a structure that appears elsewhere.",
"type": "boolean"
},
"inlined_as_list": {
"description": "True means that an inlined slot is represented as a list of range instances. False means that an inlined slot is represented as a dictionary, whose key is the slot key or identifier and whose value is the range instance.",
"type": "boolean"
},
"instantiates": {
"description": "An element in another schema which this element instantiates.",
"items": {
"type": "string"
},
"type": "array"
},
"inverse": {
"description": "indicates that any instance of d s r implies that there is also an instance of r s' d",
"type": "string"
},
"irreflexive": {
"description": "If s is irreflexive, then there exists no i such i.s=i",
"type": "boolean"
},
"is_a": {
"description": "A primary parent slot from which inheritable metaslots are propagated",
"type": "string"
},
"is_class_field": {
"description": "indicates that for any instance, i, the domain of this slot will include an assertion of i s range",
"type": "boolean"
},
"is_grouping_slot": {
"description": "true if this slot is a grouping slot",
"type": "boolean"
},
"is_usage_slot": {
"description": "True means that this slot was defined in a slot_usage situation",
"type": "boolean"
},
"key": {
"description": "True means that the key slot(s) uniquely identify the elements within a single container",
"type": "boolean"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"list_elements_ordered": {
"description": "If True, then the order of elements of a multivalued slot is guaranteed to be preserved. If False, the order may still be preserved but this is not guaranteed",
"type": "boolean"
},
"list_elements_unique": {
"description": "If True, then there must be no duplicates in the elements of a multivalued slot",
"type": "boolean"
},
"local_names": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/LocalName__identifier_optional"
},
{
"description": "a name assigned to an element in a given ontology",
"type": "string"
}
]
},
"type": "object"
},
"locally_reflexive": {
"description": "If s is locally_reflexive, then i.s=i for all instances i where s is a class slot for the type of i",
"type": "boolean"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"maximum_cardinality": {
"description": "the maximum number of entries for a multivalued slot",
"type": "integer"
},
"maximum_value": {
"description": "for slots with ranges of type number, the value must be equal to or lowe than this",
"type": "integer"
},
"minimum_cardinality": {
"description": "the minimum number of entries for a multivalued slot",
"type": "integer"
},
"minimum_value": {
"description": "for slots with ranges of type number, the value must be equal to or higher than this",
"type": "integer"
},
"mixin": {
"description": "Indicates the class or slot is intended to be inherited from without being an is_a parent. mixins should not be inherited from using is_a, except by other mixins.",
"type": "boolean"
},
"mixins": {
"description": "A collection of secondary parent mixin slots from which inheritable metaslots are propagated",
"items": {
"type": "string"
},
"type": "array"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"multivalued": {
"description": "true means that slot can have more than one value and should be represented using a list or collection structure.",
"type": "boolean"
},
"name": {
"description": "the unique name of the element within the context of the schema. Name is combined with the default prefix to form the globally unique subject of the target class.",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"none_of": {
"description": "holds if none of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousSlotExpression"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"owner": {
"description": "the \"owner\" of the slot. It is the class if it appears in the slots list, otherwise the declaring slot",
"type": "string"
},
"path_rule": {
"$ref": "#/$defs/PathExpression",
"description": "a rule for inferring a slot assignment based on evaluating a path through a sequence of slot assignments"
},
"pattern": {
"description": "the string value of the slot must conform to this regular expression expressed in the string",
"type": "string"
},
"range": {
"description": "defines the type of the object of the slot. Given the following slot definition\n S1:\n domain: C1\n range: C2\nthe declaration\n X:\n S1: Y\n\nimplicitly asserts Y is an instance of C2\n",
"type": "string"
},
"range_expression": {
"$ref": "#/$defs/AnonymousClassExpression",
"description": "A range that is described as a boolean expression combining existing ranges"
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"readonly": {
"description": "If present, slot is read only. Text explains why",
"type": "string"
},
"recommended": {
"description": "true means that the slot should be present in instances of the class definition, but this is not required",
"type": "boolean"
},
"reflexive": {
"description": "If s is reflexive, then i.s=i for all instances i",
"type": "boolean"
},
"reflexive_transitive_form_of": {
"description": "transitive_form_of including the reflexive case",
"type": "string"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"relational_role": {
"$ref": "#/$defs/RelationalRoleEnum",
"description": "the role a slot on a relationship class plays, for example, the subject, object or predicate roles"
},
"required": {
"description": "true means that the slot must be present in instances of the class definition",
"type": "boolean"
},
"role": {
"description": "a textual descriptor that indicates the role played by the slot range",
"type": "string"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"shared": {
"description": "If True, then the relationship between the slot domain and range is many to one or many to many",
"type": "boolean"
},
"singular_name": {
"description": "a name that is used in the singular form",
"type": "string"
},
"slot_group": {
"description": "allows for grouping of related slots into a grouping slot that serves the role of a group",
"type": "string"
},
"slot_uri": {
"description": "URI of the class that provides a semantic interpretation of the slot in a linked data context. The URI may come from any namespace and may be shared between schemas.",
"type": "string"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"string_serialization": {
"description": "Used on a slot that stores the string serialization of the containing object. The syntax follows python formatted strings, with slot names enclosed in {}s. These are expanded using the values of those slots.\nWe call the slot with the serialization the s-slot, the slots used in the {}s are v-slots. If both s-slots and v-slots are populated on an object then the value of the s-slot should correspond to the expansion.\nImplementations of frameworks may choose to use this property to either (a) PARSE: implement automated normalizations by parsing denormalized strings into complex objects (b) GENERARE: implement automated to_string labeling of complex objects\nFor example, a Measurement class may have 3 fields: unit, value, and string_value. The string_value slot may have a string_serialization of {value}{unit} such that if unit=cm and value=2, the value of string_value shouldd be 2cm",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"structured_pattern": {
"$ref": "#/$defs/PatternExpression",
"description": "the string value of the slot must conform to the regular expression in the pattern expression"
},
"subproperty_of": {
"description": "Ontology property which this slot is a subproperty of. Note: setting this property on a slot does not guarantee an expansion of the ontological hierarchy into an enumerated list of possible values in every serialization of the model.",
"type": "string"
},
"symmetric": {
"description": "If s is symmetric, and i.s=v, then v.s=i",
"type": "boolean"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
},
"transitive": {
"description": "If s is transitive, and i.s=z, and s.s=j, then i.s=j",
"type": "boolean"
},
"transitive_form_of": {
"description": "If s transitive_form_of d, then (1) s holds whenever d holds (2) s is transitive (3) d holds whenever s holds and there are no intermediates, and s is not reflexive",
"type": "string"
},
"union_of": {
"description": "indicates that the domain element consists exactly of the members of the element in the range.",
"items": {
"type": "string"
},
"type": "array"
},
"unit": {
"$ref": "#/$defs/UnitOfMeasure",
"description": "an encoding of a unit"
},
"usage_slot_name": {
"description": "The name of the slot referenced in the slot_usage",
"type": "string"
},
"value_presence": {
"$ref": "#/$defs/PresenceEnum",
"description": "if true then a value must be present (for lists there must be at least one value). If false then a value must be absent (for lists, must be empty)"
},
"values_from": {
"description": "The identifier of a \"value set\" -- a set of identifiers that form the possible values for the range of a slot. Note: this is different than 'subproperty_of' in that 'subproperty_of' is intended to be a single ontology term while 'values_from' is the identifier of an entire value set. Additionally, this is different than an enumeration in that in an enumeration, the values of the enumeration are listed directly in the model itself. Setting this property on a slot does not guarantee an expansion of the ontological hierarchy into an enumerated list of possible values in every serialization of the model.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "SlotDefinition",
"type": "object"
},
"SlotDefinition__identifier_optional": {
"additionalProperties": false,
"description": "an element that describes how instances are related to other instances",
"properties": {
"abstract": {
"description": "Indicates the class or slot cannot be directly instantiated and is intended for grouping purposes.",
"type": "boolean"
},
"alias": {
"description": "the name used for a slot in the context of its owning class. If present, this is used instead of the actual slot name.",
"type": "string"
},
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"all_members": {
"$ref": "#/$defs/AnonymousSlotExpression",
"description": "the value of the slot is multivalued with all members satisfying the condition"
},
"all_of": {
"description": "holds if all of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousSlotExpression"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"any_of": {
"description": "holds if at least one of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousSlotExpression"
},
"type": "array"
},
"apply_to": {
"description": "Used to extend class or slot definitions. For example, if we have a core schema where a gene has two slots for identifier and symbol, and we have a specialized schema for my_organism where we wish to add a slot systematic_name, we can avoid subclassing by defining a class gene_my_organism, adding the slot to this class, and then adding an apply_to pointing to the gene class. The new slot will be 'injected into' the gene class.",
"items": {
"type": "string"
},
"type": "array"
},
"asymmetric": {
"description": "If s is antisymmetric, and i.s=v where i is different from v, v.s cannot have value i",
"type": "boolean"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"children_are_mutually_disjoint": {
"description": "If true then all direct is_a children are mutually disjoint and share no instances in common",
"type": "boolean"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"conforms_to": {
"description": "An established standard to which the element conforms.",
"type": "string"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"definition_uri": {
"description": "The native URI of the element. This is always within the namespace of the containing schema. Contrast with the assigned URI, via class_uri or slot_uri",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"designates_type": {
"description": "True means that the key slot(s) is used to determine the instantiation (types) relation between objects and a ClassDefinition",
"type": "boolean"
},
"disjoint_with": {
"description": "Two classes are disjoint if they have no instances in common, two slots are disjoint if they can never hold between the same two instances",
"items": {
"type": "string"
},
"type": "array"
},
"domain": {
"description": "defines the type of the subject of the slot. Given the following slot definition\n S1:\n domain: C1\n range: C2\nthe declaration\n X:\n S1: Y\n\nimplicitly asserts that X is an instance of C1\n",
"type": "string"
},
"domain_of": {
"description": "the class(es) that reference the slot in a \"slots\" or \"slot_usage\" context",
"items": {
"type": "string"
},
"type": "array"
},
"enum_range": {
"$ref": "#/$defs/EnumExpression",
"description": "An inlined enumeration"
},
"equals_expression": {
"description": "the value of the slot must equal the value of the evaluated expression",
"type": "string"
},
"equals_number": {
"description": "the slot must have range of a number and the value of the slot must equal the specified value",
"type": "integer"
},
"equals_string": {
"description": "the slot must have range string and the value of the slot must equal the specified value",
"type": "string"
},
"equals_string_in": {
"description": "the slot must have range string and the value of the slot must equal one of the specified values",
"items": {
"type": "string"
},
"type": "array"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"exactly_one_of": {
"description": "holds if only one of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousSlotExpression"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"has_member": {
"$ref": "#/$defs/AnonymousSlotExpression",
"description": "the value of the slot is multivalued with at least one member satisfying the condition"
},
"id_prefixes": {
"description": "An allowed list of prefixes for which identifiers must conform. The identifier of this class or slot must begin with the URIs referenced by this prefix",
"items": {
"type": "string"
},
"type": "array"
},
"identifier": {
"description": "True means that the key slot(s) uniquely identifies the elements. There can be at most one identifier or key per container",
"type": "boolean"
},
"ifabsent": {
"description": "function that provides a default value for the slot. Possible values for this slot are defined in\nlinkml.utils.ifabsent_functions.default_library:\n * [Tt]rue -- boolean True\n * [Ff]alse -- boolean False\n * bnode -- blank node identifier\n * class_curie -- CURIE for the containing class\n * class_uri -- URI for the containing class\n * default_ns -- schema default namespace\n * default_range -- schema default range\n * int(value) -- integer value\n * slot_uri -- URI for the slot\n * slot_curie -- CURIE for the slot\n * string(value) -- string value",
"type": "string"
},
"implements": {
"description": "An element in another schema which this element conforms to. The referenced element is not imported into the schema for the implementing element. However, the referenced schema may be used to check conformance of the implementing element.",
"items": {
"type": "string"
},
"type": "array"
},
"implicit_prefix": {
"description": "Causes the slot value to be interpreted as a uriorcurie after prefixing with this string",
"type": "string"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"inherited": {
"description": "true means that the *value* of a slot is inherited by subclasses",
"type": "boolean"
},
"inlined": {
"description": "True means that keyed or identified slot appears in an outer structure by value. False means that only the key or identifier for the slot appears within the domain, referencing a structure that appears elsewhere.",
"type": "boolean"
},
"inlined_as_list": {
"description": "True means that an inlined slot is represented as a list of range instances. False means that an inlined slot is represented as a dictionary, whose key is the slot key or identifier and whose value is the range instance.",
"type": "boolean"
},
"instantiates": {
"description": "An element in another schema which this element instantiates.",
"items": {
"type": "string"
},
"type": "array"
},
"inverse": {
"description": "indicates that any instance of d s r implies that there is also an instance of r s' d",
"type": "string"
},
"irreflexive": {
"description": "If s is irreflexive, then there exists no i such i.s=i",
"type": "boolean"
},
"is_a": {
"description": "A primary parent slot from which inheritable metaslots are propagated",
"type": "string"
},
"is_class_field": {
"description": "indicates that for any instance, i, the domain of this slot will include an assertion of i s range",
"type": "boolean"
},
"is_grouping_slot": {
"description": "true if this slot is a grouping slot",
"type": "boolean"
},
"is_usage_slot": {
"description": "True means that this slot was defined in a slot_usage situation",
"type": "boolean"
},
"key": {
"description": "True means that the key slot(s) uniquely identify the elements within a single container",
"type": "boolean"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"list_elements_ordered": {
"description": "If True, then the order of elements of a multivalued slot is guaranteed to be preserved. If False, the order may still be preserved but this is not guaranteed",
"type": "boolean"
},
"list_elements_unique": {
"description": "If True, then there must be no duplicates in the elements of a multivalued slot",
"type": "boolean"
},
"local_names": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/LocalName__identifier_optional"
},
{
"description": "a name assigned to an element in a given ontology",
"type": "string"
}
]
},
"type": "object"
},
"locally_reflexive": {
"description": "If s is locally_reflexive, then i.s=i for all instances i where s is a class slot for the type of i",
"type": "boolean"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"maximum_cardinality": {
"description": "the maximum number of entries for a multivalued slot",
"type": "integer"
},
"maximum_value": {
"description": "for slots with ranges of type number, the value must be equal to or lowe than this",
"type": "integer"
},
"minimum_cardinality": {
"description": "the minimum number of entries for a multivalued slot",
"type": "integer"
},
"minimum_value": {
"description": "for slots with ranges of type number, the value must be equal to or higher than this",
"type": "integer"
},
"mixin": {
"description": "Indicates the class or slot is intended to be inherited from without being an is_a parent. mixins should not be inherited from using is_a, except by other mixins.",
"type": "boolean"
},
"mixins": {
"description": "A collection of secondary parent mixin slots from which inheritable metaslots are propagated",
"items": {
"type": "string"
},
"type": "array"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"multivalued": {
"description": "true means that slot can have more than one value and should be represented using a list or collection structure.",
"type": "boolean"
},
"name": {
"description": "the unique name of the element within the context of the schema. Name is combined with the default prefix to form the globally unique subject of the target class.",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"none_of": {
"description": "holds if none of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousSlotExpression"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"owner": {
"description": "the \"owner\" of the slot. It is the class if it appears in the slots list, otherwise the declaring slot",
"type": "string"
},
"path_rule": {
"$ref": "#/$defs/PathExpression",
"description": "a rule for inferring a slot assignment based on evaluating a path through a sequence of slot assignments"
},
"pattern": {
"description": "the string value of the slot must conform to this regular expression expressed in the string",
"type": "string"
},
"range": {
"description": "defines the type of the object of the slot. Given the following slot definition\n S1:\n domain: C1\n range: C2\nthe declaration\n X:\n S1: Y\n\nimplicitly asserts Y is an instance of C2\n",
"type": "string"
},
"range_expression": {
"$ref": "#/$defs/AnonymousClassExpression",
"description": "A range that is described as a boolean expression combining existing ranges"
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"readonly": {
"description": "If present, slot is read only. Text explains why",
"type": "string"
},
"recommended": {
"description": "true means that the slot should be present in instances of the class definition, but this is not required",
"type": "boolean"
},
"reflexive": {
"description": "If s is reflexive, then i.s=i for all instances i",
"type": "boolean"
},
"reflexive_transitive_form_of": {
"description": "transitive_form_of including the reflexive case",
"type": "string"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"relational_role": {
"$ref": "#/$defs/RelationalRoleEnum",
"description": "the role a slot on a relationship class plays, for example, the subject, object or predicate roles"
},
"required": {
"description": "true means that the slot must be present in instances of the class definition",
"type": "boolean"
},
"role": {
"description": "a textual descriptor that indicates the role played by the slot range",
"type": "string"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"shared": {
"description": "If True, then the relationship between the slot domain and range is many to one or many to many",
"type": "boolean"
},
"singular_name": {
"description": "a name that is used in the singular form",
"type": "string"
},
"slot_group": {
"description": "allows for grouping of related slots into a grouping slot that serves the role of a group",
"type": "string"
},
"slot_uri": {
"description": "URI of the class that provides a semantic interpretation of the slot in a linked data context. The URI may come from any namespace and may be shared between schemas.",
"type": "string"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"string_serialization": {
"description": "Used on a slot that stores the string serialization of the containing object. The syntax follows python formatted strings, with slot names enclosed in {}s. These are expanded using the values of those slots.\nWe call the slot with the serialization the s-slot, the slots used in the {}s are v-slots. If both s-slots and v-slots are populated on an object then the value of the s-slot should correspond to the expansion.\nImplementations of frameworks may choose to use this property to either (a) PARSE: implement automated normalizations by parsing denormalized strings into complex objects (b) GENERARE: implement automated to_string labeling of complex objects\nFor example, a Measurement class may have 3 fields: unit, value, and string_value. The string_value slot may have a string_serialization of {value}{unit} such that if unit=cm and value=2, the value of string_value shouldd be 2cm",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"structured_pattern": {
"$ref": "#/$defs/PatternExpression",
"description": "the string value of the slot must conform to the regular expression in the pattern expression"
},
"subproperty_of": {
"description": "Ontology property which this slot is a subproperty of. Note: setting this property on a slot does not guarantee an expansion of the ontological hierarchy into an enumerated list of possible values in every serialization of the model.",
"type": "string"
},
"symmetric": {
"description": "If s is symmetric, and i.s=v, then v.s=i",
"type": "boolean"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
},
"transitive": {
"description": "If s is transitive, and i.s=z, and s.s=j, then i.s=j",
"type": "boolean"
},
"transitive_form_of": {
"description": "If s transitive_form_of d, then (1) s holds whenever d holds (2) s is transitive (3) d holds whenever s holds and there are no intermediates, and s is not reflexive",
"type": "string"
},
"union_of": {
"description": "indicates that the domain element consists exactly of the members of the element in the range.",
"items": {
"type": "string"
},
"type": "array"
},
"unit": {
"$ref": "#/$defs/UnitOfMeasure",
"description": "an encoding of a unit"
},
"usage_slot_name": {
"description": "The name of the slot referenced in the slot_usage",
"type": "string"
},
"value_presence": {
"$ref": "#/$defs/PresenceEnum",
"description": "if true then a value must be present (for lists there must be at least one value). If false then a value must be absent (for lists, must be empty)"
},
"values_from": {
"description": "The identifier of a \"value set\" -- a set of identifiers that form the possible values for the range of a slot. Note: this is different than 'subproperty_of' in that 'subproperty_of' is intended to be a single ontology term while 'values_from' is the identifier of an entire value set. Additionally, this is different than an enumeration in that in an enumeration, the values of the enumeration are listed directly in the model itself. Setting this property on a slot does not guarantee an expansion of the ontological hierarchy into an enumerated list of possible values in every serialization of the model.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [],
"title": "SlotDefinition",
"type": "object"
},
"StructuredAlias": {
"additionalProperties": false,
"description": "object that contains meta data about a synonym or alias including where it came from (source) and its scope (narrow, broad, etc.)",
"properties": {
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "The category or categories of an alias. This can be drawn from any relevant vocabulary",
"items": {
"type": "string"
},
"type": "array"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"literal_form": {
"description": "The literal lexical form of a structured alias; i.e the actual alias value.",
"type": "string"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"predicate": {
"$ref": "#/$defs/AliasPredicateEnum",
"description": "The relationship between an element and its alias."
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"literal_form"
],
"title": "StructuredAlias",
"type": "object"
},
"SubsetDefinition": {
"additionalProperties": false,
"description": "an element that can be used to group other metamodel elements",
"properties": {
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"conforms_to": {
"description": "An established standard to which the element conforms.",
"type": "string"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"definition_uri": {
"description": "The native URI of the element. This is always within the namespace of the containing schema. Contrast with the assigned URI, via class_uri or slot_uri",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"id_prefixes": {
"description": "An allowed list of prefixes for which identifiers must conform. The identifier of this class or slot must begin with the URIs referenced by this prefix",
"items": {
"type": "string"
},
"type": "array"
},
"implements": {
"description": "An element in another schema which this element conforms to. The referenced element is not imported into the schema for the implementing element. However, the referenced schema may be used to check conformance of the implementing element.",
"items": {
"type": "string"
},
"type": "array"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"instantiates": {
"description": "An element in another schema which this element instantiates.",
"items": {
"type": "string"
},
"type": "array"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"local_names": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/LocalName__identifier_optional"
},
{
"description": "a name assigned to an element in a given ontology",
"type": "string"
}
]
},
"type": "object"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"name": {
"description": "the unique name of the element within the context of the schema. Name is combined with the default prefix to form the globally unique subject of the target class.",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name"
],
"title": "SubsetDefinition",
"type": "object"
},
"SubsetDefinition__identifier_optional": {
"additionalProperties": false,
"description": "an element that can be used to group other metamodel elements",
"properties": {
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"conforms_to": {
"description": "An established standard to which the element conforms.",
"type": "string"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"definition_uri": {
"description": "The native URI of the element. This is always within the namespace of the containing schema. Contrast with the assigned URI, via class_uri or slot_uri",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"id_prefixes": {
"description": "An allowed list of prefixes for which identifiers must conform. The identifier of this class or slot must begin with the URIs referenced by this prefix",
"items": {
"type": "string"
},
"type": "array"
},
"implements": {
"description": "An element in another schema which this element conforms to. The referenced element is not imported into the schema for the implementing element. However, the referenced schema may be used to check conformance of the implementing element.",
"items": {
"type": "string"
},
"type": "array"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"instantiates": {
"description": "An element in another schema which this element instantiates.",
"items": {
"type": "string"
},
"type": "array"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"local_names": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/LocalName__identifier_optional"
},
{
"description": "a name assigned to an element in a given ontology",
"type": "string"
}
]
},
"type": "object"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"name": {
"description": "the unique name of the element within the context of the schema. Name is combined with the default prefix to form the globally unique subject of the target class.",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [],
"title": "SubsetDefinition",
"type": "object"
},
"TypeDefinition": {
"additionalProperties": false,
"description": "an element that whose instances are atomic scalar values that can be mapped to primitive types",
"properties": {
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"all_of": {
"description": "holds if all of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousTypeExpression"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"any_of": {
"description": "holds if at least one of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousTypeExpression"
},
"type": "array"
},
"base": {
"description": "python base type in the LinkML runtime that implements this type definition",
"type": "string"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"conforms_to": {
"description": "An established standard to which the element conforms.",
"type": "string"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"definition_uri": {
"description": "The native URI of the element. This is always within the namespace of the containing schema. Contrast with the assigned URI, via class_uri or slot_uri",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"equals_number": {
"description": "the slot must have range of a number and the value of the slot must equal the specified value",
"type": "integer"
},
"equals_string": {
"description": "the slot must have range string and the value of the slot must equal the specified value",
"type": "string"
},
"equals_string_in": {
"description": "the slot must have range string and the value of the slot must equal one of the specified values",
"items": {
"type": "string"
},
"type": "array"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"exactly_one_of": {
"description": "holds if only one of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousTypeExpression"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"id_prefixes": {
"description": "An allowed list of prefixes for which identifiers must conform. The identifier of this class or slot must begin with the URIs referenced by this prefix",
"items": {
"type": "string"
},
"type": "array"
},
"implements": {
"description": "An element in another schema which this element conforms to. The referenced element is not imported into the schema for the implementing element. However, the referenced schema may be used to check conformance of the implementing element.",
"items": {
"type": "string"
},
"type": "array"
},
"implicit_prefix": {
"description": "Causes the slot value to be interpreted as a uriorcurie after prefixing with this string",
"type": "string"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"instantiates": {
"description": "An element in another schema which this element instantiates.",
"items": {
"type": "string"
},
"type": "array"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"local_names": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/LocalName__identifier_optional"
},
{
"description": "a name assigned to an element in a given ontology",
"type": "string"
}
]
},
"type": "object"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"maximum_value": {
"description": "for slots with ranges of type number, the value must be equal to or lowe than this",
"type": "integer"
},
"minimum_value": {
"description": "for slots with ranges of type number, the value must be equal to or higher than this",
"type": "integer"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"name": {
"description": "the unique name of the element within the context of the schema. Name is combined with the default prefix to form the globally unique subject of the target class.",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"none_of": {
"description": "holds if none of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousTypeExpression"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"pattern": {
"description": "the string value of the slot must conform to this regular expression expressed in the string",
"type": "string"
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"repr": {
"description": "the name of the python object that implements this type definition",
"type": "string"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"structured_pattern": {
"$ref": "#/$defs/PatternExpression",
"description": "the string value of the slot must conform to the regular expression in the pattern expression"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
},
"typeof": {
"description": "A parent type from which type properties are inherited",
"type": "string"
},
"union_of": {
"description": "indicates that the domain element consists exactly of the members of the element in the range.",
"items": {
"type": "string"
},
"type": "array"
},
"unit": {
"$ref": "#/$defs/UnitOfMeasure",
"description": "an encoding of a unit"
},
"uri": {
"description": "The uri that defines the possible values for the type definition",
"type": "string"
}
},
"required": [
"name"
],
"title": "TypeDefinition",
"type": "object"
},
"TypeDefinition__identifier_optional": {
"additionalProperties": false,
"description": "an element that whose instances are atomic scalar values that can be mapped to primitive types",
"properties": {
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"all_of": {
"description": "holds if all of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousTypeExpression"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"any_of": {
"description": "holds if at least one of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousTypeExpression"
},
"type": "array"
},
"base": {
"description": "python base type in the LinkML runtime that implements this type definition",
"type": "string"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"conforms_to": {
"description": "An established standard to which the element conforms.",
"type": "string"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"definition_uri": {
"description": "The native URI of the element. This is always within the namespace of the containing schema. Contrast with the assigned URI, via class_uri or slot_uri",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"equals_number": {
"description": "the slot must have range of a number and the value of the slot must equal the specified value",
"type": "integer"
},
"equals_string": {
"description": "the slot must have range string and the value of the slot must equal the specified value",
"type": "string"
},
"equals_string_in": {
"description": "the slot must have range string and the value of the slot must equal one of the specified values",
"items": {
"type": "string"
},
"type": "array"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"exactly_one_of": {
"description": "holds if only one of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousTypeExpression"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"id_prefixes": {
"description": "An allowed list of prefixes for which identifiers must conform. The identifier of this class or slot must begin with the URIs referenced by this prefix",
"items": {
"type": "string"
},
"type": "array"
},
"implements": {
"description": "An element in another schema which this element conforms to. The referenced element is not imported into the schema for the implementing element. However, the referenced schema may be used to check conformance of the implementing element.",
"items": {
"type": "string"
},
"type": "array"
},
"implicit_prefix": {
"description": "Causes the slot value to be interpreted as a uriorcurie after prefixing with this string",
"type": "string"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"instantiates": {
"description": "An element in another schema which this element instantiates.",
"items": {
"type": "string"
},
"type": "array"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"local_names": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/LocalName__identifier_optional"
},
{
"description": "a name assigned to an element in a given ontology",
"type": "string"
}
]
},
"type": "object"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"maximum_value": {
"description": "for slots with ranges of type number, the value must be equal to or lowe than this",
"type": "integer"
},
"minimum_value": {
"description": "for slots with ranges of type number, the value must be equal to or higher than this",
"type": "integer"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"name": {
"description": "the unique name of the element within the context of the schema. Name is combined with the default prefix to form the globally unique subject of the target class.",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"none_of": {
"description": "holds if none of the expressions hold",
"items": {
"$ref": "#/$defs/AnonymousTypeExpression"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"pattern": {
"description": "the string value of the slot must conform to this regular expression expressed in the string",
"type": "string"
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"repr": {
"description": "the name of the python object that implements this type definition",
"type": "string"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"structured_pattern": {
"$ref": "#/$defs/PatternExpression",
"description": "the string value of the slot must conform to the regular expression in the pattern expression"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
},
"typeof": {
"description": "A parent type from which type properties are inherited",
"type": "string"
},
"union_of": {
"description": "indicates that the domain element consists exactly of the members of the element in the range.",
"items": {
"type": "string"
},
"type": "array"
},
"unit": {
"$ref": "#/$defs/UnitOfMeasure",
"description": "an encoding of a unit"
},
"uri": {
"description": "The uri that defines the possible values for the type definition",
"type": "string"
}
},
"required": [],
"title": "TypeDefinition",
"type": "object"
},
"UniqueKey": {
"additionalProperties": false,
"description": "a collection of slots whose values uniquely identify an instance of a class",
"properties": {
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"consider_nulls_inequal": {
"description": "By default, None values are considered equal for the purposes of comparisons in determining uniqueness. Set this to true to treat missing values as per ANSI-SQL NULLs, i.e NULL=NULL is always False.",
"type": "boolean"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
},
"unique_key_name": {
"description": "name of the unique key",
"type": "string"
},
"unique_key_slots": {
"description": "list of slot names that form a key. The tuple formed from the values of all these slots should be unique.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"unique_key_name",
"unique_key_slots"
],
"title": "UniqueKey",
"type": "object"
},
"UniqueKey__identifier_optional": {
"additionalProperties": false,
"description": "a collection of slots whose values uniquely identify an instance of a class",
"properties": {
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"consider_nulls_inequal": {
"description": "By default, None values are considered equal for the purposes of comparisons in determining uniqueness. Set this to true to treat missing values as per ANSI-SQL NULLs, i.e NULL=NULL is always False.",
"type": "boolean"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"status": {
"description": "status of the element",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
},
"unique_key_name": {
"description": "name of the unique key",
"type": "string"
},
"unique_key_slots": {
"description": "list of slot names that form a key. The tuple formed from the values of all these slots should be unique.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"unique_key_slots"
],
"title": "UniqueKey",
"type": "object"
},
"UnitOfMeasure": {
"additionalProperties": false,
"description": "A unit of measure, or unit, is a particular quantity value that has been chosen as a scale for measuring other quantities the same kind (more generally of equivalent dimension).",
"properties": {
"abbreviation": {
"description": "An abbreviation for a unit is a short ASCII string that is used in place of the full name for the unit in contexts where non-ASCII characters would be problematic, or where using the abbreviation will enhance readability. When a power of a base unit needs to be expressed, such as squares this can be done using abbreviations rather than symbols (source: qudt)",
"type": "string"
},
"derivation": {
"description": "Expression for deriving this unit from other units",
"type": "string"
},
"descriptive_name": {
"description": "the spelled out name of the unit, for example, meter",
"type": "string"
},
"exact_mappings": {
"description": "Used to link a unit to equivalent concepts in ontologies such as UO, SNOMED, OEM, OBOE, NCIT",
"items": {
"type": "string"
},
"type": "array"
},
"has_quantity_kind": {
"description": "Concept in a vocabulary or ontology that denotes the kind of quanity being measured, e.g. length",
"type": "string"
},
"iec61360code": {
"type": "string"
},
"symbol": {
"description": "name of the unit encoded as a symbol",
"type": "string"
},
"ucum_code": {
"description": "associates a QUDT unit with its UCUM code (case-sensitive).",
"type": "string"
}
},
"title": "UnitOfMeasure",
"type": "object"
}
},
"$id": "https://w3id.org/linkml/meta",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": true,
"description": "A collection of definitions that make up a schema or a data model.",
"metamodel_version": "1.7.0",
"properties": {
"aliases": {
"description": "Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.",
"items": {
"type": "string"
},
"type": "array"
},
"alt_descriptions": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/AltDescription__identifier_optional"
},
{
"description": "text of an attributed description",
"type": "string"
}
]
},
"description": "A sourced alternative description for an element",
"type": "object"
},
"annotations": {
"additionalProperties": {
"$ref": "#/$defs/Annotation__identifier_optional"
},
"description": "a collection of tag/text tuples with the semantics of OWL Annotation",
"type": "object"
},
"broad_mappings": {
"description": "A list of terms from different schemas or terminology systems that have broader meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"categories": {
"description": "Controlled terms used to categorize an element.",
"items": {
"type": "string"
},
"type": "array"
},
"classes": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/ClassDefinition__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "An index to the collection of all class definitions in the schema",
"type": "object"
},
"close_mappings": {
"description": "A list of terms from different schemas or terminology systems that have close meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"comments": {
"description": "notes and comments about an element intended primarily for external consumption",
"items": {
"type": "string"
},
"type": "array"
},
"conforms_to": {
"description": "An established standard to which the element conforms.",
"type": "string"
},
"contributors": {
"description": "agent that contributed to the element",
"items": {
"type": "string"
},
"type": "array"
},
"created_by": {
"description": "agent that created the element",
"type": "string"
},
"created_on": {
"description": "time at which the element was created",
"format": "date-time",
"type": "string"
},
"default_curi_maps": {
"description": "ordered list of prefixcommon biocontexts to be fetched to resolve id prefixes and inline prefix variables",
"items": {
"type": "string"
},
"type": "array"
},
"default_prefix": {
"description": "The prefix that is used for all elements within a schema",
"type": "string"
},
"default_range": {
"description": "default slot range to be used if range element is omitted from a slot definition",
"type": "string"
},
"definition_uri": {
"description": "The native URI of the element. This is always within the namespace of the containing schema. Contrast with the assigned URI, via class_uri or slot_uri",
"type": "string"
},
"deprecated": {
"description": "Description of why and when this element will no longer be used",
"type": "string"
},
"deprecated_element_has_exact_replacement": {
"description": "When an element is deprecated, it can be automatically replaced by this uri or curie",
"type": "string"
},
"deprecated_element_has_possible_replacement": {
"description": "When an element is deprecated, it can be potentially replaced by this uri or curie",
"type": "string"
},
"description": {
"description": "a textual description of the element's purpose and use",
"type": "string"
},
"emit_prefixes": {
"description": "a list of Curie prefixes that are used in the representation of instances of the model. All prefixes in this list are added to the prefix sections of the target models.",
"items": {
"type": "string"
},
"type": "array"
},
"enums": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/EnumDefinition__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "An index to the collection of all enum definitions in the schema",
"type": "object"
},
"exact_mappings": {
"description": "A list of terms from different schemas or terminology systems that have identical meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"examples": {
"description": "example usages of an element",
"items": {
"$ref": "#/$defs/Example"
},
"type": "array"
},
"extensions": {
"additionalProperties": {
"$ref": "#/$defs/Extension__identifier_optional"
},
"description": "a tag/text tuple attached to an arbitrary element",
"type": "object"
},
"from_schema": {
"description": "id of the schema that defined the element",
"type": "string"
},
"generation_date": {
"description": "date and time that the schema was loaded/generated",
"format": "date-time",
"type": "string"
},
"id": {
"description": "The official schema URI",
"type": "string"
},
"id_prefixes": {
"description": "An allowed list of prefixes for which identifiers must conform. The identifier of this class or slot must begin with the URIs referenced by this prefix",
"items": {
"type": "string"
},
"type": "array"
},
"implements": {
"description": "An element in another schema which this element conforms to. The referenced element is not imported into the schema for the implementing element. However, the referenced schema may be used to check conformance of the implementing element.",
"items": {
"type": "string"
},
"type": "array"
},
"imported_from": {
"description": "the imports entry that this element was derived from. Empty means primary source",
"type": "string"
},
"imports": {
"description": "A list of schemas that are to be included in this schema",
"items": {
"type": "string"
},
"type": "array"
},
"in_language": {
"description": "the primary language used in the sources",
"type": "string"
},
"in_subset": {
"description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application.",
"items": {
"type": "string"
},
"type": "array"
},
"instantiates": {
"description": "An element in another schema which this element instantiates.",
"items": {
"type": "string"
},
"type": "array"
},
"keywords": {
"description": "Keywords or tags used to describe the element",
"items": {
"type": "string"
},
"type": "array"
},
"last_updated_on": {
"description": "time at which the element was last updated",
"format": "date-time",
"type": "string"
},
"license": {
"description": "license for the schema",
"type": "string"
},
"local_names": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/LocalName__identifier_optional"
},
{
"description": "a name assigned to an element in a given ontology",
"type": "string"
}
]
},
"type": "object"
},
"mappings": {
"description": "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.",
"items": {
"type": "string"
},
"type": "array"
},
"metamodel_version": {
"description": "Version of the metamodel used to load the schema",
"type": "string"
},
"modified_by": {
"description": "agent that modified the element",
"type": "string"
},
"name": {
"description": "a unique name for the schema that is both human-readable and consists of only characters from the NCName set",
"type": "string"
},
"narrow_mappings": {
"description": "A list of terms from different schemas or terminology systems that have narrower meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"notes": {
"description": "editorial notes about an element intended primarily for internal consumption",
"items": {
"type": "string"
},
"type": "array"
},
"prefixes": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/Prefix__identifier_optional"
},
{
"description": "The namespace to which a prefix expands to.",
"type": "string"
}
]
},
"description": "A collection of prefix expansions that specify how CURIEs can be expanded to URIs",
"type": "object"
},
"rank": {
"description": "the relative order in which the element occurs, lower values are given precedence",
"type": "integer"
},
"related_mappings": {
"description": "A list of terms from different schemas or terminology systems that have related meaning.",
"items": {
"type": "string"
},
"type": "array"
},
"see_also": {
"description": "A list of related entities or URLs that may be of relevance",
"items": {
"type": "string"
},
"type": "array"
},
"settings": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/Setting__identifier_optional"
},
{
"description": "The value assigned for a setting",
"type": "string"
}
]
},
"description": "A collection of global variable settings",
"type": "object"
},
"slot_names_unique": {
"description": "if true then induced/mangled slot names are not created for class_usage and attributes",
"type": "boolean"
},
"slots": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/SlotDefinition__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "An index to the collection of all slot definitions in the schema",
"type": "object"
},
"source": {
"description": "A related resource from which the element is derived.",
"type": "string"
},
"source_file": {
"description": "name, uri or description of the source of the schema",
"type": "string"
},
"source_file_date": {
"description": "modification date of the source of the schema",
"format": "date-time",
"type": "string"
},
"source_file_size": {
"description": "size in bytes of the source of the schema",
"type": "integer"
},
"status": {
"description": "status of the element",
"type": "string"
},
"structured_aliases": {
"description": "A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.",
"items": {
"$ref": "#/$defs/StructuredAlias"
},
"type": "array"
},
"subsets": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/SubsetDefinition__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "An index to the collection of all subset definitions in the schema",
"type": "object"
},
"title": {
"description": "A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.",
"type": "string"
},
"todos": {
"description": "Outstanding issues that needs resolution",
"items": {
"type": "string"
},
"type": "array"
},
"types": {
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/TypeDefinition__identifier_optional"
},
{
"type": "null"
}
]
},
"description": "An index to the collection of all type definitions in the schema",
"type": "object"
},
"version": {
"description": "particular version of schema",
"type": "string"
}
},
"required": [
"id",
"name"
],
"title": "meta",
"type": "object",
"version": "2.0.0"
} | meta |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"meta": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"type": {
"type": "string",
"enum": [
"EiffelArtifactCreatedEvent"
]
},
"version": {
"type": "string",
"enum": [
"1.1.0"
],
"default": "1.1.0"
},
"time": {
"type": "integer"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"source": {
"type": "object",
"properties": {
"domainId": {
"type": "string"
},
"host": {
"type": "string"
},
"name": {
"type": "string"
},
"serializer": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"artifactId": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"groupId",
"artifactId",
"version"
],
"additionalProperties": false
},
"uri": {
"type": "string"
}
},
"additionalProperties": false
},
"security": {
"type": "object",
"properties": {
"sdm": {
"type": "object",
"properties": {
"authorIdentity": {
"type": "string"
},
"encryptedDigest": {
"type": "string"
}
},
"required": [
"authorIdentity",
"encryptedDigest"
],
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"required": [
"id",
"type",
"version",
"time"
],
"additionalProperties": false
},
"data": {
"type": "object",
"properties": {
"gav": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"artifactId": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"groupId",
"artifactId",
"version"
],
"additionalProperties": false
},
"fileInformation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"classifier": {
"type": "string"
},
"extension": {
"type": "string"
}
},
"required": [
"classifier",
"extension"
],
"additionalProperties": false
}
},
"buildCommand": {
"type": "string"
},
"requiresImplementation": {
"type": "string",
"enum": [
"NONE",
"ANY",
"EXACTLY_ONE",
"AT_LEAST_ONE"
]
},
"dependsOn": {
"type": "array",
"items": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"artifactId": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"groupId",
"artifactId",
"version"
],
"additionalProperties": false
}
},
"implements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"artifactId": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"groupId",
"artifactId",
"version"
],
"additionalProperties": false
}
},
"name": {
"type": "string"
},
"customData": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {}
},
"required": [
"key",
"value"
],
"additionalProperties": false
}
}
},
"required": [
"gav"
],
"additionalProperties": false
},
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"target": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"type",
"target"
],
"additionalProperties": false
}
}
},
"required": [
"meta",
"data",
"links"
],
"additionalProperties": false
} | o5347 |
{
"title": "JSON schema for OraDBPM Package",
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "https://raw.githubusercontent.com/s-oravec/oradb-package/master/oradbpm-package-schema.json",
"type": "object",
"definitions": {
"SemverVersion": {
"type": "string",
"format": "semverVersion",
"description": "Valid semver version (https://github.com/npm/node-semver)."
},
"SemverVersionRange": {
"type": "string",
"format": "semverVersionRange",
"description": "Valid semver versionRange (https://github.com/npm/node-semver)."
},
"DependencyObject": {
"type": "object",
"properties": {
"version": {
"$ref": "#/definitions/SemverVersionRange",
"description": "Package semver versionRange declaration."
},
"peer": {
"type": "boolean",
"description": "Dependency should be deployed as peer dependency."
}
},
"required": [
"version"
],
"description": "Package dependency object.",
"additionalProperties": false
},
"Dependency": {
"oneOf": [
{
"$ref": "#/definitions/SemverVersionRange",
"description": "Package dependency as semver versionRange declaration literal."
},
{
"$ref": "#/definitions/DependencyObject",
"description": "Package dependency object."
}
],
"description": "Package dependency"
},
"Dependencies": {
"type": "object",
"patternProperties": {
"^[a-z][\\$#a-z0-9_]*$": {
"$ref": "#/definitions/Dependency",
"description": "properties of dependencies object are package names"
}
},
"minProperties": 1,
"additionalProperties": false,
"description": "collection of packages and their versionRange declarations"
},
"PersonLiteral": {
"type": "string",
"pattern": "^.+\\<.+@.+\\..+\\>$",
"description": "person defined as name <email>"
},
"PersonObject": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "person's name"
},
"email": {
"type": "string",
"format": "email",
"description": "person's email"
}
},
"required": [
"name",
"email"
],
"description": "person defined as person object",
"additionalProperties": false
},
"Person": {
"oneOf": [
{
"$ref": "#/definitions/PersonLiteral",
"description": "person defined as name <email>"
},
{
"$ref": "#/definitions/PersonObject",
"description": "person defined as person object"
}
],
"description": "person definition"
}
},
"properties": {
"name": {
"type": "string",
"pattern": "^[a-z][\\$#a-z0-9_]*$",
"description": "package name"
},
"version": {
"$ref": "#/definitions/SemverVersion",
"description": "package version - must be valid semver version"
},
"language": {
"type": "string",
"enum": [
"sql",
"plsql",
"sqlplus"
],
"description": "language in which is package implemented"
},
"description": {
"type": "string",
"description": "package description"
},
"license": {
"type": "string",
"description": "package license"
},
"author": {
"$ref": "#/definitions/Person",
"description": "package author"
},
"keywords": {
"type": "array",
"items": {
"type": "string",
"description": "keyword"
},
"aditionalItems": "false",
"minItems": 1,
"description": "list of keywords",
"_uniqueItems": true
},
"repository": {
"type": "string",
"format": "uri",
"description": "package git repository uri"
},
"bugs": {
"type": "string",
"format": "uri",
"description": "package bug & issue tracking page"
},
"homepage": {
"type": "string",
"format": "uri",
"description": "Package homepage."
},
"dependencies": {
"$ref": "#/definitions/Dependencies",
"description": "Collection of package runtime dependencies declarations."
},
"devDependencies": {
"$ref": "#/definitions/Dependencies",
"description": "Collection of package development dependencies declarations."
}
},
"required": [
"name",
"version",
"language",
"description",
"license"
],
"additionalProperties": false
}
| o72113 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerState": {
"description": "ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.",
"properties": {
"running": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerStateRunning",
"description": "Details about a running container"
},
"terminated": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerStateTerminated",
"description": "Details about a terminated container"
},
"waiting": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerStateWaiting",
"description": "Details about a waiting container"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerStateRunning": {
"description": "ContainerStateRunning is a running state of a container.",
"properties": {
"startedAt": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Time at which the container was last (re-)started"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerStateTerminated": {
"description": "ContainerStateTerminated is a terminated state of a container.",
"properties": {
"containerID": {
"description": "Container's ID in the format 'docker://<container_id>'",
"type": "string"
},
"exitCode": {
"_format": "int32",
"description": "Exit status from the last termination of the container",
"type": "integer"
},
"finishedAt": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Time at which the container last terminated"
},
"message": {
"description": "Message regarding the last termination of the container",
"type": "string"
},
"reason": {
"description": "(brief) reason from the last termination of the container",
"type": "string"
},
"signal": {
"_format": "int32",
"description": "Signal from the last termination of the container",
"type": "integer"
},
"startedAt": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Time at which previous execution of the container started"
}
},
"required": [
"exitCode"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerStateWaiting": {
"description": "ContainerStateWaiting is a waiting state of a container.",
"properties": {
"message": {
"description": "Message regarding why the container is not yet running.",
"type": "string"
},
"reason": {
"description": "(brief) reason the container is not yet running.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerStatus": {
"description": "ContainerStatus contains details for the current status of this container.",
"properties": {
"containerID": {
"description": "Container's ID in the format 'docker://<container_id>'.",
"type": "string"
},
"image": {
"description": "The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images",
"type": "string"
},
"imageID": {
"description": "ImageID of the container's image.",
"type": "string"
},
"lastState": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerState",
"description": "Details about the container's last termination condition."
},
"name": {
"description": "This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.",
"type": "string"
},
"ready": {
"description": "Specifies whether the container has passed its readiness probe.",
"type": "boolean"
},
"restartCount": {
"_format": "int32",
"description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.",
"type": "integer"
},
"started": {
"description": "Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined.",
"type": "boolean"
},
"state": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerState",
"description": "Details about the container's current condition."
}
},
"required": [
"name",
"ready",
"restartCount",
"image",
"imageID"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodCondition": {
"description": "PodCondition contains details for the current condition of this pod.",
"properties": {
"lastProbeTime": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Last time we probed the condition."
},
"lastTransitionTime": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Last time the condition transitioned from one status to another."
},
"message": {
"description": "Human-readable message indicating details about last transition.",
"type": "string"
},
"reason": {
"description": "Unique, one-word, CamelCase reason for the condition's last transition.",
"type": "string"
},
"status": {
"description": "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions",
"type": "string"
},
"type": {
"description": "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions",
"type": "string"
}
},
"required": [
"type",
"status"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodIP": {
"description": "IP address information for entries in the (plural) PodIPs field. Each entry includes:\n IP: An IP address allocated to the pod. Routable at least within the cluster.",
"properties": {
"ip": {
"description": "ip is an IP address (IPv4 or IPv6) assigned to the pod",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time": {
"_format": "date-time",
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": "string"
}
},
"description": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.",
"properties": {
"conditions": {
"description": "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodCondition"
},
"type": [
"array",
"null"
],
"x-kubernetes-patch-merge-key": "type",
"x-kubernetes-patch-strategy": "merge"
},
"containerStatuses": {
"description": "The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerStatus"
},
"type": [
"array",
"null"
]
},
"ephemeralContainerStatuses": {
"description": "Status for any ephemeral containers that have run in this pod. This field is alpha-level and is only populated by servers that enable the EphemeralContainers feature.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerStatus"
},
"type": [
"array",
"null"
]
},
"hostIP": {
"description": "IP address of the host to which the pod is assigned. Empty if not yet scheduled.",
"type": [
"string",
"null"
]
},
"initContainerStatuses": {
"description": "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerStatus"
},
"type": [
"array",
"null"
]
},
"message": {
"description": "A human readable message indicating details about why the pod is in this condition.",
"type": [
"string",
"null"
]
},
"nominatedNodeName": {
"description": "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled.",
"type": [
"string",
"null"
]
},
"phase": {
"description": "The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values:\n\nPending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase",
"type": [
"string",
"null"
]
},
"podIP": {
"description": "IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.",
"type": [
"string",
"null"
]
},
"podIPs": {
"description": "podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodIP"
},
"type": [
"array",
"null"
],
"x-kubernetes-patch-merge-key": "ip",
"x-kubernetes-patch-strategy": "merge"
},
"qosClass": {
"description": "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md",
"type": [
"string",
"null"
]
},
"reason": {
"description": "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'",
"type": [
"string",
"null"
]
},
"startTime": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod."
}
},
"type": "object"
} | kb_736_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"values": {
"type": "array",
"items": {
"type": "integer"
}
},
"categoryActual": {
"type": "object",
"properties": {
"category": {
"type": "integer"
},
"values": {
"$ref": "#/definitions/values"
}
},
"additionalProperties": false,
"required": [
"category",
"values"
]
}
},
"type": "array",
"items": {
"$ref": "#/definitions/categoryActual"
}
} | o79554 |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base length 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"
}
},
"required": [
"radius",
"side_length",
"base",
"height"
],
"type": "object"
},
"shape": {
"description": "The shape (e.g. circle, square, triangle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_e6c3e283 |
{
"$id": "https://json.schemastore.org/paper-plugin",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": true,
"definitions": {
"plugin-name": {
"type": "string",
"pattern": "^[A-Za-z0-9_\\.-]+$"
},
"plugin-class": {
"type": "string",
"pattern": "^(?!io\\.papermc\\.)([a-zA-Z_$][a-zA-Z\\d_$]*\\.)*[a-zA-Z_$][a-zA-Z\\d_$]*$"
},
"perm-default": {
"enum": ["true", "false", "op", "notop"]
},
"permission": {
"type": "object",
"description": "A permission for this plugin",
"properties": {
"default": {
"$ref": "#/definitions/perm-default",
"description": "Default for this permission"
},
"description": {
"type": "string"
},
"children": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "object",
"additionalProperties": {
"oneOf": [
{
"type": "boolean",
"description": "False to not inherit the parent permission."
},
{
"$ref": "#/definitions/permission"
}
]
}
}
]
}
},
"additionalProperties": false
},
"dependency": {
"description": "A plugin dependency",
"type": "object",
"properties": {
"load": {
"description": "Where to load this dependency in relation to the plugin. Defaults to OMIT",
"enum": ["AFTER", "BEFORE", "OMIT"]
},
"join-classpath": {
"description": "Whether this dependency's classpath should be joined by the plugin. Defaults to true",
"type": "boolean"
},
"required": {
"description": "Whether this dependency is required for the plugin to load. Defaults to true",
"type": "boolean"
}
},
"additionalProperties": false
},
"dependency-group": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/dependency"
}
}
},
"description": "JSON schema for Paper Plugin YAML",
"properties": {
"name": {
"description": "The name of the plugin",
"$ref": "#/definitions/plugin-name"
},
"main": {
"description": "The main class of the plugin",
"examples": ["com.example.ExamplePlugin"],
"$ref": "#/definitions/plugin-class"
},
"bootstrapper": {
"description": "The main class of the custom bootstrapper for the plugin",
"examples": ["com.example.ExamplePluginBoostrapper"],
"$ref": "#/definitions/plugin-class"
},
"loader": {
"description": "The main class of the custom plugin loader for the plugin",
"examples": ["com.example.ExamplePluginLoader"],
"$ref": "#/definitions/plugin-class"
},
"provides": {
"description": "Satisfies dependency requirements as this plugin. When resolving dependencies, if a plugin requires a plugin in this list, this plugin will satisfy it.",
"type": "array",
"uniqueItems": true,
"items": {
"$ref": "#/definitions/plugin-name"
}
},
"has-open-classloader": {
"type": "boolean",
"description": "Whether the plugin should have its classloader public to other paper plugins"
},
"version": {
"description": "The version of the plugin",
"type": ["string"]
},
"description": {
"description": "The description of the plugin",
"type": "string"
},
"authors": {
"type": "array",
"description": "Main authors of the plugin",
"items": {
"type": "string",
"uniqueItems": true
}
},
"contributors": {
"type": "array",
"description": "Other contributors to the plugin",
"items": {
"type": "string",
"uniqueItems": true
}
},
"website": {
"type": "string",
"description": "Plugin website"
},
"prefix": {
"type": "string",
"description": "Log prefix for this plugin. Defaults to the plugin name"
},
"load": {
"enum": ["STARTUP", "POSTWORLD"],
"description": "When to load this plugin. Defaults to POSTWORLD."
},
"default-perm": {
"$ref": "#/definitions/perm-default",
"description": "Default value for permissions. Defaults to 'op'"
},
"permissions": {
"description": "Permissions for this plugin",
"additionalProperties": {
"$ref": "#/definitions/permission"
}
},
"api-version": {
"description": "The API version of the plugin",
"type": "string",
"pattern": "^1\\.\\d{2}$",
"examples": ["1.19", "1.20"]
},
"dependencies": {
"description": "Plugin dependencies.",
"type": "object",
"properties": {
"bootstrap": {
"description": "Depenencies for the plugin bootstrapper",
"$ref": "#/definitions/dependency-group"
},
"server": {
"description": "Depenencies for the server",
"$ref": "#/definitions/dependency-group"
}
},
"additionalProperties": false
}
},
"required": ["name", "version", "main", "api-version"],
"title": "Paper paper-plugin.yml",
"type": "object"
}
| paper-plugin |
{
"additionalProperties": false,
"description": "perfromance platform schema for: user-satisfaction multiple quantitative based question plus comment records. Quantitative question rated 1 to 5, 1 being the lowest, 5 being the highest. the comment is the last question. Schema shows 6 questions plus one comments question (question 7)",
"properties": {
"_id": {
"description": "unique url-friendly base64 encoded, utf8 endoded concatenation identifier",
"type": "string"
},
"_timestamp": {
"_format": "date-time",
"description": "ISO8601 combined date and time in UTC e.g. '2014-12-01T00:00:00+00:00'",
"type": "string"
},
"period": {
"description": "The period covered by each data point from the _timestamp",
"enum": [
"hour",
"day",
"week",
"month",
"quarter"
]
},
"question": {
"description": "the identifier for the question",
"type": "string"
},
"rating_1": {
"description": "the number of respondents answering with the lowest ranked score",
"minimum": 0,
"type": "integer"
},
"rating_2": {
"description": "the number of respondents answering with the second lowest ranked score",
"minimum": 0,
"type": "integer"
},
"rating_3": {
"description": "the number of respondents answering with the middle ranked score",
"minimum": 0,
"type": "integer"
},
"rating_4": {
"description": "the number of respondents answering with the second highest ranked score",
"minimum": 0,
"type": "integer"
},
"rating_5": {
"description": "the number of respondents answering with the highest ranked score",
"minimum": 0,
"type": "integer"
},
"respondents": {
"description": "the number of respondents responding the specific question - respondents may choose not to answer all survey questions",
"minimum": 0,
"type": "integer"
},
"total_respondents": {
"description": "the total number of respondents undertaking the user-satisfaction questionnaire",
"minimum": 0,
"type": "integer"
}
},
"required": [
"_id",
"_timestamp",
"period",
"question",
"respondents",
"total_respondents"
],
"title": "user-satisfaction-multi-question",
"type": "object"
} | o21468 |
{
"properties": {
"customer_details": {
"properties": {
"email": {
"description": "The email address of the customer",
"format": "email",
"type": "string"
},
"name": {
"description": "The name of the customer",
"type": "string"
}
},
"required": [
"name",
"email"
],
"type": "object"
},
"service_name": {
"description": "The name of the service",
"type": "string"
},
"service_price": {
"description": "The price of the service",
"type": "number"
}
},
"required": [
"service_name",
"service_price",
"customer_details"
],
"type": "object"
} | generate_invoice_65aa9269 |
{
"_copyright": "Copyright (c) 2014 Juniper Networks, Inc. All rights reserved.",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"id": {
"type": "string",
"default": null,
"description": "Id of the cluster being added. This is a mandatory parameter."
},
"email": {
"type": "string",
"default": null,
"description": "Email id to send status of reimage/provision."
},
"base_image_id": {
"type": "string",
"default": null,
"description": "Id of base image OS that the cluster will be reimaged with."
},
"package_image_id": {
"type": "string",
"default": null,
"description": "Id of Contrail package that the cluster will be provisioned with."
},
"parameters": {
"type": "object",
"properties": {
"domain": {
"type": "string",
"default": null,
"description": "Domain that all the servers of the cluster will default to."
},
"subnet_mask": {
"type": "string",
"pattern": "^$|^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(/[0-9][0-9])?$",
"default": null,
"description": "Subnet mask that all the servers of the cluster will default to."
},
"gateway": {
"type": "string",
"pattern": "^$|^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(/[0-9][0-9])?$",
"default": null,
"description": "Gateway IP that all the servers of the cluster will default to."
},
"password": {
"type": "string",
"default": null,
"description": "Root Password that all the servers of the cluster will default to."
},
"provision": {
"type": "object",
"properties": {
"contrail": {
"type": "object",
"properties": {
"xmpp_auth_enable": {
"type": "boolean",
"default": false,
"description": "flag to indicate if xmpp athentication is enabled between control node and vrouter agent."
},
"xmpp_dns_auth_enable": {
"type": "boolean",
"default": false,
"description": "flag to indicate if xmpp athentication is enabled between control node and vrouter dns agent."
},
"kernel_upgrade": {
"type": "boolean",
"default": true,
"description": "Whether to upgrade kernel version of target servers."
},
"kernel_version": {
"type": "string",
"default": "",
"description": "Kernel version to upgrade to. Optional parameter. Default upgrades to kernel version included with contrail package, if upgrade flag is set."
},
"enable_lbass": {
"type": "boolean",
"default": false,
"description": "flag to indicate if lbaas feature is enabled for the cluster."
},
"amqp_ssl": {
"type": "boolean",
"default": false,
"description": "Flag to enable or disable rabbitmq server SSL support globally for openstack and contrail config"
},
"ha": {
"type": "object",
"properties": {
"haproxy_enable": {
"type": "boolean",
"default": true,
"description": "Whether HAproxy service is enabled or disabled."
},
"contrail_internal_vip": {
"type": "string",
"pattern": "^$|^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(/[0-9][0-9])?$",
"default": "",
"description": "Virtual Interface IP to be used for control/data interface of contrail HA nodes"
},
"contrail_external_vip": {
"type": "string",
"pattern": "^$|^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(/[0-9][0-9])?$",
"default": "",
"description": "Virtual Interface IP to be used for management interface of contrail HA nodes"
},
"contrail_internal_virtual_router_id": {
"type": "integer",
"default": 103,
"description": "VRID for control/data interface HA functionality."
}
}
},
"database": {
"type": "object",
"properties": {
"ip_port": {
"type": "integer",
"default": 9160,
"description": "Port number used by database service."
},
"directory": {
"type": "string",
"default": "/var/lib/cassandra",
"description": "Dataabse directory path for Cassandra to use"
},
"minimum_diskGB": {
"type": "integer",
"pattern": "number",
"default": 32,
"description": "Minimum free disk size needed (in GB)"
}
}
},
"analytics": {
"type": "object",
"properties": {
"data_ttl": {
"type": "integer",
"pattern": "number",
"default": 48,
"description": "Analytics Data TTL in hours"
},
"config_audit_ttl": {
"type": "integer",
"default": 2160,
"description": "Analytics config audit TTL in hours"
},
"statistics_ttl": {
"type": "integer",
"default": 168,
"description": "Analytics statistics TTL in hours"
},
"flow_ttl": {
"type": "integer",
"default": 2,
"description": "Analytics flow TTL in hours"
},
"snmp_scan_frequency": {
"type": "integer",
"default": 600,
"description": "SNMP scan interval in seconds"
},
"snmp_fast_scan_frequency": {
"type": "integer",
"default": 60,
"description": "SNMP fast scan interval in seconds"
},
"topology_scan_frequency": {
"type": "integer",
"default": 60,
"description": "Topology scan interval in seconds"
},
"syslog_port": {
"type": "integer",
"default": -1,
"description": "Analytics syslog port value"
},
"data_directory": {
"type": "string",
"default": "",
"description": "Analytics dir name where data files are stored, default use the same value as database_dir in database role."
},
"ssd_data_directory": {
"type": "string",
"default": "",
"description": "Analytics dir name where ssd files are stored, default use the same value as database_dir in database role."
},
"redis_password": {
"type": "string",
"default": null,
"description": "Password to use for Redis service"
}
}
},
"control": {
"type": "object",
"properties": {
"encapsulation_priority": {
"type": "string",
"default": "VXLAN,MPLSoUDP,MPLSoGRE",
"description": "The priority order for tunnel encapsulation methods used by Controller EVPN"
},
"router_asn": {
"type": "integer",
"default": 64512,
"description": "The ASN that the cluster belongs to"
},
"external_bgp": {
"type": "string",
"default": "",
"description": "List of external BGP peers in the form of name, address tuples e.g. [('montreal', '13.1.0.254')]"
}
}
},
"config": {
"type": "object",
"properties": {
"manage_neutron": {
"type": "boolean",
"default": true,
"description": "Whether config manages neutron service"
},
"zookeeper_ip_port": {
"type": "integer",
"default": 2181,
"description": "The IP Port that the zookeeper service listens on"
},
"healthcheck_interval": {
"type": "integer",
"default": 5,
"description": "Discovery health check interval"
},
"amqp_use_ssl": {
"type": "boolean",
"default": false,
"description": "Flag to enable or disable rabbitmq server SSL support for contrail config"
}
}
},
"webui": {
"type": "object",
"properties": {}
},
"compute": {
"type": "object",
"properties": {
"huge_pages": {
"type": "string",
"default": "",
"description": "Specify what percentage of host memory should be reserved for access with huge pages"
},
"core_mask": {
"type": "string",
"default": "",
"description": "Specify CPU affinity mask to run vRouter with. Supports hexadecimal, comma-separated list of CPUs, dash-separated range of CPUs"
},
"sriov": {
"type": "object",
"properties": {
"enable": {
"type": "boolean",
"default": false,
"description": "Flag to set if SRIOV is enabled"
}
}
}
}
},
"vmware": {
"type": "object",
"properties": {
"ip": {
"type": "string",
"default": "",
"description": "VMware IP address."
},
"username": {
"type": "string",
"default": "",
"description": "VMware user name"
},
"password": {
"type": "string",
"default": "",
"description": "VMware user password"
},
"vswitch": {
"type": "string",
"default": "",
"description": "VMware vswitch name"
}
}
},
"vgw": {
"type": "object",
"properties": {
"public_subnet": {
"type": "string",
"default": "",
"description": "VGW public subnet address."
},
"public_vn_name": {
"type": "string",
"default": "",
"description": "VGW public virtual network name."
},
"interface": {
"type": "string",
"default": "",
"description": "VGW interface name"
},
"gateway_routes": {
"type": "string",
"default": "",
"description": "VGW routes"
}
}
},
"storage": {
"type": "object",
"properties": {
"storage_monitor_secret": {
"type": "string",
"default": "",
"description": "Key for Storage monitor Secret"
},
"osd_bootstrap_key": {
"type": "string",
"default": "",
"description": "OSD Bootstrap Key value"
},
"storage_chassis_config": {
"type": "array",
"items": {
"type": "string"
},
"description": "Storage chassis config"
},
"live_migration_host": {
"type": "string",
"default": "",
"description": "Live migration host IP"
},
"storage_admin_key": {
"type": "string",
"default": "",
"description": "Ceph Storage admin key"
}
}
},
"toragent": {
"type": "object",
"properties": {}
},
"tsn": {
"type": "object",
"properties": {}
}
}
},
"openstack": {
"type": "object",
"properties": {
"keystone": {
"type": "object",
"properties": {
"admin_password": {
"type": "string",
"default": "contrail123",
"description": "Keystone Admin Password value"
},
"ip": {
"type": "string",
"pattern": "^$|^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(/[0-9][0-9])?$",
"default": "",
"description": "The External Keystone IP to use (If we are using a Central Keystone server, for example)"
},
"admin_user": {
"type": "string",
"default": "admin",
"description": "Keystone admin user value"
},
"admin_tenant": {
"type": "string",
"default": "admin",
"description": "Keystone admin tenant value"
},
"service_tenant": {
"type": "string",
"default": "services",
"description": "Keystone service tenant value"
},
"auth_port": {
"type": "integer",
"default": 35357,
"description": "Keystone authentication port"
},
"auth_protocol": {
"type": "string",
"default": "http",
"description": "Keystone authentication protocol (http/https)"
},
"mysql_service_password": {
"type": "string",
"default": "",
"description": "The MYSQL service password that Openstack services should use when talking to an external Keystone server."
},
"version": {
"type": "string",
"default": "v2.0",
"description": "Keystone API version"
}
}
},
"neutron": {
"type": "object",
"properties": {
"service_protocol": {
"type": "string",
"default": "http",
"description": "Neutron service protocol (https/http)"
},
"port": {
"type": "integer",
"default": 9697,
"description": "Neutron port to use"
}
}
},
"amqp": {
"type": "object",
"properties": {
"server_ip": {
"type": "string",
"default": "",
"description": "AMQP Service IP to connect to"
},
"use_ssl": {
"type": "boolean",
"default": false,
"description": "Flag to enable or disable rabbitmq server SSL support for openstack"
}
}
},
"region": {
"type": "string",
"default": "RegionOne",
"description": "Openstack keystone region name"
},
"multi_tenancy": {
"type": "boolean",
"default": true,
"description": "Flag to set if multi tenancy is enabled"
},
"openstack_manage_amqp": {
"type": "boolean",
"default": false,
"description": "Flag to set if Openstack nodes use their own AMQP cluster (Rabbit cluster)"
},
"enable_ceilometer": {
"type": "boolean",
"default": false,
"description": "Flag to set if ceilometer service is enabled."
},
"ha": {
"type": "object",
"properties": {
"internal_vip": {
"type": "string",
"pattern": "^$|^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(/[0-9][0-9])?$",
"default": "",
"description": "Virtual IP address for openstack node control interface"
},
"external_vip": {
"type": "string",
"pattern": "^$|^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(/[0-9][0-9])?$",
"default": "",
"description": "Virtual IP address for openstack node management interface"
},
"internal_virtual_router_id": {
"type": "integer",
"default": 102,
"description": "VRID for openstack control network"
},
"external_virtual_router_id": {
"type": "integer",
"default": 101,
"description": "VRID for openstack management network"
},
"nfs_server": {
"type": "string",
"pattern": "^$|^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(/[0-9][0-9])?$",
"default": "",
"description": "Address of NFS server used to keep images for HA."
},
"nfs_glance_path": {
"type": "string",
"default": "",
"description": "NFS path for glance images, used for HA."
}
}
},
"mysql": {
"type": "object",
"properties": {
"root_password": {
"type": "string",
"default": "c0ntrail123",
"description": "mysql root password value"
},
"allowed_hosts": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of IP addresses that are allowed to access the MYSQL server on Openstack node of the cluster."
}
}
}
}
}
}
}
}
}
},
"required": [
"id"
]
} | o8487 |
{
"description": "This schema documents and guides creation of a config file for the osvr_server application.",
"properties": {
"aliases": {
"description": "Aliases to manually add to the path tree, optionally with transforms. These take the same format as automatic aliases, so they should share a schema.",
"title": "Aliases - TODO",
"type": "object"
},
"display": {
"title": "Display descriptor - TODO - filename, reference, or object"
},
"drivers": {
"items": {
"properties": {
"driver": {
"id": "driver",
"type": "string"
},
"params": {
"id": "params",
"properties": {},
"type": "object"
},
"plugin": {
"id": "plugin",
"type": "string"
}
},
"type": "object"
},
"title": "Drivers to manually instantiate",
"type": "array"
},
"externalDevices": {
"additionalProperties": {
"description": "Describes an external device. The key associated with this object is the path it will be accessible under.",
"properties": {
"descriptor": {
"description": "TODO - can either be an embedded descriptor object, or a reference to an external file with the descriptor.",
"title": "Device descriptor"
},
"deviceName": {
"description": "For example, Tracker0 - the part preceding @ in the full VRPN device name.",
"title": "Device name",
"type": "string"
},
"server": {
"description": "Server host (IP address or hostname), optionally with port if not the default 3883",
"title": "Device server",
"type": "string"
}
},
"title": "External device definition",
"type": "object"
},
"description": "Contains entries defining path tree names and device descriptors for external VRPN devices",
"title": "External devices object",
"type": "object"
},
"plugins": {
"description": "Manual-load plugins that should be loaded. Provide plugin name only, not filename.",
"items": {
"pattern": "^[a-zA-Z]+[a-zA-Z0-9_]*$",
"type": "string"
},
"title": "Plugins to manually load",
"type": "array"
},
"routes": {
"description": "Deprecated way to specify aliases, or as they were known earlier, routes. Replaced fully by aliases.",
"title": "DEPRECATED - Route specifications",
"type": "array"
},
"server": {
"properties": {
"interface": {
"description": "Network interface (IP address) to listen on - implies a non-local-only server",
"type": "string"
},
"local": {
"default": "true",
"description": "Whether the server should be local-only or shared (open to networks)",
"type": "boolean"
},
"port": {
"default": 3883,
"description": "Port to listen on - note that a non-default port may impair the ability of client applications to contact the server!",
"minimum": 1,
"type": "integer"
},
"sleep": {
"default": 1,
"description": "Mainloop sleep duration, in milliseconds",
"minimum": 0,
"type": "number"
}
},
"title": "Server options",
"type": "object"
}
},
"title": "OSVR Server Config",
"type": "object"
} | o28953 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "JSON schema for JasmineNodeTestAdapter configuration files (JasmineNodeTestAdapter.json)",
"type": "object",
"additionalProperties": false,
"properties": {
"$schema": {
"type": "string",
"format": "uri"
},
"Name": {
"description": "The name of the test container.",
"type": "string"
},
"BasePath": {
"description": "The base path to use to resolve file paths. Defaults to the directory in which JasmineNodeTestAdapter.json resides.",
"type": "string"
},
"Helpers": {
"description": "Non-source, non-spec helper files. Loaded before any specs. Wildcards can be used - see [glob](https://www.npmjs.com/package/glob).",
"type": "array",
"items": {
"type": "string"
}
},
"Specs": {
"description": "Files containing Jasmine specs. Wildcards can be used - see [glob](https://www.npmjs.com/package/glob).",
"type": "array",
"items": {
"type": "string"
}
},
"Watch": {
"description": "A test run is triggered if any file specified in `Helpers` or `Specs` change. Add any files in `Watch` that should also trigger a test run when they change. These will typically be the source files. Wildcards can be used - see [glob](https://www.npmjs.com/package/glob).",
"type": "array",
"items": {
"type": "string"
}
},
"BatchInterval": {
"description": "When the test adapter is watching files for changes, it will wait `BatchInterval` ms before running tests. Default value is 250.",
"type": "number"
},
"Traits": {
"description": "Traits to attach to each test.",
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
}
},
"required": [
"Name"
]
}
]
}
},
"Extensions": {
"description": "Path to a node.js module implementing extensions.",
"type": "string"
},
"Disabled": {
"description": "Set to true, if the test adapter should be disabled for this configuration file.",
"type": "boolean"
},
"LogToFile": {
"description": "Set to true, if you want the adapter to write log statements to a log file (named JasmineNodeTestAdapter.log).",
"type": "boolean"
},
"LogDirectory": {
"description": "Where the log file should be saved (if LogToFile is true). If this property is not specified the directory in which JasmineNodeTestAdapter.json resides is used.",
"type": "string"
}
}
} | o10617 |
{
"additionalProperties": false,
"description": "common json schema for time-based event aggregation records (datum)",
"properties": {
"_id": {
"description": "unique url-friendly base64 encoded, utf8 endoded concatenation identifier",
"type": "string"
},
"_timestamp": {
"_format": "date-time",
"description": "ISO8601 combined date and time in UTC e.g. '2014-12-01T00:00:00+00:00'",
"type": "string"
},
"period": {
"description": "The period covered by each data point from the _timestamp",
"enum": [
"hour",
"day",
"week",
"month",
"quarter"
]
}
},
"required": [
"_id",
"_timestamp",
"period"
],
"title": "aggregate-base",
"type": "object"
} | o21472 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ResourceRequirements": {
"description": "ResourceRequirements describes the compute resource requirements.",
"properties": {
"limits": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity"
},
"description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
"type": "object"
},
"requests": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity"
},
"description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
"type": "object"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_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_apimachinery_pkg_api_resource_Quantity": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector": {
"description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
"properties": {
"matchExpressions": {
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement"
},
"type": "array"
},
"matchLabels": {
"additionalProperties": {
"type": "string"
},
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"type": "object"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement": {
"description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
"properties": {
"key": {
"description": "key is the label key that the selector applies to.",
"type": "string",
"x-kubernetes-patch-merge-key": "key",
"x-kubernetes-patch-strategy": "merge"
},
"operator": {
"description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
"type": "string"
},
"values": {
"description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"key",
"operator"
],
"type": "object"
}
},
"description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes",
"properties": {
"accessModes": {
"description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
"items": {
"type": [
"string",
"null"
]
},
"type": [
"array",
"null"
]
},
"dataSource": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TypedLocalObjectReference",
"description": "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot - Beta) * An existing PVC (PersistentVolumeClaim) * An existing custom resource/object that implements data population (Alpha) In order to use VolumeSnapshot object types, the appropriate feature gate must be enabled (VolumeSnapshotDataSource or AnyVolumeDataSource) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the specified data source is not supported, the volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change."
},
"resources": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ResourceRequirements",
"description": "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources"
},
"selector": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector",
"description": "A label query over volumes to consider for binding."
},
"storageClassName": {
"description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1",
"type": [
"string",
"null"
]
},
"volumeMode": {
"description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.",
"type": [
"string",
"null"
]
},
"volumeName": {
"description": "VolumeName is the binding reference to the PersistentVolume backing this claim.",
"type": [
"string",
"null"
]
}
},
"type": "object"
} | kb_669_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"flows": {
"maxItems": 1000,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"iconData": {
"type": "string",
"maxLength": 32767,
"pattern": "^data:image/(jpg|jpeg|png|svg\\+xml);base64,[0-9a-zA-Z+/=]*$"
},
"enabled": {
"type": "boolean"
},
"triggers": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"customNodeStart",
"deviceCommand",
"deviceIdConnect",
"deviceTagConnect",
"deviceIdDisconnect",
"deviceTagDisconnect",
"integration",
"notebook",
"onBoot",
"onConnect",
"onDisconnect",
"request",
"udp",
"webhook"
]
},
"config": {
"type": "object",
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"customNodeStart",
"deviceCommand",
"deviceIdsTagsConnect",
"deviceIdsTagsDisconnect",
"flowError",
"googlePubSub",
"meridian",
"mqtt",
"notebook",
"onBoot",
"onConnect",
"onDisconnect",
"particle",
"request",
"udp",
"webhook"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"triggerId": {
"type": "string",
"maxLength": 48
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"dataTable"
]
},
"config": {
"type": "object",
"properties": {
"bulkInsert": {
"type": "boolean"
},
"delete": {
"type": "boolean"
},
"insert": {
"type": "boolean"
},
"update": {
"type": "boolean"
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"dataTable"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"deviceId",
"deviceTag"
]
},
"config": {
"type": "object",
"properties": {
"attributeBlacklist": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
}
},
"attributeWhitelist": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
}
},
"maxAge": {
"type": "number"
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"deviceIdsTags",
"device",
"deviceTag"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
},
"timeUnit": {
"type": "string",
"maxLength": 48
},
"maxAgeToggle": {
"type": "boolean"
},
"allowedAttributeType": {
"type": "string",
"enum": [
"attributeWhitelist",
"any",
"attributeBlacklist"
]
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"deviceIdInactivity",
"deviceTagInactivity"
]
},
"config": {
"type": "object",
"properties": {
"seconds": {
"type": "number"
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"deviceIdsTagsInactivity"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"endpoint"
]
},
"config": {
"type": "object",
"properties": {
"experienceVersion": {
"type": "string",
"minLength": 1,
"maxLength": 255
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"endpoint"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"event"
]
},
"config": {
"type": "object",
"properties": {
"subject": {
"type": "string",
"maxLength": 255
},
"new": {
"type": "boolean"
},
"acknowledged": {
"type": "boolean"
},
"resolved": {
"type": "boolean"
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"event"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"fileTail"
]
},
"config": {
"type": "object",
"properties": {
"path": {
"type": "string",
"maxLength": 1024
},
"encoding": {
"type": "string",
"maxLength": 48
},
"byteLength": {
"type": "string",
"maxLength": 48
},
"delimiter": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"fileTail"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"fileWatch"
]
},
"config": {
"type": "object",
"properties": {
"path": {
"type": "string",
"maxLength": 1024
},
"fileAdded": {
"type": "boolean"
},
"fileChanged": {
"type": "boolean"
},
"fileRemoved": {
"type": "boolean"
},
"directoryAdded": {
"type": "boolean"
},
"directoryRemoved": {
"type": "boolean"
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"fileWatch"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"flowError"
]
},
"config": {
"type": "object",
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"flowError"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"mqttTopic"
]
},
"config": {
"type": "object",
"properties": {
"integrationId": {
"type": "string",
"enum": [
"losant",
"local"
]
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"mqtt"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"triggerId": {
"type": "string",
"maxLength": 48
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"opcua"
]
},
"config": {
"type": "object",
"properties": {
"uri": {
"type": "string",
"maxLength": 1024
},
"securityPolicy": {
"type": "string",
"maxLength": 255
},
"securityMode": {
"type": "string",
"maxLength": 255
},
"username": {
"type": "string",
"maxLength": 1024
},
"password": {
"type": "string",
"maxLength": 1024
},
"cert": {
"type": "string",
"maxLength": 32767
},
"privateKey": {
"type": "string",
"maxLength": 32767
},
"nameSpace": {
"type": "string",
"maxLength": 255
},
"identifier": {
"type": "string",
"maxLength": 255
},
"samplingInterval": {
"type": "string",
"maxLength": 255
},
"eventFilter": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"opcua"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"redis"
]
},
"config": {
"type": "object",
"properties": {
"host": {
"type": "string",
"maxLength": 1024
},
"port": {
"type": "string",
"maxLength": 16
},
"password": {
"type": "string",
"maxLength": 1024
},
"topic": {
"type": "string",
"maxLength": 1024
},
"fileAdded": {
"type": "boolean"
},
"fileChanged": {
"type": "boolean"
},
"fileRemoved": {
"type": "boolean"
},
"directoryAdded": {
"type": "boolean"
},
"directoryRemoved": {
"type": "boolean"
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"redisTrigger"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"serial"
]
},
"config": {
"type": "object",
"properties": {
"path": {
"type": "string",
"maxLength": 1024
},
"baudRate": {
"type": "number"
},
"encoding": {
"type": "string",
"maxLength": 48
},
"writeOnOpen": {
"type": "string",
"maxLength": 1024
},
"byteLength": {
"type": "string",
"maxLength": 48
},
"delimiter": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"serial"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
},
"parseBy": {
"type": "string",
"enum": [
"byteLength",
"delimiter"
]
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"timer"
]
},
"config": {
"type": "object",
"properties": {
"seconds": {
"type": "number"
},
"cron": {
"type": "string",
"maxLength": 255
},
"tz": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"timer"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
},
"timerTypeSelect": {
"type": "string",
"enum": [
"cronWeekly",
"seconds",
"cron"
]
},
"timeAt": {
"type": "string",
"maxLength": 255
},
"timezone": {
"type": "string",
"maxLength": 255
},
"weekdays": {
"type": "array",
"maxItems": 7,
"items": {
"type": "number"
}
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"virtualButton"
]
},
"config": {
"type": "object",
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"virtualButton"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"groupId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
},
"payload": {
"type": "string",
"maxLength": 262144
},
"deviceId": {
"oneOf": [
{
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
{
"type": "string",
"enum": [
""
]
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
}
]
}
},
"nodes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"config": {
"type": "object"
},
"meta": {
"type": "object"
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"additionalProperties": false,
"required": [
"type"
]
}
},
"globals": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
},
"json": {
"type": "string",
"minLength": 1,
"maxLength": 32767
}
},
"additionalProperties": false,
"required": [
"key",
"json"
]
}
},
"flowClass": {
"type": "string",
"enum": [
"cloud",
"edge",
"experience",
"customNode"
]
},
"defaultVersionId": {
"oneOf": [
{
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
{
"type": "null"
}
]
},
"minimumAgentVersion": {
"type": "string",
"pattern": "^(0|([1-9]\\d*))\\.(0|([1-9]\\d*))\\.(0|([1-9]\\d*))$"
},
"customNodeConfig": {
"type": "object",
"properties": {
"outputCount": {
"type": "number",
"enum": [
1,
2
]
},
"resultMode": {
"type": "string",
"enum": [
"optional",
"required",
"none"
]
},
"resultDescription": {
"type": "string",
"maxLength": 32767
},
"fields": {
"type": "array",
"maxItems": 100,
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"checkbox"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"description": {
"type": "string",
"maxLength": 32767
},
"defaultValue": {
"type": "boolean"
}
},
"additionalProperties": false,
"required": [
"type",
"label"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"select"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"description": {
"type": "string",
"maxLength": 32767
},
"defaultValue": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"options": {
"type": "array",
"minItems": 1,
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 1024
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 1024
}
},
"additionalProperties": false,
"required": [
"value"
]
}
}
},
"additionalProperties": false,
"required": [
"type",
"label",
"defaultValue",
"options"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"stringTemplate"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"description": {
"type": "string",
"maxLength": 32767
},
"defaultValue": {
"type": "string",
"maxLength": 1024
},
"required": {
"type": "boolean"
},
"validRegExp": {
"type": "string",
"maxLength": 1024
}
},
"additionalProperties": false,
"required": [
"type",
"label"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"numberTemplate"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"description": {
"type": "string",
"maxLength": 32767
},
"defaultValue": {
"type": "number"
},
"required": {
"type": "boolean"
},
"validMin": {
"type": "number"
},
"validMax": {
"type": "number"
}
},
"additionalProperties": false,
"required": [
"type",
"label"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"jsonTemplate"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"description": {
"type": "string",
"maxLength": 32767
},
"defaultValue": {
"type": "string",
"maxLength": 32767
},
"required": {
"type": "boolean"
}
},
"additionalProperties": false,
"required": [
"type",
"label"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"payloadPath"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"description": {
"type": "string",
"maxLength": 32767
},
"required": {
"type": "boolean"
}
},
"additionalProperties": false,
"required": [
"type",
"label"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"section"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"description": {
"type": "string",
"maxLength": 32767
}
},
"additionalProperties": false,
"required": [
"type",
"label"
]
}
]
}
}
},
"additionalProperties": false,
"required": [
"outputCount",
"resultMode",
"fields"
]
},
"customNodeSupports": {
"type": "array",
"items": {
"type": "string",
"enum": [
"cloud"
]
}
}
},
"additionalProperties": {
"type": "string",
"maxLength": 1024
},
"required": [
"name"
]
}
},
"flowVersions": {
"maxItems": 1000,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"flowId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"notes": {
"type": "string",
"maxLength": 32767
},
"enabled": {
"type": "boolean"
},
"triggers": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"customNodeStart",
"deviceCommand",
"deviceIdConnect",
"deviceTagConnect",
"deviceIdDisconnect",
"deviceTagDisconnect",
"integration",
"notebook",
"onBoot",
"onConnect",
"onDisconnect",
"request",
"udp",
"webhook"
]
},
"config": {
"type": "object",
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"customNodeStart",
"deviceCommand",
"deviceIdsTagsConnect",
"deviceIdsTagsDisconnect",
"flowError",
"googlePubSub",
"meridian",
"mqtt",
"notebook",
"onBoot",
"onConnect",
"onDisconnect",
"particle",
"request",
"udp",
"webhook"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"triggerId": {
"type": "string",
"maxLength": 48
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"dataTable"
]
},
"config": {
"type": "object",
"properties": {
"bulkInsert": {
"type": "boolean"
},
"delete": {
"type": "boolean"
},
"insert": {
"type": "boolean"
},
"update": {
"type": "boolean"
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"dataTable"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"deviceId",
"deviceTag"
]
},
"config": {
"type": "object",
"properties": {
"attributeBlacklist": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
}
},
"attributeWhitelist": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
}
},
"maxAge": {
"type": "number"
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"deviceIdsTags",
"device",
"deviceTag"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
},
"timeUnit": {
"type": "string",
"maxLength": 48
},
"maxAgeToggle": {
"type": "boolean"
},
"allowedAttributeType": {
"type": "string",
"enum": [
"attributeWhitelist",
"any",
"attributeBlacklist"
]
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"deviceIdInactivity",
"deviceTagInactivity"
]
},
"config": {
"type": "object",
"properties": {
"seconds": {
"type": "number"
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"deviceIdsTagsInactivity"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"endpoint"
]
},
"config": {
"type": "object",
"properties": {
"experienceVersion": {
"type": "string",
"minLength": 1,
"maxLength": 255
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"endpoint"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"event"
]
},
"config": {
"type": "object",
"properties": {
"subject": {
"type": "string",
"maxLength": 255
},
"new": {
"type": "boolean"
},
"acknowledged": {
"type": "boolean"
},
"resolved": {
"type": "boolean"
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"event"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"fileTail"
]
},
"config": {
"type": "object",
"properties": {
"path": {
"type": "string",
"maxLength": 1024
},
"encoding": {
"type": "string",
"maxLength": 48
},
"byteLength": {
"type": "string",
"maxLength": 48
},
"delimiter": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"fileTail"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"fileWatch"
]
},
"config": {
"type": "object",
"properties": {
"path": {
"type": "string",
"maxLength": 1024
},
"fileAdded": {
"type": "boolean"
},
"fileChanged": {
"type": "boolean"
},
"fileRemoved": {
"type": "boolean"
},
"directoryAdded": {
"type": "boolean"
},
"directoryRemoved": {
"type": "boolean"
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"fileWatch"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"flowError"
]
},
"config": {
"type": "object",
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"flowError"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"mqttTopic"
]
},
"config": {
"type": "object",
"properties": {
"integrationId": {
"type": "string",
"enum": [
"losant",
"local"
]
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"mqtt"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"triggerId": {
"type": "string",
"maxLength": 48
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"opcua"
]
},
"config": {
"type": "object",
"properties": {
"uri": {
"type": "string",
"maxLength": 1024
},
"securityPolicy": {
"type": "string",
"maxLength": 255
},
"securityMode": {
"type": "string",
"maxLength": 255
},
"username": {
"type": "string",
"maxLength": 1024
},
"password": {
"type": "string",
"maxLength": 1024
},
"cert": {
"type": "string",
"maxLength": 32767
},
"privateKey": {
"type": "string",
"maxLength": 32767
},
"nameSpace": {
"type": "string",
"maxLength": 255
},
"identifier": {
"type": "string",
"maxLength": 255
},
"samplingInterval": {
"type": "string",
"maxLength": 255
},
"eventFilter": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"opcua"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"redis"
]
},
"config": {
"type": "object",
"properties": {
"host": {
"type": "string",
"maxLength": 1024
},
"port": {
"type": "string",
"maxLength": 16
},
"password": {
"type": "string",
"maxLength": 1024
},
"topic": {
"type": "string",
"maxLength": 1024
},
"fileAdded": {
"type": "boolean"
},
"fileChanged": {
"type": "boolean"
},
"fileRemoved": {
"type": "boolean"
},
"directoryAdded": {
"type": "boolean"
},
"directoryRemoved": {
"type": "boolean"
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"redisTrigger"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"serial"
]
},
"config": {
"type": "object",
"properties": {
"path": {
"type": "string",
"maxLength": 1024
},
"baudRate": {
"type": "number"
},
"encoding": {
"type": "string",
"maxLength": 48
},
"writeOnOpen": {
"type": "string",
"maxLength": 1024
},
"byteLength": {
"type": "string",
"maxLength": 48
},
"delimiter": {
"type": "string",
"maxLength": 48
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"serial"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
},
"parseBy": {
"type": "string",
"enum": [
"byteLength",
"delimiter"
]
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"timer"
]
},
"config": {
"type": "object",
"properties": {
"seconds": {
"type": "number"
},
"cron": {
"type": "string",
"maxLength": 255
},
"tz": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"timer"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
},
"timerTypeSelect": {
"type": "string",
"enum": [
"cronWeekly",
"seconds",
"cron"
]
},
"timeAt": {
"type": "string",
"maxLength": 255
},
"timezone": {
"type": "string",
"maxLength": 255
},
"weekdays": {
"type": "array",
"maxItems": 7,
"items": {
"type": "number"
}
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"enum": [
"virtualButton"
]
},
"config": {
"type": "object",
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": [
"trigger"
]
},
"name": {
"type": "string",
"enum": [
"virtualButton"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"uiId": {
"type": "string",
"maxLength": 48
},
"groupId": {
"type": "string",
"maxLength": 48
},
"description": {
"type": "string",
"maxLength": 32767
},
"icon": {
"type": "string",
"maxLength": 1024
},
"color": {
"type": "string",
"maxLength": 1024
},
"inputCount": {
"type": "number"
},
"outputCount": {
"type": "number"
},
"id": {
"type": "string",
"maxLength": 48
},
"payload": {
"type": "string",
"maxLength": 262144
},
"deviceId": {
"oneOf": [
{
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
{
"type": "string",
"enum": [
""
]
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"required": [
"type"
],
"additionalProperties": false
}
]
}
},
"nodes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 1024
},
"type": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"config": {
"type": "object"
},
"meta": {
"type": "object"
},
"outputIds": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255
},
"maxItems": 100
},
"maxItems": 100
}
},
"additionalProperties": false,
"required": [
"type"
]
}
},
"globals": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
},
"json": {
"type": "string",
"minLength": 1,
"maxLength": 32767
}
},
"additionalProperties": false,
"required": [
"key",
"json"
]
}
},
"minimumAgentVersion": {
"type": "string",
"pattern": "^(0|([1-9]\\d*))\\.(0|([1-9]\\d*))\\.(0|([1-9]\\d*))$"
},
"customNodeConfig": {
"type": "object",
"properties": {
"outputCount": {
"type": "number",
"enum": [
1,
2
]
},
"resultMode": {
"type": "string",
"enum": [
"optional",
"required",
"none"
]
},
"resultDescription": {
"type": "string",
"maxLength": 32767
},
"fields": {
"type": "array",
"maxItems": 100,
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"checkbox"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"description": {
"type": "string",
"maxLength": 32767
},
"defaultValue": {
"type": "boolean"
}
},
"additionalProperties": false,
"required": [
"type",
"label"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"select"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"description": {
"type": "string",
"maxLength": 32767
},
"defaultValue": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"options": {
"type": "array",
"minItems": 1,
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 1024
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 1024
}
},
"additionalProperties": false,
"required": [
"value"
]
}
}
},
"additionalProperties": false,
"required": [
"type",
"label",
"defaultValue",
"options"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"stringTemplate"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"description": {
"type": "string",
"maxLength": 32767
},
"defaultValue": {
"type": "string",
"maxLength": 1024
},
"required": {
"type": "boolean"
},
"validRegExp": {
"type": "string",
"maxLength": 1024
}
},
"additionalProperties": false,
"required": [
"type",
"label"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"numberTemplate"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"description": {
"type": "string",
"maxLength": 32767
},
"defaultValue": {
"type": "number"
},
"required": {
"type": "boolean"
},
"validMin": {
"type": "number"
},
"validMax": {
"type": "number"
}
},
"additionalProperties": false,
"required": [
"type",
"label"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"jsonTemplate"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"description": {
"type": "string",
"maxLength": 32767
},
"defaultValue": {
"type": "string",
"maxLength": 32767
},
"required": {
"type": "boolean"
}
},
"additionalProperties": false,
"required": [
"type",
"label"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"payloadPath"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"description": {
"type": "string",
"maxLength": 32767
},
"required": {
"type": "boolean"
}
},
"additionalProperties": false,
"required": [
"type",
"label"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"section"
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"description": {
"type": "string",
"maxLength": 32767
}
},
"additionalProperties": false,
"required": [
"type",
"label"
]
}
]
}
}
},
"additionalProperties": false,
"required": [
"outputCount",
"resultMode",
"fields"
]
}
},
"additionalProperties": {
"type": "string",
"maxLength": 1024
},
"required": [
"version"
]
}
}
},
"additionalProperties": false
} | o9916 |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base of the triangle",
"type": "number"
},
"height": {
"description": "The height of the triangle",
"type": "number"
},
"length": {
"description": "The length of the rectangle",
"type": "number"
},
"radius": {
"description": "The radius of the circle",
"type": "number"
},
"width": {
"description": "The width of the rectangle",
"type": "number"
}
},
"type": "object"
},
"shape": {
"description": "The shape name (e.g. circle, rectangle, triangle, etc.)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_08f638d4 |
{
"description": "ServiceAccountSubject holds detailed information for service-account-kind subject.",
"properties": {
"name": {
"description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required.",
"type": [
"string",
"null"
]
},
"namespace": {
"description": "`namespace` is the namespace of matching ServiceAccount objects. Required.",
"type": [
"string",
"null"
]
}
},
"required": [
"namespace",
"name"
],
"type": "object"
} | kb_975_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "#mbox_sha1sum",
"type": "object",
"required": [
"mbox_sha1sum"
],
"properties": {
"mbox_sha1sum": {
"id": "#mbox_sha1sum!core",
"type": "string",
"format": "sha1"
},
"mbox": {
"type": "null"
},
"openid": {
"type": "null"
},
"account": {
"type": "null"
}
}
} | o76656 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://revereries-project.fr",
"type": "object",
"properties": {
"activityName": {
"id": "http://revereries-project.fr/activityName",
"type": "string",
"default": "Unit Activity",
"description": "This string describe activity to the user"
},
"class": {
"id": "http://revereries-project.fr/class",
"type": "string",
"description": "Internal hack to be deleted",
"default": "disabled"
},
"started": {
"id": "http://revereries-project.fr/started",
"type": "boolean",
"description": "Is the activity started?",
"default": "false"
},
"completed": {
"id": "http://revereries-project.fr/completed",
"type": "boolean",
"description": "Is the activity completed?",
"default": "false"
},
"indice": {
"id": "http://revereries-project.fr/indice",
"type": "object",
"properties": {
"isBasic": {
"id": "http://revereries-project.fr/indice/isBasic",
"type": "boolean"
},
"isGmap": {
"id": "http://revereries-project.fr/indice/isGmap",
"type": "boolean"
},
"question": {
"id": "http://revereries-project.fr/indice/question",
"type": "string"
},
"response": {
"id": "http://revereries-project.fr/indice/response",
"type": "string"
},
"index": {
"id": "http://revereries-project.fr/indice/index",
"type": "integer"
}
}
},
"mcq": {
"id": "http://revereries-project.fr/mcq",
"type": "object",
"properties": {
"question": {
"id": "http://revereries-project.fr/mcq/question",
"type": "string",
"description": "The question of a SA MCQ activity"
},
"resp": {
"id": "http://revereries-project.fr/mcq/resp",
"type": "object",
"properties": {
"resp1": {
"id": "http://revereries-project.fr/mcq/resp/resp1",
"type": "string"
},
"resp2": {
"id": "http://revereries-project.fr/mcq/resp/resp2",
"type": "string"
},
"resp3": {
"id": "http://revereries-project.fr/mcq/resp/resp3",
"type": "string"
},
"resp4": {
"id": "http://revereries-project.fr/mcq/resp/resp4",
"type": "string"
},
"correct": {
"id": "http://revereries-project.fr/mcq/resp/correct",
"type": "string"
}
}
}
}
}
},
"required": [
"activityName",
"class",
"started",
"completed",
"mcq"
],
"description": "This item is the high level json descrption from which code is generated"
} | o43114 |
{
"$comment": "https://minecraft.fandom.com/wiki/Loot_table",
"$id": "https://json.schemastore.org/minecraft-loot-table.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"numberProvider": {
"$comment": "https://minecraft.fandom.com/wiki/Loot_table#Number_Providers",
"properties": {
"type": {
"title": "Type",
"description": "The number provider type.",
"type": "string",
"enum": [
"minecraft:constant",
"minecraft:uniform",
"minecraft:binomial",
"minecraft:score"
]
}
},
"allOf": [
{
"if": {
"properties": {
"type": {
"const": "minecraft:constant"
}
}
},
"then": {
"description": "A constant value.",
"properties": {
"value": {
"title": "Value",
"description": "The exact value.",
"type": "number"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "minecraft:uniform"
}
}
},
"then": {
"description": "A random number following a uniform distribution between two values (inclusive).",
"properties": {
"min": {
"title": "Minimum",
"description": "The minimum value.",
"type": ["number", "object"],
"$ref": "#/definitions/numberProvider"
},
"max": {
"title": "Max",
"description": "The maximum value.",
"type": ["number", "object"],
"$ref": "#/definitions/numberProvider"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "minecraft:binomial"
}
}
},
"then": {
"description": "A random number following a binomial distribution.",
"properties": {
"n": {
"title": "n",
"description": "The amount of trials.",
"type": ["integer", "object"],
"$ref": "#/definitions/numberProvider"
},
"p": {
"title": "p",
"description": "The probability of success on an individual trial.",
"$ref": "#/definitions/numberProvider"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "minecraft:score"
}
}
},
"then": {
"description": "A scoreboard value.",
"properties": {
"target": {
"title": "Target",
"description": "Scoreboard name provider.",
"type": ["string", "object"],
"enum": ["this", "killer", "direct_killer", "player_killer"],
"properties": {
"type": {
"title": "Type",
"description": "Resource location.",
"type": "string",
"enum": ["fixed", "context"]
}
},
"allOf": [
{
"if": {
"properties": {
"type": {
"const": "fixed"
}
}
},
"then": {
"properties": {
"name": {
"title": "Name",
"description": "A UUID or player name.",
"type": "string"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "context"
}
}
},
"then": {
"properties": {
"target": {
"title": "Target",
"type": "string",
"enum": [
"this",
"killer",
"direct_killer",
"player_killer"
]
}
}
}
}
]
},
"score": {
"title": "Score",
"description": "The scoreboard objective.",
"type": "string"
},
"scale": {
"title": "Scale",
"description": "Scale to multiply the score before returning it.",
"type": "number"
}
}
}
}
]
}
},
"description": "Configuration file defining a loot table for a data pack for Minecraft.",
"properties": {
"type": {
"title": "Type",
"type": "string",
"enum": [
"minecraft:empty",
"empty",
"minecraft:entity",
"entity",
"minecraft:block",
"block",
"minecraft:chest",
"chest",
"minecraft:fishing",
"fishing",
"minecraft:gift",
"gift",
"minecraft:advancement_reward",
"advancement_reward",
"minecraft:barter",
"barter",
"minecraft:command",
"command",
"minecraft:selector",
"selector",
"minecraft:advancement_entity",
"advancement_entity",
"minecraft:generic",
"generic"
]
},
"functions": {
"title": "Functions",
"description": " Applies functions to all item stacks produced by this table. Functions are applied in order, so for example looting_enchant must be after set_count to work correctly.",
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"description": "A function.",
"type": "object",
"properties": {
"function": {
"title": "Function",
"description": "Namespaced ID of the function to apply.",
"type": "string"
},
"conditions": {
"title": "Conditions",
"description": "Determines conditions for this function to be applied. If multiple conditions are specified, all must pass.",
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"description": "A function.",
"type": "object",
"properties": {
"condition": {
"title": "Condition",
"description": "Namespaced ID of condition.",
"type": "string"
}
}
}
}
}
}
}
}
},
"pools": {
"title": "Pools",
"description": "A list of all pools for this loot table. Each pool used generates items from its list of items based on the number of rolls. Pools are applied in order.",
"type": "array",
"items": {
"description": "A pool.",
"type": "object",
"properties": {
"conditions": {
"title": "Conditions",
"description": "Determines conditions for this pool to be used. If multiple conditions are specified, all must pass.",
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"description": "A condition.",
"properties": {
"condition": {
"title": "Condition",
"description": "Namespaced ID of condition.",
"type": "string"
}
}
}
}
},
"functions": {
"title": "Functions",
"description": "Applies functions to all item stacks produced by this pool. Functions are applied in order, so for example looting_enchant must be after set_count to work correctly.",
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"description": "A function.",
"properties": {
"function": {
"title": "Function",
"description": "Namespaced ID of the function to apply.",
"type": "string"
},
"conditions": {
"title": "Conditions",
"description": "Determines conditions for this function to be applied. If multiple conditions are specified, all must pass.",
"type": "array",
"items": {
"description": "A condition.",
"type": "object",
"properties": {
"condition": {
"title": "Condition",
"description": "Namespaced ID of condition.",
"type": "string"
}
}
}
}
}
}
}
},
"rolls": {
"title": "Rolls",
"description": "Specifies the number of rolls on the pool.",
"type": ["integer", "object"],
"$ref": "#/definitions/numberProvider"
},
"bonus_rolls": {
"title": "Bonus Rolls",
"description": "Specifies the number of bonus rolls on the pool per point of luck. Rounded down after multiplying.",
"type": ["number", "object"],
"$ref": "#/definitions/numberProvider"
},
"entries": {
"title": "Entries",
"description": "A list of all things that can be produced by this pool. One entry is chosen per roll as a weighted random selection from all entries without failing conditions.",
"type": "array",
"items": {
"description": "An entry.",
"type": "object",
"properties": {
"conditions": {
"title": "Conditions",
"description": "Determines conditions for this entry to be used. If multiple conditions are specified, all must pass.",
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"description": "A condition.",
"properties": {
"condition": {
"title": "Condition",
"description": "Namespaced ID of condition.",
"type": "string"
}
}
}
}
},
"functions": {
"title": "Functions",
"description": "Applies functions to the item stack or item stacks being produced. Functions are applied in order, so for example looting_enchant must be after set_count to work correctly.",
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"description": "A function.",
"properties": {
"function": {
"title": "Function",
"description": "Namespaced ID of the function to apply.",
"type": "string"
},
"conditions": {
"title": "Conditions",
"description": "Determines conditions for this function to be applied. If multiple conditions are specified, all must pass.",
"type": "array",
"items": {
"description": "A condition.",
"type": "object",
"properties": {
"condition": {
"title": "Condition",
"description": "Namespaced ID of condition.",
"type": "string"
}
}
}
}
}
}
}
},
"type": {
"title": "Type",
"description": "Namespaced ID type of entry.",
"type": "string",
"enum": [
"minecraft:item",
"minecraft:tag",
"minecraft:loot_table",
"minecraft:group",
"minecraft:alternatives",
"minecraft:sequence",
"minecraft:dynamic",
"minecraft:empty"
]
},
"name": {
"title": "Name",
"type": "string"
},
"children": {
"title": "Children",
"type": "array"
},
"expand": {
"title": "Expand",
"description": "For type 'tag', if set to true, it chooses one item of the tag, each with the same weight and quality. If false, it generates one of each of the items in the tag.",
"type": "boolean"
},
"weight": {
"title": "Weight",
"description": "Determines how often this entry is chosen out of all the entries in the pool. Entries with higher weights are used more often (chance is this entry's weight⁄total of all considered entries' weights).",
"type": "integer"
},
"quality": {
"title": "Quality",
"description": "Modifies the entry's weight based on the killing/opening/fishing player's luck attribute. Formula is floor( weight + (quality * generic.luck)).",
"type": "integer"
}
}
}
}
}
}
}
},
"title": "Minecraft Data Pack Loot Table"
}
| minecraft-loot-table |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"properties": {
"author": {
"properties": {
"email": {
"oneOf": [
{
"enum": [
""
]
},
{
"_format": "email"
}
],
"type": "string"
},
"name": {
"maxLength": 1000,
"minLength": 1,
"type": "string"
}
},
"required": [
"name",
"email"
],
"type": "object"
},
"documents": {
"items": {
"properties": {
"filetype": {
"type": "string"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"filetype",
"name",
"path"
],
"type": "object"
},
"type": "array"
},
"id": {
"type": "string"
},
"lastChanged": {
"type": "integer"
},
"lastChangedBy": {
"properties": {
"email": {
"oneOf": [
{
"enum": [
""
]
},
{
"_format": "email"
}
],
"type": "string"
},
"name": {
"maxLength": 1000,
"minLength": 0,
"type": "string"
}
},
"required": [
"name",
"email"
],
"type": "object"
},
"text": {
"type": "string"
},
"title": {
"maxLength": 1000,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"author",
"lastChangedBy",
"lastChanged",
"title",
"text",
"documents"
],
"type": "object"
}
| o54613 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"javaType": "com.ericsson.eiffel.semantics.events.EiffelTestSuiteFinishedEvent",
"extendsJavaClass": "com.ericsson.eiffel.semantics.events.Event",
"properties": {
"meta": {
"type": "object",
"javaType": "com.ericsson.eiffel.semantics.events.EiffelTestSuiteFinishedEventMeta",
"javaInterfaces": [
"com.ericsson.eiffel.semantics.events.Meta"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"type": {
"type": "string",
"enum": [
"EiffelTestSuiteFinishedEvent"
]
},
"version": {
"type": "string",
"enum": [
"1.1.0"
],
"default": "1.1.0"
},
"time": {
"type": "integer",
"format": "utc-millisec"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"source": {
"type": "object",
"javaType": "com.ericsson.eiffel.semantics.events.Source",
"properties": {
"domainId": {
"type": "string"
},
"host": {
"type": "string"
},
"name": {
"type": "string"
},
"serializer": {
"type": "object",
"javaType": "com.ericsson.eiffel.semantics.events.Serializer",
"properties": {
"groupId": {
"type": "string"
},
"artifactId": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"groupId",
"artifactId",
"version"
],
"additionalProperties": false
},
"uri": {
"type": "string"
}
},
"additionalProperties": false
},
"security": {
"type": "object",
"javaType": "com.ericsson.eiffel.semantics.events.Security",
"properties": {
"sdm": {
"type": "object",
"javaType": "com.ericsson.eiffel.semantics.events.Sdm",
"properties": {
"authorIdentity": {
"type": "string"
},
"encryptedDigest": {
"type": "string"
}
},
"required": [
"authorIdentity",
"encryptedDigest"
],
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"required": [
"id",
"type",
"version",
"time"
],
"additionalProperties": false
},
"data": {
"type": "object",
"javaType": "com.ericsson.eiffel.semantics.events.EiffelTestSuiteFinishedEventData",
"properties": {
"outcome": {
"type": "object",
"javaType": "com.ericsson.eiffel.semantics.events.EiffelTestSuiteFinishedEventOutcome",
"properties": {
"verdict": {
"type": "string",
"enum": [
"PASSED",
"FAILED",
"INCONCLUSIVE"
]
},
"conclusion": {
"type": "string",
"enum": [
"SUCCESSFUL",
"FAILED",
"ABORTED",
"TIMED_OUT",
"INCONCLUSIVE"
]
},
"description": {
"type": "string"
}
},
"additionalProperties": false
},
"persistentLogs": {
"type": "array",
"items": {
"type": "object",
"javaType": "com.ericsson.eiffel.semantics.events.PersistentLog",
"properties": {
"name": {
"type": "string"
},
"uri": {
"type": "string"
}
},
"required": [
"name",
"uri"
],
"additionalProperties": false
}
},
"customData": {
"type": "array",
"items": {
"type": "object",
"javaType": "com.ericsson.eiffel.semantics.events.CustomData",
"properties": {
"key": {
"type": "string"
},
"value": {
"anyOf": [
{
"type": "object"
},
{
"type": "string"
},
{
"type": "array"
},
{
"type": "number"
}
]
}
},
"required": [
"key",
"value"
],
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"links": {
"type": "array",
"items": {
"type": "object",
"javaType": "com.ericsson.eiffel.semantics.events.Link",
"properties": {
"type": {
"type": "string"
},
"target": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"type",
"target"
],
"additionalProperties": false
}
}
},
"required": [
"meta",
"data",
"links"
],
"additionalProperties": false
} | o89747 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://www.ortolang.fr/schema/rating/01#",
"type": "object",
"additionalProperties": false,
"properties": {
"grade": {
"id": "http://www.ortolang.fr/schema/rating/01#grade",
"type": "string"
},
"score": {
"id": "http://www.ortolang.fr/schema/rating/01#score",
"type": "number"
},
"esrAccessibility": {
"id": "http://www.ortolang.fr/schema/rating/01#esrAccessibility",
"type": "boolean"
},
"normalized": {
"id": "http://www.ortolang.fr/schema/rating/01#normalized",
"type": "boolean"
},
"preview": {
"id": "http://www.ortolang.fr/schema/rating/01#preview",
"type": "boolean"
},
"description": {
"id": "http://www.ortolang.fr/schema/rating/01#description",
"type": "boolean"
},
"metadata": {
"id": "http://www.ortolang.fr/schema/rating/01#metadata",
"type": "boolean"
},
"content": {
"id": "http://www.ortolang.fr/schema/rating/01#content",
"type": "string"
},
"recommendations": {
"id": "http://www.ortolang.fr/schema/rating/01#recommendations",
"type": "string"
},
"comments": {
"id": "http://www.ortolang.fr/schema/rating/01#comments",
"type": "string"
}
},
"required": [
"grade",
"score"
]
} | o12487 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"title": "IoTOSHI Sensor Event Schema",
"properties": {
"cpu": {
"description": "CPU utilization (%)",
"type": "number",
"minimum": 0.0,
"maximum": 100.0,
"default": 0.0
},
"memory": {
"description": "Memory utilization (%)",
"type": "number",
"minimum": 0.0,
"maximum": 100.0,
"default": 0.0
}
},
"required": [
"cpu",
"memory"
]
} | o47036 |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://github.com/ray-project/ray/python/ray/autoscaler/ray-schema.json",
"title": "Ray AutoScaler",
"description": "Ray autoscaler schema",
"type": "object",
"definitions": {
"commands": {
"type": "array",
"items": {
"type": "string",
"description": "shell command"
}
}
},
"required": [
"cluster_name",
"provider"
],
"additionalProperties": false,
"properties": {
"cluster_name": {
"description": "A unique identifier for the head node and workers of this cluster.",
"type": "string"
},
"max_workers": {
"description": "The maximum number of workers nodes to launch in addition to the head node. This takes precedence over min_workers.",
"type": "integer",
"minimum": 0
},
"upscaling_speed": {
"description": "The autoscaler will scale up the cluster faster with higher upscaling speed. E.g., if the task requires adding more nodes then autoscaler will gradually scale up the cluster in chunks of upscaling_speed*currently_running_nodes. This number should be > 0.",
"type": "number",
"minimum": 0
},
"idle_timeout_minutes": {
"description": "If a node is idle for this many minutes, it will be removed.",
"type": "number",
"minimum": 0
},
"provider": {
"type": "object",
"description": "Cloud-provider specific configuration.",
"required": [ "type" ],
"additionalProperties": true,
"properties": {
"type": {
"type": "string",
"description": "e.g. aws, azure, gcp,..."
},
"region": {
"type": "string",
"description": "e.g. us-east-1"
},
"module": {
"type": "string",
"description": "module, if using external node provider"
},
"head_ip": {
"type": "string",
"description": "gcp project id, if using gcp"
},
"worker_ips": {
"type": "array",
"description": "local cluster head node"
},
"use_internal_ips": {
"type": "boolean",
"description": "don't require public ips"
},
"namespace": {
"type": "string",
"description": "k8s namespace, if using k8s"
},
"location": {
"type": "string",
"description": "Azure location"
},
"resource_group": {
"type": "string",
"description": "Azure resource group"
},
"tags": {
"type": "object",
"description": "Azure user-defined tags"
},
"subscription_id": {
"type": "string",
"description": "Azure subscription id"
},
"msi_identity_id": {
"type": "string",
"description": "User-defined managed identity (generated by config)"
},
"msi_identity_principal_id": {
"type": "string",
"description": "User-defined managed identity principal id (generated by config)"
},
"subnet_id": {
"type": "string",
"description": "Network subnet id"
},
"autoscaler_service_account": {
"type": "object",
"description": "k8s autoscaler permissions, if using k8s"
},
"autoscaler_role": {
"type": "object",
"description": "k8s autoscaler permissions, if using k8s"
},
"autoscaler_role_binding": {
"type": "object",
"description": "k8s autoscaler permissions, if using k8s"
},
"cache_stopped_nodes": {
"type": "boolean",
"description": " Whether to try to reuse previously stopped nodes instead of launching nodes. This will also cause the autoscaler to stop nodes instead of terminating them. Only implemented for AWS."
},
"availability_zone": {
"type": "string",
"description": "GCP availability zone"
},
"project_id": {
"type": ["string", "null"],
"description": "GCP globally unique project id"
},
"security_group": {
"type": "object",
"description": "AWS security group",
"additionalProperties": false,
"properties": {
"GroupName": {
"type": "string",
"description": "Security group name"
},
"IpPermissions": {
"type": "array",
"description": "Security group in bound rules"
}
}
},
"disable_node_updaters": {
"type": "boolean",
"description": "Disables node updaters if set to True. Default is False. (For Kubernetes operator usage.)"
},
"gcp_credentials": {
"type": "object",
"description": "Credentials for authenticating with the GCP client",
"required": [ "type" ],
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"enum": ["credentials_token", "service_account"],
"description": "Credentials type: either temporary OAuth 2.0 token or permanent service account credentials blob."
},
"credentials": {
"type": "string",
"description": "Oauth token or JSON string constituting service account credentials"
}
}
},
"cloudwatch": {
"agent": {
"CLOUDWATCH_AGENT_INSTALLED_AMI_TAG": {
"type": ["string"],
"description": "Tag to be added to cloudwatch agent pre-installed AMI name."
},
"config": {
"type": ["string", "null"],
"description": "Path to Unified CloudWatch Agent config file. See https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-Configuration-File-Details.html for additional details."
},
"retryer": {
"max_attempts": {
"type": ["integer", "null"],
"description": "Max allowed Unified CloudWatch Agent installation attempts on any host."
},
"delay_seconds": {
"type": ["integer", "null"],
"description": "Seconds to wait between each Unified CloudWatch Agent installation attempt."
}
}
},
"dashboard": {
"name": {
"type": ["string", "null"],
"description": "User defined CloudWatch Dashboard name."
},
"config": {
"type": ["string", "null"],
"description": "Path to CloudWatch Dashboard config file. See https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html for additional details."
}
},
"alarm": {
"config": {
"type": ["string", "null"],
"description": "Path to CloudWatch Alarm config file. See https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutMetricAlarm.html for additional details."
}
}
}
}
},
"auth": {
"type": "object",
"description": "How Ray will authenticate with newly launched nodes.",
"additionalProperties": false,
"properties": {
"ssh_user": {
"type": "string",
"default": "ubuntu"
},
"ssh_public_key": {
"type": "string"
},
"ssh_private_key": {
"type": "string"
},
"ssh_proxy_command": {
"description": "A value for ProxyCommand ssh option, for connecting through proxies. Example: nc -x proxy.example.com:1234 %h %p",
"type": "string"
}
}
},
"docker": {
"type": "object",
"description": "Docker configuration. If this is specified, all setup and start commands will be executed in the container.",
"additionalProperties": false,
"properties": {
"image": {
"type": "string",
"description": "the docker image name",
"default": "rayproject/ray:latest"
},
"container_name": {
"type": "string",
"default": "ray_docker"
},
"pull_before_run": {
"type": "boolean",
"description": "run `docker pull` first"
},
"run_options": {
"type": "array",
"description": "shared options for starting head/worker docker"
},
"head_image": {
"type": "string",
"description": "image for head node, takes precedence over 'image' if specified"
},
"head_run_options": {
"type": "array",
"description": "head specific run options, appended to run_options"
},
"worker_image": {
"type": "string",
"description": "analogous to head_image"
},
"worker_run_options": {
"type": "array",
"description": "analogous to head_run_options"
},
"disable_automatic_runtime_detection" : {
"type": "boolean",
"description": "disable Ray from automatically using the NVIDIA runtime if available",
"default": false
},
"disable_shm_size_detection" : {
"type": "boolean",
"description": "disable Ray from automatically detecting /dev/shm size for the container",
"default": false
},
"use_podman" : {
"type": "boolean",
"description": "Use 'podman' command in place of 'docker'",
"default": false
}
}
},
"head_node_type": {
"type": "string",
"description": "If using multiple node types, specifies the head node type."
},
"file_mounts": {
"type": "object",
"description": "Map of remote paths to local paths, e.g. {\"/tmp/data\": \"/my/local/data\"}"
},
"cluster_synced_files": {
"type": "array",
"description": "List of paths on the head node which should sync to the worker nodes, e.g. [\"/some/data/somehwere\"]"
},
"file_mounts_sync_continuously": {
"type": "boolean",
"description": "If enabled, file mounts will sync continously between the head node and the worker nodes. The nodes will not re-run setup commands if only the contents of the file mounts folders change."
},
"rsync_exclude": {
"type": "array",
"description": "File pattern to not sync up or down when using the rsync command. Matches the format of rsync's --exclude param."
},
"rsync_filter": {
"type": "array",
"description": "Pattern files to lookup patterns to exclude when using rsync up or rsync down. This file is checked for recursively in all directories. For example, if .gitignore is provided here, the behavior will match git's .gitignore behavior."
},
"metadata": {
"type": "object",
"description": "Metadata field that can be used to store user-defined data in the cluster config. Ray does not interpret these fields."
},
"initialization_commands": {
"$ref": "#/definitions/commands",
"description": "List of commands that will be run before `setup_commands`. If docker is enabled, these commands will run outside the container and before docker is setup."
},
"setup_commands": {
"$ref": "#/definitions/commands",
"description": "List of common shell commands to run to setup nodes."
},
"head_setup_commands": {
"$ref": "#/definitions/commands",
"description": "Commands that will be run on the head node after common setup."
},
"worker_setup_commands": {
"$ref": "#/definitions/commands",
"description": "Commands that will be run on worker nodes after common setup."
},
"head_start_ray_commands": {
"$ref": "#/definitions/commands",
"description": "Command to start ray on the head node. You shouldn't need to modify this."
},
"worker_start_ray_commands": {
"$ref": "#/definitions/commands",
"description": "Command to start ray on worker nodes. You shouldn't need to modify this."
},
"no_restart": {
"description": "Whether to avoid restarting the cluster during updates. This field is controlled by the ray --no-restart flag and cannot be set by the user."
},
"available_node_types": {
"type": "object",
"description": "A list of node types for multi-node-type autoscaling.",
"patternProperties": {
".*": {
"type": "object",
"required": [ "resources", "node_config" ],
"properties": {
"node_config": {
"type": "object",
"description": "Provider-specific config for the node, e.g. instance type."
},
"min_workers": {"type": "integer"},
"max_workers": {"type": "integer"},
"resources": {
"type": "object",
"patternProperties": {
".*":{
"type": "integer",
"minimum": 0
}
}
},
"labels": {
"type": "object",
"patternProperties": {
".*":{
"type": "string"
}
}
},
"initialization_commands": {
"$ref": "#/definitions/commands",
"description": "List of commands that will be run before `setup_commands`. If docker is enabled, these commands will run outside the container and before docker is setup."
},
"worker_setup_commands": {
"$ref": "#/definitions/commands",
"description": "List of common shell commands to run to setup nodes. This node specfic list will override the global setup_commands and worker_setup_commands."
},
"docker": {
"description": "Configuration of Worker nodes.",
"type": "object",
"properties": {
"pull_before_run": {
"type": "boolean",
"description": "run `docker pull` first"
},
"worker_image": {
"type": "string",
"description": "analogous to head_image"
},
"worker_run_options": {
"type": "array",
"description": "analogous to head_run_options, merged with the global docker run_options."
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
}
}
| ray-schema |
{
"$id": "https://json.schemastore.org/lintstagedrc.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"anyOf": [
{
"$ref": "#/definitions/advancedConfig"
},
{
"$ref": "#/definitions/basicConfig"
}
],
"definitions": {
"$schemaProperty": {
"type": "string"
},
"linter": {
"type": ["string", "array"]
},
"lintersMap": {
"description": "keys (String) are glob patterns, values (Array<String> | String) are commands to execute.",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/linter"
}
},
"globOptions": {
"description": "micromatch options to customize how glob patterns match files.",
"type": "object",
"properties": {
"matchBase": {
"type": "boolean",
"default": true
},
"dot": {
"type": "boolean",
"default": true
}
},
"additionalProperties": false
},
"advancedConfig": {
"properties": {
"$schema": {
"$ref": "#/definitions/$schemaProperty"
},
"concurrent": {
"description": "Controls if linters are run simultaneously for each glob pattern.",
"type": "boolean",
"default": true
},
"chunkSize": {
"description": "Max allowed chunk size based on number of files for glob pattern. This option is only applicable on Windows based systems to avoid command length limitations",
"type": "number",
"minimum": 1
},
"globOptions": {
"description": "micromatch options to customize how glob patterns match files.",
"$ref": "#/definitions/globOptions"
},
"linters": {
"description": "keys (String) are glob patterns, values (Array<String> | String) are commands to execute.",
"$ref": "#/definitions/lintersMap"
},
"ignore": {
"description": "array of glob patterns to entirely ignore from any task.",
"type": "array",
"items": {
"type": "string"
},
"default": "['**/docs/**/*.js']"
},
"subTaskConcurrency": {
"description": "Controls concurrency for processing chunks generated for each linter. This option is only applicable on Windows. Execution is not concurrent by default.",
"type": "integer",
"minimum": 1,
"default": 1
},
"renderer": {
"enum": ["update", "verbose"],
"default": "update"
},
"relative": {
"description": "If true it will give the relative path from your package.json directory to your linter arguments.",
"type": "boolean",
"default": false
}
},
"additionalProperties": false
},
"basicConfig": {
"properties": {
"$schema": {
"$ref": "#/definitions/$schemaProperty"
}
},
"propertyNames": {
"not": {
"enum": [
"concurrent",
"chunkSize",
"globOptions",
"linters",
"ignore",
"subTaskConcurrency",
"renderer",
"relative"
]
}
},
"additionalProperties": {
"$ref": "#/definitions/linter"
}
}
}
}
| lintstagedrc |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"definitions": {
"absolute_path": {
"description": "A path only. Query string and/or fragment are not allowed.",
"pattern": "^/(([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})+(/([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})*)*)?$",
"type": "string"
},
"analytics_identifier": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "A short identifier we send to Google Analytics for multi-valued fields. This means we avoid the truncated values we would get if we sent the path or slug of eg organisations."
},
"body": {
"description": "The main content provided as HTML rendered from govspeak",
"type": "string"
},
"change_history": {
"items": {
"additionalProperties": false,
"properties": {
"note": {
"description": "A summary of the change",
"type": "string"
},
"public_timestamp": {
"_format": "date-time",
"type": "string"
}
},
"required": [
"public_timestamp",
"note"
],
"type": "object"
},
"type": "array"
},
"description": {
"type": "string"
},
"description_optional": {
"anyOf": [
{
"$ref": "#/definitions/description"
},
{
"type": "null"
}
]
},
"details": {
"additionalProperties": false,
"properties": {
"body": {
"$ref": "#/definitions/body"
},
"change_history": {
"$ref": "#/definitions/change_history"
}
},
"type": "object"
},
"first_published_at": {
"_format": "date-time",
"description": "The date the content was first published. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string"
},
"frontend_links": {
"items": {
"additionalProperties": true,
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"api_path": {
"$ref": "#/definitions/absolute_path"
},
"api_url": {
"_format": "uri",
"description": "DEPRECATED: api_path should be used instead of api_url. This is due to values of api_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"document_type": {
"type": "string"
},
"links": {
"patternProperties": {
"^[a-z_]+$": {
"$ref": "#/definitions/frontend_links"
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"public_updated_at": {
"oneOf": [
{
"$ref": "#/definitions/public_updated_at"
},
{
"type": "null"
}
]
},
"schema_name": {
"type": "string"
},
"title": {
"type": "string"
},
"web_url": {
"_format": "uri",
"description": "DEPRECATED: base_path should be used instead of web_url. This is due to values of web_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
}
},
"required": [
"content_id",
"locale",
"title"
],
"type": "object"
},
"type": "array"
},
"frontend_links_with_base_path": {
"items": {
"additionalProperties": true,
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"api_path": {
"$ref": "#/definitions/absolute_path"
},
"api_url": {
"_format": "uri",
"description": "DEPRECATED: api_path should be used instead of api_url. This is due to values of api_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"document_type": {
"type": "string"
},
"links": {
"patternProperties": {
"^[a-z_]+$": {
"$ref": "#/definitions/frontend_links_with_base_path"
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"public_updated_at": {
"oneOf": [
{
"$ref": "#/definitions/public_updated_at"
},
{
"type": "null"
}
]
},
"schema_name": {
"type": "string"
},
"title": {
"type": "string"
},
"web_url": {
"_format": "uri",
"description": "DEPRECATED: base_path should be used instead of web_url. This is due to values of web_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
}
},
"required": [
"base_path",
"content_id",
"locale",
"title"
],
"type": "object"
},
"type": "array"
},
"govuk_request_id": {
"type": [
"string",
"null"
]
},
"guid": {
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
"type": "string"
},
"guid_list": {
"items": {
"$ref": "#/definitions/guid"
},
"type": "array",
"_uniqueItems": true
},
"locale": {
"enum": [
"ar",
"az",
"be",
"bg",
"bn",
"cs",
"cy",
"da",
"de",
"dr",
"el",
"en",
"es",
"es-419",
"et",
"fa",
"fi",
"fr",
"gd",
"he",
"hi",
"hr",
"hu",
"hy",
"id",
"is",
"it",
"ja",
"ka",
"kk",
"ko",
"lt",
"lv",
"ms",
"mt",
"nl",
"no",
"pl",
"ps",
"pt",
"ro",
"ru",
"si",
"sk",
"sl",
"so",
"sq",
"sr",
"sv",
"sw",
"ta",
"th",
"tk",
"tr",
"uk",
"ur",
"uz",
"vi",
"zh",
"zh-hk",
"zh-tw"
],
"type": "string"
},
"payload_version": {
"description": "Counter to indicate when the payload was generated",
"type": "integer"
},
"public_updated_at": {
"_format": "date-time",
"description": "When the content was last significantly changed (a major update). Shown to users. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string"
},
"publishing_app_name": {
"description": "The application that published this item.",
"enum": [
"calculators",
"calendars",
"collections-publisher",
"contacts",
"content-publisher",
"content-tagger",
"email-alert-frontend",
"external-link-tracker",
"feedback",
"frontend",
"government-frontend",
"hmrc-manuals-api",
"info-frontend",
"licencefinder",
"local-links-manager",
"manuals-frontend",
"manuals-publisher",
"maslow",
"performanceplatform-big-screen-view",
"publisher",
"rummager",
"search-admin",
"search-api",
"service-manual-publisher",
"share-sale-publisher",
"short-url-manager",
"smartanswers",
"special-route-publisher",
"specialist-publisher",
"static",
"tariff",
"travel-advice-publisher",
"whitehall"
],
"type": "string"
},
"publishing_request_id": {
"description": "A unique identifier used to track publishing requests to rendered content",
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"rendering_app": {
"description": "The application that renders this item.",
"enum": [
"calculators",
"calendars",
"collections",
"content-store",
"email-alert-frontend",
"email-campaign-frontend",
"feedback",
"finder-frontend",
"frontend",
"government-frontend",
"info-frontend",
"licencefinder",
"manuals-frontend",
"performanceplatform-big-screen-view",
"rummager",
"search-api",
"service-manual-frontend",
"smartanswers",
"spotlight",
"static",
"tariff",
"whitehall-admin",
"whitehall-frontend"
],
"type": "string"
},
"route": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"type": {
"enum": [
"prefix",
"exact"
]
}
},
"required": [
"path",
"type"
],
"type": "object"
},
"routes": {
"items": {
"$ref": "#/definitions/route"
},
"minItems": 1,
"type": "array"
},
"title": {
"type": "string"
},
"update_type": {
"enum": [
"major",
"minor",
"republish"
]
},
"withdrawn_notice": {
"additionalProperties": false,
"properties": {
"explanation": {
"type": "string"
},
"withdrawn_at": {
"format": "date-time"
}
},
"type": "object"
}
},
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"content_purpose_document_supertype": {
"description": "DEPRECATED. Use `content_purpose_subgroup`.",
"type": "string"
},
"content_purpose_subgroup": {
"description": "Document subgroup grouping documents by purpose. Narrows down the purpose defined in content_purpose_supergroup.",
"type": "string"
},
"content_purpose_supergroup": {
"description": "Document supergroup grouping documents by a purpose",
"type": "string"
},
"description": {
"$ref": "#/definitions/description_optional"
},
"details": {
"$ref": "#/definitions/details"
},
"document_type": {
"enum": [
"calendar"
],
"type": "string"
},
"email_document_supertype": {
"description": "Document supertype grouping intended to power the Whitehall finders and email subscriptions",
"type": "string"
},
"expanded_links": {
"additionalProperties": false,
"properties": {
"available_translations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"child_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"children": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"document_collections": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"facet_groups": {
"$ref": "#/definitions/frontend_links",
"description": "Prototype-stage metadata tagging tree roots for this content item. A content item my belong to many facet groups without having any specific facet_values links."
},
"facet_values": {
"$ref": "#/definitions/frontend_links",
"description": "Prototype-stage metadata tagging values for this content item, a content item can be linked to many facet values from varying facet groups."
},
"finder": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers links from content back to finders the content is surfaced on"
},
"lead_organisations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "DEPRECATED: A subset of organisations that should be emphasised in relation to this content item. All organisations specified here should also be part of the organisations array."
},
"level_one_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"mainstream_browse_pages": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers the /browse section of the site. These are known as sections in some legacy apps."
},
"meets_user_needs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The user needs this piece of content meets."
},
"ministers": {
"$ref": "#/definitions/frontend_links",
"description": "Link type automatically added by Publishing API"
},
"ordered_related_items": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger."
},
"ordered_related_items_overrides": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation."
},
"organisations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "All organisations linked to this content item. This should include lead organisations."
},
"original_primary_publishing_organisation": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The organisation that published the original version of the page. Corresponds to the first of the 'Lead organisations' in Whitehall for the first edition, and is empty for all other publishing applications."
},
"parent": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The parent content item.",
"maxItems": 1
},
"part_of_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"policies": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"policy_areas": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "A largely deprecated tag currently only used to power email alerts."
},
"primary_publishing_organisation": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The organisation that published the page. Corresponds to the first of the 'Lead organisations' in Whitehall, and is empty for all other publishing applications.",
"maxItems": 1
},
"related_to_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"role_appointments": {
"$ref": "#/definitions/frontend_links",
"description": "Link type automatically added by Publishing API"
},
"secondary_to_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"suggested_ordered_related_items": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "New A/B test suggestions for related items. Used for displaying related content on most pages, except for step-by-step and fatality notices. Links and their ordering are determined by the machine learning algorithms included in this A/B test."
},
"taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Prototype-stage taxonomy label for this content item"
},
"topic_taxonomy_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"topics": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers the /topic section of the site. These are known as specialist sectors in some legacy apps."
}
},
"type": "object"
},
"first_published_at": {
"$ref": "#/definitions/first_published_at"
},
"government_document_supertype": {
"description": "Document supertype grouping intended to power the Whitehall finders and email subscriptions",
"type": "string"
},
"govuk_request_id": {
"$ref": "#/definitions/govuk_request_id"
},
"links": {
"additionalProperties": false,
"properties": {
"facet_groups": {
"$ref": "#/definitions/guid_list",
"description": "Prototype-stage metadata tagging tree roots for this content item. A content item my belong to many facet groups without having any specific facet_values links."
},
"facet_values": {
"$ref": "#/definitions/guid_list",
"description": "Prototype-stage metadata tagging values for this content item, a content item can be linked to many facet values from varying facet groups."
},
"finder": {
"$ref": "#/definitions/guid_list",
"description": "Powers links from content back to finders the content is surfaced on"
},
"lead_organisations": {
"$ref": "#/definitions/guid_list",
"description": "DEPRECATED: A subset of organisations that should be emphasised in relation to this content item. All organisations specified here should also be part of the organisations array."
},
"mainstream_browse_pages": {
"$ref": "#/definitions/guid_list",
"description": "Powers the /browse section of the site. These are known as sections in some legacy apps."
},
"meets_user_needs": {
"$ref": "#/definitions/guid_list",
"description": "The user needs this piece of content meets."
},
"ordered_related_items": {
"$ref": "#/definitions/guid_list",
"description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger."
},
"ordered_related_items_overrides": {
"$ref": "#/definitions/guid_list",
"description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation."
},
"organisations": {
"$ref": "#/definitions/guid_list",
"description": "All organisations linked to this content item. This should include lead organisations."
},
"original_primary_publishing_organisation": {
"$ref": "#/definitions/guid_list",
"description": "The organisation that published the original version of the page. Corresponds to the first of the 'Lead organisations' in Whitehall for the first edition, and is empty for all other publishing applications."
},
"parent": {
"$ref": "#/definitions/guid_list",
"description": "The parent content item.",
"maxItems": 1
},
"policy_areas": {
"$ref": "#/definitions/guid_list",
"description": "A largely deprecated tag currently only used to power email alerts."
},
"primary_publishing_organisation": {
"$ref": "#/definitions/guid_list",
"description": "The organisation that published the page. Corresponds to the first of the 'Lead organisations' in Whitehall, and is empty for all other publishing applications.",
"maxItems": 1
},
"suggested_ordered_related_items": {
"$ref": "#/definitions/guid_list",
"description": "New A/B test suggestions for related items. Used for displaying related content on most pages, except for step-by-step and fatality notices. Links and their ordering are determined by the machine learning algorithms included in this A/B test."
},
"taxons": {
"$ref": "#/definitions/guid_list",
"description": "Prototype-stage taxonomy label for this content item"
},
"topics": {
"$ref": "#/definitions/guid_list",
"description": "Powers the /topic section of the site. These are known as specialist sectors in some legacy apps."
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"navigation_document_supertype": {
"description": "Document type grouping powering the new taxonomy-based navigation pages",
"type": "string"
},
"need_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"payload_version": {
"$ref": "#/definitions/payload_version"
},
"phase": {
"description": "The service design phase of this content item - https://www.gov.uk/service-manual/phases",
"enum": [
"alpha",
"beta",
"live"
],
"type": "string"
},
"public_updated_at": {
"$ref": "#/definitions/public_updated_at"
},
"publishing_app": {
"$ref": "#/definitions/publishing_app_name"
},
"publishing_request_id": {
"$ref": "#/definitions/publishing_request_id"
},
"redirects": {
"additionalItems": false,
"items": {},
"type": "array"
},
"rendering_app": {
"$ref": "#/definitions/rendering_app"
},
"routes": {
"$ref": "#/definitions/routes"
},
"schema_name": {
"enum": [
"calendar"
],
"type": "string"
},
"search_user_need_document_supertype": {
"description": "Document supertype grouping core and government documents",
"type": "string"
},
"title": {
"$ref": "#/definitions/title"
},
"update_type": {
"$ref": "#/definitions/update_type"
},
"user_journey_document_supertype": {
"description": "Document type grouping powering analytics of user journeys",
"type": "string"
},
"user_need_document_supertype": {
"description": "DEPRECATED. Use `content_purpose_document_supertype`.",
"type": "string"
},
"withdrawn_notice": {
"$ref": "#/definitions/withdrawn_notice"
}
},
"required": [
"analytics_identifier",
"base_path",
"content_id",
"description",
"details",
"document_type",
"email_document_supertype",
"expanded_links",
"first_published_at",
"government_document_supertype",
"govuk_request_id",
"links",
"locale",
"navigation_document_supertype",
"payload_version",
"phase",
"public_updated_at",
"publishing_app",
"redirects",
"rendering_app",
"routes",
"schema_name",
"title",
"update_type",
"user_journey_document_supertype"
],
"type": "object"
} | o21157 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"definitions": {
"ConfigPlugin": {
"oneOf": [
{
"type": "object"
},
{
"enum": [false]
}
]
}
},
"id": "https://json.schemastore.org/postcssrc.json",
"properties": {
"parser": {
"description": "A special syntax parser (for example, SCSS).",
"oneOf": [
{
"type": "string"
},
{
"enum": [false]
}
]
},
"stringifier": {
"description": "A special syntax output generator (for example, Midas).",
"oneOf": [
{
"type": "string"
},
{
"enum": [false]
}
]
},
"syntax": {
"description": "An object providing a syntax parser and a stringifier.",
"oneOf": [
{
"type": "string"
},
{
"enum": [false]
}
]
},
"map": {
"description": "Source map options.",
"enum": [false, "absolute", "inline", "sourcesContent"]
},
"from": {
"description": "The input file name (most runners set it automatically).",
"type": "string"
},
"to": {
"description": "The output file name (most runners set it automatically).",
"type": "string"
},
"plugins": {
"oneOf": [
{
"description": "An array of plugins.",
"type": "array",
"items": {
"$ref": "#/definitions/ConfigPlugin"
}
},
{
"description": "An object of options.",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/ConfigPlugin"
}
}
]
}
},
"type": "object"
}
| postcssrc |
{
"links": [
{
"href": "/product_tests/{product_test_id}/tasks/{id}",
"rel": "self"
},
{
"href": "/tasks/{task_id}/test_executions",
"rel": "executions"
}
],
"properties": {
"type": {
"type": "string"
}
},
"title": "Task",
"type": "object"
} | o68438 |
{
"id": "http://jslicense.org/schema.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "jslicense",
"description": "schema for open-source license templates",
"type": "array",
"minItems": 1,
"items": {
"type": "array",
"minItems": 0,
"items": {
"description": "arrays describing a line of text",
"oneOf": [
{
"description": "non-empty strings",
"type": "string",
"pattern": ".+"
},
{
"description": "field",
"type": "object",
"properties": {
"default": {
"type": "string"
},
"field": {
"enum": [
"year",
"organization",
"owners"
]
},
"transform": {
"enum": [
"upper"
]
}
},
"required": [
"field"
],
"additionalProperties": false
}
]
}
}
} | o67463 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_runtime_RawExtension": {
"description": "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)",
"type": "object"
}
},
"description": "Event represents a single event to a watched resource.",
"properties": {
"object": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_runtime_RawExtension",
"description": "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *Status is recommended; other types may make sense\n depending on context."
},
"type": {
"type": [
"string",
"null"
]
}
},
"required": [
"type",
"object"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "admission.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "admission.k8s.io",
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "admissionregistration.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "admissionregistration.k8s.io",
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "apiextensions.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "apiextensions.k8s.io",
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "apiregistration.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "apiregistration.k8s.io",
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "apps",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "apps",
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "apps",
"kind": "WatchEvent",
"version": "v1beta2"
},
{
"group": "auditregistration.k8s.io",
"kind": "WatchEvent",
"version": "v1alpha1"
},
{
"group": "authentication.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "authentication.k8s.io",
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "authorization.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "authorization.k8s.io",
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "autoscaling",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "autoscaling",
"kind": "WatchEvent",
"version": "v2beta1"
},
{
"group": "autoscaling",
"kind": "WatchEvent",
"version": "v2beta2"
},
{
"group": "batch",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "batch",
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "batch",
"kind": "WatchEvent",
"version": "v2alpha1"
},
{
"group": "certificates.k8s.io",
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "coordination.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "coordination.k8s.io",
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "discovery.k8s.io",
"kind": "WatchEvent",
"version": "v1alpha1"
},
{
"group": "discovery.k8s.io",
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "events.k8s.io",
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "extensions",
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "flowcontrol.apiserver.k8s.io",
"kind": "WatchEvent",
"version": "v1alpha1"
},
{
"group": "imagepolicy.k8s.io",
"kind": "WatchEvent",
"version": "v1alpha1"
},
{
"group": "networking.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "networking.k8s.io",
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "node.k8s.io",
"kind": "WatchEvent",
"version": "v1alpha1"
},
{
"group": "node.k8s.io",
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "policy",
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "rbac.authorization.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "rbac.authorization.k8s.io",
"kind": "WatchEvent",
"version": "v1alpha1"
},
{
"group": "rbac.authorization.k8s.io",
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "scheduling.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "scheduling.k8s.io",
"kind": "WatchEvent",
"version": "v1alpha1"
},
{
"group": "scheduling.k8s.io",
"kind": "WatchEvent",
"version": "v1beta1"
},
{
"group": "settings.k8s.io",
"kind": "WatchEvent",
"version": "v1alpha1"
},
{
"group": "storage.k8s.io",
"kind": "WatchEvent",
"version": "v1"
},
{
"group": "storage.k8s.io",
"kind": "WatchEvent",
"version": "v1alpha1"
},
{
"group": "storage.k8s.io",
"kind": "WatchEvent",
"version": "v1beta1"
}
]
} | kb_1143_Normalized |
{
"properties": {
"cuisine": {
"description": "The cuisine type of the restaurants",
"type": "string"
},
"location": {
"description": "The location to search for restaurants",
"type": "string"
},
"price_range": {
"properties": {
"max_price": {
"description": "The maximum price range for restaurants",
"type": "number"
},
"min_price": {
"description": "The minimum price range for restaurants",
"type": "number"
}
},
"required": [
"min_price",
"max_price"
],
"type": "object"
}
},
"required": [
"location"
],
"type": "object"
} | search_restaurants_0f9685af |
{
"$schema": "http://json-schema.org/draft-04/schema",
"additonalProperties": false,
"definitions": {
"___story_elements_text_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "A textual content element",
"properties": {
"_id": {
"$ref": "#/definitions/___traits_trait_id_json"
},
"additional_properties": {
"$ref": "#/definitions/___traits_trait_additional_properties_json"
},
"alignment": {
"$ref": "#/definitions/___traits_trait_alignment_json"
},
"block_properties": {
"$ref": "#/definitions/___traits_trait_block_properties_json"
},
"channels": {
"$ref": "#/definitions/___traits_trait_channel_json"
},
"content": {
"description": "The text of the paragraph.",
"type": "string"
},
"subtype": {
"$ref": "#/definitions/___traits_trait_subtype_json"
},
"type": {
"enum": [
"text"
],
"type": "string"
}
},
"required": [
"type",
"content"
],
"type": "object"
},
"___traits_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"
},
"___traits_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"
},
"___traits_trait_block_properties_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Block properties for style formatting content elements",
"properties": {
"dropcap": {
"description": "Style the first letter of the first word with a dropcap",
"enum": [
"letter"
],
"title": "Dropcap",
"type": "string"
}
},
"title": "Block properties",
"type": "object"
},
"___traits_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"
},
"___traits_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"
},
"___traits_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"
}
},
"description": "A data table content element",
"properties": {
"_id": {
"$ref": "#/definitions/___traits_trait_id_json"
},
"additional_properties": {
"$ref": "#/definitions/___traits_trait_additional_properties_json"
},
"channels": {
"$ref": "#/definitions/___traits_trait_channel_json"
},
"header": {
"description": "The header row of the table",
"items": {
"$ref": "#/definitions/___story_elements_text_json"
},
"type": "array"
},
"rows": {
"description": "The data rows of the table",
"items": {
"items": {
"$ref": "#/definitions/___story_elements_text_json"
},
"type": "array"
},
"type": "array"
},
"subtype": {
"$ref": "#/definitions/___traits_trait_subtype_json"
},
"type": {
"enum": [
"table"
]
}
},
"required": [
"type",
"rows"
],
"type": "object"
} | wp_33_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"base_path",
"details",
"document_type",
"publishing_app",
"rendering_app",
"routes",
"schema_name",
"title"
],
"additionalProperties": false,
"properties": {
"access_limited": {
"$ref": "#/definitions/access_limited"
},
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"auth_bypass_ids": {
"description": "A list of ids that will allow access to this item for non-authenticated users",
"$ref": "#/definitions/guid_list"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"bulk_publishing": {
"type": "boolean"
},
"change_note": {
"type": [
"null",
"string"
]
},
"description": {
"$ref": "#/definitions/description_optional"
},
"details": {
"$ref": "#/definitions/details"
},
"document_type": {
"type": "string",
"enum": [
"detailed_guide",
"detailed_guidance"
]
},
"first_published_at": {
"$ref": "#/definitions/first_published_at"
},
"last_edited_at": {
"description": "Last time when the content received a major or minor update.",
"type": "string",
"format": "date-time"
},
"links": {
"type": "object",
"additionalProperties": false,
"properties": {
"policy_areas": {
"description": "A largely deprecated tag currently only used to power email alerts.",
"$ref": "#/definitions/guid_list"
}
}
},
"locale": {
"$ref": "#/definitions/locale"
},
"need_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"phase": {
"description": "The service design phase of this content item - https://www.gov.uk/service-manual/phases",
"type": "string",
"enum": [
"alpha",
"beta",
"live"
]
},
"previous_version": {
"type": "string"
},
"public_updated_at": {
"$ref": "#/definitions/public_updated_at"
},
"publishing_app": {
"$ref": "#/definitions/publishing_app_name"
},
"redirects": {
"type": "array",
"additionalItems": false,
"items": {}
},
"rendering_app": {
"$ref": "#/definitions/rendering_app"
},
"routes": {
"$ref": "#/definitions/routes"
},
"schema_name": {
"type": "string",
"enum": [
"detailed_guide"
]
},
"title": {
"$ref": "#/definitions/title"
},
"update_type": {
"$ref": "#/definitions/update_type"
}
},
"definitions": {
"description": {
"type": "string"
},
"absolute_path": {
"description": "A path only. Query string and/or fragment are not allowed.",
"type": "string",
"pattern": "^/(([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})+(/([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})*)*)?$"
},
"access_limited": {
"type": "object",
"additionalProperties": false,
"properties": {
"auth_bypass_ids": {
"description": "Deprecated: auth_bypass_ids should be sent as a separate field",
"$ref": "#/definitions/guid_list"
},
"organisations": {
"description": "A list of organisation content ids permitted access to this item",
"$ref": "#/definitions/guid_list"
},
"users": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"analytics_identifier": {
"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.",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"body": {
"description": "The main content provided as HTML rendered from govspeak",
"type": "string"
},
"brexit_no_deal_notice": {
"description": "A list of URLs and titles for a brexit no deal notice.",
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"href"
],
"additionalProperties": false,
"properties": {
"href": {
"type": "string"
},
"title": {
"type": "string"
}
}
}
},
"change_history": {
"type": "array",
"items": {
"type": "object",
"required": [
"public_timestamp",
"note"
],
"additionalProperties": false,
"properties": {
"note": {
"description": "A summary of the change",
"type": "string"
},
"public_timestamp": {
"type": "string",
"format": "date-time"
}
}
}
},
"description_optional": {
"anyOf": [
{
"$ref": "#/definitions/description"
},
{
"type": "null"
}
]
},
"details": {
"type": "object",
"required": [
"body",
"political"
],
"additionalProperties": false,
"properties": {
"alternative_nothern_ireland_url": {
"type": "string"
},
"alternative_scotland_url": {
"type": "string"
},
"alternative_wales_url": {
"type": "string"
},
"attachments": {
"description": "An ordered list of asset links",
"type": "array",
"items": {
"$ref": "#/definitions/file_attachment_asset"
}
},
"body": {
"$ref": "#/definitions/body"
},
"brexit_no_deal_notice": {
"$ref": "#/definitions/brexit_no_deal_notice"
},
"change_history": {
"$ref": "#/definitions/change_history"
},
"emphasised_organisations": {
"$ref": "#/definitions/emphasised_organisations"
},
"first_public_at": {
"$ref": "#/definitions/first_public_at"
},
"government": {
"$ref": "#/definitions/government"
},
"image": {
"$ref": "#/definitions/image"
},
"national_applicability": {
"$ref": "#/definitions/national_applicability"
},
"political": {
"$ref": "#/definitions/political"
},
"related_mainstream_content": {
"description": "The ordered list of related and additional mainstream content item IDs. Use in conjunction with the (unordered) `related_mainstream_content` link.",
"type": "array",
"items": {
"$ref": "#/definitions/guid"
}
},
"tags": {
"$ref": "#/definitions/tags"
}
}
},
"emphasised_organisations": {
"description": "The content ids of the organisations that should be displayed first in the list of organisations related to the item, these content ids must be present in the item organisation links hash.",
"type": "array",
"items": {
"$ref": "#/definitions/guid"
}
},
"file_attachment_asset": {
"type": "object",
"required": [
"attachment_type",
"content_type",
"id",
"url"
],
"additionalProperties": false,
"properties": {
"accessible": {
"type": "boolean"
},
"alternative_format_contact_email": {
"type": "string"
},
"attachment_type": {
"type": "string",
"enum": [
"file"
]
},
"content_type": {
"type": "string"
},
"file_size": {
"type": "integer"
},
"filename": {
"type": "string"
},
"id": {
"type": "string"
},
"locale": {
"$ref": "#/definitions/locale"
},
"number_of_pages": {
"type": "integer"
},
"preview_url": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
}
}
},
"first_public_at": {
"description": "DEPRECATED. The date the content was first published. Used in details. Deprecated in favour of top level `first_published_at`.",
"type": "string",
"format": "date-time"
},
"first_published_at": {
"description": "The date the content was first published. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string",
"format": "date-time"
},
"government": {
"description": "DEPRECATED: Content should be associated with a government through a link",
"type": "object",
"required": [
"title",
"slug",
"current"
],
"additionalProperties": false,
"properties": {
"current": {
"description": "Is the government that published this document still the current government.",
"type": "boolean"
},
"slug": {
"description": "Government slug, used for analytics, eg '1970-to-1974-conservative-government'.",
"type": "string"
},
"title": {
"description": "Name of the government that first published this document, eg '1970 to 1974 Conservative government'.",
"type": "string"
}
}
},
"guid": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$"
},
"guid_list": {
"type": "array",
"items": {
"$ref": "#/definitions/guid"
},
"_uniqueItems": true
},
"image": {
"type": "object",
"required": [
"url"
],
"additionalProperties": false,
"properties": {
"alt_text": {
"type": "string"
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"credit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"high_resolution_url": {
"description": "URL to a high resolution version of the image, for use by third parties such as Twitter, Facebook or Slack. Used by the machine readable metadata component. Don't use this on user-facing web pages, as it might be very large.",
"type": "string",
"format": "uri"
},
"url": {
"description": "URL to the image. The image should be in a suitable resolution for display on the page.",
"type": "string",
"format": "uri"
}
}
},
"locale": {
"type": "string",
"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"
]
},
"nation_applicability": {
"description": "An object specifying the applicability of a particular nation.",
"type": "object",
"additionalProperties": false,
"properties": {
"alternative_url": {
"description": "An optional alternative URL to link to for more information on this content item pertaining to this nation.",
"type": "string"
},
"applicable": {
"description": "Whether the content applies to this nation or not.",
"type": "boolean"
},
"label": {
"description": "The pretty-printed, translated label for this nation.",
"type": "string"
}
}
},
"national_applicability": {
"description": "An object specifying the applicable nations for this content item. If it applies to all nations, it should be omitted.",
"type": "object",
"additionalProperties": false,
"properties": {
"england": {
"$ref": "#/definitions/nation_applicability"
},
"northern_ireland": {
"$ref": "#/definitions/nation_applicability"
},
"scotland": {
"$ref": "#/definitions/nation_applicability"
},
"wales": {
"$ref": "#/definitions/nation_applicability"
}
}
},
"political": {
"description": "If the content is considered political in nature, reflecting views of the government it was published under.",
"type": "boolean"
},
"public_updated_at": {
"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",
"format": "date-time"
},
"publishing_app_name": {
"description": "The application that published this item.",
"type": "string",
"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"
]
},
"rendering_app": {
"description": "The application that renders this item.",
"type": "string",
"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"
]
},
"route": {
"type": "object",
"required": [
"path",
"type"
],
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"type": {
"enum": [
"prefix",
"exact"
]
}
}
},
"routes": {
"type": "array",
"items": {
"$ref": "#/definitions/route"
},
"minItems": 1
},
"tags": {
"description": "Field used by email-alert-api to trigger email alerts for subscriptions to topics (gov.uk/topic) and policies (gov.uk/policies).",
"type": "object",
"additionalProperties": false,
"properties": {
"additional_topics": {
"type": "array",
"items": {
"type": "string"
}
},
"browse_pages": {
"type": "array",
"items": {
"type": "string"
}
},
"policies": {
"type": "array",
"items": {
"type": "string"
}
},
"primary_topic": {
"type": "array",
"items": {
"type": "string"
}
},
"topics": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"title": {
"type": "string"
},
"update_type": {
"enum": [
"major",
"minor",
"republish"
]
}
}
} | o21191 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerState": {
"description": "ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.",
"properties": {
"running": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerStateRunning",
"description": "Details about a running container"
},
"terminated": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerStateTerminated",
"description": "Details about a terminated container"
},
"waiting": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerStateWaiting",
"description": "Details about a waiting container"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerStateRunning": {
"description": "ContainerStateRunning is a running state of a container.",
"properties": {
"startedAt": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Time at which the container was last (re-)started"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerStateTerminated": {
"description": "ContainerStateTerminated is a terminated state of a container.",
"properties": {
"containerID": {
"description": "Container's ID in the format 'docker://<container_id>'",
"type": "string"
},
"exitCode": {
"_format": "int32",
"description": "Exit status from the last termination of the container",
"type": "integer"
},
"finishedAt": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Time at which the container last terminated"
},
"message": {
"description": "Message regarding the last termination of the container",
"type": "string"
},
"reason": {
"description": "(brief) reason from the last termination of the container",
"type": "string"
},
"signal": {
"_format": "int32",
"description": "Signal from the last termination of the container",
"type": "integer"
},
"startedAt": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Time at which previous execution of the container started"
}
},
"required": [
"exitCode"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerStateWaiting": {
"description": "ContainerStateWaiting is a waiting state of a container.",
"properties": {
"message": {
"description": "Message regarding why the container is not yet running.",
"type": "string"
},
"reason": {
"description": "(brief) reason the container is not yet running.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time": {
"_format": "date-time",
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": "string"
}
},
"description": "ContainerStatus contains details for the current status of this container.",
"properties": {
"containerID": {
"description": "Container's ID in the format 'docker://<container_id>'.",
"type": [
"string",
"null"
]
},
"image": {
"description": "The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images",
"type": [
"string",
"null"
]
},
"imageID": {
"description": "ImageID of the container's image.",
"type": [
"string",
"null"
]
},
"lastState": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerState",
"description": "Details about the container's last termination condition."
},
"name": {
"description": "This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.",
"type": [
"string",
"null"
]
},
"ready": {
"description": "Specifies whether the container has passed its readiness probe.",
"type": [
"boolean",
"null"
]
},
"restartCount": {
"description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.",
"format": "int32",
"type": [
"integer",
"null"
]
},
"started": {
"description": "Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined.",
"type": [
"boolean",
"null"
]
},
"state": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerState",
"description": "Details about the container's current condition."
}
},
"required": [
"name",
"ready",
"restartCount",
"image",
"imageID"
],
"type": "object"
} | kb_133_Normalized |
{
"properties": {
"dimensions": {
"properties": {
"length": {
"description": "The length of the shape",
"type": "number"
},
"radius": {
"description": "The radius of the shape (for circle)",
"type": "number"
},
"width": {
"description": "The width of the shape (for rectangle)",
"type": "number"
}
},
"required": [
"length"
],
"type": "object"
},
"shape": {
"description": "The shape type (e.g. square, circle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_90872462 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ClientIPConfig": {
"description": "ClientIPConfig represents the configurations of Client IP based session affinity.",
"properties": {
"timeoutSeconds": {
"_format": "int32",
"description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).",
"type": "integer"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LoadBalancerIngress": {
"description": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.",
"properties": {
"hostname": {
"description": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)",
"type": "string"
},
"ip": {
"description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LoadBalancerStatus": {
"description": "LoadBalancerStatus represents the status of a load-balancer.",
"properties": {
"ingress": {
"description": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LoadBalancerIngress"
},
"type": "array"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ServicePort": {
"description": "ServicePort contains information on service's port.",
"properties": {
"appProtocol": {
"description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. Field can be enabled with ServiceAppProtocol feature gate.",
"type": "string"
},
"name": {
"description": "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service.",
"type": "string"
},
"nodePort": {
"_format": "int32",
"description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport",
"type": "integer"
},
"port": {
"_format": "int32",
"description": "The port that will be exposed by this service.",
"type": "integer"
},
"protocol": {
"description": "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP.",
"type": "string"
},
"targetPort": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_util_intstr_IntOrString",
"description": "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service"
}
},
"required": [
"port"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ServiceSpec": {
"description": "ServiceSpec describes the attributes that a user creates on a service.",
"properties": {
"clusterIP": {
"description": "clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies",
"type": "string"
},
"externalIPs": {
"description": "externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system.",
"items": {
"type": "string"
},
"type": "array"
},
"externalName": {
"description": "externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires Type to be ExternalName.",
"type": "string"
},
"externalTrafficPolicy": {
"description": "externalTrafficPolicy denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints. \"Local\" preserves the client source IP and avoids a second hop for LoadBalancer and Nodeport type services, but risks potentially imbalanced traffic spreading. \"Cluster\" obscures the client source IP and may cause a second hop to another node, but should have good overall load-spreading.",
"type": "string"
},
"healthCheckNodePort": {
"_format": "int32",
"description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.",
"type": "integer"
},
"ipFamily": {
"description": "ipFamily specifies whether this Service has a preference for a particular IP family (e.g. IPv4 vs. IPv6). If a specific IP family is requested, the clusterIP field will be allocated from that family, if it is available in the cluster. If no IP family is requested, the cluster's primary IP family will be used. Other IP fields (loadBalancerIP, loadBalancerSourceRanges, externalIPs) and controllers which allocate external load-balancers should use the same IP family. Endpoints for this Service will be of this family. This field is immutable after creation. Assigning a ServiceIPFamily not available in the cluster (e.g. IPv6 in IPv4 only cluster) is an error condition and will fail during clusterIP assignment.",
"type": "string"
},
"loadBalancerIP": {
"description": "Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature.",
"type": "string"
},
"loadBalancerSourceRanges": {
"description": "If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/",
"items": {
"type": "string"
},
"type": "array"
},
"ports": {
"description": "The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ServicePort"
},
"type": "array",
"x-kubernetes-list-map-keys": [
"port",
"protocol"
],
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "port",
"x-kubernetes-patch-strategy": "merge"
},
"publishNotReadyAddresses": {
"description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.",
"type": "boolean"
},
"selector": {
"additionalProperties": {
"type": "string"
},
"description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/",
"type": "object"
},
"sessionAffinity": {
"description": "Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies",
"type": "string"
},
"sessionAffinityConfig": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SessionAffinityConfig",
"description": "sessionAffinityConfig contains the configurations of session affinity."
},
"topologyKeys": {
"description": "topologyKeys is a preference-order list of topology keys which implementations of services should use to preferentially sort endpoints when accessing this Service, it can not be used at the same time as externalTrafficPolicy=Local. Topology keys must be valid label keys and at most 16 keys may be specified. Endpoints are chosen based on the first topology key with available backends. If this field is specified and all entries have no backends that match the topology of the client, the service has no backends for that client and connections should fail. The special value \"*\" may be used to mean \"any topology\". This catch-all value, if used, only makes sense as the last value in the list. If this is not specified or empty, no topology constraints will be applied.",
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"description": "type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ServiceStatus": {
"description": "ServiceStatus represents the current status of a service.",
"properties": {
"loadBalancer": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LoadBalancerStatus",
"description": "LoadBalancer contains the current status of the load-balancer, if one is present."
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SessionAffinityConfig": {
"description": "SessionAffinityConfig represents the configurations of session affinity.",
"properties": {
"clientIP": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ClientIPConfig",
"description": "clientIP contains the configurations of Client IP based session affinity."
}
},
"type": "object"
},
"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"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_util_intstr_IntOrString": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
},
"description": "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.",
"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"
]
},
"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": [
"Service"
],
"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"
},
"spec": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ServiceSpec",
"description": "Spec defines the behavior of a service. 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_ServiceStatus",
"description": "Most recently observed status of the service. Populated by the system. Read-only. 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": "Service",
"version": "v1"
}
]
} | kb_968_Normalized |
{
"properties": {
"configurations": {
"description": "Kong configuration properties.",
"properties": {
"cassandra": {
"description": "Cassandra connection properties.",
"properties": {
"contact-points": {
"default": "node-0.cassandra.mesos, node-1.cassandra.mesos, node-2.cassandra.mesos",
"description": "A comma-separated list of contact points.",
"type": "string"
},
"keyspace": {
"default": "kong",
"description": "Cassandra keyspace.",
"type": "string"
},
"port": {
"default": 9042,
"description": "The port on which cassandra nodes are listening on.",
"type": "integer"
},
"use-cassandra": {
"default": false,
"description": "If true, Cassandra is used as Kong datastore.",
"title": "Use Cassandra as Kong datastore?",
"type": "boolean"
}
},
"type": "object"
},
"custom-envs": {
"description": "A space-separated list Kong configurations. Please avoid updating properties which already being set through other properties above.",
"pattern": "^(KONG_\\w+=\\S+)*(\\sKONG_\\w+=\\S+)*$",
"type": "string"
},
"log-level": {
"default": "notice",
"description": "Log level of the Kong server.",
"type": "string"
},
"postgres": {
"description": "Postgres connection properties.",
"properties": {
"database": {
"default": "kong",
"description": "Postgres database name.",
"type": "string"
},
"host": {
"default": "postgres.marathon.l4lb.thisdcos.directory",
"description": "Postgres host address.",
"type": "string"
},
"password": {
"default": "kong",
"description": "Postgres password.",
"type": "string"
},
"port": {
"default": 5432,
"description": "Postgres port.",
"type": "integer"
},
"user": {
"default": "kong",
"description": "Postgres user.",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"networking": {
"description": "Marathon-LB service configuration properties.",
"properties": {
"admin": {
"description": "Kong's Admin port configuration.",
"properties": {
"external-access": {
"default": false,
"description": "Enable or disable creating a VIP for external access through a public node running Marathon-LB.",
"title": "Allow external access",
"type": "boolean"
},
"service-port": {
"default": 10202,
"description": "Port number to be used for external traffic to cluster through Marathon-LB load balancer.",
"type": "integer"
},
"vip-port": {
"default": 8001,
"description": "Port number to be used for communication internally to the cluster. Default is 8001.",
"type": "number"
}
},
"type": "object"
},
"admin-ssl": {
"description": "Kong's Admin ssl port configuration.",
"properties": {
"external-access": {
"default": false,
"description": "Enable or disable creating a VIP for external access through a public node running Marathon-LB.",
"title": "Allow external access",
"type": "boolean"
},
"service-port": {
"default": 10203,
"description": "Port number to be used for external traffic to cluster through Marathon-LB load balancer.",
"type": "integer"
},
"vip-port": {
"default": 8444,
"description": "Port number to be used for communication internally to the cluster. Default is 8444.",
"type": "number"
}
},
"type": "object"
},
"proxy": {
"description": "Kong's Proxy port configuration.",
"properties": {
"external-access": {
"default": true,
"description": "Enable or disable creating a VIP for external access through a public node running Marathon-LB.",
"title": "Allow external access",
"type": "boolean"
},
"https-redirect": {
"default": false,
"description": "Whether Marathon-lb should redirect HTTP traffic to HTTPS. This requires 'virtual-host' to be set.",
"type": "boolean"
},
"service-port": {
"default": 10201,
"description": "Port number to be used for external traffic to cluster through Marathon-LB load balancer.",
"type": "integer"
},
"vip-port": {
"default": 8000,
"description": "Port number to be used for communication internally to the cluster. Default is 8000.",
"type": "number"
},
"virtual-host": {
"description": "The virtual host address to integrate Kong proxy port with Marathon-lb.",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"service": {
"description": "DC/OS service configuration properties",
"properties": {
"cpus": {
"default": 1,
"description": "CPU shares to allocate to each instance.",
"minimum": 1,
"type": "number"
},
"instances": {
"default": 1,
"description": "Number of instances to run.",
"minimum": 1,
"type": "integer"
},
"mem": {
"default": 512,
"description": "Memory (MB) to allocate to each task.",
"minimum": 512,
"type": "number"
},
"name": {
"default": "kong",
"description": "The name of this Kong instance.",
"type": "string"
},
"role": {
"default": "*",
"description": "Deploy Kong only on nodes with this role.",
"type": "string"
}
},
"required": [
"name",
"instances",
"cpus",
"mem",
"role"
],
"type": "object"
}
},
"type": "object"
} | o90712 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Classification",
"description": "A classification from a code list",
"type": "object",
"properties": {
"code_scheme_id": {
"description": "The scheme of the classification",
"type": "string"
},
"code": {
"description": "The classification",
"type": "string"
},
"name": {
"description": "A title or description of the classification, especially if the value is a code",
"type": "string"
}
},
"additionalProperties": false,
"anyOf": [
{
"required": [
"name"
]
},
{
"required": [
"code",
"code_scheme_id"
]
}
]
} | o65445 |
{
"additionalProperties": false,
"description": "schema for a extensions object of a statement in the xAPI, version 1.0.*",
"patternProperties": {
"^[a-zA-Z]+://[^ \"]+$": {}
}
} | o88603 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"allOf": [
{
"$ref": "#/definitions/coreProperties"
},
{
"required": ["site_name"]
}
],
"definitions": {
"coreProperties": {
"type": "object",
"properties": {
"site_name": {
"description": "The main title for the project documentation.\nhttps://www.mkdocs.org/user-guide/configuration/#site_name",
"type": "string"
},
"site_url": {
"description": "Set the canonical URL of the site. This will add a link tag with the canonical URL to the head section of each HTML page. If the 'root' of the MkDocs site will be within a subdirectory of a domain, be sure to include that subdirectory in the setting (https://example.com/foo/).\nhttps://www.mkdocs.org/user-guide/configuration/#site_url",
"type": "string"
},
"repo_url": {
"description": "When set, provides a link to your repository (GitHub, Bitbucket, GitLab, ...) on each page.\nhttps://www.mkdocs.org/user-guide/configuration/#repo_url",
"type": "string"
},
"repo_name": {
"description": "When set, provides the name for the link to your repository on each page.\nhttps://www.mkdocs.org/user-guide/configuration/#repo_name",
"type": "string"
},
"edit_uri": {
"description": "The path from the base repo_url to the docs directory when directly viewing a page, accounting for specifics of the repository host (e.g. GitHub, Bitbucket, etc), the branch, and the docs directory itself.\nhttps://www.mkdocs.org/user-guide/configuration/#edit_uri",
"type": "string"
},
"edit_uri_template": {
"description": "The more flexible variant of edit_uri.\nhttps://www.mkdocs.org/user-guide/configuration/#edit_uri_template",
"type": "string"
},
"site_description": {
"description": "Set the site description. This will add a meta tag to the generated HTML header.\nhttps://www.mkdocs.org/user-guide/configuration/#site_description",
"type": "string"
},
"site_author": {
"description": "Set the name of the author. This will add a meta tag to the generated HTML header.\nhttps://www.mkdocs.org/user-guide/configuration/#site_author",
"type": "string"
},
"copyright": {
"description": "Set the copyright information to be included in the documentation by the theme.\nhttps://www.mkdocs.org/user-guide/configuration/#copyright",
"type": "string"
},
"remote_branch": {
"default": "gh-pages",
"description": "Set the remote branch to commit to when using gh-deploy to deploy to GitHub Pages. This option can be overridden by a command line option in gh-deploy.\nhttps://www.mkdocs.org/user-guide/configuration/#remote_branch",
"type": "string"
},
"remote_name": {
"default": "origin",
"description": "Set the remote name to push to when using gh-deploy to deploy to GitHub Pages. This option can be overridden by a command line option in gh-deploy.\nhttps://www.mkdocs.org/user-guide/configuration/#remote_name",
"type": "string"
},
"nav": {
"description": "This setting is used to determine the format and layout of the global navigation for the site.\nhttps://www.mkdocs.org/user-guide/configuration/#nav",
"type": "array",
"items": {
"anyOf": [
{
"type": "object"
},
{
"type": "string"
}
]
}
},
"theme": {
"description": "Sets the theme and theme specific configuration of your documentation site.\nhttps://www.mkdocs.org/user-guide/configuration/#theme",
"anyOf": [
{
"type": "object",
"properties": {
"name": {
"default": "mkdocs",
"description": "The string name of a known installed theme, or null if using a local custom theme.",
"type": ["string", "null"]
},
"locale": {
"default": "en",
"description": "A code representing the language of your site.",
"type": "string"
},
"custom_dir": {
"description": "A directory containing a custom theme. This can either be a relative directory, in which case it is resolved relative to the directory containing your configuration file or it can be an absolute directory path from the root of your local file system.",
"type": "string"
},
"static_templates": {
"description": "A list of templates to render as static pages. The templates must be located in either the theme's template directory or in the custom_dir defined in the theme configuration.",
"type": "array"
}
}
},
{
"default": "mkdocs",
"type": "string"
}
]
},
"docs_dir": {
"default": "docs",
"description": "The directory containing the documentation source markdown files. This can either be a relative directory, in which case it is resolved relative to the directory containing your configuration file, or it can be an absolute directory path from the root of your local file system.\nhttps://www.mkdocs.org/user-guide/configuration/#docs_dir",
"type": "string"
},
"site_dir": {
"default": "site",
"description": "The directory where the output HTML and other files are created. This can either be a relative directory, in which case it is resolved relative to the directory containing your configuration file, or it can be an absolute directory path from the root of your local file system.\nhttps://www.mkdocs.org/user-guide/configuration/#site_dir",
"type": "string"
},
"extra_css": {
"default": [],
"description": "Set a list of CSS files in your docs_dir to be included by the theme. For example, the following example will include the extra.css file within the css subdirectory in your docs_dir.\nhttps://www.mkdocs.org/user-guide/configuration/#extra_css",
"type": "array",
"items": {
"type": "string"
}
},
"extra_javascript": {
"default": [],
"description": "Set a list of JavaScript files in your docs_dir to be included by the theme. See the example in extra_css for usage.\nhttps://www.mkdocs.org/user-guide/configuration/#extra_javascript",
"type": "array",
"items": {
"type": "string"
}
},
"extra_templates": {
"default": [],
"description": "Set a list of templates in your docs_dir to be built by MkDocs. To see more about writing templates for MkDocs read the documentation about [custom themes] and specifically the section about the [available variables] to templates. See the example in extra_css for usage.\nhttps://www.mkdocs.org/user-guide/configuration/#extra_templates",
"type": "array",
"items": {
"type": "string"
}
},
"extra": {
"default": {},
"description": "A set of key-value pairs, where the values can be any valid YAML construct, that will be passed to the template. This allows for great flexibility when creating custom themes.\nhttps://www.mkdocs.org/user-guide/configuration/#extra",
"type": "object"
},
"watch": {
"description": "Determines additional directories to watch when running mkdocs serve.\nhttps://www.mkdocs.org/user-guide/configuration/#watch",
"type": "array",
"items": {
"type": "string"
}
},
"use_directory_urls": {
"default": true,
"description": "This setting controls the style used for linking to pages within the documentation.\nhttps://www.mkdocs.org/user-guide/configuration/#use_directory_urls",
"type": "boolean"
},
"strict": {
"default": false,
"description": "Determines how warnings are handled. Set to true to halt processing when a warning is raised. Set to false to print a warning and continue processing.\nhttps://www.mkdocs.org/user-guide/configuration/#strict",
"type": "boolean"
},
"dev_addr": {
"default": "127.0.0.1:8000",
"description": "Determines the address used when running mkdocs serve. Must be of the format IP:PORT.\nhttps://www.mkdocs.org/user-guide/configuration/#dev_addr",
"type": "string"
},
"markdown_extensions": {
"default": [],
"description": "This setting lets you enable a list of extensions beyond the ones that MkDocs uses by default (meta, toc, tables, and fenced_code).\nhttps://www.mkdocs.org/user-guide/configuration/#markdown_extensions",
"anyOf": [
{
"type": "array"
},
{
"type": "object"
}
]
},
"hooks": {
"description": "A list of paths to Python scripts (relative to mkdocs.yml) that are loaded and used as plugin instances.\nhttps://www.mkdocs.org/user-guide/configuration/#hooks",
"type": "array"
},
"plugins": {
"default": ["search"],
"description": "A list of plugins (with optional configuration settings) to use when building the site. See the Plugins documentation for full details.\nhttps://www.mkdocs.org/user-guide/configuration/#plugins",
"anyOf": [
{
"type": "array"
},
{
"type": "object"
}
]
},
"INHERIT": {
"description": "Define the parent for a configuration file. The path must be relative to the location of the primary file.\nhttps://www.mkdocs.org/user-guide/configuration/#configuration-inheritance",
"type": "string"
}
}
}
},
"description": "JSON schema for MkDocs configuration file",
"id": "https://json.schemastore.org/mkdocs-1.0.json",
"title": "MkDocs Configuration",
"type": "object"
}
| mkdocs-1 |
{
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Metadata AOI",
"description": "This is a schema for validating the specification.",
"type": "object",
"properties": {
"metadata_type": {
"type": "string",
"default": "n/a"
},
"name_of_aoi": {
"type": "string",
"default": "n/a"
},
"planned_map_type": {
"type": "string",
"default": "n/a"
},
"planned_satellite_data": {
"type": "string",
"default": "n/a"
}
},
"required": [
"metadata_type",
"name_of_aoi",
"planned_map_type",
"planned_satellite_data"
],
"additionalProperties": true
} | o39766 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {}
} | o9365 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Common Definitions",
"definitions": {
"id": {
"type": "integer",
"multipleOf": 1.0,
"minimum": 0
}
},
"properties": {
"id": {
"$ref": "#/definitions/id"
}
},
"required": [
"id"
]
} | o41773 |
{
"description": "A single entry in my CV. Features place, time and identifiers for the events.",
"properties": {
"@context": {
"const": "http://schema.org"
},
"@type": {
"const": "Event"
},
"cat": {
"type": "string"
},
"description": {
"type": "string"
},
"endDate": {
"format": "ISO8601",
"type": "string"
},
"endLabel": {
"type": "string"
},
"location": {
"properties": {
"@type": {
"const": "Place"
},
"coord": {
"format": "ISO6709",
"type": "string"
},
"name": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"type": "string"
},
"name": {
"type": "string"
},
"startDate": {
"format": "ISO8601",
"type": "string"
},
"startLabel": {
"type": "string"
},
"uri": {
"format": "uri",
"type": "string"
}
},
"title": "cv-item",
"type": "object"
} | o18021 |
{
"title": "Dynamic map layer",
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema",
"description": "A dynamic map layer refers to a layer in the current map service. More information on this can be found in the [ArcGIS REST API help](http://resources.arcgis.com/en/help/rest/apiref/layersource.html).",
"properties": {
"gdbVersion": {
"type": "string",
"description": "If applicable, specify this to use an alternate geodatabase version."
},
"mapLayerId": {
"type": "integer",
"description": "The current map layer's id."
},
"type": {
"type": "string",
"description": "A string value indicating the type.",
"enum": [
"mapLayer"
]
}
},
"required": [
"mapLayerId",
"type"
],
"additionalProperties": false,
"esriDocumentation": {
"examples": [
{
"title": "dynamicMapLayer",
"code": {
"source": {
"type": "mapLayer",
"mapLayerId": 3,
"gdbVersion": "SDE.dynamicLayers"
}
}
}
]
}
} | o90193 |
{
"definitions": {
"email": {
"type": "string",
"format": "email"
},
"user": {
"required": [
"name",
"email"
],
"type": "object",
"properties": {
"name": {
"$ref": "#/definitions/name"
},
"email": {
"$ref": "#/definitions/email"
}
}
},
"name": {
"pattern": "^[a-zA-Z][- 'a-zA-Z0-9]+",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-04/schema#",
"properties": {
"email": {
"$ref": "#/definitions/email"
},
"user": {
"$ref": "#/definitions/user"
},
"name": {
"$ref": "#/definitions/name"
}
},
"required": [
"email",
"user",
"name"
]
} | o36399 |
{
"additionalProperties": false,
"description": "MachineBoss parameter constraints schema",
"properties": {
"norm": {
"items": {
"items": {
"minItems": 1,
"type": "string"
},
"type": "array"
},
"type": "array"
},
"prob": {
"items": {
"type": "string"
},
"type": "array"
},
"rate": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
} | o47163 |
{
"properties": {
"attendees": {
"description": "The email addresses of the attendees",
"items": {
"type": "string"
},
"type": "array"
},
"end_time": {
"description": "The end time of the event in ISO 8601 format",
"type": "string"
},
"event_title": {
"description": "The title of the event",
"type": "string"
},
"start_time": {
"description": "The start time of the event in ISO 8601 format",
"type": "string"
}
},
"required": [
"event_title",
"start_time",
"end_time",
"attendees"
],
"type": "object"
} | create_calendar_event_436b173f |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Persistent identifier",
"type": "object",
"properties": {
"type": {
"title": "Type",
"description": "Type of persistent identifier (e.g. INSPIRE_RECORD_ID)",
"type": "string",
"minLength": 2
},
"description": {
"title": "Description",
"description": "Short description of the identifier",
"type": "string",
"minLength": 1
},
"url": {
"title": "URL",
"description": "URL showing the identifier placeholder (e.g. http://inspirehep.net/record/<INSPIRE_RECORD_ID>)",
"type": "string",
"minLength": 1
},
"example_value": {
"title": "Example value",
"description": "Example value of a possible identifier (e.g. 2001192)",
"type": "string",
"minLength": 1
},
"example_url": {
"title": "Example URL",
"description": "Example URL with an identifier (e.g. http://inspirehep.net/record/2001192)",
"type": "string",
"minLength": 1
}
},
"required": [
"type",
"description",
"url",
"example_value",
"example_url"
],
"additionalProperties": false
} | o80824 |
{
"properties": {
"customer_name": {
"description": "The name of the customer",
"type": "string"
},
"items": {
"description": "The items in the invoice",
"items": {
"properties": {
"name": {
"description": "The name of the item",
"type": "string"
},
"price": {
"description": "The price of the item",
"type": "number"
},
"quantity": {
"description": "The quantity of the item",
"type": "integer"
}
},
"required": [
"name",
"quantity",
"price"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"customer_name",
"items"
],
"type": "object"
} | generate_invoice_29668776 |
{
"properties": {
"mysql": {
"additionalProperties": false,
"description": "MySQL service configuration properties",
"properties": {
"cpus": {
"default": 0.1,
"description": "CPU shares to allocate to each MySQL node.",
"minimum": 0.1,
"type": "number"
},
"database": {
"description": "The name of a database to be created on image startup, optional.",
"type": "string"
},
"host_volume": {
"default": "/tmp",
"description": "The location of a volume on the host to be used for persisting MySQL data. The final location will be derived from this value plus the name set in `name` (e.g. `/mnt/host_volume/mysql`). Note that this path must be the same on all DCOS agents.",
"type": "string"
},
"instances": {
"default": 1.0,
"description": "Number of instances we should have running by mesos.",
"minimum": 1.0,
"type": "number"
},
"mem": {
"default": 128.0,
"description": "Memory to allocate to each MySQL node.",
"minimum": 128.0,
"type": "number"
},
"root_password": {
"description": "Specifies the password that will be set for the MySQL root superuser account, required.",
"type": "string"
}
},
"required": [
"cpus",
"mem",
"instances",
"host_volume",
"root_password"
],
"type": "object"
},
"service": {
"description": "DC/OS service configuration properties",
"properties": {
"name": {
"default": "mysql",
"description": "The name of the MySQL service instance",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
} | o90783 |
{
"additionalProperties": true,
"description": "Schema for an Optimizely state context (http://developers.optimizely.com/javascript/reference/#state)",
"properties": {
"experimentId": {
"type": [
"string",
"null"
]
},
"isActive": {
"type": [
"boolean",
"null"
]
},
"variationId": {
"type": [
"string",
"null"
]
},
"variationIndex": {
"maximum": 32767,
"type": [
"integer",
"null"
]
},
"variationName": {
"type": [
"string",
"null"
]
}
},
"self": {
"format": "jsonschema",
"name": "state",
"vendor": "com.optimizely",
"version": "1-0-0"
},
"type": "object"
} | sp_155_Normalized |
{
"properties": {
"end_time": {
"description": "The end time of the event in HH:MM format",
"format": "time",
"type": "string"
},
"event_date": {
"description": "The date of the event in YYYY-MM-DD format",
"format": "date",
"type": "string"
},
"event_title": {
"description": "The title of the event",
"type": "string"
},
"start_time": {
"description": "The start time of the event in HH:MM format",
"format": "time",
"type": "string"
}
},
"required": [
"event_title",
"event_date",
"start_time",
"end_time"
],
"type": "object"
} | generate_calendar_event_a37e2af9 |
{
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"minProperties": 1
} | o8465 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Team registration",
"description": "Team registration, non-intramural leagues only",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"age": {
"type": "integer",
"minimum": 10,
"maximum": 14
},
"league": {
"type": "string",
"not": {
"enum": [
"intramural"
]
}
}
}
} | o83707 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_CustomResourceColumnDefinition": {
"description": "CustomResourceColumnDefinition specifies a column for server side printing.",
"properties": {
"JSONPath": {
"description": "JSONPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.",
"type": "string"
},
"description": {
"description": "description is a human readable description of this column.",
"type": "string"
},
"format": {
"description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.",
"type": "string"
},
"name": {
"description": "name is a human readable name for the column.",
"type": "string"
},
"priority": {
"_format": "int32",
"description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.",
"type": "integer"
},
"type": {
"description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.",
"type": "string"
}
},
"required": [
"name",
"type",
"JSONPath"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_CustomResourceConversion": {
"description": "CustomResourceConversion describes how to convert different versions of a CR.",
"properties": {
"conversionReviewVersions": {
"description": "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail. Defaults to `[\"v1beta1\"]`.",
"items": {
"type": "string"
},
"type": "array"
},
"strategy": {
"description": "strategy specifies how custom resources are converted between versions. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information\n is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhookClientConfig to be set.",
"type": "string"
},
"webhookClientConfig": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_WebhookClientConfig",
"description": "webhookClientConfig is the instructions for how to call the webhook if strategy is `Webhook`. Required when `strategy` is set to `Webhook`."
}
},
"required": [
"strategy"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_CustomResourceDefinitionNames": {
"description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition",
"properties": {
"categories": {
"description": "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.",
"items": {
"type": "string"
},
"type": "array"
},
"kind": {
"description": "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.",
"type": "string"
},
"listKind": {
"description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\".",
"type": "string"
},
"plural": {
"description": "plural is the plural name of the resource to serve. The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Must be all lowercase.",
"type": "string"
},
"shortNames": {
"description": "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`. It must be all lowercase.",
"items": {
"type": "string"
},
"type": "array"
},
"singular": {
"description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.",
"type": "string"
}
},
"required": [
"plural",
"kind"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_CustomResourceDefinitionVersion": {
"description": "CustomResourceDefinitionVersion describes a version for CRD.",
"properties": {
"additionalPrinterColumns": {
"description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead). If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_CustomResourceColumnDefinition"
},
"type": "array"
},
"name": {
"description": "name is the version name, e.g. \u201cv1\u201d, \u201cv2beta1\u201d, etc. The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true.",
"type": "string"
},
"schema": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_CustomResourceValidation",
"description": "schema describes the schema used for validation and pruning of this version of the custom resource. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead)."
},
"served": {
"description": "served is a flag enabling/disabling this version from being served via REST APIs",
"type": "boolean"
},
"storage": {
"description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.",
"type": "boolean"
},
"subresources": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_CustomResourceSubresources",
"description": "subresources specify what subresources this version of the defined custom resource have. Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead)."
}
},
"required": [
"name",
"served",
"storage"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_CustomResourceSubresourceScale": {
"description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.",
"properties": {
"labelSelectorPath": {
"description": "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.",
"type": "string"
},
"specReplicasPath": {
"description": "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.",
"type": "string"
},
"statusReplicasPath": {
"description": "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.",
"type": "string"
}
},
"required": [
"specReplicasPath",
"statusReplicasPath"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_CustomResourceSubresourceStatus": {
"description": "CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza",
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_CustomResourceSubresources": {
"description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.",
"properties": {
"scale": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_CustomResourceSubresourceScale",
"description": "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object."
},
"status": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_CustomResourceSubresourceStatus",
"description": "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object."
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_CustomResourceValidation": {
"description": "CustomResourceValidation is a list of validation methods for CustomResources.",
"properties": {
"openAPIV3Schema": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_JSONSchemaProps",
"description": "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning."
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_ExternalDocumentation": {
"description": "ExternalDocumentation allows referencing an external resource for extended documentation.",
"properties": {
"description": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_JSON": {
"description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil."
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_JSONSchemaProps": {
"description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).",
"properties": {
"$ref": {
"type": "string"
},
"$schema": {
"type": "string"
},
"additionalItems": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_JSONSchemaPropsOrBool"
},
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_JSONSchemaPropsOrBool"
},
"allOf": {
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_JSONSchemaProps"
},
"type": "array"
},
"anyOf": {
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_JSONSchemaProps"
},
"type": "array"
},
"default": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_JSON",
"description": "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. CustomResourceDefinitions with defaults must be created using the v1 (or newer) CustomResourceDefinition API."
},
"definitions": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_JSONSchemaProps"
},
"type": "object"
},
"dependencies": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_JSONSchemaPropsOrStringArray"
},
"type": "object"
},
"description": {
"type": "string"
},
"enum": {
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_JSON"
},
"type": "array"
},
"example": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_JSON"
},
"exclusiveMaximum": {
"type": "boolean"
},
"exclusiveMinimum": {
"type": "boolean"
},
"externalDocs": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_ExternalDocumentation"
},
"format": {
"description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.",
"type": "string"
},
"id": {
"type": "string"
},
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_JSONSchemaPropsOrArray"
},
"maxItems": {
"_format": "int64",
"type": "integer"
},
"maxLength": {
"_format": "int64",
"type": "integer"
},
"maxProperties": {
"_format": "int64",
"type": "integer"
},
"maximum": {
"format": "double",
"type": "number"
},
"minItems": {
"_format": "int64",
"type": "integer"
},
"minLength": {
"_format": "int64",
"type": "integer"
},
"minProperties": {
"_format": "int64",
"type": "integer"
},
"minimum": {
"format": "double",
"type": "number"
},
"multipleOf": {
"format": "double",
"type": "number"
},
"not": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_JSONSchemaProps"
},
"nullable": {
"type": "boolean"
},
"oneOf": {
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_JSONSchemaProps"
},
"type": "array"
},
"pattern": {
"type": "string"
},
"patternProperties": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_JSONSchemaProps"
},
"type": "object"
},
"properties": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_JSONSchemaProps"
},
"type": "object"
},
"required": {
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"uniqueItems": {
"type": "boolean"
},
"x-kubernetes-embedded-resource": {
"description": "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).",
"type": "boolean"
},
"x-kubernetes-int-or-string": {
"description": "x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:\n\n1) anyOf:\n - type: integer\n - type: string\n2) allOf:\n - anyOf:\n - type: integer\n - type: string\n - ... zero or more",
"type": "boolean"
},
"x-kubernetes-list-map-keys": {
"description": "x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).\n\nThe properties specified must either be required or have a default value, to ensure those properties are present for all list items.",
"items": {
"type": "string"
},
"type": "array"
},
"x-kubernetes-list-type": {
"description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays.",
"type": "string"
},
"x-kubernetes-map-type": {
"description": "x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated.",
"type": "string"
},
"x-kubernetes-preserve-unknown-fields": {
"description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.",
"type": "boolean"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_JSONSchemaPropsOrArray": {
"description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes."
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_JSONSchemaPropsOrBool": {
"description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property."
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_JSONSchemaPropsOrStringArray": {
"description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array."
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_ServiceReference": {
"description": "ServiceReference holds a reference to Service.legacy.k8s.io",
"properties": {
"name": {
"description": "name is the name of the service. Required",
"type": "string"
},
"namespace": {
"description": "namespace is the namespace of the service. Required",
"type": "string"
},
"path": {
"description": "path is an optional URL path at which the webhook will be contacted.",
"type": "string"
},
"port": {
"_format": "int32",
"description": "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.",
"type": "integer"
}
},
"required": [
"namespace",
"name"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_WebhookClientConfig": {
"description": "WebhookClientConfig contains the information to make a TLS connection with the webhook.",
"properties": {
"caBundle": {
"_format": "byte",
"description": "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.",
"type": "string"
},
"service": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_ServiceReference",
"description": "service is a reference to the service for this webhook. Either service or url must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`."
},
"url": {
"description": "url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.",
"type": "string"
}
},
"type": "object"
}
},
"description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear",
"properties": {
"additionalPrinterColumns": {
"description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_CustomResourceColumnDefinition"
},
"type": [
"array",
"null"
]
},
"conversion": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_CustomResourceConversion",
"description": "conversion defines conversion settings for the CRD."
},
"group": {
"description": "group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`).",
"type": [
"string",
"null"
]
},
"names": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_CustomResourceDefinitionNames",
"description": "names specify the resource and kind names for the custom resource."
},
"preserveUnknownFields": {
"description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details.",
"type": [
"boolean",
"null"
]
},
"scope": {
"description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.",
"type": [
"string",
"null"
]
},
"subresources": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_CustomResourceSubresources",
"description": "subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive."
},
"validation": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_CustomResourceValidation",
"description": "validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive."
},
"version": {
"description": "version is the API version of the defined custom resource. The custom resources are served under `/apis/<group>/<version>/...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead.",
"type": [
"string",
"null"
]
},
"versions": {
"description": "versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1beta1_CustomResourceDefinitionVersion"
},
"type": [
"array",
"null"
]
}
},
"required": [
"group",
"names",
"scope"
],
"type": "object"
} | kb_203_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "JSON API Schema",
"description": "This is a schema for responses in the JSON API format. For more, see http://jsonapi.org",
"oneOf": [
{
"$ref": "#/definitions/success"
},
{
"$ref": "#/definitions/failure"
},
{
"$ref": "#/definitions/info"
}
],
"definitions": {
"success": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/definitions/data"
},
"included": {
"description": "To reduce the number of HTTP requests, servers **MAY** allow responses that include related resources along with the requested primary resources. Such responses are called \"compound documents\".",
"type": "array",
"items": {
"$ref": "#/definitions/resource"
},
"_uniqueItems": true
},
"meta": {
"$ref": "#/definitions/meta"
},
"links": {
"description": "Link members related to the primary data.",
"allOf": [
{
"$ref": "#/definitions/links"
},
{
"$ref": "#/definitions/pagination"
}
]
},
"jsonapi": {
"$ref": "#/definitions/jsonapi"
}
},
"additionalProperties": false
},
"failure": {
"type": "object",
"required": [
"errors"
],
"properties": {
"errors": {
"type": "array",
"items": {
"$ref": "#/definitions/error"
},
"_uniqueItems": true
},
"meta": {
"$ref": "#/definitions/meta"
},
"jsonapi": {
"$ref": "#/definitions/jsonapi"
},
"links": {
"$ref": "#/definitions/links"
}
},
"additionalProperties": false
},
"info": {
"type": "object",
"required": [
"meta"
],
"properties": {
"meta": {
"$ref": "#/definitions/meta"
},
"links": {
"$ref": "#/definitions/links"
},
"jsonapi": {
"$ref": "#/definitions/jsonapi"
}
},
"additionalProperties": false
},
"meta": {
"description": "Non-standard meta-information that can not be represented as an attribute or relationship.",
"type": "object",
"additionalProperties": true
},
"data": {
"description": "The document's \"primary data\" is a representation of the resource or collection of resources targeted by a request.",
"oneOf": [
{
"$ref": "#/definitions/resource"
},
{
"description": "An array of resource objects, an array of resource identifier objects, or an empty array ([]), for requests that target resource collections.",
"type": "array",
"items": {
"$ref": "#/definitions/resource"
},
"_uniqueItems": true
},
{
"description": "null if the request is one that might correspond to a single resource, but doesn't currently.",
"type": "null"
}
]
},
"resource": {
"description": "\"Resource objects\" appear in a JSON API document to represent resources.",
"type": "object",
"required": [
"type",
"id"
],
"properties": {
"type": {
"type": "string"
},
"id": {
"type": "string"
},
"attributes": {
"$ref": "#/definitions/attributes"
},
"relationships": {
"$ref": "#/definitions/relationships"
},
"links": {
"$ref": "#/definitions/links"
},
"meta": {
"$ref": "#/definitions/meta"
}
},
"additionalProperties": false
},
"relationshipLinks": {
"description": "A resource object **MAY** contain references to other resource objects (\"relationships\"). Relationships may be to-one or to-many. Relationships can be specified by including a member in a resource's links object.",
"type": "object",
"properties": {
"self": {
"description": "A `self` member, whose value is a URL for the relationship itself (a \"relationship URL\"). This URL allows the client to directly manipulate the relationship. For example, it would allow a client to remove an `author` from an `article` without deleting the people resource itself.",
"$ref": "#/definitions/link"
},
"related": {
"$ref": "#/definitions/link"
}
},
"additionalProperties": true
},
"links": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/link"
}
},
"link": {
"description": "A link **MUST** be represented as either: a string containing the link's URL or a link object.",
"oneOf": [
{
"description": "A string containing the link's URL.",
"type": "string",
"format": "uri-reference"
},
{
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"description": "A string containing the link's URL.",
"type": "string",
"format": "uri-reference"
},
"meta": {
"$ref": "#/definitions/meta"
}
}
}
]
},
"attributes": {
"description": "Members of the attributes object (\"attributes\") represent information about the resource object in which it's defined.",
"type": "object",
"patternProperties": {
"^\\w[-\\w_]*$": {
"description": "Attributes may contain any valid JSON value."
},
"^(relationships|links)$": {
"description": "Reserved for future use.",
"not": {}
}
},
"additionalProperties": false
},
"relationships": {
"description": "Members of the relationships object (\"relationships\") represent references from the resource object in which it's defined to other resource objects.",
"type": "object",
"patternProperties": {
"\\w[-\\w_]*$": {
"properties": {
"links": {
"$ref": "#/definitions/relationshipLinks"
},
"data": {
"description": "Member, whose value represents \"resource linkage\".",
"oneOf": [
{
"$ref": "#/definitions/relationshipToOne"
},
{
"$ref": "#/definitions/relationshipToMany"
}
]
},
"meta": {
"$ref": "#/definitions/meta"
}
},
"anyOf": [
{
"required": [
"data"
]
},
{
"required": [
"meta"
]
},
{
"required": [
"links"
]
}
],
"additionalProperties": false
},
"^(id|type)$": {
"description": "Reserved for future use.",
"not": {}
}
},
"additionalProperties": false
},
"relationshipToOne": {
"description": "References to other resource objects in a to-one (\"relationship\"). Relationships can be specified by including a member in a resource's links object.",
"anyOf": [
{
"$ref": "#/definitions/empty"
},
{
"$ref": "#/definitions/linkage"
}
]
},
"relationshipToMany": {
"description": "An array of objects each containing \"type\" and \"id\" members for to-many relationships.",
"type": "array",
"items": {
"$ref": "#/definitions/linkage"
},
"_uniqueItems": true
},
"empty": {
"description": "Describes an empty to-one relationship.",
"type": "null"
},
"linkage": {
"description": "The \"type\" and \"id\" to non-empty members.",
"type": "object",
"required": [
"type",
"id"
],
"properties": {
"type": {
"type": "string"
},
"id": {
"type": "string"
},
"meta": {
"$ref": "#/definitions/meta"
}
},
"additionalProperties": false
},
"pagination": {
"type": "object",
"properties": {
"first": {
"description": "The first page of data",
"oneOf": [
{
"type": "string",
"format": "uri-reference"
},
{
"type": "null"
}
]
},
"last": {
"description": "The last page of data",
"oneOf": [
{
"type": "string",
"format": "uri-reference"
},
{
"type": "null"
}
]
},
"prev": {
"description": "The previous page of data",
"oneOf": [
{
"type": "string",
"format": "uri-reference"
},
{
"type": "null"
}
]
},
"next": {
"description": "The next page of data",
"oneOf": [
{
"type": "string",
"format": "uri-reference"
},
{
"type": "null"
}
]
}
}
},
"jsonapi": {
"description": "An object describing the server's implementation",
"type": "object",
"properties": {
"version": {
"type": "string"
},
"meta": {
"$ref": "#/definitions/meta"
}
},
"additionalProperties": false
},
"error": {
"type": "object",
"properties": {
"id": {
"description": "A unique identifier for this particular occurrence of the problem.",
"type": "string"
},
"links": {
"$ref": "#/definitions/links"
},
"status": {
"description": "The HTTP status code applicable to this problem, expressed as a string value.",
"type": "string"
},
"code": {
"description": "An application-specific error code, expressed as a string value.",
"type": "string"
},
"title": {
"description": "A short, human-readable summary of the problem. It **SHOULD NOT** change from occurrence to occurrence of the problem, except for purposes of localization.",
"type": "string"
},
"detail": {
"description": "A human-readable explanation specific to this occurrence of the problem.",
"type": "string"
},
"source": {
"type": "object",
"properties": {
"pointer": {
"description": "A JSON Pointer [RFC6901] to the associated entity in the request document [e.g. \"/data\" for a primary data object, or \"/data/attributes/title\" for a specific attribute].",
"type": "string"
},
"parameter": {
"description": "A string indicating which query parameter caused the error.",
"type": "string"
}
}
},
"meta": {
"$ref": "#/definitions/meta"
}
},
"additionalProperties": false
}
}
} | o366 |
{
"properties": {
"departure_date": {
"description": "The departure date of the flight",
"type": "string"
},
"destination": {
"description": "The destination of the flight",
"type": "string"
},
"origin": {
"description": "The origin of the flight",
"type": "string"
},
"passengers": {
"description": "The number of passengers",
"type": "integer"
},
"return_date": {
"description": "The return date of the flight",
"type": "string"
}
},
"required": [
"origin",
"destination",
"departure_date",
"return_date",
"passengers"
],
"type": "object"
} | book_flight_6b755c2e |
{
"properties": {
"destination": {
"description": "The destination address",
"type": "string"
},
"dimensions": {
"properties": {
"height": {
"description": "The height of the package",
"type": "integer"
},
"length": {
"description": "The length of the package",
"type": "integer"
},
"width": {
"description": "The width of the package",
"type": "integer"
}
},
"required": [
"length",
"width",
"height"
],
"type": "object"
},
"weight": {
"description": "The weight of the package",
"type": "number"
}
},
"required": [
"weight",
"dimensions",
"destination"
],
"type": "object"
} | calculate_shipping_cost_c3f83d69 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"provider_key": {
"type": "string"
},
"services": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"backend_authentication_type": {
"type": "string",
"enum": [
"provider_key",
"service_token"
]
},
"backend_authentication_value": {
"type": "string"
},
"backend_version": {
"type": "string",
"enum": [
"1",
"2",
"oauth"
]
},
"backend": {
"type": "object",
"properties": {
"endpoint": {
"type": "string"
},
"host": {
"type": "string"
}
},
"required": [
"endpoint"
]
},
"proxy": {
"type": "object",
"properties": {
"api_backend": {
"type": "string"
},
"hosts": {
"type": "array",
"items": {
"type": "string"
}
},
"proxy_rules": {
"type": "array",
"items": {
"type": "object",
"properties": {
"http_method": {
"type": "string"
},
"pattern": {
"type": "string"
},
"metric_system_name": {
"type": "string"
},
"delta": {
"type": "integer"
}
},
"required": [
"http_method",
"pattern",
"metric_system_name",
"delta"
]
}
}
},
"required": [
"api_backend",
"hosts",
"proxy_rules"
]
}
},
"required": [
"id",
"backend_authentication_type",
"backend_authentication_value",
"backend_version",
"proxy"
]
}
}
},
"required": [
"services"
]
} | o102 |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base of the triangle",
"type": "number"
},
"height": {
"description": "The height of the triangle",
"type": "number"
},
"length": {
"description": "The length of the rectangle or triangle",
"type": "number"
},
"radius": {
"description": "The radius of the circle",
"type": "number"
},
"width": {
"description": "The width of the rectangle",
"type": "number"
}
},
"required": [
"radius",
"length",
"width",
"base",
"height"
],
"type": "object"
},
"shape": {
"description": "The shape type, e.g. circle, rectangle, triangle",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_a8de2aa7 |
{
"properties": {
"cuisine": {
"description": "The cuisine type of the restaurant",
"type": "string"
},
"location": {
"description": "The location of the restaurant",
"type": "string"
},
"name": {
"description": "The name of the restaurant",
"type": "string"
},
"price_range": {
"description": "The price range of the restaurant",
"properties": {
"max_price": {
"description": "The maximum price range",
"type": "number"
},
"min_price": {
"description": "The minimum price range",
"type": "number"
}
},
"type": "object"
}
},
"required": [
"name"
],
"type": "object"
} | search_restaurant_db1df815 |
{
"allOf": [
{
"$ref": "#/definitions/service"
},
{
"$ref": "#/definitions/constraints"
}
],
"definitions": {
"constraints": {
"_id": "#/definitions/constraints",
"anyOf": [
{
"required": [
"build"
]
},
{
"required": [
"image"
]
}
],
"properties": {
"build": {
"required": [
"context"
]
}
}
},
"list_of_strings": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"list_or_dict": {
"oneOf": [
{
"additionalProperties": false,
"patternProperties": {
".+": {
"format": "bool-value-in-mapping",
"type": [
"string",
"number",
"boolean",
"null"
]
}
},
"type": "object"
},
{
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
}
]
},
"service": {
"_id": "#/definitions/service",
"additionalProperties": false,
"dependencies": {
"memswap_limit": [
"mem_limit"
]
},
"properties": {
"build": {
"oneOf": [
{
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"args": {
"oneOf": [
{
"$ref": "#/definitions/list_of_strings"
},
{
"additionalProperties": false,
"patternProperties": {
"^.+$": {
"type": [
"string",
"number"
]
}
},
"type": "object"
}
]
},
"context": {
"type": "string"
},
"dockerfile": {
"type": "string"
}
},
"type": "object"
}
]
},
"cap_add": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"cap_drop": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"cgroup_parent": {
"type": "string"
},
"command": {
"oneOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"container_name": {
"type": "string"
},
"cpu_quota": {
"type": [
"number",
"string"
]
},
"cpu_shares": {
"type": [
"number",
"string"
]
},
"cpuset": {
"type": "string"
},
"depends_on": {
"$ref": "#/definitions/list_of_strings"
},
"devices": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"dns": {
"$ref": "#/definitions/string_or_list"
},
"dns_search": {
"$ref": "#/definitions/string_or_list"
},
"domainname": {
"type": "string"
},
"entrypoint": {
"oneOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"env_file": {
"$ref": "#/definitions/string_or_list"
},
"environment": {
"$ref": "#/definitions/list_or_dict"
},
"expose": {
"items": {
"format": "expose",
"type": [
"string",
"number"
]
},
"type": "array",
"_uniqueItems": true
},
"extends": {
"oneOf": [
{
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"file": {
"type": "string"
},
"service": {
"type": "string"
}
},
"required": [
"service"
],
"type": "object"
}
]
},
"external_links": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"extra_hosts": {
"$ref": "#/definitions/list_or_dict"
},
"hostname": {
"type": "string"
},
"image": {
"type": "string"
},
"ipc": {
"type": "string"
},
"labels": {
"$ref": "#/definitions/list_or_dict"
},
"links": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"logging": {
"additionalProperties": false,
"properties": {
"driver": {
"type": "string"
},
"options": {
"type": "object"
}
},
"type": "object"
},
"mac_address": {
"type": "string"
},
"mem_limit": {
"type": [
"number",
"string"
]
},
"memswap_limit": {
"type": [
"number",
"string"
]
},
"network_mode": {
"type": "string"
},
"networks": {
"oneOf": [
{
"$ref": "#/definitions/list_of_strings"
},
{
"additionalProperties": false,
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"aliases": {
"$ref": "#/definitions/list_of_strings"
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
}
]
},
"pid": {
"type": [
"string",
"null"
]
},
"ports": {
"items": {
"format": "ports",
"type": [
"string",
"number"
]
},
"type": "array",
"_uniqueItems": true
},
"privileged": {
"type": "boolean"
},
"read_only": {
"type": "boolean"
},
"restart": {
"type": "string"
},
"security_opt": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"shm_size": {
"type": [
"number",
"string"
]
},
"stdin_open": {
"type": "boolean"
},
"stop_signal": {
"type": "string"
},
"tty": {
"type": "boolean"
},
"ulimits": {
"patternProperties": {
"^[a-z]+$": {
"oneOf": [
{
"type": "integer"
},
{
"additionalProperties": false,
"properties": {
"hard": {
"type": "integer"
},
"soft": {
"type": "integer"
}
},
"required": [
"soft",
"hard"
],
"type": "object"
}
]
}
},
"type": "object"
},
"user": {
"type": "string"
},
"volume_driver": {
"type": "string"
},
"volumes": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"volumes_from": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"working_dir": {
"type": "string"
}
},
"type": "object"
},
"string_or_list": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/list_of_strings"
}
]
}
},
"type": "object"
} | o81160 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"definitions": {},
"properties": {
"created": {
"type": "string"
},
"created-by": {
"type": "string"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"maintainers": {
"items": {
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"repositories": {
"items": {
"additionalProperties": false,
"properties": {
"collections": {
"additionalProperties": false,
"properties": {
"plugins/client": {
"items": {
"properties": {
"authors": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"classifiers": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"description": {
"type": "string"
},
"files": {
"items": {
"additionalProperties": false,
"properties": {
"path-destination": {
"type": "string"
},
"path-source": {
"type": "string"
},
"signature": {
"type": "string"
},
"signed-by": {
"type": "string"
}
},
"required": [
"path-destination",
"path-source"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"homepage": {
"type": "string"
},
"name": {
"type": "string"
},
"reference_urls": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"requirements": {
"properties": {
"minimum-python-version": {
"type": "string"
},
"minimum-version": {
"type": "string"
},
"packages": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"platforms": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"type": "object"
},
"title": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"name",
"authors",
"version",
"title",
"description",
"files"
],
"type": "object"
},
"type": "array"
},
"plugins/server": {
"items": {
"properties": {
"authors": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"classifiers": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"description": {
"type": "string"
},
"files": {
"items": {
"additionalProperties": false,
"properties": {
"path-destination": {
"type": "string"
},
"path-source": {
"type": "string"
},
"signature": {
"type": "string"
},
"signed-by": {
"type": "string"
}
},
"required": [
"path-destination",
"path-source"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"homepage": {
"type": "string"
},
"name": {
"type": "string"
},
"reference_urls": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"requirements": {
"properties": {
"minimum-python-version": {
"type": "string"
},
"minimum-version": {
"type": "string"
},
"packages": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"platforms": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"type": "object"
},
"title": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"name",
"authors",
"version",
"title",
"description",
"files"
],
"type": "object"
},
"type": "array"
},
"templates/message": {
"items": {
"properties": {
"authors": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"classifiers": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"description": {
"type": "string"
},
"files": {
"items": {
"additionalProperties": false,
"properties": {
"path-destination": {
"type": "string"
},
"path-source": {
"type": "string"
},
"signature": {
"type": "string"
},
"signed-by": {
"type": "string"
}
},
"required": [
"path-destination",
"path-source"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"homepage": {
"type": "string"
},
"name": {
"type": "string"
},
"reference_urls": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"title": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"name",
"authors",
"version",
"title",
"description",
"files"
],
"type": "object"
},
"type": "array"
},
"templates/site": {
"items": {
"properties": {
"authors": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"classifiers": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"description": {
"type": "string"
},
"files": {
"items": {
"additionalProperties": false,
"properties": {
"path-destination": {
"type": "string"
},
"path-source": {
"type": "string"
},
"signature": {
"type": "string"
},
"signed-by": {
"type": "string"
}
},
"required": [
"path-destination",
"path-source"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"homepage": {
"type": "string"
},
"name": {
"type": "string"
},
"reference_urls": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"title": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"name",
"authors",
"version",
"title",
"description",
"files"
],
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"collections-include": {
"items": {
"additionalProperties": false,
"properties": {
"path-source": {
"type": "string"
},
"types": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"path-source"
],
"type": "object"
},
"type": "array"
},
"description": {
"type": "string"
},
"homepage": {
"type": "string"
},
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"url-base": {
"type": "string"
}
},
"required": [
"id",
"url-base",
"title"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"signature": {
"type": "string"
},
"signed-by": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"created-by",
"signature",
"maintainers",
"repositories",
"signed-by",
"created"
],
"type": "object"
}
| o91034 |
{
"properties": {
"client_name": {
"description": "The name of the client",
"type": "string"
},
"services": {
"description": "The list of services provided",
"items": {
"properties": {
"quantity": {
"description": "The quantity of the service",
"type": "integer"
},
"service_name": {
"description": "The name of the service",
"type": "string"
},
"unit_price": {
"description": "The unit price of the service",
"type": "number"
}
},
"required": [
"service_name",
"quantity",
"unit_price"
],
"type": "object"
},
"type": "array"
},
"tax_rate": {
"description": "The tax rate to be applied",
"type": "number"
}
},
"required": [
"client_name",
"services",
"tax_rate"
],
"type": "object"
} | generate_invoice_21a3ce56 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A filing is a document or set of documents published or submitted to registers or regulators by end entity. The standard example is an annual report detailing the companies activities. The filing object is for storing the meta data about the filing (e.g. filing date, filing type, title perhaps). There are also commonly associated documents with filings - often just one, but it's not unusual for there to be more than one, either because there are multiple supporting documents for the filing (e.g. SEC filings and FERC filings), or because there are multiple versions of the same file (e.g. PDF and XBRL file)",
"properties": {
"filing_subject": {
"$ref": "#/definitions/entity"
},
"filing_date": {
"type": "string",
"description": "Date on which the filing was made \u2013 note this is not necessarily the same date as the date on which it was published or the reporting/applicable data on the information contained within it",
"format": "date"
},
"documents": {
"type": "array",
"items": {
"$ref": "#/definitions/filing-document"
}
},
"uid": {
"description": "Unique id/reference for the filing if it has one",
"type": "string"
},
"filing_type_name": {
"description": "The filing type in words, if given (e.g. 'Annual Return')",
"type": "string"
},
"filing_type_code": {
"description": "The code for filing type, if given (e.g. 'AR01')",
"type": "string"
},
"corporate_register_filing": {
"description": "Whether the source of the filing is the corporate register where the company is incorporated/registered with",
"type": "boolean"
},
"title": {
"description": "The title of the filing, if given",
"type": "string"
},
"description": {
"description": "The description or precis of the filing, if given",
"type": "string"
},
"url": {
"description": "Persistent URL for the filing, if there is one",
"type": "string"
},
"source_url": {
"description": "Source url of the web page for the filing or if there is not persistent URL the page from which it can be found (e.g. search page). This field is required.",
"type": "string",
"minLength": 11
},
"confidence": {
"description": "Confidence in accuracy of data",
"type": "string",
"enum": [
"HIGH",
"MEDIUM",
"LOW"
]
},
"sample_date": {
"description": "Date on which we believe the contents of this filing to be true, e.g. the reporting date, applicable date",
"type": "string",
"format": "date"
},
"retrieved_at": {
"description": "The time or date at which the source URL was requested",
"type": "string",
"format": "date"
},
"other_attributes": {
"description": "Use for other attributes for which we don't yet have curated schema attributes",
"type": "object"
}
},
"additionalProperties": false,
"required": [
"filing_subject",
"source_url",
"sample_date",
"confidence",
"filing_date"
],
"anyOf": [
{
"required": [
"title"
]
},
{
"required": [
"description"
]
},
{
"required": [
"filing_type_name"
]
}
],
"definitions": {
"entity": {
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"entity_type",
"entity_properties"
],
"oneOf": [
{
"properties": {
"entity_type": {
"enum": [
"company"
]
},
"entity_properties": {
"$ref": "#/definitions/company-for-nesting"
}
}
},
{
"properties": {
"entity_type": {
"enum": [
"person"
]
},
"entity_properties": {
"$ref": "#/definitions/person"
}
}
},
{
"properties": {
"entity_type": {
"enum": [
"organisation"
]
},
"entity_properties": {
"$ref": "#/definitions/organisation"
}
}
},
{
"properties": {
"entity_type": {
"enum": [
"unknown"
]
},
"entity_properties": {
"$ref": "#/definitions/unknown-entity-type"
}
}
}
]
},
"company-for-nesting": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A company in OpenCorporates",
"type": "object",
"properties": {
"company_number": {
"type": "string",
"description": "unique identifier given by the corporate register with which it is incorporated",
"minLength": 1
},
"name": {
"type": "string",
"description": "Legal name of the company",
"minLength": 1
},
"jurisdiction": {
"type": "string",
"description": "A free text field for the jurisdiction where the company is registered \u2013 this can be either the ISO 3166-2 code, the underscored version, or the standard name for the jurisdiction, e.g. France"
},
"jurisdiction_code": {
"type": "string",
"description": "Code representing the jurisdiction/company register which is the canonical record of the company\u2019s existence. Uses underscored ISO 3166-2 to represent it, e.g. es for Spain, us_de for Delaware",
"minLength": 2,
"maxLength": 5
},
"incorporation_date": {
"type": "string",
"format": "date"
},
"dissolution_date": {
"type": "string",
"format": "date"
},
"retrieved_at": {
"type": "string",
"format": "date"
},
"current_status": {
"type": [
"string",
"null"
]
},
"company_type": {
"type": [
"string",
"null"
]
},
"registry_url": {
"type": "string"
},
"website": {
"oneOf": [
{
"type": "string",
"minLength": 5
},
{
"type": [
"array",
"null"
],
"items": {
"type": "string",
"minLength": 5
}
}
]
},
"telephone_number": {
"type": "string",
"minLength": 4
},
"fax_number": {
"type": "string",
"minLength": 4
},
"registered_address": {
"$ref": "#/definitions/address"
},
"headquarters_address": {
"$ref": "#/definitions/address"
},
"mailing_address": {
"$ref": "#/definitions/address"
},
"addresses": {
"type": "array",
"items": {
"$ref": "#/definitions/address-with-type"
}
},
"officers": {
"type": "array",
"items": {
"$ref": "#/definitions/officer"
}
},
"share_parcels": {
"type": "array",
"items": {
"$ref": "#/definitions/share-parcel"
}
},
"total_shares": {
"$ref": "#/definitions/total-shares"
},
"filings": {
"type": "array",
"items": {
"$ref": "#/definitions/filing"
}
},
"identifiers": {
"type": "array",
"items": {
"$ref": "#/definitions/identifier"
}
},
"industry_codes": {
"type": "array",
"items": {
"$ref": "#/definitions/industry-code"
}
},
"previous_names": {
"type": "array",
"items": {
"$ref": "#/definitions/previous-name"
}
},
"alternative_names": {
"type": "array",
"items": {
"$ref": "#/definitions/alternative-name"
}
},
"branch": {
"type": [
"string",
"null"
],
"description": "A flag to denote whether a company is a branch entity. This should only be set if the company is a type of branch (otherwise should be null). In general the only option here is 'F' for a 'Foreign' branch, i.e. an out-of-jurisdiction entity that has registered as having a presence in the jurisdiction. In the US this is sometimes called a Foreign Corporation",
"enum": [
"F",
"L",
null
]
},
"all_attributes": {
"type": "object",
"description": "Other arbitrary attributes for a given company",
"properties": {
"jurisdiction_of_origin": {
"type": [
"string",
"null"
],
"description": "The jurisdiction of the 'home' company if this is a branch",
"minLength": 1
},
"home_company_number": {
"type": [
"string",
"null"
],
"description": "If the entity is a 'branch', this is the company_number of the 'home' company in the home company's jurisdiction",
"minLength": 1
},
"home_legal_name": {
"type": [
"string",
"null"
],
"description": "The legal name of the 'home' company in its jurisdiction if this is a branch, and the name is different from the legal name of the branch",
"minLength": 1
},
"registered_agent_address": {
"type": [
"string",
"null"
],
"description": "The address of the 'Agent', a public address to which legal papers can be served",
"minLength": 1
},
"registered_agent_name": {
"type": [
"string",
"null"
],
"description": "The 'Agent' of the company \u2013 a person or entity that is empowered to accept service for the company",
"minLength": 1
},
"number_of_employees": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "number",
"minimum": 0
}
],
"description": "The number of employees"
},
"merged_into": {
"type": "object",
"description": "Information on the merger of this company into a 'survivor' company",
"properties": {
"surviving_company": {
"type": [
"object"
],
"description": "the surviving_company that this has been merged into",
"properties": {
"name": {
"type": "string",
"description": "The legal name of the surviving company",
"minLength": 1
},
"company_number": {
"type": "string",
"description": "The company_number of the surviving company, if known",
"minLength": 1
},
"jurisdiction": {
"type": "string",
"description": "The jurisdiction of incorporation of the surviving company",
"minLength": 2
}
},
"anyOf": [
{
"required": [
"name"
]
},
{
"required": [
"company_number"
]
}
]
},
"effective_date": {
"description": "The date of the merger",
"type": "string",
"format": "date"
}
},
"additionalProperties": false,
"required": [
"surviving_company"
]
}
}
}
},
"additionalProperties": false,
"anyOf": [
{
"required": [
"name"
]
},
{
"required": [
"company_number"
]
}
]
},
"address": {
"$schema": "http://json-schema.org/draft-04/schema#",
"oneOf": [
{
"type": [
"string",
"null"
],
"minLength": 2
},
{
"name": "Address",
"description": "An address object",
"type": "object",
"properties": {
"street_address": {
"type": "string"
},
"locality": {
"type": "string"
},
"region": {
"type": "string"
},
"postal_code": {
"type": "string"
},
"country": {
"type": "string"
},
"country_code": {
"description": "ISO 3166-2 code for country",
"type": "string"
}
},
"anyOf": [
{
"required": [
"street_address"
]
},
{
"required": [
"postal_code"
]
},
{
"required": [
"locality",
"country"
]
}
]
}
]
},
"address-with-type": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "An address with a type",
"type": "object",
"properties": {
"address": {
"$ref": "#/definitions/address"
},
"type": {
"enum": [
"registered",
"headquarters",
"mailing",
"trading",
"unknown"
]
}
},
"additionalProperties": false,
"required": [
"address",
"type"
]
},
"officer": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "An officer (director, senior executive) of a company",
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"not": {
"pattern": "^[\\.\\,\\*\\\\\\-\\s\\{\\}\\(\\)]+$"
}
},
"start_date": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
]
},
"end_date": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
]
},
"position": {
"type": "string"
},
"uid": {
"type": "string",
"description": "a unique identifier given to the officership"
},
"other_attributes": {
"type": "object",
"properties": {
"date_of_birth": {
"type": "string",
"format": "date"
},
"nationality": {
"type": "string"
},
"person_uid": {
"type": "string",
"description": "a unique identifier given to the individual (as opposed to the officership)"
},
"address": {
"$ref": "#/definitions/address"
},
"type": {
"type": "string",
"enum": [
"Person",
"Company"
],
"description": "The type of entity that is the officer (either 'Person' or 'Company')"
}
}
}
},
"required": [
"name"
]
},
"share-parcel": {
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"description": "A parcel of shares in a company",
"properties": {
"number_of_shares": {
"description": "Number of shares, if known",
"type": "integer"
},
"percentage_of_shares": {
"description": "Percentage of shares, if known",
"type": "number",
"maximum": 100,
"minimum": 0
},
"percentage_of_shares_min": {
"description": "Minimum percentage of shares (if for example a band of percentage is given)",
"type": [
"number",
"null"
],
"maximum": 100,
"minimum": 0
},
"percentage_of_shares_max": {
"description": "Maximum percentage of shares (if for example a band of percentage is given)",
"type": [
"number",
"null"
],
"maximum": 100,
"minimum": 0
},
"voting_percentage": {
"description": "Percentage of votes, if known",
"type": "number",
"maximum": 100,
"minimum": 0
},
"voting_percentage_min": {
"description": "Minimum percentage of votes (if for example a band of votes is given)",
"type": [
"number",
"null"
],
"maximum": 100,
"minimum": 0
},
"voting_percentage_max": {
"description": "Maximum percentage of votes (if for example a band of votes is given)",
"type": [
"number",
"null"
],
"maximum": 100,
"minimum": 0
},
"share_class": {
"description": "Share class or classes, if known",
"type": "string"
},
"start_date": {
"type": "string",
"format": "date"
},
"end_date": {
"type": "string",
"format": "date"
},
"sample_date": {
"type": "string",
"format": "date"
},
"shareholders": {
"description": "Legal persons who own this share parcel",
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"name": "shareholder",
"required": [
"name"
],
"properties": {
"name": {
"description": "Name of natural person or company",
"type": "string",
"minLength": 1
},
"jurisdiction": {
"description": "Jurisdiction of registration, if company",
"type": "string"
},
"company_number": {
"description": "Company number, if company and known",
"type": "string"
},
"identifier": {
"description": "Unique identifier of person",
"type": "string"
},
"type": {
"description": "Type of person if known (company or natural person)",
"enum": [
"Company",
"Person"
]
},
"address": {
"description": "Address given for shareholder",
"$ref": "#/definitions/address"
},
"address_country": {
"description": "Country part of owner's address (for example if address not given)",
"type": "string"
}
}
}
}
}
},
"total-shares": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "The total number of shares a company has issued",
"type": "object",
"properties": {
"number": {
"type": "integer"
},
"share_class": {
"type": "string",
"minLength": 1
}
},
"required": [
"number"
]
},
"filing": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A statutory filing",
"type": "object",
"properties": {
"title": {
"type": "string"
},
"date": {
"type": "string",
"format": "date"
},
"description": {
"type": "string"
},
"uid": {
"type": "string"
},
"url": {
"type": "string"
},
"filing_type_code": {
"type": "string"
},
"filing_type_name": {
"type": "string"
},
"other_attributes": {
"type": "object"
}
},
"required": [
"date"
],
"anyOf": [
{
"required": [
"title"
]
},
{
"required": [
"description"
]
},
{
"required": [
"filing_type_name"
]
}
]
},
"identifier": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "An identifier for an entity (possibly other things, e.g. securities in the future). Examples are tax IDs, non-profit IDs, SEC CIK numbers, Federal Reserve RSSD id. The main requirements for an identifier is that they should be well-defined, and issued by a government or have statutory standing",
"type": "object",
"properties": {
"uid": {
"type": "string",
"description": "The unique identifier given by the identifier system \u2013 it should be unique in the context of the identifier_system",
"minLength": 1
},
"identifier_system_code": {
"type": "string",
"description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)"
}
},
"required": [
"uid",
"identifier_system_code"
]
},
"industry-code": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "An industry code from a standard code list (e.g. NAICS 2007 or NACE 2). This schema is a sub-schema of Classification.",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"code": {
"type": "string"
},
"code_scheme_id": {
"type": "string",
"description": "An identifier representing industry code scheme. At the moment these are eu_nace_2, uk_sic_2003, uk_sic_2007, us_naics_2002, us_naics_2007, be_nace_2008, dk_db_2007, nz_bic_2006, no_sic_2007, anz_sic_2006, nz_bic_2006, in_nic_2004_mca, ca_qc_cae, lu_nace_2. For other code schemes, or details of these, contact [email protected]"
},
"start_date": {
"type": "string",
"format": "date"
},
"end_date": {
"type": "string",
"format": "date"
}
},
"required": [
"code",
"code_scheme_id"
]
},
"previous-name": {
"$schema": "http://json-schema.org/draft-04/schema#",
"name": "PreviousName",
"description": "A previous name of a company",
"type": "object",
"properties": {
"company_name": {
"type": "string",
"minLength": 1
},
"con_date": {
"type": "string",
"format": "date",
"description": "The end (conversion) date of the name"
},
"start_date": {
"type": "string",
"format": "date"
}
},
"required": [
"company_name"
]
},
"alternative-name": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "An alternative name of a company, e.g. abbreviation, trading (including dba or doing business as), legal. As well as trading names etc, it can be used for storing alternative language representations of the legal name, in which case the language should be represented as two-letter ISO-639 code",
"type": "object",
"properties": {
"company_name": {
"type": "string",
"minLength": 1
},
"start_date": {
"type": "string",
"format": "date"
},
"end_date": {
"type": "string",
"format": "date"
},
"language": {
"type": "string",
"minLength": 2,
"maxLength": 2
},
"type": {
"type": "string",
"enum": [
"trading",
"abbreviation",
"legal",
"unknown",
"alias"
]
}
},
"required": [
"company_name",
"type"
]
},
"person": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A person, for example, referenced in some other context, e.g. director of a company, shareholder, licence-holder, lobbyist. This should be used only if the person is the subject of the datum",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/person-name"
},
"jurisdiction": {
"type": "string",
"description": "Name of the jurisdiction in which the entity is based"
},
"company": {
"description": "Company the person is representing. NB If the licence holder is a company, and the individual is a just a contact, then use the company-schema for the entity. This is where the individual themselves are the subject entity (e.g. licence holder, disqualified director)",
"$ref": "#/definitions/company-for-nesting"
},
"relationship_with_company": {
"enum": [
"employee",
"director",
"shareholder",
null
]
},
"website": {
"oneOf": [
{
"type": "string",
"minLength": 5
},
{
"type": [
"array",
"null"
],
"items": {
"type": "string",
"minLength": 5
}
}
]
},
"uid": {
"description": "Unique id of the person. Note: the unique id is not expected to be globally unique, but only unique with reference to the source from which it is derived. No check is made for uniqueness",
"type": "string",
"minLength": 1
},
"telephone_number": {
"type": "string",
"minLength": 4
},
"fax_number": {
"type": "string",
"minLength": 4
},
"registered_address": {
"description": "address for service (or address given in the context of legal requirement)",
"$ref": "#/definitions/address"
},
"headquarters_address": {
"$ref": "#/definitions/address"
},
"mailing_address": {
"$ref": "#/definitions/address"
},
"addresses": {
"type": "array",
"items": {
"$ref": "#/definitions/address-with-type"
}
},
"industry_codes": {
"type": "array",
"items": {
"$ref": "#/definitions/industry-code"
}
},
"alternative_names": {
"type": "array",
"items": {
"$ref": "#/definitions/alternative-name"
}
},
"date_of_birth": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"$ref": "#/definitions/date"
}
]
},
"nationality": {
"description": "The person's nationality",
"type": "string",
"format": "non-blank"
},
"country_of_residence": {
"description": "The normal country of residence for the person",
"type": "string",
"format": "non-blank"
},
"identifiers": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/identifier"
}
},
"other_attributes": {
"description": "Use for other attributes for which we don't yet have curated schema attributes",
"type": "object"
}
},
"required": [
"name"
]
},
"person-name": {
"$schema": "http://json-schema.org/draft-04/schema#",
"oneOf": [
{
"type": [
"string",
"null"
],
"format": "non-blank"
},
{
"description": "The name of a person as an object",
"type": "object",
"properties": {
"given_name": {
"type": [
"string",
"null"
],
"format": "non-blank",
"description": "The given name(s) (often first name) of a person, as opposed to their family name. Following FOAF practice, this is preferred to first_name"
},
"family_name": {
"type": [
"string",
"null"
],
"format": "non-blank",
"description": "The family name (often last name) of a person, as opposed to their family name. Following FOAF practice, this is preferred to last_name"
},
"first_name": {
"type": [
"string",
"null"
],
"format": "non-blank"
},
"middle_name": {
"type": [
"string",
"null"
],
"format": "non-blank"
},
"last_name": {
"type": [
"string",
"null"
],
"format": "non-blank"
},
"title": {
"type": [
"string",
"null"
],
"format": "non-blank",
"description": "Title such as Mr, Ms, Dr etc"
},
"suffixes": {
"type": [
"string",
"null"
],
"format": "non-blank",
"description": "Any suffixes, including degrees, honours (OBE), ordinals (John Smith Jr, Bill Jones II) etc"
}
}
}
]
},
"date": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A parsed date object. This allows us to represent not just normal dates, but also partial dates too",
"type": "object",
"properties": {
"year": {
"type": "number",
"description": "year part as YYYY"
},
"month": {
"type": "number",
"description": "month part of date in numbers e.g. 11 for November, 4 for April"
},
"day": {
"type": [
"number",
"null"
],
"description": "day part of date in numbers"
}
},
"additionalProperties": false,
"anyOf": [
{
"required": [
"year",
"month"
]
},
{
"required": [
"month",
"day"
]
}
]
},
"organisation": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "An entity which is a distinct organisation, but is not a company nor an individual. Examples include governments and governmental entities (e.g. Multilateral Development Banks, Government Departments, municipalities, etc), and also membership organisations",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "Name of the entity",
"minLength": 1
},
"jurisdiction": {
"type": "string",
"description": "Name of the jurisdiction in which the entity is incorporated/domiciled (use global for global entities, e.g. UN)"
},
"legal_form": {
"type": "string",
"description": "legal form of organisation, e.g. municipality, government department, trust, etc"
},
"website": {
"oneOf": [
{
"type": "string",
"minLength": 5
},
{
"type": [
"array",
"null"
],
"items": {
"type": "string",
"minLength": 5
}
}
]
},
"telephone_number": {
"type": "string",
"minLength": 4
},
"fax_number": {
"type": "string",
"minLength": 4
},
"identifiers": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/identifier"
}
},
"registered_address": {
"$ref": "#/definitions/address"
},
"headquarters_address": {
"$ref": "#/definitions/address"
},
"mailing_address": {
"$ref": "#/definitions/address"
},
"addresses": {
"type": "array",
"items": {
"$ref": "#/definitions/address-with-type"
}
},
"industry_codes": {
"type": "array",
"items": {
"$ref": "#/definitions/industry-code"
}
},
"previous_names": {
"type": "array",
"items": {
"$ref": "#/definitions/previous-name"
}
},
"alternative_names": {
"type": "array",
"items": {
"$ref": "#/definitions/alternative-name"
}
},
"other_attributes": {
"description": "Use for other attributes for which we don't yet have curated schema attributes",
"type": "object"
}
},
"required": [
"name"
]
},
"unknown-entity-type": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "An entity of unknown type - potentially a company, a person, government entity, or some unincorporated organisation",
"additionalProperties": false,
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the entity",
"minLength": 1
},
"jurisdiction": {
"type": "string",
"description": "Name of the jurisdiction in which the entity is incorporated/domiciled"
},
"uid": {
"description": "Unique id for the entity if it has one",
"type": "string"
},
"website": {
"oneOf": [
{
"type": "string",
"minLength": 5
},
{
"type": [
"array",
"null"
],
"items": {
"type": "string",
"minLength": 5
}
}
]
},
"telephone_number": {
"type": "string",
"minLength": 4
},
"fax_number": {
"type": "string",
"minLength": 4
},
"registered_address": {
"$ref": "#/definitions/address"
},
"headquarters_address": {
"$ref": "#/definitions/address"
},
"mailing_address": {
"$ref": "#/definitions/address"
},
"addresses": {
"type": "array",
"items": {
"$ref": "#/definitions/address-with-type"
}
},
"identifiers": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/identifier"
}
},
"industry_codes": {
"type": "array",
"items": {
"$ref": "#/definitions/industry-code"
}
},
"previous_names": {
"type": "array",
"items": {
"$ref": "#/definitions/previous-name"
}
},
"alternative_names": {
"type": "array",
"items": {
"$ref": "#/definitions/alternative-name"
}
},
"other_attributes": {
"description": "Use for other attributes for which we don't yet have curated schema attributes",
"type": "object"
}
},
"required": [
"name"
]
},
"filing-document": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A document of some sort (PDF, TIFF, HTML) associated with a filing",
"type": "object",
"properties": {
"uid": {
"description": "Unique id/reference for the filing if it has one",
"type": "string"
},
"file_format": {
"description": "Format of the document, if known",
"enum": [
"xml",
"pdf",
"html",
"doc",
null
]
},
"original_source_url": {
"description": "Persistent URL for the document, if there is one",
"type": "string"
},
"source_url": {
"description": "Source url of the web page for the filing or if there is not persistent URL the page from which it can be found (e.g. search page)",
"type": "string",
"minLength": 11
},
"source_location": {
"type": "string",
"description": "If the accounts filing has been put on sources.opencorporates.com the path to the filing"
},
"language": {
"description": "Should be represented as two-letter ISO-639 code",
"type": "string",
"minLength": 2,
"maxLength": 2
},
"classification": {
"description": "type of document (at the moment only XBRL is the only option here)",
"type": "string",
"enum": [
"xbrl",
null
]
},
"pages": {
"description": "Number of pages, if known",
"type": "integer"
}
},
"additionalProperties": false,
"anyOf": [
{
"required": [
"source_location"
]
},
{
"required": [
"source_url"
]
}
]
}
}
} | o65418 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Bolt Color Themes",
"type": "object",
"properties": {
"colors": {
"type": "string",
"title": "Theme Colors",
"description": "How color theme is this?",
"enum": [
"xdark",
"dark",
"light",
"xlight"
]
}
},
"required": [
"color"
]
} | o27044 |
{
"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": {
"description": "The length of a side for square/triangle",
"type": "number"
}
},
"required": [
"radius",
"side",
"base",
"height"
],
"type": "object"
},
"shape": {
"description": "The shape (e.g. circle, square, triangle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_77770f9c |
{
"$ref": "#/definitions/KeyboardInfo",
"definitions": {
"KeyboardInfo": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"authorName": {
"type": "string"
},
"authorEmail": {
"type": "string",
"format": "email"
},
"description": {
"type": "string"
},
"license": {
"type": "string",
"enum": [
"freeware",
"shareware",
"commercial",
"mit",
"other"
]
},
"languages": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
},
"_uniqueItems": true
},
{
"$ref": "#/definitions/KeyboardLanguageInfo"
}
]
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
},
"links": {
"type": "array",
"items": {
"$ref": "#/definitions/KeyboardLinkInfo"
}
},
"packageFilename": {
"type": "string",
"pattern": "\\.km[xp]$"
},
"packageFileSize": {
"type": "number"
},
"jsFilename": {
"type": "string",
"pattern": "\\.js$"
},
"jsFileSize": {
"type": "number"
},
"documentationFilename": {
"type": "string",
"pattern": "\\.(rtf|html?|pdf|txt)$"
},
"documentationFileSize": {
"type": "number"
},
"isRTL": {
"type": "boolean"
},
"encodings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"ansi",
"unicode"
]
},
"additionalItems": false
},
"packageIncludes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"welcome",
"documentation",
"fonts",
"visualKeyboard"
]
},
"additionalItems": false
},
"version": {
"type": "string"
},
"minKeymanVersion": {
"type": "string",
"pattern": "^\\d+\\.0$"
},
"helpLink": {
"type": "string",
"pattern": "^https://help\\.keyman\\.com/keyboard/"
},
"platformSupport": {
"$ref": "#/definitions/KeyboardPlatformInfo"
},
"legacyId": {
"type": "number"
},
"sourcePath": {
"type": "string",
"pattern": "^(release|legacy|experimental)/.+/.+$"
},
"related": {
"type": "object",
"patternProperties": {
".": {
"$ref": "#/definitions/KeyboardRelatedInfo"
}
},
"additionalProperties": false
}
},
"required": [
"license",
"languages"
],
"additionalProperties": false
},
"KeyboardLanguageInfo": {
"type": "object",
"patternProperties": {
".": {
"$ref": "#/definitions/KeyboardLanguageInfoItem"
}
},
"additionalProperties": false
},
"KeyboardLanguageInfoItem": {
"type": "object",
"properties": {
"font": {
"$ref": "#/definitions/KeyboardFontInfo"
},
"oskFont": {
"$ref": "#/definitions/KeyboardFontInfo"
},
"example": {
"$ref": "#/definitions/KeyboardExampleInfo"
}
},
"required": [],
"additionalProperties": false
},
"KeyboardFontInfo": {
"type": "object",
"properties": {
"family": {
"type": "string"
},
"source": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"size": {
"type": "string"
}
},
"required": [
"family",
"source"
],
"additionalProperties": false
},
"KeyboardExampleInfo": {
"type": "object",
"properties": {
"keys": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/KeyboardExampleKeyInfo"
}
]
}
}
]
},
"text": {
"type": "string"
},
"note": {
"type": "string"
}
},
"required": [],
"additionalProperties": false
},
"KeyboardExampleKeyInfo": {
"type": "object",
"properties": {
"key": {
"type": "string",
"enum": [
"K_SPACE",
"K_A",
"K_B",
"K_C",
"K_D",
"K_E",
"K_F",
"K_G",
"K_H",
"K_I",
"K_J",
"K_K",
"K_L",
"K_M",
"K_N",
"K_O",
"K_P",
"K_Q",
"K_R",
"K_S",
"K_T",
"K_U",
"K_V",
"K_W",
"K_X",
"K_Y",
"K_Z",
"K_1",
"K_2",
"K_3",
"K_4",
"K_5",
"K_6",
"K_7",
"K_8",
"K_9",
"K_0",
"K_BKQUOTE",
"K_HYPHEN",
"K_EQUAL",
"K_LBRKT",
"K_RBRKT",
"K_BKSLASH",
"K_COLON",
"K_QUOTE",
"K_COMMA",
"K_PERIOD",
"K_SLASH",
"K_oE2",
"K_BKSP",
"K_TAB",
"K_ENTER",
"K_ESC",
"K_LEFT",
"K_UP",
"K_RIGHT",
"K_DOWN",
"K_PGUP",
"K_PGDN",
"K_HOME",
"K_END",
"K_INS",
"K_DEL",
"K_F1",
"K_F2",
"K_F3",
"K_F4",
"K_F5",
"K_F6",
"K_F7",
"K_F8",
"K_F9",
"K_F10",
"K_F11",
"K_F12",
"K_KP5",
"K_NP0",
"K_NP1",
"K_NP2",
"K_NP3",
"K_NP4",
"K_NP5",
"K_NP6",
"K_NP7",
"K_NP8",
"K_NP9",
"K_NPSTAR",
"K_NPPLUS",
"K_NPMINUS",
"K_NPDOT",
"K_NPSLASH",
"K_SEL",
"K_PRINT",
"K_EXEC",
"K_HELP",
"K_SEPARATOR",
"K_F13",
"K_F14",
"K_F15",
"K_F16",
"K_F17",
"K_F18",
"K_F19",
"K_F20",
"K_F21",
"K_F22",
"K_F23",
"K_F24",
"K_KANJI?15",
"K_KANJI?16",
"K_KANJI?17",
"K_KANJI?18",
"K_KANJI?19",
"K_KANJI?1C",
"K_KANJI?1D",
"K_KANJI?1E",
"K_KANJI?1F",
"K_oE0",
"K_oE1",
"K_oE3",
"K_oE4",
"K_oE6",
"K_oE9",
"K_oEA",
"K_oEB",
"K_oEC",
"K_oED",
"K_oEE",
"K_oEF",
"K_oF0",
"K_oF1",
"K_oF2",
"K_oF3",
"K_oF4",
"K_oF5",
"K_?00",
"K_?05",
"K_NPENTER",
"K_?06",
"K_?07",
"K_?0A",
"K_?0B",
"K_?0E",
"K_?0F",
"K_?1A",
"K_?3A",
"K_?3B",
"K_?3C",
"K_?3D",
"K_?3E",
"K_?3F",
"K_?40",
"K_?5B",
"K_?5C",
"K_?5D",
"K_?5E",
"K_?5F",
"K_?88",
"K_?89",
"K_?8A",
"K_?8B",
"K_?8C",
"K_?8D",
"K_?8E",
"K_?8F",
"K_?92",
"K_?94",
"K_?95",
"K_?96",
"K_?97",
"K_?98",
"K_?99",
"K_?9A",
"K_?9B",
"K_?9C",
"K_?9D",
"K_?9E",
"K_?9F",
"K_?A0",
"K_?A1",
"K_?A2",
"K_?A3",
"K_?A4",
"K_?A5",
"K_?A6",
"K_?A7",
"K_?A8",
"K_?A9",
"K_?AA",
"K_?AB",
"K_?AC",
"K_?AD",
"K_?AE",
"K_?AF",
"K_?B0",
"K_?B1",
"K_?B2",
"K_?B3",
"K_?B4",
"K_?B5",
"K_?B6",
"K_?B7",
"K_?B8",
"K_?B9",
"K_?C1",
"K_?C2",
"K_?C3",
"K_?C4",
"K_?C5",
"K_?C6",
"K_?C7",
"K_?C8",
"K_?C9",
"K_?CA",
"K_?CB",
"K_?CC",
"K_?CD",
"K_?CE",
"K_?CF",
"K_?D0",
"K_?D1",
"K_?D2",
"K_?D3",
"K_?D4",
"K_?D5",
"K_?D6",
"K_?D7",
"K_?D8",
"K_?D9",
"K_?DA",
"K_oDF",
"K_?E5",
"K_?E7",
"K_?E8",
"K_?F6",
"K_?F7",
"K_?F8",
"K_?F9",
"K_?FA",
"K_?FB",
"K_?FC",
"K_?FD",
"K_?FE",
"K_?FF"
]
},
"modifiers": {
"type": "array",
"items": {
"type": "string",
"enum": [
"shift",
"s",
"ctrl",
"c",
"alt",
"a",
"left-ctrl",
"lc",
"right-ctrl",
"rc",
"left-alt",
"la",
"right-alt",
"ra"
]
}
}
},
"required": [
"key"
],
"additionalProperties": false
},
"KeyboardLinkInfo": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"name",
"url"
],
"additionalProperties": false
},
"KeyboardPlatformInfo": {
"type": "object",
"patternProperties": {
"^(windows|macos|desktopWeb|ios|android|mobileWeb|linux)$": {
"type": "string",
"enum": [
"dictionary",
"full",
"basic",
"none"
]
}
},
"required": [],
"additionalProperties": false
},
"KeyboardRelatedInfo": {
"type": "object",
"properties": {
"deprecates": {
"type": "boolean"
},
"deprecatedBy": {
"type": "boolean"
},
"note": {
"type": "string"
}
},
"required": [],
"additionalProperties": false
}
}
}
| o79669 |
{
"description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.",
"properties": {
"path": {
"description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath",
"type": [
"string",
"null"
]
},
"type": {
"description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath",
"type": [
"string",
"null"
]
}
},
"required": [
"path"
],
"type": "object"
} | kb_413_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": {},
"definitions": {
"___traits_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"
},
"___traits_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"
},
"___traits_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"
},
"___traits_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"
},
"___traits_trait_gallery_properties_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "An object for overrides for images when images are used in a gallery. Example usage: Each image in a gallery may have the images own focal point overridden by the gallery.",
"gallery_properties": {
"focal_point": {
"$ref": "#/definitions/___traits_trait_focal_point_json"
}
},
"title": "Has gallery properties",
"type": "object"
},
"___traits_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"
},
"___traits_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"
}
},
"description": "An item that conforms to this schema can be rendered in a sequence",
"properties": {
"_id": {
"$ref": "#/definitions/___traits_trait_id_json"
},
"additional_properties": {
"$ref": "#/definitions/___traits_trait_additional_properties_json"
},
"alignment": {
"$ref": "#/definitions/___traits_trait_alignment_json"
},
"channels": {
"$ref": "#/definitions/___traits_trait_channel_json"
},
"gallery_properties": {
"$ref": "#/definitions/___traits_trait_gallery_properties_json"
},
"subtype": {
"$ref": "#/definitions/___traits_trait_subtype_json"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"title": "An element that can be listed as part of content elements",
"type": "object"
} | wp_107_Normalized |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.