json_schema
stringlengths 43
1.28M
| unique_id
stringlengths 2
41
|
---|---|
{
"additionalProperties": false,
"definitions": {
"pathType": {
"pattern": "^(\\/?((\\.{2})|([a-z0-9\\-]*))($|\\/))*$",
"type": "string"
}
},
"not": {
"allOf": [
{
"required": [
"cmd"
]
},
{
"required": [
"args"
]
}
]
},
"properties": {
"acceptedResourceRoles": {
"items": {
"type": "string"
},
"type": "array"
},
"args": {
"items": {
"type": "string"
},
"type": "array"
},
"backoffFactor": {
"minimum": 1.0,
"type": "number"
},
"backoffSeconds": {
"minimum": 0,
"type": "integer"
},
"cmd": {
"minLength": 1,
"type": "string"
},
"constraints": {},
"container": {
"additionalProperties": false,
"properties": {
"docker": {
"additionalProperties": false,
"properties": {
"forcePullImage": {
"type": "boolean"
},
"image": {
"minLength": 1,
"type": "string"
},
"network": {
"type": "string"
},
"parameters": {
"items": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"key",
"value"
],
"type": "object"
},
"type": "array"
},
"portMappings": {
"items": {
"additionalProperties": false,
"properties": {
"containerPort": {
"maximum": 65535,
"minimum": 0,
"type": "integer"
},
"hostPort": {
"maximum": 65535,
"minimum": 0,
"type": "integer"
},
"protocol": {
"type": "string"
},
"servicePort": {
"maximum": 65535,
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"privileged": {
"type": "boolean"
}
},
"required": [
"image"
],
"type": "object"
},
"type": {
"type": "string"
},
"volumes": {
"items": {
"additionalProperties": false,
"properties": {
"containerPath": {
"type": "string"
},
"hostPath": {
"type": "string"
},
"mode": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"cpus": {
"minimum": 0,
"type": "number"
},
"dependencies": {
"items": {
"$ref": "#/definitions/pathType"
},
"type": "array"
},
"disk": {
"minimum": 0,
"type": "number"
},
"env": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"executor": {
"pattern": "^(|\\/\\/cmd|\\/?[^\\/]+(\\/[^\\/]+)*)$",
"type": "string"
},
"healthChecks": {
"items": {
"additionalProperties": false,
"properties": {
"command": {
"items": {
"additionalProperties": false,
"properties": {
"value": {
"type": "string"
}
}
},
"type": "object"
},
"gracePeriodSeconds": {
"minimum": 0,
"type": "integer"
},
"ignoreHttp1xx": {
"type": "boolean"
},
"intervalSeconds": {
"minimum": 0,
"type": "integer"
},
"maxConsecutiveFailures": {
"minimum": 0,
"type": "integer"
},
"path": {
"type": "string"
},
"portIndex": {
"minimum": 0,
"type": "integer"
},
"protocol": {
"type": "string"
},
"timeoutSeconds": {
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"id": {
"pattern": "^/?(([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])\\.)*([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])$",
"type": "string"
},
"instances": {
"minimum": 0,
"type": "integer"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"maxLaunchDelaySeconds": {
"minimum": 0,
"type": "integer"
},
"mem": {
"minimum": 0,
"type": "number"
},
"ports": {
"items": {
"maximum": 65535,
"minimum": 0,
"type": "integer"
},
"type": "array",
"_uniqueItems": true
},
"requirePorts": {
"type": "boolean"
},
"storeUrls": {
"items": {
"type": "string"
},
"type": "array"
},
"upgradeStrategy": {
"additionalProperties": false,
"properties": {
"maximumOverCapacity": {
"maximum": 1.0,
"minimum": 0.0,
"type": "number"
},
"minimumHealthCapacity": {
"maximum": 1.0,
"minimum": 0.0,
"type": "number"
}
},
"type": "object"
},
"uris": {
"items": {
"type": "string"
},
"type": "array"
},
"user": {
"type": "string"
},
"version": {
"format": "date-time",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
} | o60770 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Fibaro Home Center Section JSON Schema",
"name": "section",
"type": "object",
"properties": {
"id": {
"description": "Identifier for the section",
"type": "integer",
"minimum": 0
},
"name": {
"description": "Name for the section",
"type": "string",
"maxLength": 20
},
"created": {
"description": "Section creation timestamp",
"type": "integer",
"minimum": 0
},
"modified": {
"description": "Section modification timestamp",
"type": "integer",
"minimum": 0
},
"sortOrder": {
"description": "Sort order when displayed in GUI",
"type": "integer",
"minimum": 0
}
},
"required": [
"name"
],
"additionalProperties": false
} | o56015 |
{
"properties": {
"discounts": {
"description": "The list of discounts to be applied",
"items": {
"properties": {
"description": {
"description": "A description of the discount",
"type": "string"
},
"percentage": {
"description": "The percentage of discount",
"type": "number"
}
},
"required": [
"percentage",
"description"
],
"type": "object"
},
"type": "array"
},
"original_price": {
"description": "The original price",
"type": "number"
}
},
"required": [
"original_price",
"discounts"
],
"type": "object"
} | calculate_discounted_price_163efb7b |
{
"definitions": {},
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "array",
"$id": "http://www.pucomex.serpro.gov.br/lpco/listar_situacoes_destino.schema.json",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"descricao": {
"type": "string"
}
}
}
} | o73043 |
{
"properties": {
"dimensions": {
"properties": {
"height": {
"description": "The height of the shape",
"type": "number"
},
"length": {
"description": "The length of the shape",
"type": "number"
},
"width": {
"description": "The width of the shape",
"type": "number"
}
},
"required": [
"length",
"width",
"height"
],
"type": "object"
},
"shape": {
"description": "The shape of the object",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_volume_66140d38 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"title": "Inner",
"description": "An explanation about the purpose of this instance.",
"properties": {
"outer1": {
"type": "object",
"title": "Outer1 schema.",
"description": "An explanation about the purpose of this instance.",
"properties": {
"innerK1": {
"type": "string",
"title": "InnerK1 schema.",
"description": "An explanation about the purpose of this instance.",
"default": "v1"
},
"innerK2": {
"type": "integer",
"title": "InnerK2 schema.",
"description": "An explanation about the purpose of this instance.",
"default": 2
}
},
"required": [
"innerK1",
"innerK2"
]
},
"outer2": {
"type": "string",
"title": "Outer2 schema.",
"description": "An explanation about the purpose of this instance.",
"default": "string value"
}
},
"required": [
"outer1",
"outer2"
]
} | o53069 |
{
"properties": {
"dimensions": {
"properties": {
"length": {
"description": "The length of the shape",
"type": "number"
},
"radius": {
"description": "The radius of the shape",
"type": "number"
},
"width": {
"description": "The width of the shape",
"type": "number"
}
},
"required": [
"length",
"width",
"radius"
],
"type": "object"
},
"shape": {
"description": "The type of shape, e.g. square, circle",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_63d85939 |
{
"properties": {
"event_details": {
"properties": {
"end_time": {
"description": "The end time of the event",
"type": "string"
},
"location": {
"description": "The location of the event",
"type": "string"
},
"start_time": {
"description": "The start time of the event",
"type": "string"
},
"title": {
"description": "The title of the event",
"type": "string"
}
},
"required": [
"title",
"start_time",
"end_time",
"location"
],
"type": "object"
}
},
"required": [
"event_details"
],
"type": "object"
} | create_calendar_event_1e329893 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_apps_v1_ReplicaSetCondition": {
"description": "ReplicaSetCondition describes the state of a replica set at a certain point.",
"properties": {
"lastTransitionTime": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "The last time the condition transitioned from one status to another."
},
"message": {
"description": "A human readable message indicating details about the transition.",
"type": "string"
},
"reason": {
"description": "The reason for the condition's last transition.",
"type": "string"
},
"status": {
"description": "Status of the condition, one of True, False, Unknown.",
"type": "string"
},
"type": {
"description": "Type of replica set condition.",
"type": "string"
}
},
"required": [
"type",
"status"
],
"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": "ReplicaSetStatus represents the current status of a ReplicaSet.",
"properties": {
"availableReplicas": {
"description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.",
"format": "int32",
"type": [
"integer",
"null"
]
},
"conditions": {
"description": "Represents the latest available observations of a replica set's current state.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_apps_v1_ReplicaSetCondition"
},
"type": [
"array",
"null"
],
"x-kubernetes-patch-merge-key": "type",
"x-kubernetes-patch-strategy": "merge"
},
"fullyLabeledReplicas": {
"description": "The number of pods that have labels matching the labels of the pod template of the replicaset.",
"format": "int32",
"type": [
"integer",
"null"
]
},
"observedGeneration": {
"description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"readyReplicas": {
"description": "The number of ready replicas for this replica set.",
"format": "int32",
"type": [
"integer",
"null"
]
},
"replicas": {
"description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller",
"format": "int32",
"type": [
"integer",
"null"
]
}
},
"required": [
"replicas"
],
"type": "object"
} | kb_813_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"required": [
"config",
"inputs"
],
"type": "object",
"properties": {
"inputs": {
"required": [
"bvec",
"bval",
"dwi"
],
"type": "object",
"properties": {
"bvec": {
"type": "object",
"properties": {
"type": {
"enum": [
"bvec"
]
}
}
},
"bval": {
"type": "object",
"properties": {
"type": {
"enum": [
"bval"
]
}
}
},
"dwi": {
"type": "object",
"properties": {
"type": {
"enum": [
"nifti"
]
}
}
}
}
},
"config": {
"required": [
"doNorm"
],
"type": "object",
"properties": {
"doNorm": {
"default": true,
"type": "boolean"
}
}
}
},
"title": "Invocation manifest for SCITRAN: DWI Split Shells"
} | o41471 |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base of the shape",
"type": "number"
},
"height": {
"description": "The height of the shape",
"type": "number"
},
"length": {
"description": "The length of the shape",
"type": "number"
},
"radius": {
"description": "The radius of the shape",
"type": "number"
},
"width": {
"description": "The width of the shape",
"type": "number"
}
},
"required": [
"length",
"width",
"radius",
"base",
"height"
],
"type": "object"
},
"shape": {
"description": "The shape name, e.g. square, circle, triangle",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_a21be457 |
{
"properties": {
"items": {
"items": {
"properties": {
"name": {
"description": "The name of the item",
"type": "string"
},
"price": {
"description": "The price of the item",
"type": "number"
},
"quantity": {
"description": "The quantity of the item",
"type": "integer"
}
},
"required": [
"name",
"quantity",
"price"
],
"type": "object"
},
"type": "array"
},
"tax_percentage": {
"description": "The tax percentage",
"type": "number"
}
},
"required": [
"items"
],
"type": "object"
} | generate_invoice_be131bf1 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://toyatech.net/cmsapp/events",
"definitions": {
"AttendanceRecord": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"count": {
"type": "integer"
}
}
}
},
"properties": {
"AttendanceRecord": {
"$ref": "#/definitions/AttendanceRecord"
}
},
"required": [
"AttendanceRecord"
]
} | o82179 |
{
"additionalProperties": false,
"description": "Schema for a bad row resulting from adapter failures",
"properties": {
"failure": {
"additionalProperties": false,
"description": "Information regarding the adapter violations",
"properties": {
"messages": {
"description": "List of failure messages associated with the adapter failures",
"items": {
"anyOf": [
{
"additionalProperties": false,
"description": "Error which was internal to the adapter regarding its input data",
"properties": {
"expectation": {
"description": "Expectation which was not met",
"maxLength": 256,
"type": "string"
},
"field": {
"description": "Field which did not meet the adapter's expectations",
"maxLength": 64,
"type": "string"
},
"value": {
"description": "Stringified representation of the value which did not meet expectations",
"type": [
"string",
"null"
]
}
},
"required": [
"field",
"value",
"expectation"
],
"type": "object"
},
{
"additionalProperties": false,
"description": "String supplied for schema validation was not json",
"properties": {
"error": {
"description": "Json parsing issue",
"type": "string"
},
"field": {
"description": "Field which ended up not being json",
"maxLength": 64,
"type": "string"
},
"value": {
"description": "Stringified representation of the value which is not json",
"type": [
"string",
"null"
]
}
},
"required": [
"field",
"value",
"error"
],
"type": "object"
},
{
"additionalProperties": false,
"description": "Json supplied for schema validation was not self-describing",
"properties": {
"error": {
"description": "Issue which the json which makes it not self-describing",
"enum": [
"INVALID_SCHEMAVER",
"INVALID_IGLUURI",
"INVALID_DATA_PAYLOAD",
"INVALID_SCHEMA"
],
"type": "string"
},
"json": {
"description": "Supplied json which was not self-describing (can be any JSON value)"
}
},
"required": [
"json",
"error"
],
"type": "object"
},
{
"additionalProperties": false,
"description": "Could not map the adapter vendor event type to an Iglu schema",
"properties": {
"actual": {
"description": "The actual event type as determined by the adapter's logic",
"maxLength": 256,
"type": [
"string",
"null"
]
},
"expectation": {
"description": "Expectation regarding the mapping which was not met",
"maxLength": 256,
"type": "string"
},
"expectedMapping": {
"additionalProperties": {
"type": "string"
},
"description": "The possible mappings between adapter vendor event types and Iglu schemas",
"type": "object"
}
},
"required": [
"actual",
"expectedMapping",
"expectation"
],
"type": "object"
}
]
},
"type": "array"
},
"timestamp": {
"_format": "date-time",
"description": "Timestamp at which the failure occurred",
"type": "string"
},
"vendor": {
"description": "Vendor of the adapter that processed this payload",
"maxLength": 64,
"type": "string"
},
"version": {
"description": "Version of the adapter that processed this payload",
"maxLength": 16,
"type": "string"
}
},
"required": [
"timestamp",
"vendor",
"version",
"messages"
],
"type": "object"
},
"payload": {
"additionalProperties": false,
"description": "The collector payload that resulted in adapter failures",
"properties": {
"body": {
"description": "Body of this collector payload",
"type": [
"string",
"null"
]
},
"collector": {
"description": "Collector which produced this collector payload",
"maxLength": 32,
"type": "string"
},
"contentType": {
"description": "Content type of the payload as detected by the collector",
"maxLength": 256,
"type": [
"string",
"null"
]
},
"encoding": {
"description": "Encoding of the collector payload",
"maxLength": 32,
"type": "string"
},
"headers": {
"description": "List of the headers part of this collector payload",
"items": {
"maxLength": 8192,
"type": "string"
},
"type": [
"array",
"null"
]
},
"hostname": {
"description": "Hostname of the payload as detected by the collector",
"maxLength": 8192,
"type": [
"string",
"null"
]
},
"ipAddress": {
"description": "IP address of the payload as detected by the collector",
"maxLength": 128,
"type": [
"string",
"null"
]
},
"networkUserId": {
"_format": "uuid",
"description": "Network user id associated with this payload",
"type": [
"string",
"null"
]
},
"querystring": {
"description": "Query string of this collector payload",
"items": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the querystring parameter",
"maxLength": 512,
"type": "string"
},
"value": {
"description": "Possible value for the querystring parameter",
"maxLength": 512,
"type": [
"string",
"null"
]
}
},
"required": [
"name",
"value"
],
"type": "object"
},
"type": [
"array",
"null"
]
},
"refererUri": {
"description": "Referer of the payload as detected by the collector",
"maxLength": 8192,
"type": [
"string",
"null"
]
},
"timestamp": {
"_format": "date-time",
"description": "Timestamp at which the payload was collected",
"type": [
"string",
"null"
]
},
"useragent": {
"description": "User agent of the payload as detected by the collector",
"maxLength": 4096,
"type": [
"string",
"null"
]
},
"vendor": {
"description": "Vendor of the adapter that processed this payload",
"maxLength": 64,
"type": "string"
},
"version": {
"description": "Version of the adapter that processed this payload",
"maxLength": 16,
"type": "string"
}
},
"required": [
"vendor",
"version",
"collector",
"encoding"
],
"type": "object"
},
"processor": {
"additionalProperties": false,
"description": "Information about the piece of software responsible for the creation of adapter failures",
"properties": {
"artifact": {
"description": "Artifact responsible for the creation of adapter failures",
"maxLength": 512,
"type": "string"
},
"version": {
"description": "Version of the artifact responsible for the creation of adapter failures",
"maxLength": 32,
"pattern": "^(\\d+\\.\\d+\\.\\d+.*)$",
"type": "string"
}
},
"required": [
"artifact",
"version"
],
"type": "object"
}
},
"required": [
"failure",
"payload",
"processor"
],
"self": {
"format": "jsonschema",
"name": "adapter_failures",
"vendor": "com.snowplowanalytics.snowplow.badrows",
"version": "1-0-0"
},
"type": "object"
} | sp_328_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://json.schemastore.org/jshintrc",
"properties": {
"bitwise": {
"description": "Prohibit the use of bitwise operators (&, |, ^, etc.)",
"type": "boolean",
"default": false
},
"curly": {
"description": "Requires you to always put curly braces around blocks in loops and conditionals",
"type": "boolean",
"default": false
},
"eqeqeq": {
"description": "Prohibits the use of `==` and `!=` in favor of `===` and `!==`",
"type": "boolean",
"default": false
},
"esversion": {
"description": "The ECMAScript version to which the code must adhere",
"type": "integer",
"default": 5,
"enum": [3, 5, 6, 7, 8, 9, 10, 11]
},
"forin": {
"description": "Requires all `for in` loops to filter object's items with obj.hasOwnProperty()",
"type": "boolean",
"default": false
},
"freeze": {
"description": "Prohibits overwriting prototypes of native objects such as Array, Date and so on",
"type": "boolean",
"default": false
},
"funcscope": {
"description": "Suppresses warnings about declaring variables inside of control structures while accessing them later from the outside",
"type": "boolean",
"default": false
},
"futurehostile": {
"description": "Enables warnings about the use of identifiers which are defined in future versions of JavaScript",
"type": "boolean",
"default": false
},
"iterator": {
"description": "Suppresses warnings about the __iterator__ property.",
"type": "boolean",
"default": false
},
"latedef": {
"description": "Prohibits the use of a variable before it was defined",
"enum": [true, false, "nofunc"],
"default": false
},
"leanswitch": {
"description": "Prohibits unnecessary clauses within `switch` statements",
"type": "boolean",
"default": false
},
"maxcomplexity": {
"description": "Max cyclomatic complexity per function",
"type": ["boolean", "integer"],
"default": false
},
"maxdepth": {
"description": "Max depth of nested blocks",
"type": ["boolean", "integer"],
"default": false
},
"maxerr": {
"description": "Maximum amount of warnings JSHint will produce before giving up",
"type": "integer",
"default": 50
},
"maxparams": {
"description": "Max number of formal parameters allowed per function",
"type": ["boolean", "integer"]
},
"maxstatements": {
"description": "Max number statements per function",
"type": ["boolean", "integer"],
"default": false
},
"noarg": {
"description": "Prohibits the use of `arguments.caller` and `arguments.callee`",
"type": "boolean",
"default": false
},
"nocomma": {
"description": "Prohibits the use of the comma operator",
"type": "boolean",
"default": false
},
"nonbsp": {
"description": "Warns about `non-breaking whitespace` characters",
"type": "boolean",
"default": false
},
"nonew": {
"description": "Prohibits the use of constructors for side-effects (without assignment)",
"type": "boolean",
"default": false
},
"notypeof": {
"description": "Suppresses warnings about invalid `typeof`operator values",
"type": "boolean",
"default": false
},
"noreturnawait": {
"description": "Async functions resolve on their return value. In most cases, this makes returning the result of an AwaitExpression (which is itself a Promise instance) unnecessary",
"type": "boolean",
"default": false
},
"regexpu": {
"description": "Enables warnings for regular expressions which do not include the 'u' flag",
"type": "boolean",
"default": false
},
"shadow": {
"description": "Suppresses warnings about variable shadowing. i.e. declaring a variable that had been already declared somewhere in the outer scope",
"type": ["boolean", "string"],
"default": false,
"enum": [true, false, "inner", "outer"]
},
"singleGroups": {
"description": "Prohibits the use of the grouping operator when it is not strictly required.",
"type": "boolean",
"default": false
},
"strict": {
"description": "Requires all code to run in ES5 strict mode",
"type": ["boolean", "string"],
"default": false,
"enum": [true, false, "implied", "global", "func"]
},
"trailingcomma": {
"description": "Warns when a comma is not placed after the last element in an array or object literal",
"type": "boolean",
"default": false
},
"undef": {
"description": "Prohibits the use of explicitly undeclared variables",
"type": "boolean",
"default": false
},
"unused": {
"description": "Warns when you define and never use your variables",
"type": ["boolean", "string"],
"default": false,
"enum": [true, false, "vars", "strict"]
},
"varstmt": {
"description": "Forbids the use of VariableStatements (`var`) in favor of `let` and `const`",
"type": "boolean",
"default": false
},
"asi": {
"description": "Suppresses warnings about missing semicolons",
"type": "boolean",
"default": false
},
"boss": {
"description": "Suppresses warnings about the use of assignments in cases where comparisons are expected",
"type": "boolean",
"default": false
},
"debug": {
"description": "Suppresses warnings about the `debugger` statements in your code",
"type": "boolean",
"default": false
},
"elision": {
"description": "Tells JSHint that your code uses ES3 array elision elements, or empty elements",
"type": "boolean",
"default": false
},
"eqnull": {
"description": "Suppresses warnings about `== null` comparisons",
"type": "boolean",
"default": false
},
"evil": {
"description": "Suppresses warnings about the use of `eval`",
"type": "boolean",
"default": false
},
"expr": {
"description": "Suppresses warnings about the use of expressions where normally you would expect to see assignments or function calls",
"type": "boolean",
"default": false
},
"lastsemic": {
"description": "Suppresses warnings about missing semicolons, but only when the semicolon is omitted for the last statement in a one-line block",
"type": "boolean",
"default": false
},
"loopfunc": {
"description": "Suppresses warnings about functions inside of loops",
"type": "boolean",
"default": false
},
"moz": {
"description": "Tells JSHint that your code uses Mozilla JavaScript extensions",
"type": "boolean",
"default": false
},
"noyield": {
"description": "Suppresses warnings about generator functions with no `yield` statement in them",
"type": "boolean",
"default": false
},
"plusplus": {
"description": "Prohibits the use of `++` and `--`",
"type": "boolean",
"default": false
},
"proto": {
"description": "Suppresses warnings about the `__proto__` property",
"type": "boolean",
"default": false
},
"scripturl": {
"description": "Suppresses warnings about the use of script-targeted URLs",
"type": "boolean",
"default": false
},
"supernew": {
"description": "Suppresses warnings about constructions like `new function () { ... };` and `new Object;`",
"type": "boolean",
"default": false
},
"validthis": {
"description": "Suppresses warnings about possible strict violations when the code is running in strict mode and you use `this` in a non-constructor function",
"type": "boolean",
"default": false
},
"withstmt": {
"description": "Suppresses warnings about the use of the `with` statement",
"type": "boolean",
"default": false
},
"browser": {
"description": "[Environment] Web Browser (window, document, etc)",
"type": "boolean",
"default": false
},
"browserify": {
"description": "[Environment] Browserify",
"type": "boolean",
"default": false
},
"couch": {
"description": "[Environment] CouchDB",
"type": "boolean",
"default": false
},
"devel": {
"description": "[Environment] Development/debugging (alert, confirm, etc)",
"type": "boolean",
"default": false
},
"dojo": {
"description": "[Environment] Dojo Toolkit",
"type": "boolean",
"default": false
},
"jasmine": {
"description": "[Environment] Jasmine unit testing framework",
"type": "boolean",
"default": false
},
"jquery": {
"description": "[Environment] jQuery",
"type": "boolean",
"default": false
},
"mocha": {
"description": "[Environment] Mocha unit testing framework",
"type": "boolean",
"default": false
},
"module": {
"description": "[Environment] ES6 module",
"type": "boolean",
"default": false
},
"mootools": {
"description": "[Environment] MooTools",
"type": "boolean",
"default": false
},
"node": {
"description": "[Environment] Node.js",
"type": "boolean",
"default": false
},
"nonstandard": {
"description": "[Environment] Widely adopted globals (escape, unescape, etc)",
"type": "boolean",
"default": false
},
"phantom": {
"description": "[Environment] PhantomJS runtime environment",
"type": "boolean",
"default": false
},
"prototypejs": {
"description": "[Environment] Prototype JavaScript framework",
"type": "boolean",
"default": false
},
"rhino": {
"description": "[Environment] Rhino",
"type": "boolean",
"default": false
},
"shelljs": {
"description": "[Environment] Defines globals exposed by the ShellJS library",
"type": "boolean",
"default": false
},
"typed": {
"description": "[Environment] Defines globals for typed array constructors",
"type": "boolean",
"default": false
},
"worker": {
"description": "[Environment] Web Workers",
"type": "boolean",
"default": false
},
"wsh": {
"description": "[Environment] Windows Scripting Host",
"type": "boolean",
"default": false
},
"yui": {
"description": "[Environment] Yahoo User Interface",
"type": "boolean",
"default": false
},
"globals": {
"description": "Specify a white list of global variables that are not formally defined in the source code",
"type": "object",
"additionalProperties": {
"description": "Name of the global. Set to `true` for read/write, `false` for read-only.",
"type": "boolean"
}
},
"extends": {
"description": "Specify the path to another configuration file to use as a base, relative to the current file",
"type": "string"
},
"overrides": {
"description": "Specify the options that should only be applied to files matching a given path pattern",
"type": "object",
"additionalProperties": {
"description": "The path pattern to apply the given options to",
"type": "object"
}
}
},
"title": "JSON schema for JSHint configuration files",
"type": "object"
}
| jshintrc |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"anitya_response": {
"type": "object",
"description": "Anitya maps upstream components to downstream packages",
"properties": {},
"additionalProperties": true
},
"changes": {
"type": "object",
"description": "Breakdown of changed lines per given file",
"properties": {
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"file": {
"type": "string"
}
},
"required": [
"lines",
"file"
],
"additionalProperties": false
},
"diff": {
"type": "object",
"description": "Information about changed files and lines",
"properties": {
"files": {
"type": "integer"
},
"lines": {
"type": "integer"
},
"changes": {
"type": "array",
"items": {
"$ref": "#/definitions/changes"
}
}
},
"required": [
"files",
"lines",
"changes"
],
"additionalProperties": false
},
"downstream": {
"type": "object",
"description": "Patch information about downstream SRPM",
"properties": {
"diff": {
"$ref": "#/definitions/diff"
},
"patch_files": {
"type": "array",
"items": {
"type": "string"
}
},
"package": {
"type": "string"
}
},
"required": [
"diff",
"patch_files",
"package"
],
"additionalProperties": false
},
"downstream_usage_summary": {
"type": "object",
"properties": {
"package_names": {
"type": "array",
"items": {
"type": "string"
}
},
"registered_srpms": {
"type": "array",
"items": {
"$ref": "#/definitions/srpm_record"
}
},
"all_rhn_channels": {
"type": "array",
"items": {
"type": "string"
}
},
"all_rhsm_content_sets": {
"type": "array",
"items": {
"type": "string"
}
},
"all_rhsm_product_names": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"package_names",
"registered_srpms",
"all_rhn_channels",
"all_rhsm_content_sets",
"all_rhsm_product_names"
],
"additionalProperties": false
},
"pulp_cdn_response": {
"type": "object",
"description": "The Pulp CDN handles Red Hat's SRPM publication",
"properties": {
"srpm_filename": {
"type": "string"
},
"rhn_channels": {
"type": "array",
"items": {
"type": "string"
}
},
"rhsm_content_sets": {
"type": "array",
"items": {
"type": "string"
}
},
"rhsm_product_names": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"srpm_filename",
"rhn_channels",
"rhsm_content_sets",
"rhsm_product_names"
],
"additionalProperties": true
},
"srpm_record": {
"type": "object",
"description": "Summary of Red Hat tracked SRPM",
"properties": {
"package_name": {
"type": "string"
},
"epoch": {
"type": "number"
},
"version": {
"type": "string"
},
"release": {
"type": "string"
},
"patch_count": {
"type": "number"
},
"modified_line_count": {
"type": "number"
},
"modified_file_count": {
"type": "number"
},
"published_in": {
"type": "array",
"items": {
"type": "string"
}
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"architectures": {
"type": "array",
"items": {
"type": "string"
}
},
"hashes": {
"type": "object",
"properties": {
"md5": {
"type": "string"
},
"sha1": {
"type": "string"
},
"sha256": {
"type": "string"
}
}
}
},
"required": [
"package_name",
"epoch",
"version",
"release",
"patch_count",
"modified_line_count",
"modified_file_count"
],
"additionalProperties": false
},
"toolchain_responses": {
"type": "object",
"properties": {
"redhat_anitya": {
"$ref": "#/definitions/anitya_response"
},
"brew": {
"type": "array",
"items": {
"$ref": "#/definitions/downstream"
}
},
"pulp_cdn": {
"type": "array",
"items": {
"$ref": "#/definitions/pulp_cdn_response"
}
}
},
"additionalProperties": false
}
},
"type": "object",
"description": "Result of DownstreamUsage worker",
"properties": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the schema",
"pattern": "^[a-zA-Z0-9_]+$"
},
"version": {
"type": "string",
"description": "Version of the schema",
"pattern": "^[0-9]+-[0-9]+-[0-9]+$"
},
"url": {
"type": "string",
"description": "Full URL of the schema",
"format": "uri"
}
},
"required": [
"name",
"version"
],
"additionalProperties": false
},
"_release": {
"type": "string",
"description": "Unique release id in form of \"ecosystem:package:version\""
},
"status": {
"type": "string",
"enum": [
"success",
"error"
]
},
"details": {
"$ref": "#/definitions/toolchain_responses"
},
"summary": {
"$ref": "#/definitions/downstream_usage_summary"
}
},
"required": [
"status",
"summary"
],
"additionalProperties": false,
"title": "downstream_usage_result-v2-2-0"
} | o42057 |
{
"properties": {
"customer_email": {
"description": "The email address of the customer",
"type": "string"
},
"customer_name": {
"description": "The name of the customer",
"type": "string"
},
"items": {
"items": {
"properties": {
"item_name": {
"description": "The name of the item",
"type": "string"
},
"item_price": {
"description": "The price of the item",
"type": "number"
},
"quantity": {
"description": "The quantity of the item",
"type": "integer"
}
},
"required": [
"item_name",
"item_price",
"quantity"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"customer_name",
"customer_email",
"items"
],
"type": "object"
} | create_invoice_731fed23 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Program Analytics",
"description": "Defines the program analytics configuration.",
"type": "object",
"additionalProperties": false,
"required": [
"goals"
],
"properties": {
"goals": {
"type": "object",
"title": "Revenue Tracking Rules",
"description": "Defines the program goals and how they relate to projected revenue.",
"required": [
"event",
"value"
],
"additionalProperties": false,
"properties": {
"event": {
"enum": [
"rewardCreated",
"rewardRedeemed"
],
"enumNames": [
"When reward earned",
"After reward redeemed"
],
"type": "string",
"title": "Goal Completion",
"description": "Set when the user achieves the program goal"
},
"value": {
"type": "number",
"title": "Revenue Multiplier",
"description": "Record the following revenue in analytics"
}
}
}
}
} | o72186 |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base of the shape",
"type": "number"
},
"height": {
"description": "The height of the shape",
"type": "number"
},
"length": {
"description": "The length of the shape",
"type": "number"
},
"radius": {
"description": "The radius of the shape",
"type": "number"
},
"width": {
"description": "The width of the shape",
"type": "number"
}
},
"required": [
"length",
"width",
"radius",
"base",
"height"
],
"type": "object"
},
"shape": {
"description": "The shape to calculate the area for",
"enum": [
"rectangle",
"circle",
"triangle"
],
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_c9c6d4c2 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_FlowDistinguisherMethod": {
"description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.",
"properties": {
"type": {
"description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required.",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_GroupSubject": {
"description": "GroupSubject holds detailed information for group-kind subject.",
"properties": {
"name": {
"description": "name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_NonResourcePolicyRule": {
"description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.",
"properties": {
"nonResourceURLs": {
"description": "`nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example:\n - \"/healthz\" is legal\n - \"/hea*\" is illegal\n - \"/hea\" is legal but matches nothing\n - \"/hea/*\" also matches nothing\n - \"/healthz/*\" matches all per-component health checks.\n\"*\" matches all non-resource urls. if it is present, it must be the only entry. Required.",
"items": {
"type": "string"
},
"type": "array",
"x-kubernetes-list-type": "set"
},
"verbs": {
"description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required.",
"items": {
"type": "string"
},
"type": "array",
"x-kubernetes-list-type": "set"
}
},
"required": [
"verbs",
"nonResourceURLs"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_PolicyRulesWithSubjects": {
"description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.",
"properties": {
"nonResourceRules": {
"description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_NonResourcePolicyRule"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
"resourceRules": {
"description": "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_ResourcePolicyRule"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
"subjects": {
"description": "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_Subject"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"subjects"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_PriorityLevelConfigurationReference": {
"description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.",
"properties": {
"name": {
"description": "`name` is the name of the priority level configuration being referenced Required.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_ResourcePolicyRule": {
"description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) least one member of namespaces matches the request.",
"properties": {
"apiGroups": {
"description": "`apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required.",
"items": {
"type": "string"
},
"type": "array",
"x-kubernetes-list-type": "set"
},
"clusterScope": {
"description": "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list.",
"type": "boolean"
},
"namespaces": {
"description": "`namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true.",
"items": {
"type": "string"
},
"type": "array",
"x-kubernetes-list-type": "set"
},
"resources": {
"description": "`resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required.",
"items": {
"type": "string"
},
"type": "array",
"x-kubernetes-list-type": "set"
},
"verbs": {
"description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required.",
"items": {
"type": "string"
},
"type": "array",
"x-kubernetes-list-type": "set"
}
},
"required": [
"verbs",
"apiGroups",
"resources"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_ServiceAccountSubject": {
"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"
},
"namespace": {
"description": "`namespace` is the namespace of matching ServiceAccount objects. Required.",
"type": "string"
}
},
"required": [
"namespace",
"name"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_Subject": {
"description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.",
"properties": {
"group": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_GroupSubject"
},
"kind": {
"description": "Required",
"type": "string"
},
"serviceAccount": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_ServiceAccountSubject"
},
"user": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_UserSubject"
}
},
"required": [
"kind"
],
"type": "object",
"x-kubernetes-unions": [
{
"discriminator": "kind",
"fields-to-discriminateBy": {
"group": "Group",
"serviceAccount": "ServiceAccount",
"user": "User"
}
}
]
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_UserSubject": {
"description": "UserSubject holds detailed information for user-kind subject.",
"properties": {
"name": {
"description": "`name` is the username that matches, or \"*\" to match all usernames. Required.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.",
"properties": {
"distinguisherMethod": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_FlowDistinguisherMethod",
"description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string."
},
"matchingPrecedence": {
"description": "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.",
"format": "int32",
"type": [
"integer",
"null"
]
},
"priorityLevelConfiguration": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_PriorityLevelConfigurationReference",
"description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required."
},
"rules": {
"description": "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_PolicyRulesWithSubjects"
},
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"priorityLevelConfiguration"
],
"type": "object"
} | kb_369_Normalized |
{
"id": "http://schemas.gdbots.io/json-schema/gdbots/forms/mixin/field/1-0-2.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "^[a-zA-Z_]{1}[\\w-]*$",
"description": "A unique identifier (within the form) for the field. This value is not shown to the user and should NOT change once set."
},
"maps_to": {
"type": "string",
"default": "cf",
"pattern": "^[a-zA-Z_]{1}\\w*$",
"description": "The name of the schema field the answer will map to. By default this will go to the \"cf\" field which is a \"dynamic-field\" list containing all answers filled out on the form (ref \"gdbots:forms:mixin:send-submission\")."
},
"label": {
"type": "string",
"minLength": 0,
"maxLength": 255,
"description": "The main text for the question/field."
},
"placeholder": {
"type": "string",
"minLength": 0,
"maxLength": 255
},
"description": {
"type": "string",
"minLength": 0,
"maxLength": 65535,
"description": "A short description to better explain this field."
},
"is_required": {
"type": "boolean"
},
"link_text": {
"type": "string",
"minLength": 0,
"maxLength": 255,
"description": "The text that will replace the token \"{link}\" within the label or description."
},
"link_url": {
"type": "string",
"pattern": "^(https?:\\/\\/)?([\\da-z\\.-]+)\\.([a-z\\.]{2,6})([\\/\\w \\.-]*)*\\/?$",
"description": "The URL to use for the replaced token \"{link}\" within the label or description."
},
"pii_impact": {
"type": "string",
"enum": [
"unknown",
"high",
"moderate",
"low"
]
}
},
"required": [
"name"
],
"additionalProperties": true
} | o42609 |
{
"properties": {
"category": {
"properties": {
"id": {
"format": "int64",
"type": "integer"
},
"name": {
"type": "string"
}
},
"type": "object",
"xml": {
"name": "Category"
}
},
"id": {
"format": "int64",
"type": "integer"
},
"name": {
"example": "doggie",
"type": "string"
},
"photoUrls": {
"items": {
"type": "string"
},
"type": "array",
"xml": {
"name": "photoUrl",
"wrapped": true
}
},
"status": {
"description": "pet status in the store",
"enum": [
"available",
"pending",
"sold"
],
"type": "string"
},
"tags": {
"items": {
"properties": {
"id": {
"format": "int64",
"type": "integer"
},
"name": {
"type": "string"
}
},
"type": "object",
"xml": {
"name": "Tag"
}
},
"type": "array",
"xml": {
"name": "tag",
"wrapped": true
}
}
},
"required": [
"name",
"photoUrls"
],
"title": "Pet",
"type": "object",
"xml": {
"name": "Pet"
}
} | o69850 |
{
"properties": {
"customer_name": {
"description": "The name of the customer",
"type": "string"
},
"items": {
"items": {
"properties": {
"name": {
"description": "The name of the item",
"type": "string"
},
"price": {
"description": "The price of the item",
"type": "number"
},
"quantity": {
"description": "The quantity of the item",
"type": "integer"
}
},
"required": [
"name",
"price",
"quantity"
],
"type": "object"
},
"type": "array"
},
"total_amount": {
"description": "The total amount of the purchase",
"type": "number"
}
},
"required": [
"customer_name",
"items",
"total_amount"
],
"type": "object"
} | generate_invoice_68b64fa6 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_apps_v1_StatefulSetCondition": {
"description": "StatefulSetCondition describes the state of a statefulset at a certain 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": "A human readable message indicating details about the transition.",
"type": "string"
},
"reason": {
"description": "The reason for the condition's last transition.",
"type": "string"
},
"status": {
"description": "Status of the condition, one of True, False, Unknown.",
"type": "string"
},
"type": {
"description": "Type of statefulset condition.",
"type": "string"
}
},
"required": [
"type",
"status"
],
"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": "StatefulSetStatus represents the current state of a StatefulSet.",
"properties": {
"collisionCount": {
"description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.",
"format": "int32",
"type": [
"integer",
"null"
]
},
"conditions": {
"description": "Represents the latest available observations of a statefulset's current state.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_apps_v1_StatefulSetCondition"
},
"type": [
"array",
"null"
],
"x-kubernetes-patch-merge-key": "type",
"x-kubernetes-patch-strategy": "merge"
},
"currentReplicas": {
"description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.",
"format": "int32",
"type": [
"integer",
"null"
]
},
"currentRevision": {
"description": "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).",
"type": [
"string",
"null"
]
},
"observedGeneration": {
"description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"readyReplicas": {
"description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.",
"format": "int32",
"type": [
"integer",
"null"
]
},
"replicas": {
"description": "replicas is the number of Pods created by the StatefulSet controller.",
"format": "int32",
"type": [
"integer",
"null"
]
},
"updateRevision": {
"description": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)",
"type": [
"string",
"null"
]
},
"updatedReplicas": {
"description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.",
"format": "int32",
"type": [
"integer",
"null"
]
}
},
"required": [
"replicas"
],
"type": "object"
} | kb_1015_Normalized |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base of the shape (applicable for triangle)",
"type": "number"
},
"height": {
"description": "The height of the shape (applicable for triangle)",
"type": "number"
},
"length": {
"description": "The length of the shape",
"type": "number"
},
"radius": {
"description": "The radius of the shape",
"type": "number"
},
"width": {
"description": "The width of the shape",
"type": "number"
}
},
"required": [
"length",
"width",
"radius",
"base",
"height"
],
"type": "object"
},
"shape": {
"description": "The type of shape (e.g., circle, rectangle, triangle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_c8fa174c |
{
"$id": "https://example.com/schemas/com-example-amount-2018-03-01.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "An amount object including quanity and currency code.",
"properties": {
"amount": {
"pattern": "^[-]?\\d*\\.?\\d+$",
"type": "string"
},
"currency": {
"maxLength": 3,
"minLength": 3,
"pattern": "^[a-zA-Z0-9]{3}$",
"type": "string"
}
},
"required": [
"amount",
"currency"
],
"title": "Amount Version 2018-03-01",
"type": "object"
} | o69997 |
{
"definitions": {
"contract": {
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Contract (draft)",
"definitions": {
"id": {
"description": "unique identifier of contract",
"example": "01234567-89ab-cdef-0123-456789abcdef",
"format": "uuid",
"type": [
"string"
]
},
"identity": {
"$ref": "#/definitions/contract/definitions/id"
},
"created_at": {
"description": "when contract was created",
"example": "2012-01-01T12:00:00Z",
"format": "date-time",
"type": [
"string"
]
},
"reported_at": {
"description": "when contract data was reported from source",
"example": "2012-01-01T12:00:00Z",
"format": "date-time",
"type": [
"string"
]
},
"authorized_by": {
"description": "ten digit department code driving security. Derived From Contract Department",
"example": "100123456",
"type": [
"string"
]
},
"key": {
"description": "natural key for contract document",
"title": "Contract Key (unique identifier)",
"type": [
"string"
]
},
"name": {
"title": "Name",
"description": "person's name lname, fname",
"type": [
"string"
]
},
"job_code": {
"title": "Job Code",
"description": "USC job code associated with job profile definition (type of job) (6 characters)",
"type": [
"string"
]
},
"job_title": {
"title": "Job Title",
"description": "the string description of a job code",
"type": [
"string"
]
},
"department": {
"title": "Department",
"type": [
"object"
],
"properties": {
"department_code": {
"title": "Department code",
"type": [
"string"
]
},
"department_name": {
"title": "Department name",
"type": [
"string"
]
}
}
},
"contract_status": {
"title": "Contract Status",
"description": "An ordered set of statuses. When in alpha ascending, the first status is further along the process.",
"default": "SI",
"enum": [
"CP",
"CS",
"CV",
"PA",
"PN",
"PR",
"PV",
"PW",
"SA",
"SI",
"SN",
"SR",
"SV",
"SW"
],
"options": {
"enum_titles": [
"Contract - Printed",
"Contract - Signed",
"Contract - Voided",
"Provost - Approved Contract",
"Provost - None this year",
"Provost - Returned Contract to School",
"Provost - Voided",
"Provost - Working on Contract",
"School - Approved Proposal",
"School - Incomplete",
"School - None this year",
"School - Proposal Returned from Provost",
"School - Proposal Voided",
"School - Working on Proposal"
]
}
},
"operator_code": {
"title": "Operator Code (10 character)",
"type": [
"string"
]
},
"leaves": {
"title": "Leaves",
"description": "Academic Leaves",
"type": [
"array"
],
"items": {
"title": "Leave",
"type": [
"object"
],
"properties": {
"prop_leave_pct": {
"title": "Proposed Leave Percent",
"type": [
"string"
]
},
"leave_reason": {
"title": "Leave reason",
"type": [
"string"
]
},
"leave_start": {
"title": "Leave start",
"type": [
"string"
],
"format": "date"
},
"leave_end": {
"title": "Leave end",
"type": [
"string"
],
"format": "date"
},
"leave_comments": {
"title": "Leave comments",
"type": [
"string"
]
}
}
}
},
"suppl": {
"title": "Supplemental Salaries",
"description": "Supplemental Salaries for non-core work",
"type": [
"array"
],
"items": {
"title": "Supplemental Salary",
"type": [
"object"
],
"properties": {
"prop_supp_salary": {
"title": "Proposed Supplemental Salary",
"type": [
"string"
]
},
"prop_supp_sal_start": {
"title": "Proposed Supplemental Salary Start",
"type": [
"string"
],
"format": "date"
},
"prop_supp_sal_end": {
"title": "Proposed Supplemental Salary End",
"type": [
"string"
],
"format": "date"
},
"prop_supp_sal_reason": {
"title": "Proposed Supplemental Salary Reason",
"type": [
"string"
]
},
"suppl_salary_text": {
"title": "Supplemental Salary Text",
"type": [
"string"
]
},
"supp_freq": {
"title": "Supplemental Salary Freq",
"type": [
"integer"
]
},
"suppl_posid": {
"title": "Supplemental Salary Position Id (Workday)",
"type": [
"string"
]
},
"supp_job_code": {
"title": "Supplemental Salary Job Code",
"$ref": "#/definitions/contract/definitions/job_code"
},
"remarks_text": {
"title": "Remarks text",
"type": [
"string"
]
}
}
}
},
"rank": {
"title": "Job rank",
"description": "Attributes associated with rank",
"type": [
"object"
],
"properties": {
"prop_job": {
"$ref": "#/definitions/contract/definitions/job_code"
},
"prop_job_title": {
"title": "Proposed Job Title",
"$ref": "#/definitions/contract/definitions/job_title"
},
"prop_acad_title": {
"title": "Proposed Academic title",
"description": "(FYI) With academic title and administrative title, these make up *business title* and are limited to 100 characthers if they are sent to Health Comp via Workday.\n",
"type": [
"string"
]
},
"job_chg_reason": {
"title": "Job change reason",
"type": [
"string"
]
},
"wd_job_chg_reason": {
"title": "Workday job change reason",
"type": [
"string"
]
},
"prop_rank": {
"title": "Proposed Rank",
"type": [
"string"
]
},
"rank_chg": {
"title": "Rank change",
"type": [
"string"
]
},
"fy_rank_adj": {
"title": "Fiscal year rank adjusted",
"type": [
"string"
]
},
"fy_rank": {
"title": "Fiscal year in which rank (earned)",
"type": [
"string"
]
},
"retired": {
"type": [
"boolean"
],
"title": "Retired?"
}
}
},
"status_history": {
"title": "Status history",
"type": [
"array"
],
"items": {
"type": [
"object"
],
"title": "Status",
"properties": {
"contract_status_hist": {
"title": "Contract status history",
"type": [
"string"
]
},
"contract_stat_date_hist": {
"title": "Constract status date history",
"type": [
"string"
],
"format": "date"
},
"contract_stat_chg_oper_hist": {
"$ref": "#/definitions/contract/definitions/operator_code"
}
}
}
},
"departments": {
"type": [
"object"
],
"title": "Departments",
"properties": {
"contract_dept": {
"title": "Contract department (business)",
"description": "The department the manages the employment agreement. Administrative.",
"$ref": "#/definitions/contract/definitions/department"
},
"primary_dept": {
"title": "Primary department (academic)",
"description": "First academic department. The department of the faculty's chair in governance structure.",
"$ref": "#/definitions/contract/definitions/department"
},
"secondary_dept": {
"title": "Secondary department (joint)",
"description": "the first joint appointment",
"$ref": "#/definitions/contract/definitions/department"
},
"secondary_dept2": {
"title": "Terciary department (joint)",
"description": "the second joint appointment",
"$ref": "#/definitions/contract/definitions/department"
},
"4th_dept": {
"title": "Fourth department (joint)",
"department": "the third joint appointment",
"$ref": "#/definitions/contract/definitions/department"
},
"5th_dept": {
"title": "Fifth department (joint)",
"department": "the fourth joint appointment",
"$ref": "#/definitions/contract/definitions/department"
}
}
},
"activity_profile": {
"type": [
"object"
],
"title": "Activity profile",
"properties": {
"prop_curr_act_level": {
"title": "Proposed activity level",
"enum": [
"FT",
"PT",
"OL"
]
}
}
},
"certification": {
"type": [
"object"
],
"title": "Certification",
"properties": {
"cert_addr": {
"title": "Certification address",
"type": [
"string"
]
},
"cert_agreement": {
"title": "Certification aggreement",
"type": [
"boolean"
]
},
"cert_t": {
"title": "Certification time",
"type": [
"string"
]
},
"cert_hours": {
"title": "certification hours",
"type": [
"string"
]
},
"cert_d": {
"title": "certification days",
"type": [
"string"
]
},
"cert_reason_text": {
"title": "certification reason text",
"type": [
"string"
]
}
}
},
"misc_attr": {
"type": [
"object"
],
"title": "Miscellaneous Attributes",
"properties": {
"assignment": {
"title": "Assignment",
"description": "Specify the type of activity for which this proposal applies: teaching, clinical, research, or a combination thereof.\n",
"enum": [
"",
1,
2,
3,
4,
5,
6,
7,
8,
9,
10
],
"options": {
"enum_titles": [
"Not applicable",
"Teaching",
"Research",
"Patient Care",
"Service Activities",
"Teaching-Research",
"Teaching-Patient Care",
"Teaching-Service Activities",
"Research-Patient Care",
"Research-Service Activities",
"Patient Care-Service Activities"
]
}
}
}
},
"meta": {
"type": [
"object"
],
"title": "Meta (various use regarding process)",
"properties": {
"prior_proposal": {
"title": "Prior proposal (reference back)",
"type": [
"string"
]
},
"fac_trans_schdt": {
"title": "Faculty file transfer schedule date",
"type": [
"string"
],
"format": "date"
},
"fac_trans_actdt": {
"title": "Faculty file transfer actual date",
"type": [
"string"
],
"format": "date"
},
"ppbs_trans_schdt": {
"title": "PPBS transfer schedule date (unused)",
"type": [
"string"
],
"format": "date"
},
"ppbs_trans_actdt": {
"title": "PPBS transfer actual date",
"type": [
"string"
],
"format": "date"
},
"temporary": {
"title": "Temporary",
"description": "Select either \"Yes\" or \"No\" to indicate whether or not the Faculty member is a Temporary employee.\nIf \"Yes\" is selected, the following text will be printed in the Faculty member's Appointment Letter:\nAs you know, this is a part-time, temporary assignment for the stated period only and the appointment is for a fixed term.\nIf \"No\" is selected, the following text will be printed in the Faculty member's Appointment Letter: As you know, this is a part-time assignment for the stated period only and the appointment is for a fixed term. ",
"type": [
"string"
]
},
"proc_name": {
"title": "Process name",
"enum": [
"Dean",
"Libr",
"Prov"
]
}
}
},
"tenure": {
"type": [
"object"
],
"title": "Tenure",
"properties": {
"date_tenured": {
"title": "Date tenured",
"description": "Date committe met and made decision regarding tenure",
"type": [
"string"
],
"format": "date"
},
"prop_fac_stat": {
"title": "Proposed faculty status (tenure)",
"description": "Faculty's category of tenure/not tenure",
"type": [
"string"
]
},
"reappoint_status": {
"title": "Reappointment status",
"description": "Select a reappointment status:\n Fixed Term (F):\n Select this if the Proposed Faculty Status is \"Special\" or \"Voluntary.\"\n Notice of Non-reappointment Required (NR):\n Select this if the Proposed Faculty Status is \"Probationary.\"\n Tenured (T):\n Select this if the Proposed Faculty Status is \"Tenured\".\n",
"enum": [
"",
"F",
"NR",
"T"
],
"options": {
"enum_titles": [
"Not applicable",
"Fixed term (F)",
"Non-reappoint (NR)",
"Terminated (T)"
]
}
},
"ten_dec_date": {
"title": "Tenure decision date",
"description": "A tenure decision date is required for all probationary (tenure track) faculty members.\nAccording to the Faculty Handbook, this date takes into account the number of years of full-time tenure-track service at other institutions and the date before which a decision on tenure must be made at the University of Southern California, which is 12 months before the expiration of the stated probationary period.\nThe probationary period shall not exceed twelve years beginning with the faculty member's first full-time tenure- track appointment in an institution of higher education except as noted in subsections 4-D (1) of the Faculty Handbook\nThe letter of appointment for each new faculty member must specify the Tenure Decision Date, which will be determined by the length of the school-specific maximum probationary period and any credit accorded for full-time tenure-, continuous, prior service. A signed copy of the faculty member's acceptance must be filed with the appropriate vice-president. Unresolved questions concerning what prior service must or must not be counted, and other matters pertaining to the length of the probationary period, shall be directed to the Committee on Probationary Deadlines for its review and recommendations to the President.\nExtensions of the tenure decision date and exceptions to this policy require the Provost's approval; direct such requests to the Committee on Probationary Deadlines for its review and recommendations.\nThe annual letter of reappointment/contract for each probationary faculty member shall incorporate the Tenure Decision Date, reflecting any adjustments that may have been approved during the prior year. type: string format: date"
},
"orig_ten_dec_date": {
"title": "Original tenure decision date",
"type": [
"string"
],
"format": "date"
},
"non_reappt_date": {
"title": "Non reappointment date",
"description": "A Non-Reappointment Date is required if Reappointment Status is \"Notice of Non-reappointment Required.\"\nAccording to the Faculty Handbook section 4-F, in the case of non-reappointment of a tenure-track faculty member, the faculty member shall receive notice of non-reappointment in writing as follows: (1) not later than February 15 of the first academic year of service; (2) not later than November 15 of the second academic year of service; (3) at least twelve months before the expiration of an appointment after two or more years at the university.\nIn the case of non-reappointment of a non-tenured faculty member, refer to section 4-G of the Faculty Handbook and the Provost’s memos on the Procedures for Considering Non-Reappointment of Non-Tenure Track Faculty.\n",
"type": [
"string"
],
"format": "date"
}
}
},
"core": {
"title": "Core",
"type": [
"object"
],
"properties": {
"total_instrnl_salary_amnt": {
"title": "Total instructional salary amount",
"type": [
"string"
]
},
"hours_per_week": {
"title": "Hours per week (out of 40)",
"type": [
"string"
]
},
"hour_rate": {
"title": "Hourly rate",
"description": "Core compensation divided by hours per week",
"type": [
"string"
]
},
"core_effect_date": {
"title": "Core effective date",
"type": [
"string"
],
"format": "date"
},
"prop_act_base_pay": {
"title": "Proposed Actual Annual Core Pay",
"description": "Enter the actual total core pay, including sabbatical pay, the faculty member will receive for the entire contract period. Core pay does not include stipends, overloads, summer research pay, etc. Annual FTE core should not be entered here. For example, if the faculty member is 75% time during the contract period and will be paid $80,000 for this workload, the amount entered in this field is 80000. If a faculty member will work only 4.5 months and will be paid $22,500 for the 4.5 months, enter 22500 in this field.",
"type": [
"string"
]
},
"core_job_code": {
"title": "Core job code",
"type": [
"string"
]
},
"core_freq": {
"title": "Core frequency",
"type": [
"string"
]
},
"core_obj_code": {
"title": "Core object code",
"$ref": "#/definitions/object_code/definitions/core_object_code"
}
}
},
"institutional_base_salary": {
"title": "Institutional base salary",
"type": [
"object"
],
"properties": {
"prop_ibs": {
"title": "Proposed Institution Base Salary (IBS)"
}
}
},
"core_modifiers": {
"title": "Core modifiers",
"type": [
"object"
],
"properties": {
"benefits_elig": {
"title": "Benefits eligible?",
"type": [
"boolean"
]
},
"wd_awp": {
"title": "Workday Academic Work Period (AWP)",
"desciption": "FIXME: to enumerate AWP for next year via $ref service\n",
"type": [
"string"
]
},
"increase_type": {
"title": "Increase type",
"enum": [
"Not applicable",
"E",
"M",
"O",
"P"
]
},
"prop_fte_base_rate": {
"title": "Proposed full time equivalent core earnings (Core / FTE)",
"type": [
"string"
]
},
"prop_curr_pct": {
"title": "Proposed percent of full time equivalent",
"desciption": "This defaults to the current percent. But if the faculty member is changing workload, a new percent of time will need to be entered. Enter only numbers between 1 and 100 with no decimals, percent signs or other characters. This percent represents the percent of salary the faculty member will be receiving, for example, if a faculty member is only going to receive 50% of full time pay, then the percent should be 50%. If the faculty member will be on leave and will receive no salary, the percent should be 0%.",
"type": [
"string"
]
},
"prop_pct_efrt": {
"title": "Proposed percent effort",
"desciption": "The percent of effort is the percent of time worked, based on a 40-hour work week. For all tenure-track and tenured faculty, the percent of effort is 100%. For non-tenure track faculty, the percent of effort is the same as the % of FTE unless the non-tenure track faculty is granted a school paid leave. Remember, that there are no changes in the % Effort for faculty on medical or statutory leaves.",
"type": [
"string"
]
}
}
},
"position": {
"title": "Position",
"type": [
"object"
],
"properties": {
"core_posid": {
"title": "Core position id (Workday)",
"type": [
"string"
]
},
"wd_prop_posid": {
"title": "Proposed position id (Workday)",
"type": [
"string"
]
},
"core_superid": {
"title": "Core supervisor position id (Workday)",
"type": [
"string"
]
},
"core_superorg": {
"title": "Core supervisor organization (Workday)",
"type": [
"string"
]
}
}
},
"title": {
"title": "Title",
"type": [
"object"
],
"properties": {
"prop_acad_title": {
"title": "Proposed academic title",
"description": "This is the title that will appear on the faculty member's contract and should include the correct name of endowed chairs, etc., and if multiple titles, list the named professorship or chair first. Please use proper case (upper and lower case) rather than all caps. Examples include:\n\n Professor of Biology\n Associate Professor of Chemical Engineering\n Assistant Professor of Medicine\n Associate Professor of Molecular Pharmacology & Toxicology\n Arthur Andersen Alumni Professor\n Dorothy W. Nelson Professor of Law\n Professor of Biomedical Engineering, Dwight C. and Hildagarde E. Baum Chair\n Henry Salvatori Chair in Computer Science\n Professor of Preventive Medicine and AFLAC, Incorporated, Chair in Cancer Research",
"type": [
"string"
]
}
},
"prop_admin_title": {
"title": "Proposed administrative title",
"description": "This is the administrative title that will appear on the faculty member's contract and there must be a current administrative appointment letter in the faculty member’s gold files.",
"type": [
"string"
]
}
},
"dates": {
"title": "Dates",
"type": [
"object"
],
"properties": {
"prop_contr_months": {
"title": "Proposed contract months (duration)",
"description": "Choose the appropriate number of months for which core salary is earned; this does not include the period when summer stipend money is being paid. The number of months the contract covers should be for the actual number of months the faculty member is working (or on leave or sabbatical), not the number of months the faculty member's pay is spread over. For example, a faculty member who works from 8/16/2014 to 5/15/2015 prefers to have his pay spread over 12 months. His contract months would still only be 9 months and the beginning and ending dates should be consistent with the 9-month period.",
"enum": [
0.5,
1,
1.5,
2,
2.5,
3,
3.5,
4.5,
5,
5.5,
6,
6.5,
7,
7.5,
8,
8.5,
9,
9.5,
10,
10.5,
11,
11.5,
12
],
"default": 9
},
"cont_begin_date": {
"title": "Contract begin date",
"description": "The format is mm/dd/yyyy. The 9-month faculty contract period usually is 08/16/XXXX to 05/15/XXXX, and the 12-month faculty contract period usually is 07/01/XXXX to 06/30/XXXX. The contract dates should cover the period when the faculty member is working, on sabbatical or on leave. For example, if a faculty member works from 08/16/2001 to 05/15/2002 but prefers to have his pay spread over 12 months, his contract dates would still be 08/16/2001 to 05/15/2002. Faculty on academic year appointments will hereafter receive pay beginning with one-half month's pay on August 26.",
"type": [
"string"
],
"format": "date"
},
"wd_cont_begin_date": {
"title": "(Workday) Contract begin date",
"description": "for integration, not populated",
"type": [
"string"
],
"format": "date"
},
"cont_end_date": {
"title": "Contract end date",
"type": [
"string"
],
"format": "date"
},
"wd_cont_end_date": {
"title": "(Workday) Contract end date",
"description": "for integartion, not populated",
"type": [
"string"
],
"format": "date"
},
"contract_amend_date": {
"title": "Amendment Effective Date",
"description": "For a continuing contract, the amendment effective date of the first contract of the academic/fiscal year is the Contract Begin Date.\nFor mid-term contract amendments, the amendment effective date is the date of entry.\nFor new hires, the amendment effective date is the date the Contract Begin Date.",
"type": [
"string"
],
"format": "date"
},
"early_term": {
"title": "Early termination date",
"type": [
"string"
],
"format": "date"
},
"date_fix_term": {
"title": "Date fixed term employment ends",
"description": "Faculty whose Reappointment Status is Fixed Term are required to have a date in this field. The date is the usually same date as the Contract End Date and the format is mm/dd/yyyy. There are cases where the School may wish to appoint a faculty member for a term longer than one year and provide a new contract reflecting the updated salary each year.",
"type": [
"string"
],
"format": "date"
},
"semester": {
"title": "Semester",
"description": "Unknown use",
"type": [
"string"
]
}
}
},
"print_config": {
"title": "Print configuration for letter",
"type": [
"object"
],
"properties": {
"proposal_type": {
"title": "Proposal type",
"enum": [
"PT",
"FT"
]
},
"proposal_form": {
"title": "Proposal form",
"enum": [
"C",
"L"
]
},
"dean_sig": {
"title": "Dean's signature?",
"description": "Select either \"Yes\" or \"No\" to indicate whether or not to print the School dean's signature on the Proposal/Contract.",
"type": [
"boolean"
]
},
"chair_sig": {
"title": "Chair's signature?",
"description": "Select either \"Yes\" or \"No\" to indicate whether or not to print the Department chair's signature on the Proposal/Contract.",
"type": [
"boolean"
]
},
"ibs_text_flag": {
"title": "IBS text?",
"type": [
"boolean"
]
},
"overload": {
"title": "Overload?",
"type": [
"boolean"
]
}
}
},
"courses": {
"title": "Courses/Assignments",
"description": "Course or other work assignments",
"type": [
"array"
],
"items": {
"title": "Assignment",
"type": [
"object"
],
"properties": {
"assign_number": {
"title": "Assignment number",
"description": "Use to connect this assignment to a workday compensation plan and t2(time keeping) (Assignment 10 is depricated)",
"enum": [
"Assignment 1",
"Assignment 2",
"Assignment 3",
"Assignment 4",
"Assignment 5",
"Assignment 6",
"Assignment 7",
"Assignment 8",
"Assignment 9",
"Assignment 10"
]
},
"course_position_id": {
"title": "Course position id",
"description": "The workday position id for this person's work in this assignment. Should be only one option for faculty.\n",
"type": [
"string"
]
},
"course_hrly_rate": {
"title": "Course hourly rate",
"description": "amount in dollars (US) to be paid per hour worked",
"type": [
"string"
]
},
"course_job_code": {
"title": "Course job code",
"description": "the job code for the faculty doing the work assignment",
"type": [
"string"
]
},
"course_obj_code": {
"title": "Course object code",
"description": "the budget object code the describes this assignment's pay\n",
"$ref": "#/definitions/object_code/definitions/course_object_code"
},
"course_pay": {
"title": "Course pay",
"description": "Enter the compensation amount (US dollars) for teaching this course, doing this assignment.",
"type": [
"string"
]
},
"course_number": {
"title": "Course number",
"type": [
"string"
]
},
"course_name": {
"title": "Course name",
"type": [
"string"
]
},
"course_units": {
"title": "Number of units (course)",
"type": [
"string"
]
},
"course_begin_date": {
"title": "Course begin date",
"description": "Should occur before the first day the person starts work (i.e. enters hours in time keeping system)",
"type": [
"string"
],
"format": "date"
},
"course_end_date": {
"title": "Course end date",
"type": [
"string"
],
"format": "date"
},
"course_freq": {
"title": "Course frequency",
"type": [
"string"
]
},
"instrnl_hrs_per_week": {
"title": "Instructional hours per week",
"type": [
"string"
]
},
"course_exam_hrs": {
"title": "exam hours",
"type": [
"string"
]
},
"course_weeks": {
"title": "Course weeks",
"type": [
"string"
]
},
"course_comment": {
"title": "Comment",
"type": [
"string"
]
}
}
}
},
"merit_rating": {
"title": "Merit rating",
"type": [
"object"
],
"properties": {
"merit_text": {
"title": "Merit description",
"type": [
"string"
]
},
"merit_rating": {
"title": "Merit rating",
"enum": [
"",
1,
2,
3,
4,
5
],
"options": {
"enum_titles": [
"not applicable",
"Unsatisfactory",
"Needs Improvement",
"Meritorious",
"Outstanding",
"Exceptional"
]
}
},
"custom_group": {
"title": "Custom group number",
"type": [
"string"
]
},
"merit_plus_minus": {
"title": "Merit sign (+/-)",
"enum": [
"",
"+",
"-"
]
},
"dept_eval_rating": {
"title": "Department evaluation rating",
"type": [
"string"
]
},
"merit_based": {
"title": "Merit-based percent increase",
"type": [
"string"
]
}
}
},
"fcpp_salary_components": {
"title": "FCPP salary components",
"type": [
"object"
],
"properties": {
"fcpp_amount": {
"title": "FCPP amount",
"type": [
"string"
]
},
"fcpp_code": {
"title": "FCPP code",
"type": [
"string"
]
},
"keck_sc_obj": {
"title": "FCPP code",
"description": "FIXME: enumerate object codes allowed\n",
"type": [
"string"
]
},
"fcpp_obj_code": {
"title": "FCPP object code",
"description": "FIXME: enumerate object codes allowed\n",
"type": [
"string"
]
},
"fcpp_effect_date": {
"title": "FCPP effective date",
"type": [
"string"
],
"format": "date"
},
"clinic_ovrld_max": {
"title": "Clinical overload maximum",
"type": [
"string"
]
}
}
},
"additional_paragraphs": {
"title": "Additional paragraphs",
"type": [
"object"
],
"properties": {
"suff_enrollment": {
"title": "Sufficient enrollment?",
"description": "Select either \"Yes\" or \"No\" on whether or not the Faculty member's full salary is contingent upon sufficient enrollment for a course to be taught. If you select \"Yes\", the following text will be printed in the Faculty member's Appointment Letter: This appointment is contingent upon there being sufficient enrollment to warrant all sections of courses now scheduled. If the school decides to cancel your course(s) for any reason, we will let you know as soon as possible, and you will be paid for any sessions taught. \n",
"type": [
"boolean"
]
},
"indiv_instruction": {
"title": "Individual instruction?",
"description": "Select either \"Yes\" or \"No\" on whether or not the Faculty member will be paid for providing individual instruction. If you select \"Yes\", the following text will be printed in the Faculty member's Appointment Letter:\n If there is additional enrollment in the course, you will be paid for this additional work at the rate of @hourRate@ per student. ",
"type": [
"boolean"
]
},
"office_hours": {
"title": "Office hours?",
"description": "Select either \"Yes\" or \"No\" on whether or not the Faculty member is expected to hold office hours. If you select \"Yes\", the following text will be printed in the Faculty member's Appointment Letter:\n\n As part of the assignment, you will be expected to schedule office hours at times that are convenient to students and participate in regularly scheduled meetings of the appropriate committees. ",
"type": [
"boolean"
]
},
"con_curriculum": {
"title": "Consistent Curriculum",
"description": "Select either \"Yes\" or \"No\" on whether or not the Faculty member is expected to follow a consistent curriculum in his/her course instruction. If you select \"Yes\", the following text will be printed in the Faculty member's Appointment Letter:\n\n The degree program's curriculum is designed to provide integrated and sequential learning. It is important, therefore, that you confer with the head of the area to which you are assigned in order to insure that what you teach is consistent with the department's educational goals. ",
"type": [
"boolean"
]
},
"addl_support": {
"title": "Additional support",
"type": [
"boolean"
],
"description": "Select either \"Yes\" or \"No\" on whether or not the Faculty member will be receiving additional support. If you select \"Yes\", the following text will be printed in the Faculty member's Appointment Letter:\n\n Assignments of space, equipment, clerical, and other support, as well as stipends and overload payments, are subject to change at the sole discretion of the chair or dean. "
},
"vac_benefits": {
"title": "Vacation benefits?",
"type": [
"boolean"
],
"description": "Select either \"Yes\" or \"No\" on whether or not the Faculty member is eligible for vacation benefits. This is only for Faculty members who work 12 months. If you select \"Yes\", the following text will be printed in the Faculty member's Appointment Letter:\n\n You accrue vacation benefits at a rate of four weeks per year (20 days), up to a total of no more than seven weeks (35 days), which must be taken at a mutually agreed upon time that does not conflict with your faculty responsibilities. After you accrue seven weeks, you will not accrue additional vacation eligibility until you have taken your accrued vacation. As a part-time faculty member working less than 100%, your rate of accrual is pro-rated based on the percentage of time worked. "
},
"ext_funding": {
"title": "External funding?",
"type": [
"boolean"
],
"description": "Select either \"Yes\" or \"No\" on whether or not the Faculty member's compensation is supported by external funding in any amount.\nThe following text will be printed if \"Yes\" is selected:\n\n The external funding portion of your compensation is contingent upon the continued availability of such funds from external funding sources. "
},
"early_term": {
"title": "Early termination?",
"type": [
"boolean"
],
"description": "Select either \"Yes\" or \"No\" on whether or not the Faculty member is subject to early termination. This is only for Faculty members on multi-year appointments. If \"Yes\" is selected, the following text will be printed on the Faculty member's Appointment Letter:\n\n Since your compensation is funded by external sources, your appointment may be terminated early, on 90 days notice, if there is a reduction or discontinuation of the funding.\n\n Also, you will need to include the following statement in the \"Additional Terms, Conditions, Agreements\" field:\n\n \"This appointment is part of a multi-year appointment until [date], subject to the terms of this letter.\""
},
"faculty_practice": {
"title": "Faculty practice?",
"type": [
"boolean"
],
"description": "Select either \"Yes\" or \"No\" on whether or not the Faculty member has clinical practice plan income.\nThe following text will be printed if \"Yes\" is selected:\n\n As a faculty member, if after consultation with the chair or dean you engage in private practice, then you agree to conduct such practice solely under the terms and conditions of the appropriate school and departmental faculty practice plans. "
},
"retired": {
"title": "Retired or recalled to duty?",
"type": [
"boolean"
],
"description": "Select either \"Yes\" or \"No\" on whether or not the Faculty member was retired and has been recalled to duty.\nIf \"Yes\" is selected, the following text will be printed on the Faculty member's Appointment Letter:\n\n We appreciate your willingness to accept this responsibility, after your retirement from the faculty. During this appointment, your title will continue to be @jobTitle@, though of course without tenure, and when this appointment concludes you will resume your retired status and title. Retired faculty who agree to be recalled to service make an enormous contribution to the departments programs. Thank you for all your efforts. If you have any questions, please do not hesitate to contact me.\n If \"No\" is selected, the following text will be printed on the Faculty member's Appointment Letter:\n Our part-time faculty make an enormous contribution to the department's programs. Thank you for all your efforts. If you have any questions, please do not hesitate to contact me. "
}
}
},
"exhibit_a_details": {
"title": "Exhibit A Detail",
"type": [
"object"
],
"properties": {
"exh_a_std_text": {
"title": "Exhibit A External Funding",
"type": [
"boolean"
]
},
"exh_a_std_pt2": {
"title": "Exhibit A Faculty Practice Plan",
"type": [
"boolean"
]
},
"exh_a_std_pt3": {
"title": "Exhibit A Admin Stipend",
"type": [
"boolean"
]
},
"exh_a_addtl_text": {
"title": "Exhibit A additional terms, conditions, and aggrements",
"type": [
"string"
]
},
"special_terms": {
"title": "Special terms",
"type": [
"string"
]
}
}
},
"contract_changes": {
"type": [
"object"
],
"title": "Contract changes",
"properties": {
"contract_status": {
"$ref": "#/definitions/contract/definitions/contract_status"
},
"proposal_chg_oper": {
"$ref": "#/definitions/contract/definitions/operator_code"
},
"proposal_chg_date": {
"title": "Proposal change date",
"type": [
"string"
],
"format": "date"
},
"contract_stat_chg_oper": {
"$ref": "#/definitions/contract/definitions/operator_code"
},
"contract_stat_date": {
"title": "Contract stat date",
"type": [
"string"
],
"format": "date"
},
"cont_recd_by_vp": {
"title": "Contract received by Vice Provost (VPFAC)",
"type": [
"boolean"
]
},
"cont_recd_by_school": {
"title": "Contractd received by school",
"type": [
"boolean"
]
},
"return_text": {
"title": "Return text",
"type": [
"string"
]
}
}
},
"compensation_components": {
"title": "Compensation components",
"type": [
"object"
],
"properties": {
"core_comp_plan": {
"title": "Core compensation plan",
"type": [
"string"
]
},
"core_comp_plan_type": {
"title": "Core comp plan type",
"type": [
"string"
]
},
"prop_comp_basis": {
"title": "Proposed compensation basis",
"enum": [
"",
"CF",
"EF",
"OT",
"PC",
"PE",
"PF",
"TF"
],
"options": {
"enum_titles": [
"Not applicable",
"CF -- Conditional Funding",
"EF -- External Funding",
"OT -- Other",
"PC -- Partial USC - Conditional Funding",
"PE -- Partial USC - External Funding",
"PF -- Partial USC Funding",
"TF -- Total USC Funding"
]
}
},
"prop_other_pay": {
"title": "Proposed other pay",
"type": [
"string"
]
},
"prop_fac_plan_pay": {
"title": "Proposed faculty plan pay",
"type": [
"string"
]
},
"prop_total_salary": {
"title": "Proposed total salary",
"type": [
"string"
]
},
"incntv_comp": {
"title": "Incentive compensation",
"type": [
"string"
]
},
"wd_comp_plan": {
"title": "Workday compensation plan",
"type": [
"string"
]
},
"wd_comp_plan_type": {
"title": "Workday compensation plan type",
"type": [
"string"
]
},
"wd_comp_freq": {
"title": "Workday compensation plan frequency",
"type": [
"string"
]
},
"wd_comp_amt": {
"title": "Workday compensation amount",
"type": [
"string"
]
},
"wd_currency": {
"title": "Workday compensation currency",
"enum": [
"",
"USD",
"Dollars (CA)"
]
},
"comp_package": {
"title": "Compensation package",
"type": [
"string"
]
}
}
},
"signatures": {
"title": "Signatures",
"type": [
"object"
],
"properties": {
"signature_date": {
"title": "Signature date",
"type": [
"string"
],
"format": "date"
}
}
}
},
"description": "Contract (draft) schema for USC faculty",
"links": [
{
"description": "Create a new contract.",
"href": "/contracts",
"method": "POST",
"rel": "create",
"schema": {
"properties": {},
"type": [
"object"
]
},
"title": "Create"
},
{
"description": "Delete an existing contract.",
"href": "/contracts/{(%23%2Fdefinitions%2Fcontract%2Fdefinitions%2Fidentity)}",
"method": "DELETE",
"rel": "destroy",
"title": "Delete"
},
{
"description": "Info for existing contract.",
"href": "/contracts/{(%23%2Fdefinitions%2Fcontract%2Fdefinitions%2Fidentity)}",
"method": "GET",
"rel": "self",
"title": "Info"
},
{
"description": "List existing contracts.",
"href": "/contracts",
"method": "GET",
"rel": "instances",
"title": "List"
},
{
"description": "Update an existing contract.",
"href": "/contracts/{(%23%2Fdefinitions%2Fcontract%2Fdefinitions%2Fidentity)}",
"method": "PATCH",
"rel": "update",
"schema": {
"properties": {},
"type": [
"object"
]
},
"title": "Update"
}
],
"required": [
"reported_at",
"key",
"authorized_by"
],
"properties": {
"reported_at": {
"$ref": "#/definitions/contract/definitions/reported_at"
},
"authorized_by": {
"$ref": "#/definitions/contract/definitions/authorized_by"
},
"key": {
"$ref": "#/definitions/contract/definitions/key"
},
"name": {
"$ref": "#/definitions/contract/definitions/name"
},
"contract_status": {
"$ref": "#/definitions/contract/definitions/contract_status"
},
"leaves": {
"$ref": "#/definitions/contract/definitions/leaves"
},
"suppl": {
"$ref": "#/definitions/contract/definitions/suppl"
},
"rank": {
"$ref": "#/definitions/contract/definitions/rank"
},
"status_history": {
"$ref": "#/definitions/contract/definitions/status_history"
},
"departments": {
"$ref": "#/definitions/contract/definitions/departments"
},
"activity_profile": {
"$ref": "#/definitions/contract/definitions/activity_profile"
},
"certification": {
"$ref": "#/definitions/contract/definitions/certification"
},
"misc_attr": {
"$ref": "#/definitions/contract/definitions/misc_attr"
},
"meta": {
"$ref": "#/definitions/contract/definitions/meta"
},
"tenure": {
"$ref": "#/definitions/contract/definitions/tenure"
},
"core": {
"$ref": "#/definitions/contract/definitions/core"
},
"core_modifiers": {
"$ref": "#/definitions/contract/definitions/core_modifiers"
},
"position": {
"$ref": "#/definitions/contract/definitions/position"
},
"title": {
"$ref": "#/definitions/contract/definitions/title"
},
"dates": {
"$ref": "#/definitions/contract/definitions/dates"
},
"courses": {
"$ref": "#/definitions/contract/definitions/courses"
},
"merit_rating": {
"$ref": "#/definitions/contract/definitions/merit_rating"
},
"fcpp_salary_components": {
"$ref": "#/definitions/contract/definitions/fcpp_salary_components"
},
"additional_paragraphs": {
"$ref": "#/definitions/contract/definitions/additional_paragraphs"
},
"exhibit_a_details": {
"$ref": "#/definitions/contract/definitions/exhibit_a_details"
},
"contract_changes": {
"$ref": "#/definitions/contract/definitions/contract_changes"
},
"compensation_components": {
"$ref": "#/definitions/contract/definitions/compensation_components"
},
"signatures": {
"$ref": "#/definitions/contract/definitions/signatures"
}
},
"type": [
"object"
]
},
"faculty": {
"$schema": "http://json-schema.org/draft-04/schema",
"title": "FIXME - Faculty",
"definitions": {
"id": {
"description": "unique identifier of faculty",
"example": "01234567-89ab-cdef-0123-456789abcdef",
"format": "uuid",
"type": [
"string"
]
},
"identity": {
"$ref": "#/definitions/faculty/definitions/id"
},
"created_at": {
"description": "when faculty was created",
"example": "2012-01-01T12:00:00Z",
"format": "date-time",
"type": [
"string"
]
},
"updated_at": {
"description": "when faculty was updated",
"example": "2012-01-01T12:00:00Z",
"format": "date-time",
"type": [
"string"
]
}
},
"description": "FIXME",
"links": [
{
"description": "Create a new faculty.",
"href": "/facultys",
"method": "POST",
"rel": "create",
"schema": {
"properties": {},
"type": [
"object"
]
},
"title": "Create"
},
{
"description": "Delete an existing faculty.",
"href": "/facultys/{(%23%2Fdefinitions%2Ffaculty%2Fdefinitions%2Fidentity)}",
"method": "DELETE",
"rel": "destroy",
"title": "Delete"
},
{
"description": "Info for existing faculty.",
"href": "/facultys/{(%23%2Fdefinitions%2Ffaculty%2Fdefinitions%2Fidentity)}",
"method": "GET",
"rel": "self",
"title": "Info"
},
{
"description": "List existing facultys.",
"href": "/facultys",
"method": "GET",
"rel": "instances",
"title": "List"
},
{
"description": "Update an existing faculty.",
"href": "/facultys/{(%23%2Fdefinitions%2Ffaculty%2Fdefinitions%2Fidentity)}",
"method": "PATCH",
"rel": "update",
"schema": {
"properties": {},
"type": [
"object"
]
},
"title": "Update"
}
],
"properties": {
"created_at": {
"$ref": "#/definitions/faculty/definitions/created_at"
},
"id": {
"$ref": "#/definitions/faculty/definitions/id"
},
"updated_at": {
"$ref": "#/definitions/faculty/definitions/updated_at"
}
},
"type": [
"object"
]
},
"hr_worker": {
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Workday Hr Worker profile etc",
"definitions": {
"id": {
"description": "unique identifier of hr_worker",
"example": "01234567-89ab-cdef-0123-456789abcdef",
"format": "uuid",
"type": [
"string"
]
},
"identity": {
"$ref": "#/definitions/hr_worker/definitions/id"
},
"created_at": {
"description": "when hr_worker was created",
"example": "2012-01-01T12:00:00Z",
"format": "date-time",
"type": [
"string"
]
},
"reported_at": {
"description": "when hr_worker change was completed on source system",
"example": "2012-01-01T12:00:00Z",
"format": "date-time",
"type": [
"string"
]
},
"key": {
"$ref": "#/definitions/hr_worker/definitions/employee_id"
},
"employee_id": {
"description": "usc employee id",
"title": "Employee Id",
"example": "1234567",
"type": [
"string"
]
},
"usc_id": {
"description": "10 digit Id for USC",
"title": "USC Id",
"example": "1234567890",
"type": [
"string"
]
},
"name_prefix": {
"description": "Name prefix",
"title": "Name prefix",
"example": "Mr.",
"type": [
"string"
]
},
"first_name": {
"description": "First name",
"title": "First name",
"example": "Tommy",
"type": [
"string"
]
},
"preferred_first_name": {
"description": "Preferred first name",
"title": "Preferred first name",
"example": "Tom",
"type": [
"string"
]
},
"middle_name": {
"description": "Middle name",
"title": "Middle name",
"example": "Gerard",
"type": [
"string"
]
},
"last_name": {
"description": "Last name",
"title": "Last name",
"example": "Trojano",
"type": [
"string"
]
},
"name_suffix": {
"description": "Name suffix",
"title": "Name suffix",
"example": "Sr.",
"type": [
"string"
]
},
"preferred_last_name": {
"description": "Last name",
"title": "Last name",
"example": "Trojanito Equis",
"type": [
"string"
]
},
"directory_name": {
"description": "Directory Name (Lname, Fname)",
"title": "Directory name",
"example": "Trojano, Tommy",
"type": [
"string"
]
},
"email_address": {
"description": "Email address",
"title": "Email",
"example": "[email protected]",
"type": [
"string"
]
},
"building_code": {
"description": "Building code",
"title": "Building Code",
"example": "DEN",
"type": [
"string"
]
},
"room_number": {
"description": "Room number",
"title": "Room number",
"example": "1234",
"type": [
"string"
]
},
"internal_usc_mail_code": {
"description": "Internal usc mail code",
"title": "Internal usc mail code",
"example": "0851",
"type": [
"string"
]
},
"contact_points": {
"type": [
"array"
],
"items": {
"title": "Contact point",
"type": [
"object"
],
"properties": {
"work_phone": {
"description": "Work phone",
"title": "Work phone",
"example": "333-333-4444",
"type": [
"string"
]
},
"work_fax_number": {
"description": "Work fax number",
"title": "Work fax number",
"example": "333-333-4444",
"type": [
"string"
]
},
"work_cell_phone": {
"description": "Work cell phone",
"title": "Work cell hone",
"example": "333-333-4444",
"type": [
"string"
]
},
"home_cell_phone": {
"description": "Home cell phone",
"title": "Home cell phone",
"example": "333-333-4444",
"type": [
"string"
]
}
}
}
},
"date_of_birth": {
"description": "Date of birth",
"title": "Date of birth",
"example": "2001-07-04",
"type": [
"string"
],
"format": "date"
},
"gender": {
"description": "Gender",
"title": "Gender",
"example": "M",
"enum": [
"M",
"F"
],
"options": {
"enum_title": [
"Male",
"Female"
]
}
},
"ethnicity": {
"description": "Ethnicity (optional)",
"title": "Ethnicity",
"example": "White/Caucasian (United States of America)",
"type": [
"string"
]
},
"us_citizen_y_n": {
"description": "United States citizen? Yes/No",
"title": "Us Citizen?",
"example": "Y",
"enum": [
"Y",
"N"
]
},
"home_street_address": {
"description": "Home street address",
"title": "Home street address",
"example": "505 Okay Street Apt 5",
"type": [
"string"
]
},
"home_city": {
"description": "Home city",
"title": "Home city",
"example": "505 Okay-dokay Street",
"type": [
"string"
]
},
"home_state": {
"description": "Home state",
"title": "Home state",
"example": "OK",
"type": [
"string"
]
},
"home_zip": {
"description": "Home zip code",
"title": "Home zip",
"example": 10005,
"type": [
"string"
]
},
"home_phone": {
"description": "Home phone",
"title": "Home phone",
"example": "333-333-4444",
"type": [
"string"
]
},
"spouse_name": {
"description": "Spouse name",
"title": "Spouse name",
"example": "Petunia Furth, Robert",
"type": [
"string"
]
},
"start_date_at_usc": {
"description": "Start date at USC (original)",
"title": "Start date at USC",
"example": "2001-01-02",
"type": [
"string"
],
"format": "date"
},
"its_email": {
"description": "Information Technology Services provided email",
"title": "ITS Email",
"example": "[email protected]",
"type": [
"string"
]
},
"business_title": {
"description": "Business title",
"title": "Business title",
"example": "Professor of Diamonds and Director of Rubies",
"type": [
"string"
]
},
"positions": {
"description": "Workday positions, should have only one active as Faculty",
"type": [
"array"
],
"items": {
"title": "Position",
"type": [
"object"
],
"properties": {
"workday_position_code": {
"description": "Position Code (identifier)",
"title": "Position code",
"example": "P12345678",
"type": [
"string"
]
},
"position_title": {
"description": "Position title",
"title": "Position title",
"example": "Associate professor",
"type": [
"string"
]
},
"job_code": {
"description": "Job code",
"title": "Job code",
"example": 26624,
"type": [
"string"
]
},
"job_description": {
"description": "Job description",
"title": "Job description",
"example": "A type of professor who teaches and researched",
"type": [
"string"
]
},
"job_group": {
"description": "Job group",
"title": "Job group",
"example": "C",
"type": [
"string"
]
},
"job_rank": {
"description": "Job rank",
"title": "Job rank",
"example": 3,
"type": [
"string"
]
},
"requisition_id": {
"description": "Requisition Id",
"title": "Requisition Id",
"example": "Req23334",
"type": [
"string"
]
},
"campus_code": {
"description": "Campus code",
"title": "Campus code",
"example": "HSC",
"type": [
"string"
]
},
"start_date": {
"description": "Start date",
"title": "Start date",
"example": "2000-01-07"
},
"end_date": {
"description": "End date",
"title": "End date",
"example": "2010-12-31",
"type": [
"string"
],
"format": "date"
},
"awp": {
"description": "Academic work period",
"title": "AWP",
"example": "10 Months ( June 1, 2014 - May 30, 2015)",
"type": [
"string"
]
},
"dpp": {
"description": "Distribution of pay period",
"title": "DPP",
"example": "12 months ( July 1, 2014 - June 30, 2015)",
"type": [
"string"
]
}
}
}
},
"supervisory_org_id": {
"description": "Supervisory org id",
"title": "Supervisory org id",
"example": "Oh3333",
"type": [
"string"
]
},
"supervisory_org_name": {
"description": "Supervisory org name",
"title": "Supervisory org name",
"example": "Biologogy_Name(dean Sopherus)",
"type": [
"string"
]
},
"region": {
"description": "Region",
"title": "Region",
"example": "Department of Biology in Dornsife",
"type": [
"string"
]
},
"photo": {
"description": "Photo location",
"title": "Photo",
"example": "http://url-to-photo/xyz",
"type": [
"string"
]
},
"status": {
"description": "Status",
"title": "Status",
"example": "A",
"type": [
"string"
]
},
"ssn": {
"description": "Social Security Number",
"title": "SSN",
"example": "555-22-4444",
"type": [
"string"
]
},
"adjusted_service_date": {
"description": "Adjust service date (flexed based on time as active service)",
"title": "Adjusted service date",
"example": "2000-01-01",
"type": [
"string"
]
},
"term_date": {
"description": "Date of termination",
"title": "Termination date",
"example": "2011-12-31",
"type": [
"string"
],
"format": "date"
},
"benefits": {
"description": "Benefits (eligible?) Not functioning field",
"title": "Benefits?",
"example": "Y",
"enum": [
"Y",
"N"
]
},
"pay_freq": {
"description": "Pay frequency",
"title": "Pay frequency",
"example": "Monthly",
"enum": [
"monthly",
"bi-weekly"
]
},
"latest_hire_date": {
"description": "Latest hire date",
"title": "Latest hire date",
"example": "2009-01-01",
"type": [
"string"
],
"format": "date"
},
"ethnicity_hispanic": {
"description": "Ethnicity hispanic? Y/N",
"title": "Ethnicity hispanic?",
"example": "Y",
"enum": [
"Y",
"N",
"Not answered"
]
},
"home_department_description": {
"description": "Home department description",
"title": "Home department description",
"example": "Dornsife biology",
"type": [
"string"
]
},
"supervisor_id": {
"description": "Supervisor Id",
"title": "Supervisor Id",
"example": "P1233399",
"type": [
"string"
]
}
},
"description": "A snapshot of the Worker information about faculty HR systems.",
"links": [
{
"description": "Create a new hr_worker.",
"href": "/hr_workers",
"method": "POST",
"rel": "create",
"schema": {
"properties": {},
"type": [
"object"
]
},
"title": "Create"
},
{
"description": "Delete an existing hr_worker.",
"href": "/hr_workers/{(%23%2Fdefinitions%2Fhr_worker%2Fdefinitions%2Fidentity)}",
"method": "DELETE",
"rel": "destroy",
"title": "Delete"
},
{
"description": "Info for existing hr_worker.",
"href": "/hr_workers/{(%23%2Fdefinitions%2Fhr_worker%2Fdefinitions%2Fidentity)}",
"method": "GET",
"rel": "self",
"title": "Info"
},
{
"description": "List existing hr_workers.",
"href": "/hr_workers",
"method": "GET",
"rel": "instances",
"title": "List"
}
],
"properties": {
"created_at": {
"$ref": "#/definitions/hr_worker/definitions/created_at"
},
"id": {
"$ref": "#/definitions/hr_worker/definitions/id"
},
"reported_at": {
"$ref": "#/definitions/hr_worker/definitions/reported_at"
},
"key": {
"$ref": "#/definitions/hr_worker/definitions/key"
},
"employee_id": {
"$ref": "#/definitions/hr_worker/definitions/employee_id"
}
},
"type": [
"object"
]
},
"object_code": {
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Object codes",
"definitions": {
"id": {
"description": "unique identifier of object_code",
"example": "01234567-89ab-cdef-0123-456789abcdef",
"format": "uuid",
"type": [
"string"
]
},
"identity": {
"$ref": "#/definitions/object_code/definitions/id"
},
"created_at": {
"description": "when object_code was created",
"example": "2012-01-01T12:00:00Z",
"format": "date-time",
"type": [
"string"
]
},
"updated_at": {
"description": "when object_code was updated",
"example": "2012-01-01T12:00:00Z",
"format": "date-time",
"type": [
"string"
]
},
"core_object_code": {
"type": [
"string"
],
"description": "use for core pay",
"default": 11200,
"enum": [
"11100",
"11108",
"11109",
"11200",
"11202",
"11205",
"11207",
"11208",
"11209",
"11235",
"11260",
"11261",
"11300",
"11320",
"11900",
"11905",
"12770",
"12771",
"12777"
],
"options": {
"enum_titles": [
"11100 SENR ADMIN",
"11108 AMI-USC SAL S/A BASE",
"11109 SAL S/A BASE",
"11200 FACULTY CORE (IBS)",
"11202 SAL FAC BAS",
"11205 SPECIAL FACULTY",
"11207 Clinical Fac Core PCPP only",
"11208 AMI USC FT JOINT FAC",
"11209 O/T FACULTY CORE IBS",
"11235 KSOM NTT Clin Fac Core PCPP",
"11260 PT NT FA/SPR",
"11261 PT NT TR-SUM",
"11300 LIBRARIANS",
"11320 LIBRARIAN STI",
"11900 KSOM TT CLINICAL FAC ACA CORE",
"11905 KSOM NTT CLIN FAC ACA CORE",
"12770 P/T HOURLY FACULTY",
"12771 P/T HOURLY FACULTY SUMMER USE",
"12777 NE FAC NON-DEGREE TCHING OVRLD"
]
}
},
"course_object_code": {
"title": "Course object code",
"enum": [
"11100",
"11200",
"11202",
"11205",
"11207",
"11235",
"11260",
"11261",
"11900",
"11905",
"12770",
"12771",
"12777",
"11320"
],
"options": {
"enum_titles": [
"11100 SENR ADMIN",
"11200 FACULTY CORE (IBS)",
"11202 SAL FAC BAS",
"11205 SPECIAL FACULTY",
"11207 Clinical Fac Core PCPP only",
"11235 KSOM NTT Clin Fac Core PCPP",
"11260 PT NT FA/SPR",
"11261 PT NT TR-SUM",
"11900 KSOM TT CLINICAL FAC ACA CORE",
"11905 KSOM NTT CLIN FAC CORE",
"12770 P/T HOURLY FACULY",
"12771 P/T HOURLY FACULTY SUMMER USE",
"12777 NE FAC NON-DEGREE TCHING OVRLD",
"11320 LIBRARIAN STI"
]
}
}
},
"description": "Object codes available for faculty related business",
"links": [
{
"description": "Create a new object_code.",
"href": "/object_codes",
"method": "POST",
"rel": "create",
"schema": {
"properties": {},
"type": [
"object"
]
},
"title": "Create"
},
{
"description": "Delete an existing object_code.",
"href": "/object_codes/{(%23%2Fdefinitions%2Fobject_code%2Fdefinitions%2Fidentity)}",
"method": "DELETE",
"rel": "destroy",
"title": "Delete"
},
{
"description": "Info for existing object_code.",
"href": "/object_codes/{(%23%2Fdefinitions%2Fobject_code%2Fdefinitions%2Fidentity)}",
"method": "GET",
"rel": "self",
"title": "Info"
},
{
"description": "List existing object_codes.",
"href": "/object_codes",
"method": "GET",
"rel": "instances",
"title": "List"
},
{
"description": "Update an existing object_code.",
"href": "/object_codes/{(%23%2Fdefinitions%2Fobject_code%2Fdefinitions%2Fidentity)}",
"method": "PATCH",
"rel": "update",
"schema": {
"properties": {},
"type": [
"object"
]
},
"title": "Update"
}
],
"properties": {
"created_at": {
"$ref": "#/definitions/object_code/definitions/created_at"
},
"id": {
"$ref": "#/definitions/object_code/definitions/id"
},
"updated_at": {
"$ref": "#/definitions/object_code/definitions/updated_at"
}
},
"type": [
"object"
]
}
},
"properties": {
"contract": {
"$ref": "#/definitions/contract"
},
"faculty": {
"$ref": "#/definitions/faculty"
},
"hr_worker": {
"$ref": "#/definitions/hr_worker"
},
"object_code": {
"$ref": "#/definitions/object_code"
}
},
"type": [
"object"
],
"description": "A simple API template provided by the Pliny project.",
"links": [
{
"href": "https://api.example.com",
"rel": "self"
}
],
"title": "Pliny Template API"
} | o7578 |
{
"$comment": "https://yamllint.readthedocs.io/en/stable/configuration.html",
"$ref": "#/definitions/ignore",
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"toggle": {
"type": "string",
"enum": ["enable", "disable"]
},
"ignore": {
"properties": {
"ignore": {
"title": "Ignore",
"description": "Ignore files, so that the linter doesn't process them.",
"type": "string"
}
}
},
"allRules": {
"$ref": "#/definitions/ignore",
"properties": {
"level": {
"title": "Level",
"type": "string",
"default": "warning"
}
}
}
},
"description": "yamllint uses a set of rules to check source files for problems.",
"id": "https://json.schemastore.org/yamllint.json",
"properties": {
"extends": {
"title": "Extends",
"type": "string"
},
"yaml-files": {
"title": "YAML Files",
"type": "array",
"items": {
"title": "YAML File",
"type": "string"
},
"default": ["*.yaml", "*.yml", ".yamllint"]
},
"locale": {
"title": "Locale",
"description": "This is passed to Python's locale.setlocale.",
"type": "string"
},
"rules": {
"properties": {
"braces": {
"title": "Braces",
"description": "Use this rule to control the use of flow mappings or number of spaces inside braces ({ and }).",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules",
"properties": {
"forbid": {
"title": "Forbid",
"description": "Used to forbid the use of flow mappings which are denoted by surrounding braces ({ and }).",
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"enum": ["non-empty"]
}
],
"default": false
},
"min-spaces-inside": {
"title": "Minimum Spaces Inside",
"description": "Defines the minimal number of spaces required inside braces.",
"type": "number",
"default": 0
},
"max-spaces-inside": {
"title": "Max Spaces Inside",
"description": "Defines the maximal number of spaces allowed inside braces.",
"type": "number",
"default": 0
},
"min-spaces-inside-empty": {
"title": "Minimum Spaces Inside Empty",
"description": "Defines the minimal number of spaces required inside empty braces.",
"type": "number",
"default": -1
},
"max-spaces-inside-empty": {
"title": "Max Spaces Inside Empty",
"description": "Defines the maximal number of spaces allowed inside empty braces.",
"type": "number",
"default": -1
}
}
}
],
"default": "enable"
},
"brackets": {
"title": "Brackets",
"description": "Use this rule to control the use of flow sequences or the number of spaces inside brackets ([ and ]).",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules",
"properties": {
"forbid": {
"title": "Forbid",
"description": "Used to forbid the use of flow sequences which are denoted by surrounding brackets ([ and ]).",
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"enum": ["non-empty"]
}
],
"default": false
},
"min-spaces-inside": {
"title": "Minimum Spaces Inside",
"description": "Defines the minimal number of spaces required inside brackets.",
"type": "number",
"default": 0
},
"max-spaces-inside": {
"title": "Max Spaces Inside",
"description": "Defines the maximal number of spaces allowed inside brackets.",
"type": "number",
"default": 0
},
"min-spaces-inside-empty": {
"title": "Minimum Spaces Inside Empty",
"description": "Defines the minimal number of spaces required inside empty brackets.",
"type": "number",
"default": -1
},
"max-spaces-inside-empty": {
"title": "Max Spaces Inside Empty",
"description": "Defines the maximal number of spaces allowed inside empty brackets.",
"type": "number",
"default": -1
}
}
}
],
"default": "enable"
},
"colons": {
"title": "Colons",
"description": "Use this rule to control the number of spaces before and after colons (:).",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules",
"properties": {
"max-spaces-before": {
"title": "Max Spaces Before",
"description": "Defines the maximal number of spaces allowed before colons (use -1 to disable).",
"type": "number",
"default": 0
},
"max-spaces-after": {
"title": "Max Spaces After",
"description": "Defines the maximal number of spaces allowed after colons (use -1 to disable).",
"type": "number",
"default": 1
}
}
}
],
"default": "enable"
},
"commas": {
"title": "Commas",
"description": "Use this rule to control the number of spaces before and after commas (,).",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules",
"properties": {
"max-spaces-before": {
"title": "Max Spaces Before",
"description": "Defines the maximal number of spaces allowed before commas (use -1 to disable).",
"type": "number",
"default": 0
},
"min-spaces-after": {
"title": "Minimum Spaces After",
"description": "Defines the minimal number of spaces required after commas.",
"type": "number",
"default": 1
},
"max-spaces-after": {
"title": "Max Spaces After",
"description": "Defines the maximal number of spaces allowed after commas (use -1 to disable).",
"type": "number",
"default": 1
}
}
}
],
"default": "enable"
},
"comments": {
"title": "Comments",
"description": "Use this rule to control the position and formatting of comments.",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules",
"properties": {
"require-starting-space": {
"title": "Require Starting Space",
"description": "Require a space character right after the #.",
"type": "boolean",
"default": true
},
"ignore-shebangs": {
"title": "Ignore Shebangs",
"description": "Ignore a shebang at the beginning of the file when require-starting-space is set.",
"type": "boolean",
"default": true
},
"min-spaces-from-content": {
"title": "Minimum Spaces from Content",
"description": "Used to visually separate inline comments from content.",
"type": "number",
"default": 2
}
}
}
],
"default": {
"level": "warning"
}
},
"comments-indentation": {
"title": "Comments Indentation",
"description": "Use this rule to force comments to be indented like content.",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules"
}
],
"default": {
"level": "warning"
}
},
"document-end": {
"title": "Document End",
"description": "Use this rule to require or forbid the use of document end marker (...).",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules",
"properties": {
"present": {
"title": "Present",
"description": "True when the document end marker is required, or to false when it is forbidden.",
"type": "boolean",
"default": true
}
}
}
],
"default": "disable"
},
"document-start": {
"title": "Document Start",
"description": "Use this rule to require or forbid the use of document start marker (---).",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules",
"properties": {
"present": {
"title": "Present",
"description": "True when the document start marker is required, or to false when it is forbidden.",
"type": "boolean",
"default": true
}
}
}
],
"default": {
"level": "warning"
}
},
"empty-lines": {
"title": "Empty Lines",
"description": "Use this rule to set a maximal number of allowed consecutive blank lines.",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules",
"properties": {
"max": {
"title": "Max",
"description": "Defines the maximal number of empty lines allowed in the document.",
"type": "number",
"default": 2
},
"max-start": {
"title": "Max Start",
"description": "Defines the maximal number of empty lines allowed at the beginning of the file.",
"type": "number",
"default": 0
},
"max-end": {
"title": "Max End",
"description": "",
"type": "number",
"default": 0
}
}
}
],
"default": "enable"
},
"empty-values": {
"title": "Empty Values",
"description": "Use this rule to prevent nodes with empty content, that implicitly result in null values.",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules",
"properties": {
"forbid-in-block-mappings": {
"title": "Forbid in Block Mappings",
"description": "Prevent empty values in block mappings.",
"type": "boolean",
"default": true
},
"forbid-in-flow-mappings": {
"title": "Forbid in Flow Mappings",
"description": "Prevent empty values in flow mappings.",
"type": "boolean",
"default": true
}
}
}
],
"default": "disable"
},
"hyphens": {
"title": "Hyphens",
"description": "Use this rule to control the number of spaces after hyphens (-).",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules",
"properties": {
"max-spaces-after": {
"title": "Max Spaces After",
"description": "Defines the maximal number of spaces allowed after hyphens.",
"type": "number",
"default": 1
}
}
}
],
"default": "enable"
},
"indentation": {
"title": "Indentation",
"description": "Use this rule to control the indentation.",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules",
"properties": {
"spaces": {
"title": "Spaces",
"description": "Defines the indentation width, in spaces.",
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"enum": ["consistent"]
}
],
"default": "consistent"
},
"indent-sequences": {
"title": "Indent Sequences",
"description": "Defines whether block sequences should be indented or not (when in a mapping, this indentation is not mandatory – some people perceive the - as part of the indentation).",
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"enum": ["whatever", "consistent"]
}
],
"default": true
},
"check-multi-line-strings": {
"title": "Check Multi Line Strings",
"description": "Defines whether to lint indentation in multi-line strings.",
"type": "boolean",
"default": false
}
}
}
],
"default": "enable"
},
"key-duplicates": {
"title": "Key Duplicates",
"description": "Use this rule to prevent multiple entries with the same key in mappings.",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules"
}
],
"default": "enable"
},
"key-ordering": {
"title": "Key Ordering",
"description": "Use this rule to enforce alphabetical ordering of keys in mappings.",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules"
}
],
"default": "disable"
},
"line-length": {
"title": "Line Length",
"description": "Use this rule to set a limit to lines length.",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules",
"properties": {
"max": {
"title": "Max",
"description": "Defines the maximal (inclusive) length of lines.",
"type": "number",
"default": 80
},
"allow-non-breakable-words": {
"title": "Allow Non-Breakable Words",
"description": "Used to allow non breakable words (without spaces inside) to overflow the limit.",
"type": "boolean",
"default": true
},
"allow-non-breakable-inline-mappings": {
"title": "Allow Non-Breakable Inline Mappings",
"description": "Implies allow-non-breakable-words and extends it to also allow non-breakable words in inline mappings.",
"type": "boolean",
"default": true
}
}
}
],
"default": "enable"
},
"new-line-at-end-of-file": {
"title": "New Line at End of File",
"description": "Use this rule to require a new line character (\n) at the end of files.",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules"
}
],
"default": "enable"
},
"new-lines": {
"title": "New Lines",
"description": "Use this rule to force the type of new line characters.",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules",
"properties": {
"type": {
"title": "Type",
"description": "Unix to use UNIX-typed new line characters (\n), or dos to use DOS-typed new line characters (\r\n).",
"type": "string",
"enum": ["unix", "dos", "platform"],
"default": "unix"
}
}
}
],
"default": "enable"
},
"octal-values": {
"title": "Octal Values",
"description": "Use this rule to prevent values with octal numbers.",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules",
"properties": {
"forbid-implicit-octal": {
"title": "Forbid Implicit Octal",
"description": "Prevent numbers starting with 0.",
"type": "boolean",
"default": true
},
"forbid-explicit-octal": {
"title": "Forbid Explicit Octal",
"description": "Prevent numbers starting with 0o.",
"type": "boolean",
"default": true
}
}
}
],
"default": "disable"
},
"quoted-strings": {
"title": "Quoted Strings",
"description": "Use this rule to forbid any string values that are not quoted, or to prevent quoted strings without needing it.",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules",
"properties": {
"quote-type": {
"title": "Quote Type",
"description": "Defines allowed quotes.",
"type": "string",
"enum": ["single", "double", "any"],
"default": "any"
},
"required": {
"title": "Required",
"description": "Defines whether using quotes in string values is required.",
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"enum": ["only-when-needed"]
}
],
"default": true
},
"extra-required": {
"title": "Extra Required",
"description": "List of PCRE regexes to force string values to be quoted, if they match any regex.",
"type": "array",
"items": {
"title": "Pattern",
"type": "string"
},
"default": []
},
"extra-allowed": {
"title": "Extra Allowed",
"description": "List of PCRE regexes to allow quoted string values, even if required: only-when-needed is set.",
"type": "array",
"items": {
"title": "Pattern",
"type": "string"
},
"default": []
}
}
}
],
"default": "disable"
},
"trailing-spaces": {
"title": "Tailing Spaces",
"description": "Use this rule to forbid trailing spaces at the end of lines.",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules"
}
],
"default": "enable"
},
"truthy": {
"title": "Truthy",
"description": "Use this rule to forbid non-explictly typed truthy values other than allowed ones (by default: true and false), for example YES or off.",
"anyOf": [
{
"$ref": "#/definitions/toggle"
},
{
"type": "boolean"
},
{
"type": "object",
"$ref": "#/definitions/allRules",
"properties": {
"allowed-values": {
"title": "Allowed Values",
"description": "Defines the list of truthy values which will be ignored during linting.",
"type": "array",
"items": {
"type": "string",
"enum": [
"TRUE",
"True",
"true",
"FALSE",
"False",
"false",
"YES",
"Yes",
"yes",
"NO",
"No",
"no",
"ON",
"On",
"on",
"OFF",
"Off",
"off"
]
},
"default": ["true", "false"]
},
"check-keys": {
"title": "Check Keys",
"description": "Disables verification for keys in mappings.",
"type": "boolean",
"default": true
}
}
}
],
"default": {
"level": "warning"
}
}
}
}
},
"title": "yamllint",
"type": "object"
}
| yamllint |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"email": {
"type": "string",
"format": "email",
"maxLength": 1024
},
"firstName": {
"type": "string",
"maxLength": 1024
},
"lastName": {
"type": "string",
"maxLength": 1024
},
"password": {
"type": "string",
"minLength": 8,
"maxLength": 2048
},
"tokenCutoff": {
"type": "string",
"format": "date-time"
},
"userTags": {
"type": "object",
"patternProperties": {
"^[0-9a-zA-Z_-]{1,255}$": {
"type": "string",
"minLength": 1,
"maxLength": 255
}
},
"additionalProperties": false
},
"experienceGroupIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"maxItems": 1000
}
},
"additionalProperties": false
} | o9888 |
{
"$id": "https://json.schemastore.org/anywork-ac-1.0.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": true,
"allOf": [
{
"if": {
"properties": {
"ctype": {
"const": "swagger-codegen"
}
}
},
"then": {
"required": ["swagger-codegen"],
"properties": {
"swagger-codegen": {
"title": "swagger codegen",
"type": "object",
"description": "swagger-codegen Configuration",
"additionalProperties": false,
"required": ["schemas"],
"properties": {
"schemas": {
"type": "array",
"description": "List of schemas (microservices) to generate it's libraries.",
"items": {
"title": "schema",
"type": "object",
"additionalProperties": false,
"required": ["name", "actions"],
"properties": {
"name": {
"type": "string",
"pattern": "[a-zA-Z]+",
"description": "Name of schema. This will be used to generate codes, only `[a-zA-Z]+` is accepted.",
"examples": ["authorization"]
},
"disable": {
"type": "boolean",
"default": true,
"description": "Disables all actions over this schema."
},
"actions": {
"type": "array",
"description": "Determines the actions should be applied over this schema.",
"uniqueItems": true,
"items": {
"anyOf": [
{
"title": "action",
"type": "object",
"additionalProperties": false,
"description": "Defines a download schema task.",
"required": ["type", "sourceUrl", "id"],
"properties": {
"type": {
"type": "string",
"const": "download",
"description": "Type of action to apply."
},
"sourceUrl": {
"type": "string",
"examples": [
"http://somewhere/path/to/swagger.json"
],
"pattern": "http[s]?:\\/\\/.*\\/swagger\\.json",
"description": "Source of `swagger.json` schema to download"
},
"id": {
"type": "number",
"description": "A unique specific ID of this download to be referenced (`DOWNLOAD_ID`).",
"default": 0
},
"disable": {
"$ref": "#/definitions/disable"
}
}
},
{
"title": "action",
"type": "object",
"additionalProperties": true,
"description": "Defines a TS code generator task.",
"required": [
"type",
"ngVersion",
"id",
"downloadId"
],
"properties": {
"type": {
"type": "string",
"const": "generate",
"description": "Type of action to apply."
},
"ngVersion": {
"$ref": "#/definitions/version",
"description": "Specifies Angular version which codes will be generated for.",
"default": "12.2.14"
},
"id": {
"type": "number",
"description": "A unique specific ID of this generation to be referenced (`GENERATE_ID`).",
"default": 0
},
"downloadId": {
"type": "number",
"description": "The `DOWNLOAD_ID` of downloaded schema to generate codes based on.",
"default": 0
},
"disable": {
"$ref": "#/definitions/disable"
}
}
},
{
"title": "action",
"type": "object",
"additionalProperties": false,
"description": "Defines a code correction task.",
"required": ["type", "generateId"],
"properties": {
"type": {
"type": "string",
"const": "correction",
"description": "Type of action to apply."
},
"generateId": {
"$ref": "#/definitions/generateId"
},
"disable": {
"$ref": "#/definitions/disable"
}
}
},
{
"title": "action",
"type": "object",
"additionalProperties": false,
"description": "Defines a TS code builder task.",
"required": [
"type",
"typescriptVersion",
"id",
"generateId"
],
"properties": {
"type": {
"type": "string",
"const": "build",
"description": "Type of action to apply."
},
"typescriptVersion": {
"$ref": "#/definitions/version",
"description": "Specifies TypeScript version to install before build.",
"default": "4.3.5"
},
"id": {
"type": "number",
"description": "A unique specific ID of this build to be referenced (`BUILD_ID`)."
},
"generateId": {
"$ref": "#/definitions/generateId"
},
"disable": {
"$ref": "#/definitions/disable"
}
}
},
{
"title": "action",
"type": "object",
"additionalProperties": false,
"description": "Defines a `npm publish` task.",
"required": ["type", "registryUrl", "token", "id"],
"properties": {
"type": {
"type": "string",
"const": "publish",
"description": "Type of action to apply."
},
"registryUrl": {
"type": "string",
"description": "The Url of registry accepting this respository.",
"pattern": "http[s]?://.*",
"default": "http://verdaccio.anywork.local:4873"
},
"token": {
"type": "string",
"description": "Token to use access registry.",
"default": "bzKaK7hK2OAoCK9d72S0UevXGZEjj8rZpv8AFoaZ+/w=",
"examples": [
"bzKaK7hK2OAoCK9d72S0UevXGZEjj8rZpv8AFoaZ+/w="
]
},
"buildId": {
"$ref": "#/definitions/buildId"
},
"id": {
"type": "number",
"description": "A unique specific ID of this publish to be referenced (`PUBLISH_ID`).",
"default": 0
},
"disable": {
"$ref": "#/definitions/disable"
}
}
},
{
"title": "action",
"type": "object",
"additionalProperties": false,
"description": "Defines a Api install task.",
"required": ["type", "targetPath", "publishId"],
"properties": {
"type": {
"type": "string",
"const": "install",
"description": "Type of action to apply."
},
"publishId": {
"type": "number",
"description": "The `PUBLISH_ID` to use for this task.",
"default": 0
},
"targetPath": {
"type": "string",
"description": "The relative or absolute physical path of directory containing `packages.json` to install specified"
},
"disable": {
"$ref": "#/definitions/disable"
}
}
}
]
}
}
}
}
}
}
}
}
}
}
],
"definitions": {
"version": {
"pattern": "^[\\^~]?(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$"
},
"buildId": {
"type": "number",
"description": "The `BUILD_ID` to use for this task.",
"default": 0
},
"generateId": {
"type": "number",
"description": "The `GENERATE_ID` to use for this task.",
"default": 0
},
"disable": {
"type": "boolean",
"description": "Determines if this task is disabled.",
"default": true
}
},
"description": "Used to configure any part of AnyWork automation.",
"properties": {
"ctype": {
"type": "string",
"description": "type of configuration, means who will use this configuration."
},
"cversion": {
"type": "integer",
"default": 1,
"description": "Version of configuration. The reader will parse configuration based on this."
}
},
"required": ["ctype", "cversion"],
"title": "AnyWork Automation Configuration schema",
"type": "object"
}
| anywork-ac-1 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"Address": {
"type": "object",
"additionalProperties": true,
"title": "Address schema.",
"description": "An explanation about the purpose of this instance described by this schema.",
"properties": {
"street": {
"type": "array",
"minItems": 0,
"additionalItems": true,
"title": "street schema.",
"description": "An explanation about the purpose of this instance described by this schema.",
"items": {
"type": "string"
}
},
"city": {
"type": [
"string",
"null"
],
"minLength": 1
},
"state": {
"type": [
"string",
"null"
],
"minLength": 1
},
"zip": {
"type": [
"string",
"null"
],
"minLength": 1
},
"country": {
"type": [
"string",
"null"
],
"minLength": 1
},
"use": {
"type": [
"string",
"null"
],
"minLength": 1
}
}
},
"Locatable": {
"type": "object",
"additionalProperties": true,
"title": "Locatable schema.",
"description": "An explanation about the purpose of this instance described by this schema.",
"allOf": [
{
"$ref": "#/definitions/Address"
}
]
}
},
"properties": {
"Address": {
"$ref": "#/definitions/Address"
},
"Locatable": {
"$ref": "#/definitions/Locatable"
}
},
"required": [
"Address",
"Locatable"
]
} | o68444 |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base of the shape",
"type": "number"
},
"height": {
"description": "The height of the shape",
"type": "number"
},
"length": {
"description": "The length of the shape",
"type": "number"
},
"width": {
"description": "The width of the shape",
"type": "number"
}
},
"type": "object"
},
"shape": {
"description": "The shape, e.g. rectangle, triangle",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_4e50f6e2 |
{
"title": "Formula Test Schema",
"description": "JSON Schema (v4) for testing purposes",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"string": {
"type": "string"
},
"string_required": {
"type": "string",
"description": "string input which is required"
},
"string_minlength_maxlength": {
"type": "string",
"description": "string input with minLength and maxLength properties set",
"minLength": 5,
"maxLength": 10
},
"string_textarea": {
"type": "string",
"description": "string input rendered as textarea due to form definition",
"default": "1917 \"Artik\" was buildt in Balsfjord for Hans Olsen, Meyer Olsen and Lorentrs Olsen. She was transferred to Th. \u00d8ien P/R Troms\u00f8.\n(Ref.: Magnus Sefland: Register of Norwegian Sealers / Norges Handelsfl\u00e5te 1923 / Byfogden i Troms\u00f8, Skipsregister)\n\n1919: \"Artik\" was sold to Hagbart Kr\u00e6mer, Kristian Olsen and Th. \u00d8yen. They owned 1/3 each. They owned \"Arktik\" till she was wrecked in 1928.\n(Ref.: Byfogden i Troms\u00f8, Skipsregister.)\n\n1920: Fishing register T 13 T.\n(Ref.: Norske skipsforlis i 1928.)\n\n1922: The owner of \"Arktik\": Hagbart Kr\u00e6mer, Kristian Olsen and Th. \u00d8ien. Capt. Kr. Olsen. The \"Artik\" was arrested by the Russian, but later retured to Troms\u00f8, loaded with pelts and blubber.\n(Ref.: Byfogden i Troms\u00f8, Skipsregister / Nils A. Yreberg: \"Troms\u00f8 Bys Historie III\"\n\n1928: 15 Norwegian sealers were lost whilst sealing in 1928. Thes were \"Artik\", \"Sleipner\", \"Johan\", \"Drivis\" and \"Heimen\" of Troms\u00f8, \"Aurora\" and \"Onward\" of Vard\u00f8, \"Brandalingen\", \"Rem\u00f8\", \"Polarhavet\" and \"Haugar\" of \u00c5lesund, \"Stors\u00e6len\" of Bod\u00f8, \"Tovik\" and \"Kvitbj\u00f8rn\" of Harstad and \"Tordenskjold\" of Balsfjord\". The previous year (1927) seven Norwegian sealers were lost whilst sealing.\n\"Artik\" was wrecked in the White Sea whilst sealing on 24th April 1928. The crew taken up by the \"Polartind\".\n(Ref.: Norske skipsforlis i 1928 / Norske skipsforlis i 1927 / Byfogden i Troms\u00f8, Skipsregister / Magnus Seflands Register of Norwegian sealers, Norsk Polarinstitutt).",
"condition": "string==='foo'"
},
"string_datetime": {
"type": "string",
"description": "string input with date-time format property set",
"format": "date-time"
},
"string_date": {
"type": "string",
"description": "string input with date format property set",
"format": "date"
},
"string_year": {
"type": "string",
"description": "string input with year format property set",
"format": "year"
},
"string_yearmonth": {
"type": "string",
"description": "string input with year-month format property set",
"format": "year-month"
},
"string_time": {
"type": "string",
"description": "string input with time format property set",
"format": "time"
},
"string_enum_default": {
"type": "string",
"description": "string input with enum and default properties set",
"enum": [
"foo",
"bar",
"baz",
"qux"
],
"default": "bar"
},
"string_color": {
"type": "string",
"description": "string input with color format property set",
"format": "color"
},
"integer_maximum": {
"type": "integer",
"description": "integer input with maximum property set",
"maximum": 10
},
"number_default": {
"type": [
"number",
"null"
],
"description": "number input with default property set",
"default": 123
},
"number_minimum_maximum": {
"type": "number",
"description": "number input with both minimum and maximum properties set",
"minimum": 0,
"maximum": 1
},
"boolean": {
"type": "boolean",
"description": "boolean input without additional properties"
},
"array_object": {
"type": "array",
"description": "array input with items type property set to object",
"items": {
"type": "object",
"properties": {
"string_default": {
"type": "string",
"description": "string input with default property set",
"default": "foobar"
},
"number": {
"type": "number",
"description": "required number input"
}
},
"required": [
"number"
]
},
"minItems": 1
},
"array_object2": {
"type": "array",
"description": "array input with items type property set to object",
"items": {
"type": "object",
"properties": {
"string_default": {
"type": "string",
"description": "string input with default property set",
"default": "foobar"
},
"number": {
"type": "number",
"description": "required number input"
}
},
"required": [
"number"
]
},
"minItems": 1
},
"array_string_enum": {
"type": "array",
"description": "array input with items type and enum properties set",
"items": {
"type": "string",
"enum": [
"foo",
"bar",
"baz",
"qux"
]
}
},
"array_string": {
"type": "array",
"description": "array input with items type property set to string",
"items": {
"type": "string",
"minLength": 5,
"description": "string with minLength 5"
}
},
"array_hierarchy": {
"type": "array",
"description": "first level array",
"items": {
"type": "object",
"properties": {
"sub_array_one": {
"type": "array",
"description": "second level array one",
"items": {
"type": "object",
"properties": {
"sub_sub_array_one": {
"type": "array",
"description": "third level array one",
"items": {
"type": "object",
"properties": {
"obj_1_1_1": {
"type": "string"
},
"obj_1_1_2": {
"type": "number"
}
}
}
}
}
}
}
}
}
},
"autocomplete": {
"type": "string"
},
"autocomplete2": {
"type": "string"
},
"autocomplete3": {
"type": "string"
},
"people": {
"description": "People involved in creating the dataset, roles from http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml with 'editor' (meaning metadata editor) added",
"type": "array",
"additionalItems": false,
"required": [
"first_name",
"last_name",
"roles",
"organisation"
],
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"first_name": {
"type": [
"string",
"null"
]
},
"last_name": {
"type": "string"
},
"roles": {
"type": "array",
"items": {
"type": "string",
"enum": [
"author",
"principalInvestigator",
"processor",
"pointOfContact",
"editor"
]
}
},
"email": {
"type": [
"string",
"null"
]
},
"homepage": {
"type": [
"string",
"null"
],
"pattern": "^http(s)?://"
},
"organisation": {
"type": [
"string",
"null"
]
}
}
}
},
"gcmd": {
"description": "GCMD DIF object, see http://gcmd.gsfc.nasa.gov/add/difguide/index.html",
"type": "object",
"properties": {
"locations": {
"description": "DIF element Location",
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"projects": {
"description": "DIF element Project",
"type": "array"
},
"resolutions": {
"description": "DIF element Data_Resolution",
"type": "array"
},
"disciplines": {
"description": "DIF element Discipline",
"type": "array"
},
"idn_nodes": {
"description": "DIF element IDN_Node",
"type": "array"
},
"paleo_temporal_coverage": {
"description": "DIF element Paleo_Temporal_Coverage",
"type": "array"
},
"instruments": {
"description": "DIF instruments (DIF element Sensor_Name)",
"type": "array"
},
"platforms": {
"description": "DIF platforms (DIF element Source_Name)",
"type": "array"
},
"references": {
"description": "DIF element Reference",
"type": "array"
},
"extended": {
"description": "DIF element Extended_Metadata)",
"type": "array"
},
"citation": {
"description": "DIF element Data_Set_Citation",
"type": "array"
},
"sciencekeywords": {
"description": "DIF element Parameters (aka. Science Keywords)",
"type": "array",
"additionalItems": false,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"Category": {
"type": "string"
},
"Topic": {
"type": "string"
},
"Term": {
"type": "string"
},
"Variable_Level_1": {
"type": "string"
},
"Variable_Level_2": {
"type": "string"
},
"Variable_Level_3": {
"type": "string"
},
"Detailed_Variable": {
"type": "string"
}
}
}
}
}
},
"placenames": {
"type": "array",
"additionalItems": false,
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"placename": {
"type": "string"
},
"area": {
"type": "string"
},
"country": {
"description": "Country code like ISO 3611-1, except 'NO' for Norway, including Svalbard and Jan Mayen, Bouvet\u00f8ya, and Peter I \u00d8y. 'AQ' = Antarctica.",
"type": [
"string",
"null"
],
"pattern": "^(([A-Z]|[a-z]){2})$"
}
}
}
},
"organisations": {
"description": "Organisations connected to the dataset",
"type": "array",
"additionalItems": false,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"gcmd_short_name": {
"type": [
"string",
"null"
]
},
"roles": {
"type": "array",
"items": {
"type": "string",
"enum": [
"author",
"originator",
"owner",
"pointOfContact",
"principalInvestigator",
"publisher",
"resourceProvider"
]
}
},
"email": {
"type": [
"string",
"null"
],
"additionalItems": false,
"format": "email"
},
"homepage": {
"type": [
"string",
"null"
],
"pattern": "^http(s)?://"
}
},
"required": [
"name",
"roles"
]
}
},
"links": {
"description": "Links to data, references, project, parent, doi, related, self, alternate, etc. See IANA's registry: http://www.iana.org/assignments/link-relations/link-relations.xhtml and the Atom Format RFC: http://tools.ietf.org/html/rfc4287 and ",
"type": "array",
"additionalItems": false,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"rel": {
"type": "string",
"enum": [
"related",
"service",
"metadata",
"project",
"publication",
"datacentre",
"parent",
"internal",
"doi",
"data",
"via",
"edit",
"alternate"
]
},
"href": {
"type": "string",
"format": "uri"
},
"title": {
"type": [
"string",
"null"
]
},
"hreflang": {
"type": [
"string",
"null"
]
},
"length": {
"type": [
"number",
"null"
]
},
"type": {
"type": "string"
},
"hash": {
"type": "array"
},
"etag": {
"type": "string"
},
"modified": {
"type": "string"
},
"acccessed": {
"type": "string"
}
},
"required": [
"href"
]
}
}
},
"required": [
"string_required"
]
} | o64538 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"experienceUserId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"creationDate": {
"type": "string",
"format": "date-time"
},
"lastUpdated": {
"type": "string",
"format": "date-time"
},
"passwordLastUpdated": {
"type": "string",
"format": "date-time"
},
"lastLogin": {
"type": "string",
"format": "date-time"
},
"email": {
"type": "string",
"format": "email",
"maxLength": 1024
},
"firstName": {
"type": "string",
"maxLength": 1024
},
"lastName": {
"type": "string",
"maxLength": 1024
},
"avatarUrl": {
"type": "string",
"format": "url"
},
"tokenCutoff": {
"type": "string",
"format": "date-time"
},
"userTags": {
"type": "object",
"patternProperties": {
"^[0-9a-zA-Z_-]{1,255}$": {
"type": "string",
"minLength": 1,
"maxLength": 255
}
},
"additionalProperties": false
},
"experienceGroups": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"id": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
}
}
}
}
}
} | o9887 |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base of triangle (applicable to triangle)",
"type": "number"
},
"height": {
"description": "The height of triangle (applicable to triangle)",
"type": "number"
},
"length": {
"description": "The length of rectangle (applicable to rectangle)",
"type": "number"
},
"side": {
"description": "The length of side (applicable to square)",
"type": "number"
},
"width": {
"description": "The width of rectangle (applicable to rectangle)",
"type": "number"
}
},
"required": [
"side",
"length",
"width",
"base",
"height"
],
"type": "object"
},
"shape": {
"description": "The shape to calculate area for",
"enum": [
"square",
"rectangle",
"triangle"
],
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_5b1ec40a |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Panda-Hook Destroy",
"description": "This is the configuation object panda-hook needs to delete a repo from the hook-server",
"type": "object",
"properties": {
"cluster_address": {
"description": "The hostname of the cluster. Must specify user and port if not 22. <user>@<host_address>:<port>",
"type": "string"
},
"repo_name": {
"description": "The name of the repository to be manipulated on the hook server.",
"type": "string"
},
"hook_address": {
"description": "The hostname of the hook-server. Must specify user and port if not 22. <user>@<host_address>:<port>",
"type": "string"
},
"hook_source": {
"description": "The path of the githook template.",
"type": "string"
},
"hook_name": {
"description": "The name of the githook to be manipulated.",
"type": "string",
"enum": [
"applypatch-msg",
"pre-applypatch",
"post-applypatch",
"pre-commit",
"prepare-commit-msg",
"commit-msg",
"commit-msg",
"post-commit",
"pre-rebase",
"post-checkout",
"post-merge",
"pre-push",
"pre-receive",
"update",
"post-receive",
"post-update",
"pre-auto-gc",
"post-rewrite"
]
},
"launch_path": {
"description": "Relatvive path to target directory to scan for service names",
"type": "string"
}
},
"additionalProperties": false,
"required": [
"cluster_address",
"repo_name",
"hook_address"
]
} | o66201 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Allowances",
"description": "Allowances",
"type": "object",
"properties": {
"annualInvestmentAllowance": {
"title": "Annual investment allowance",
"description": "Annual investment allowance on items that qualify up to the AIA amount. The value must be between 0 and 99999999999.99.",
"type": "number",
"multipleOf": 0.01,
"example": "500.25"
},
"businessPremisesRenovationAllowance": {
"title": "Business Premises Renovation Allowance",
"description": "Business Premises Renovation Allowance if converting or renovating unused qualifying business premises. The value must be between 0 and 99999999999.99.",
"type": "number",
"multipleOf": 0.01,
"example": "500.25"
},
"capitalAllowanceMainPool": {
"title": "Capital allowance main pool",
"description": "Capital allowances at 18% on equipment, including cars with lower CO2 emissions. The value must be between 0 and 99999999999.99.",
"type": "number",
"multipleOf": 0.01,
"example": "500.25"
},
"zeroEmissionGoodsVehicleAllowance": {
"title": "Zero emission goods vehicle allowance",
"description": "Zero emission goods vehicle allowance for goods vehicles purchased for business use. The value must be between 0 and 99999999999.99.",
"type": "number",
"multipleOf": 0.01,
"example": "500.25"
},
"capitalAllowanceSpecialRatePool": {
"title": "Capital allowance special rate pool",
"description": "Capital allowances at 8% on equipment, including cars with higher CO2 emissions. The value must be between 0 and 99999999999.99.",
"type": "number",
"multipleOf": 0.01,
"example": "500.25"
},
"enhancedCapitalAllowance": {
"title": "Enhanced capital allowance",
"description": "100% and other enhanced capital allowances. The value must be between 0 and 99999999999.99.",
"type": "number",
"multipleOf": 0.01,
"example": "500.25"
},
"allowanceOnSales": {
"title": "Allowances on sales",
"description": "Allowances on sale or cessation of business use (where you have disposed of assets for less than their tax value). The value must be between 0 and 99999999999.99.",
"type": "number",
"multipleOf": 0.01,
"example": "500.25"
},
"capitalAllowanceSingleAssetPool": {
"title": "Capital Allowances for single asset pool costs ",
"description": "Capital Allowances for single asset pool costs. The value must be between 0 and 99999999999.99.",
"type": "number",
"multipleOf": 0.01,
"example": "500.25"
},
"tradingAllowance": {
"title": "Trading Allowance",
"description": "A tax exemption of a limited amount for individuals with trading income. The value must be between 0 and 99999999999.99.",
"type": "number",
"multipleOf": 0.01,
"example": "500.25"
}
},
"additionalProperties": false
} | o46412 |
{
"description": "A MWF hyperlink component's schema definition.",
"properties": {
"href": {
"type": "string"
},
"label": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"text",
"href"
],
"title": "Hyperlink",
"type": "object"
} | o85193 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"id": "https://json.schemastore.org/pattern.json",
"properties": {
"id": {
"description": "Unique id of this pattern",
"type": "string",
"minLength": 1
},
"name": {
"description": "Machine readable name of the pattern",
"type": "string",
"minLength": 1,
"pattern": "^[a-z]+(?:-[a-z]+)*$"
},
"displayName": {
"description": "Human readable name of the pattern",
"type": "string",
"minLength": 1
},
"version": {
"description": "Semantic version of the pattern",
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+(-[a-z]*){0,1}$"
},
"versions": {
"description": "Available semantic versions of the pattern",
"type": "array",
"minItems": 1,
"items": {
"description": "Semantic version of the pattern",
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+(-[a-z]*){0,1}$"
}
},
"flag": {
"description": "Stability flag of the pattern",
"type": "string",
"pattern": "^alpha|beta|rc|stable$"
},
"tags": {
"description": "Array of tags describing the pattern",
"type": "array",
"minItems": 1,
"items": {
"description": "Tag describing the pattern",
"type": "string",
"minLength": 1
},
"uniqueItems": true
},
"data": {
"description": "Custom data object supplied by user",
"type": "object",
"minProperties": 1
},
"meta": {
"description": "Custom meta data object supplied by user",
"type": "object",
"minProperties": 1
},
"options": {
"description": "Custom options object supplied by user",
"type": "object",
"minProperties": 1
},
"patterns": {
"description": "Dependencies of the pattern",
"type": "object",
"minProperties": 1,
"patternProperties": {
"^.+$": {
"type": "string",
"pattern": "^(/)?([^/\u0000]+(/)?)+$"
}
}
},
"demoPatterns": {
"description": "Dependencies of the pattern used for demo purposes",
"minProperties": 1,
"patternProperties": {
"^.+$": {
"type": "string",
"pattern": "^(/)?([^/\u0000]+(/)?)+$"
}
}
},
"overrides": {
"description": "Options for overriding of core pattern behaviour",
"type": "object",
"minProperties": 1,
"properties": {
"files": {
"description": "Custom mapping between patternplate files and paths to use in exchange for this pattern",
"type": "object",
"minProperties": 1,
"patternProperties": {
"^.+$": {
"type": "string",
"pattern": "^(/)?([^/\u0000]+(/)?)+$"
}
}
},
"demo": {
"description": "Custom url to use as demo for this pattern",
"type": "string"
}
}
},
"_patternplate": {
"description": "Technical values saved by patternplate core",
"type": "object"
}
},
"required": ["name", "version"],
"title": "pattern manifest",
"type": "object"
}
| pattern |
{
"properties": {
"client_name": {
"description": "The name of the client",
"type": "string"
},
"items": {
"items": {
"properties": {
"description": {
"description": "The description of the item",
"type": "string"
},
"quantity": {
"description": "The quantity of the item",
"type": "integer"
},
"unit_price": {
"description": "The unit price of the item",
"type": "number"
}
},
"required": [
"description",
"quantity",
"unit_price"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"client_name",
"items"
],
"type": "object"
} | generate_invoice_a733c17e |
{
"description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.",
"properties": {
"architecture": {
"description": "The Architecture reported by the node",
"type": [
"string",
"null"
]
},
"bootID": {
"description": "Boot ID reported by the node.",
"type": [
"string",
"null"
]
},
"containerRuntimeVersion": {
"description": "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).",
"type": [
"string",
"null"
]
},
"kernelVersion": {
"description": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).",
"type": [
"string",
"null"
]
},
"kubeProxyVersion": {
"description": "KubeProxy Version reported by the node.",
"type": [
"string",
"null"
]
},
"kubeletVersion": {
"description": "Kubelet Version reported by the node.",
"type": [
"string",
"null"
]
},
"machineID": {
"description": "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html",
"type": [
"string",
"null"
]
},
"operatingSystem": {
"description": "The Operating System reported by the node",
"type": [
"string",
"null"
]
},
"osImage": {
"description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).",
"type": [
"string",
"null"
]
},
"systemUUID": {
"description": "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid",
"type": [
"string",
"null"
]
}
},
"required": [
"machineID",
"systemUUID",
"bootID",
"kernelVersion",
"osImage",
"containerRuntimeVersion",
"kubeletVersion",
"kubeProxyVersion",
"operatingSystem",
"architecture"
],
"type": "object"
} | kb_632_Normalized |
{
"additionalProperties": false,
"anyOf": [
{
"required": [
"text"
]
},
{
"required": [
"attachments"
]
}
],
"description": "Schema for a Slack send message command",
"properties": {
"attachments": {
"items": {
"additionalProperties": false,
"properties": {
"author_icon": {
"type": "string"
},
"author_link": {
"type": "string"
},
"author_name": {
"type": "string"
},
"color": {
"type": "string"
},
"fallback": {
"type": "string"
},
"fields": {
"items": {
"additionalProperties": false,
"properties": {
"short": {
"type": "boolean"
},
"title": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"title",
"value"
],
"type": "object"
},
"type": "array"
},
"footer": {
"type": "string"
},
"footer_icon": {
"type": "string"
},
"image_url": {
"type": "string"
},
"pretext": {
"type": "string"
},
"text": {
"type": "string"
},
"thumb_url": {
"type": "string"
},
"title": {
"type": "string"
},
"title_link": {
"type": "string"
},
"ts": {
"type": "integer"
}
},
"required": [
"fallback"
],
"type": "object"
},
"type": "array"
},
"channel": {
"type": "string"
},
"icon_emoji": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"link_names": {
"type": "boolean"
},
"mrkdwn": {
"type": "boolean"
},
"text": {
"type": "string"
},
"unfurl_links": {
"type": "boolean"
},
"unfurl_media": {
"type": "boolean"
},
"username": {
"type": "string"
}
},
"self": {
"format": "jsonschema",
"name": "send_message",
"vendor": "com.slack.sauna.commands",
"version": "1-0-0"
},
"type": "object"
} | sp_201_Normalized |
{
"$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"
} | wp_44_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GetTokensResponse",
"type": "object",
"additionalProperties": false,
"properties": {
"tokens": {
"type": "array",
"items": {
"$ref": "#/definitions/TokenEntryModel"
}
}
},
"definitions": {
"TokenEntryModel": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"expiresAt": {
"type": "string",
"format": "date-time"
}
}
}
},
"javaName": "GetTokensResponse"
} | o39437 |
{
"properties": {
"education": {
"description": "The list of educational qualifications",
"items": {
"type": "string"
},
"type": "array"
},
"email": {
"description": "The email address of the user",
"format": "email",
"type": "string"
},
"experience": {
"description": "The list of work experiences",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the user",
"type": "string"
}
},
"required": [
"name",
"email",
"experience",
"education"
],
"type": "object"
} | generate_resume_a247b1e2 |
{
"properties": {
"attendees": {
"description": "The attendees of the meeting",
"items": {
"type": "string"
},
"type": "array"
},
"end_time": {
"description": "The end time of the meeting in yyyy-mm-ddThh:mm:ss format",
"format": "date-time",
"type": "string"
},
"meeting_title": {
"description": "The title of the meeting",
"type": "string"
},
"start_time": {
"description": "The start time of the meeting in yyyy-mm-ddThh:mm:ss format",
"format": "date-time",
"type": "string"
}
},
"required": [
"meeting_title",
"start_time",
"end_time",
"attendees"
],
"type": "object"
} | schedule_meeting_e32d16f4 |
{
"title": "Codemagic CI/CD configuration file - docs.codemagic.io",
"type": "object",
"properties": {
"workflows": {
"title": "Workflows for building a project",
"description": "You can use codemagic.yaml to define several workflows for building a project. Each workflow describes the entire build pipeline from triggers to publishing. For example, you may want to have separate workflows for developing, testing and publishing the app.",
"errorMessage": "Incorrect type. Expected a dictionary",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/Workflow"
}
}
},
"required": [
"workflows"
],
"definitions": {
"InstanceType": {
"title": "InstanceType",
"description": "Build machine type to use for the build.",
"enum": [
"mac_mini",
"mac_mini_m1",
"mac_mini_m2",
"mac_pro",
"linux",
"linux_x2",
"windows_x2"
],
"type": "string"
},
"DistributionType": {
"title": "DistributionType",
"description": "An enumeration.",
"enum": [
"ad_hoc",
"app_store",
"development",
"enterprise"
],
"type": "string"
},
"ProfileWithVariable": {
"title": "ProfileWithVariable",
"type": "object",
"properties": {
"profile": {
"title": "Profile reference",
"description": "Profile reference found in Team settings -> Code signing identities",
"minLength": 1,
"type": "string"
},
"environment_variable": {
"title": "Environment variable",
"description": "Name of the variable containing the profile path",
"minLength": 1,
"type": "string"
}
},
"required": [
"profile"
],
"additionalProperties": false
},
"CertificateWithVariable": {
"title": "CertificateWithVariable",
"type": "object",
"properties": {
"certificate": {
"title": "Certificate reference",
"description": "Certificate reference found in Team settings -> Code signing identities",
"minLength": 1,
"type": "string"
},
"environment_variable": {
"title": "Environment variable",
"description": "Name of the variable containing the certificate path",
"minLength": 1,
"type": "string"
}
},
"required": [
"certificate"
],
"additionalProperties": false
},
"IosSigning": {
"title": "IosSigning",
"type": "object",
"properties": {
"distribution_type": {
"title": "Distribution type",
"description": "Type of certificates and profiles to fetch from Code signing identities",
"errorMessage": "Incorrect distribution type. Expected one of ad_hoc, app_store, development, enterprise",
"allOf": [
{
"$ref": "#/definitions/DistributionType"
}
]
},
"bundle_identifier": {
"title": "Bundle identifier",
"description": "Bundle identifier of certificates and profiles to fetch from Code signing identities",
"minLength": 1,
"type": "string"
},
"provisioning_profiles": {
"title": "Provisioning profiles",
"description": "Provisioning profiles to fetch from Code signing identities",
"errorMessage": "Incorrect type. Expected list of strings or dictionaries",
"minItems": 1,
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"$ref": "#/definitions/ProfileWithVariable"
}
]
}
},
"certificates": {
"title": "Certificates",
"description": "Certificates to fetch from Code signing identities",
"errorMessage": "Incorrect type. Expected list of strings or dictionaries",
"minItems": 1,
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"$ref": "#/definitions/CertificateWithVariable"
}
]
}
}
},
"additionalProperties": false
},
"KeystoreWithVariables": {
"title": "KeystoreWithVariables",
"type": "object",
"properties": {
"keystore": {
"title": "Keystore reference",
"description": "Keystore reference found in Team settings -> Code signing identities",
"minLength": 1,
"type": "string"
},
"keystore_environment_variable": {
"title": "Keystore environment variable",
"description": "Name of the variable containing the keystore path",
"minLength": 1,
"type": "string"
},
"keystore_password_environment_variable": {
"title": "Keystore password environment variable",
"description": "Name of the variable containing the keystore password",
"minLength": 1,
"type": "string"
},
"key_alias_environment_variable": {
"title": "Key alias environment variable",
"description": "Name of the variable containing the key alias",
"minLength": 1,
"type": "string"
},
"key_password_environment_variable": {
"title": "Key password environment variable",
"description": "Name of the variable containing the key password",
"minLength": 1,
"type": "string"
}
},
"required": [
"keystore"
],
"additionalProperties": false
},
"FlutterWithFlavor": {
"title": "FlutterWithFlavor",
"type": "object",
"properties": {
"version": {
"title": "Flutter version",
"description": "Define the channel name, version (e.g. v1.13.4) or 'fvm' if using Flutter Version Management.",
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer"
},
{
"type": "number"
}
]
},
"flavor": {
"title": "Flutter flavor",
"description": "The name of the flavor to use when using FVM.",
"minLength": 1,
"type": "string"
}
},
"required": [
"version"
],
"additionalProperties": false
},
"Environment": {
"title": "Environment",
"type": "object",
"properties": {
"vars": {
"title": "Environment variables",
"description": "Define your environment variables.",
"errorMessage": "Incorrect type. Expected a dictionary with integer, float, boolean or nonempty string as values",
"type": "object",
"patternProperties": {
"[0-9a-zA-Z_]+": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
}
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
}
},
"groups": {
"title": "Environment variable groups",
"description": "Define environment variable group names that have been configured in app or team settings.",
"errorMessage": "Incorrect type. Expected a list of nonempty strings",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"ios_signing": {
"title": "iOS code signing identities",
"description": "iOS code signing identities configured under Team settings",
"errorMessage": "Incorrect type. Expected a dictionary",
"allOf": [
{
"$ref": "#/definitions/IosSigning"
}
]
},
"android_signing": {
"title": "Android code signing identities",
"description": "Android code signing identities configured under Team settings",
"errorMessage": "Incorrect type. Expected a list",
"minItems": 1,
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/definitions/KeystoreWithVariables"
},
{
"type": "string",
"minLength": 1
}
]
}
},
"xcode": {
"title": "Xcode version",
"description": "Define latest, edge or version (e.g. 11.2).",
"default": "latest",
"errorMessage": "Incorrect type. Expected an integer, float or nonempty string",
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer"
},
{
"type": "number"
}
]
},
"cocoapods": {
"title": "CocoaPods version",
"description": "Define default or version (e.g. 1.9.1).",
"default": "default",
"errorMessage": "Incorrect type. Expected an integer, float or nonempty string",
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer"
},
{
"type": "number"
}
]
},
"node": {
"title": "Node version",
"description": "Define default, latest, current, lts, carbon (or another stream), nightly or version (e.g. 12.4.0).",
"errorMessage": "Incorrect type. Expected an integer, float or nonempty string",
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer"
},
{
"type": "number"
}
]
},
"npm": {
"title": "Npm version",
"description": "Define default, latest, next, lts or version (e.g. 6.13.7).",
"errorMessage": "Incorrect type. Expected an integer, float or nonempty string",
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer"
},
{
"type": "number"
}
]
},
"ndk": {
"title": "Ndk revision",
"description": "Define default or revision (e.g. r19c).",
"errorMessage": "Incorrect type. Expected an integer, float or nonempty string",
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer"
},
{
"type": "number"
}
]
},
"java": {
"title": "Java platform version",
"description": "Define default, or platform version (e.g. 11).",
"errorMessage": "Incorrect type. Expected an integer, float or nonempty string",
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer"
},
{
"type": "number"
}
]
},
"ruby": {
"title": "Ruby platform version",
"description": "Define default, or platform version (e.g. 2.5.1).",
"errorMessage": "Incorrect type. Expected an integer, float or nonempty string",
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer"
},
{
"type": "number"
}
]
},
"flutter": {
"title": "Flutter version",
"description": "Define the channel name, version (e.g. v1.13.4) or 'fvm' if using Flutter Version Management.",
"errorMessage": "Incorrect type. Expected an integer, float, nonempty string or dictionary",
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer"
},
{
"type": "number"
},
{
"$ref": "#/definitions/FlutterWithFlavor"
}
]
},
"unity": {
"title": "Unity version",
"description": "Define exact version (e.g. 2020.3.15f2).",
"errorMessage": "Incorrect type. Expected a nonempty string",
"minLength": 1,
"type": "string"
}
},
"additionalProperties": false
},
"Integrations": {
"title": "Integrations",
"type": "object",
"properties": {
"app_store_connect": {
"title": "Use info from Apple Developer Portal integration",
"description": "Specify the name of the App Store Connect API key to be used from team or personal integrations to authenticate actions for code signing and publishing.",
"minLength": 1,
"type": "string"
}
},
"additionalProperties": false
},
"Cache": {
"title": "Cache",
"type": "object",
"properties": {
"cache_paths": {
"title": "Paths to be cached",
"description": "For example, you may consider caching the following paths: \"$FLUTTER_ROOT/.pub-cache\" for Dart cache, \"$HOME/.gradle/caches\" for gradle cache, \"$HOME/Library/Caches/CocoaPods\" for CocoaPods cache.",
"errorMessage": "Incorrect type. Expected a list of nonempty strings",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"TriggeringEvent": {
"title": "TriggeringEvent",
"description": "Currently supported events are push, pull_request.",
"enum": [
"push",
"pull_request",
"tag"
],
"type": "string"
},
"BranchPattern": {
"title": "BranchPattern",
"type": "object",
"properties": {
"pattern": {
"title": "Exact value or glob pattern to search for a branch",
"description": "The pattern can also be passed with an environment variable.",
"default": "*",
"errorMessage": "Incorrect type. Expected an integer, float, boolean or nonempty string",
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
},
"include": {
"title": "Include the pattern",
"description": "If set to false, the matching branches will not be watched for triggering events.",
"default": true,
"type": "boolean"
},
"source": {
"title": "Specify whether the watched branch is the source or the target of the pull request",
"description": "The variable is ignored for events other than pull_request.",
"default": true,
"type": "boolean"
}
},
"additionalProperties": false
},
"TagPattern": {
"title": "TagPattern",
"type": "object",
"properties": {
"pattern": {
"title": "Exact value or glob pattern to search for a tag",
"description": "The pattern can also be passed with an environment variable.",
"default": "*",
"errorMessage": "Incorrect type. Expected an integer, float, boolean or nonempty string",
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
},
"include": {
"title": "Include the pattern",
"description": "If set to false, the matching tags will not be watched for triggering events.",
"default": true,
"type": "boolean"
}
},
"additionalProperties": false
},
"Triggering": {
"title": "Triggering",
"type": "object",
"properties": {
"events": {
"title": "List the events that trigger builds",
"description": "Currently supported events are push, pull_request, tag.",
"type": "array",
"items": {
"$ref": "#/definitions/TriggeringEvent"
}
},
"branch_patterns": {
"title": "Branch patterns",
"description": "A branch pattern can match the name of a particular branch, or you can use wildcard symbols to create a pattern that matches several branches. Note that for pull request builds you have to specify whether the watched branch is the source or the target of the pull request.",
"errorMessage": "Incorrect type. Expected a not empty list of dictionaries",
"minItems": 1,
"type": "array",
"items": {
"$ref": "#/definitions/BranchPattern"
}
},
"tag_patterns": {
"title": "Tag patterns",
"description": "A tag pattern can match the name of a particular tag, or you can use wildcard symbols to create a pattern that matches several tags.",
"errorMessage": "Incorrect type. Expected a not empty list of dictionaries",
"minItems": 1,
"type": "array",
"items": {
"$ref": "#/definitions/TagPattern"
}
},
"cancel_previous_builds": {
"title": "Cancel previous builds",
"description": "To avoid running builds on outdated commits, set cancel_previous_builds to true to automatically cancel all ongoing and queued builds triggered by webhooks on push or pull request commit when a more recent build has been triggered for the same branch.",
"default": false,
"type": "boolean"
}
},
"additionalProperties": false
},
"Changeset": {
"title": "Changeset",
"type": "object",
"properties": {
"includes": {
"title": "Include paths to watch",
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
}
},
"excludes": {
"title": "Exclude paths from watched",
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
}
}
},
"additionalProperties": false
},
"When": {
"title": "When",
"type": "object",
"properties": {
"changeset": {
"title": "Watched paths or path patterns",
"description": "List of paths or path patterns to watch for changes, proceed if changes are detected.",
"allOf": [
{
"$ref": "#/definitions/Changeset"
}
]
},
"condition": {
"title": "Condition",
"description": "Check if condition evaluates to true before proceeding with building workflow or script.",
"type": "string"
}
},
"additionalProperties": false
},
"ScriptOnFailure": {
"title": "ScriptOnFailure",
"description": "The only supported action is to proceed directly to publishing.",
"enum": [
"publish"
],
"type": "string"
},
"NamedScript": {
"title": "NamedScript",
"type": "object",
"properties": {
"script": {
"title": "Script to be executed",
"description": "By default the script will be run in the Bash shell. You can run the script in other languages by defining a shebang line in the beginning.",
"minLength": 1,
"type": "string"
},
"name": {
"title": "Script name",
"description": "A descriptive script name can be provided to be shown in the UI. If not passed, the first line of your script will be shown in the UI for the script block.",
"errorMessage": "Incorrect type. Expected an integer, float, boolean or nonempty string",
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
},
"test_report": {
"title": "Exact name or glob pattern matching the test result file location",
"description": "You can display test results visually in the build overview. The value can be an absolute path, or a path relative to $CM_BUILD_DIR (in this case the patterns will be searched recursively). Supported test report formats are Junit XML and .JSON for Flutter's --machine report.",
"minLength": 1,
"type": "string"
},
"ignore_failure": {
"title": "Ignore script failure",
"description": "If set to true, the workflow will continue to run even if the script fails.",
"default": false,
"type": "boolean"
},
"on_failure": {
"title": "The action to take on script failure",
"description": "The only supported action is to proceed directly to publishing.",
"allOf": [
{
"$ref": "#/definitions/ScriptOnFailure"
}
]
},
"when": {
"title": "Conditions for script to continue",
"description": "All conditions below should be met in order for script to continue.",
"errorMessage": "Incorrect type. Expected a dictionary",
"allOf": [
{
"$ref": "#/definitions/When"
}
]
},
"working_directory": {
"title": "Script working directory",
"description": "Specify directory where this script will be executed. It overrides global workflow working directory.",
"type": "string"
}
},
"required": [
"script"
],
"additionalProperties": false
},
"PublisherNotification": {
"title": "PublisherNotification",
"type": "object",
"properties": {
"success": {
"title": "Publish on success",
"description": "Set to false to not receive a notification when a build succeeds.",
"default": true,
"type": "boolean"
},
"failure": {
"title": "Publish on failure",
"description": "Set to false to not receive a notification when a build fails.",
"default": true,
"type": "boolean"
}
},
"additionalProperties": false
},
"Email": {
"title": "Email",
"type": "object",
"properties": {
"recipients": {
"title": "List the email addresses to notify about build results",
"description": "Provide valid email addresses here.",
"minItems": 1,
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "email"
},
{
"type": "string",
"minLength": 1,
"pattern": "^\\$\\{?([^:}]+).*\\}?$"
}
]
}
},
"notify": {
"title": "Email notification settings",
"description": "Allows to turn on or turn off email notification on build success or failure.",
"errorMessage": "Incorrect type. Expected a dictionary",
"allOf": [
{
"$ref": "#/definitions/PublisherNotification"
}
]
}
},
"required": [
"recipients"
],
"additionalProperties": false
},
"Slack": {
"title": "Slack",
"type": "object",
"properties": {
"channel": {
"title": "Specify the Slack channel for publishing",
"description": "To allow publishing to private channels, invite the Codemagic Slack app to the channels by writing @codemagic in the channel.",
"minLength": 1,
"type": "string"
},
"notify_on_build_start": {
"title": "Send a Slack notification when a build starts",
"description": "When you set notify_on_build_start to true, the channel will be notified when a build starts.",
"default": false,
"type": "boolean"
},
"notify": {
"title": "Slack notification settings",
"description": "Allows to turn on or turn off slack notification on build success or failure.",
"errorMessage": "Incorrect type. Expected a dictionary",
"allOf": [
{
"$ref": "#/definitions/PublisherNotification"
}
]
}
},
"required": [
"channel"
],
"additionalProperties": false
},
"AppStoreConnectAuth": {
"title": "AppStoreConnectAuth",
"description": "An enumeration.",
"enum": [
"integration"
],
"type": "string"
},
"AppStoreReleaseType": {
"title": "AppStoreReleaseType",
"description": "An enumeration.",
"enum": [
"MANUAL",
"AFTER_APPROVAL",
"SCHEDULED"
],
"type": "string"
},
"AppStoreConnect": {
"title": "AppStoreConnect",
"type": "object",
"properties": {
"auth": {
"title": "App Store Connect authentication method",
"description": "Accepted value: integration. When defined, the API key info inherited from integrations is used for authenticating with App Store Connect. If you omit this key-value pair, you must define API key, key identifier and issuer identifier explicitly.",
"allOf": [
{
"$ref": "#/definitions/AppStoreConnectAuth"
}
]
},
"api_key": {
"title": "App Store Connect API key",
"description": "App Store Connect API key in .p8 format that is used for authenticating application packages validation and upload to App Store Connect. It is required for TestFlight submission.",
"errorMessage": "Incorrect type. Expected a string in the form of an encrypted value, environment variable or plain text",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"pattern": "^Encrypted\\(.+\\)$"
},
{
"type": "string",
"minLength": 1,
"pattern": "^\\$\\{?([^:}]+).*\\}?$"
}
]
},
"key_id": {
"title": "App Store Connect API key identifier",
"description": "App Store Connect API key identifier that is used for authenticating application packages validation and upload to App Store Connect. It is required for TestFlight submission.",
"errorMessage": "Incorrect type. Expected a string in the form of an encrypted value, environment variable or plain text",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"pattern": "^Encrypted\\(.+\\)$"
},
{
"type": "string",
"minLength": 1,
"pattern": "^\\$\\{?([^:}]+).*\\}?$"
}
]
},
"issuer_id": {
"title": "App Store Connect API key issuer identifier",
"description": "App Store Connect API key issuer identifier that is used for authenticating application packages validation and upload to App Store Connect. It is required for TestFlight submission.",
"errorMessage": "Incorrect type. Expected a string in the form of an encrypted value, environment variable or plain text",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"pattern": "^Encrypted\\(.+\\)$"
},
{
"type": "string",
"minLength": 1,
"pattern": "^\\$\\{?([^:}]+).*\\}?$"
}
]
},
"apple_id": {
"title": "Apple ID",
"description": "The email address used to log in to App Store Connect. It can also be passed with an environment variable.",
"errorMessage": "Incorrect type. Expected a string in the form of an encrypted value, environment variable or plain text email",
"anyOf": [
{
"type": "string",
"format": "email"
},
{
"type": "string",
"pattern": "^Encrypted\\(.+\\)$"
},
{
"type": "string",
"minLength": 1,
"pattern": "^\\$\\{?([^:}]+).*\\}?$"
}
]
},
"password": {
"title": "App-specific password",
"description": "App-specific passwords allow you to sign in to your account securely when you use third-party apps with your Apple ID. e.g. ujlw-ypqu-dgzw-vyog. The plain or encrypted password can also be passed with en environment variable.",
"errorMessage": "Incorrect type. Expected a string in the form of an encrypted value, environment variable or plain text password",
"anyOf": [
{
"type": "string",
"minLength": 1,
"pattern": "^([a-z]{4}-){3}[a-z]{4}$"
},
{
"type": "string",
"pattern": "^Encrypted\\(.+\\)$"
},
{
"type": "string",
"minLength": 1,
"pattern": "^\\$\\{?([^:}]+).*\\}?$"
}
]
},
"submit_to_testflight": {
"title": "Submit uploaded application package to Testflight",
"description": "Submit published build to Testflight. Requires authentication using App Store Connect API key.",
"default": false,
"type": "boolean"
},
"expire_build_submitted_for_review": {
"title": "Expire previous build submitted to review before submitting package to Testflight",
"description": "Expire previously submitted build that is in review before submitting published build to Testflight. Requires authentication using App Store Connect API key.",
"default": false,
"type": "boolean"
},
"beta_groups": {
"title": "Release uploaded application package to the groups of beta testers",
"description": "Published build will be made available to the specified Beta groups in App Store Connect. TestFlight submission is required in order to release builds to the groups of beta testers.",
"type": "array",
"items": {
"type": "string"
}
},
"submit_to_app_store": {
"title": "Submit uploaded application package to App Store review",
"description": "Submit published build to App Store review. Requires authentication using App Store Connect API key.",
"default": false,
"type": "boolean"
},
"cancel_previous_submissions": {
"title": "Cancel previous submissions before submitting application package to App Store review",
"description": "Cancel previous submissions before submitting application package to App Store review. Requires authentication using App Store Connect API key.",
"default": false,
"type": "boolean"
},
"release_type": {
"title": "Specify when to release the app after App Store review",
"description": "Choose when to release the app. You can either manually release the app at a later date on the App Store Connect website, or the app version can be automatically released right after it has been approved by App Review.",
"errorMessage": "Incorrect release type. Expected one of MANUAL, AFTER_APPROVAL, SCHEDULED",
"allOf": [
{
"$ref": "#/definitions/AppStoreReleaseType"
}
]
},
"earliest_release_date": {
"title": "Specify earliest return date for scheduled release type",
"description": "Specify earliest return date for scheduled release type. Timezone aware ISO8601 timestamp, for example 2021-11-10T14:55:41+00:00.",
"errorMessage": "Not a valid timezone aware ISO8601 timestamp",
"type": "string",
"format": "date-time"
},
"copyright": {
"title": "The name of the person or entity that owns the exclusive rights to your app",
"description": "The name of the person or entity that owns the exclusive rights to your app, preceded by the year the rights were obtained (for example, \"2008 Acme Inc.\"). Do not provide a URL.",
"errorMessage": "Incorrect type. Expected a string in the form of an environment variable or plain text",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"minLength": 1,
"pattern": "^\\$\\{?([^:}]+).*\\}?$"
}
]
}
},
"additionalProperties": false
},
"GooglePlay": {
"title": "GooglePlay",
"type": "object",
"properties": {
"credentials": {
"title": "Service account credentials",
"description": "The encrypted JSON key file or the encrypted contents of the JSON key file. The value can also be passed with an environment variable.",
"minLength": 1,
"type": "string"
},
"track": {
"title": "Name of the track",
"description": "Codemagic enables you to automatically publish your app to Google Play.",
"minLength": 1,
"type": "string"
},
"in_app_update_priority": {
"title": "Priority of the release",
"description": "If your application supports in-app updates, set the release priority by specifying an integer in range [0, 5]. Otherwise, in_app_update_priority can be omitted.",
"minimum": 0,
"maximum": 5,
"type": "integer"
},
"rollout_fraction": {
"title": "Rollout fraction",
"description": "Codemagic supports staged releases, allowing users to choose which fraction of the testers or users get access to the application. To release to everyone, omit the rollout_fraction field.",
"exclusiveMinimum": 0.0,
"exclusiveMaximum": 1.0,
"type": "number"
},
"changes_not_sent_for_review": {
"title": "Do not send changes for review",
"description": "Indicates that the changes in this edit will not be reviewed until they are explicitly sent for review from the Google Play Console UI.",
"default": false,
"type": "boolean"
},
"submit_as_draft": {
"title": "Create the release in draft status",
"description": "Indicates that the artifacts generated in the build will be uploaded to Google Play as a draft release.",
"default": false,
"type": "boolean"
}
},
"required": [
"credentials",
"track"
],
"additionalProperties": false
},
"FirebaseAndroidArtifactType": {
"title": "FirebaseAndroidArtifactType",
"description": "An enumeration.",
"enum": [
"aab",
"apk"
],
"type": "string"
},
"FirebaseType": {
"title": "FirebaseType",
"type": "object",
"properties": {
"app_id": {
"title": "Firebase application id",
"description": "Firebase application id found in Firebase application settings.",
"minLength": 1,
"type": "string"
},
"groups": {
"title": "Groups to be distributed to",
"description": "Test groups that the application should be distributed to.",
"errorMessage": "Incorrect type. Expected a list of nonempty strings",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"artifact_type": {
"title": "Preferable Android artifact type",
"description": "Artifact type (aab/apk) to prioritize when uploading to Firebase App Distribution, by default app bundles are prioritized.",
"errorMessage": "Incorrect artifact type. Expected 'apk' or 'aab'",
"allOf": [
{
"$ref": "#/definitions/FirebaseAndroidArtifactType"
}
]
}
},
"required": [
"app_id"
],
"additionalProperties": false
},
"Firebase": {
"title": "Firebase",
"type": "object",
"properties": {
"firebase_token": {
"title": "Firebase access token",
"description": "Firebase access token generated using Firebase CLI; to receive the token use firebase login:ci with Firebase CLI installed.",
"minLength": 1,
"type": "string"
},
"firebase_service_account": {
"title": "Service account with Firebase distribution permission",
"description": "The content of service account file that has \"Firebase App Distribution Admin\" role.",
"minLength": 1,
"type": "string"
},
"ios": {
"title": "iOS",
"description": "Codemagic enables you to automatically publish your iOS app to Firebase App Distribution.",
"allOf": [
{
"$ref": "#/definitions/FirebaseType"
}
]
},
"android": {
"title": "android",
"description": "Codemagic enables you to automatically publish your Android app to Firebase App Distribution.",
"allOf": [
{
"$ref": "#/definitions/FirebaseType"
}
]
}
},
"additionalProperties": false
},
"PartnerCenter": {
"title": "PartnerCenter",
"type": "object",
"properties": {
"store_id": {
"title": "Partner Center store ID",
"description": "Store ID set up on Microsoft Partner Center.",
"minLength": 1,
"type": "string"
},
"tenant_id": {
"title": "Partner Center tenant id",
"description": "Directory (tenant) ID in Azure AD portal.",
"minLength": 1,
"type": "string"
},
"client_id": {
"title": "Partner Center client id",
"description": "Application (client) ID in Azure AD portal.",
"minLength": 1,
"type": "string"
},
"client_secret": {
"title": "Partner Center client secret",
"description": "The value of the Azure AD app key.",
"minLength": 1,
"type": "string"
}
},
"additionalProperties": false
},
"Publishing": {
"title": "Publishing",
"type": "object",
"properties": {
"email": {
"title": "Email",
"description": "If the build finishes successfully, release notes (if passed) and the generated artifacts will be published to the provided email address(es). If the build fails, an email with a link to build logs will be sent.",
"errorMessage": "Incorrect type. Expected a dictionary",
"allOf": [
{
"$ref": "#/definitions/Email"
}
]
},
"slack": {
"title": "Slack",
"description": "Integrate Slack publishing into your Codemagic build pipeline to get notified when a build starts and receive build artifacts or logs when the build finishes. To set up publishing to Slack, you first need to connect your Slack workspace in User integrations for personal apps and in Team integrations for team apps.",
"errorMessage": "Incorrect type. Expected a dictionary",
"allOf": [
{
"$ref": "#/definitions/Slack"
}
]
},
"app_store_connect": {
"title": "App Store Connect",
"description": "Codemagic enables you to automatically publish your iOS app to App Store Connect for beta testing with TestFlight or distributing the app to users via App Store.",
"errorMessage": "Incorrect type. Expected a dictionary",
"allOf": [
{
"$ref": "#/definitions/AppStoreConnect"
}
]
},
"google_play": {
"title": "Google Play",
"description": "Codemagic enables you to automatically publish your app to the internal, alpha, beta and production tracks on Google Play. In order to do so, you will need to set up a service account in Google Play Console and add the JSON key file to your Codemagic configuration file.",
"errorMessage": "Incorrect type. Expected a dictionary",
"allOf": [
{
"$ref": "#/definitions/GooglePlay"
}
]
},
"firebase": {
"title": "Firebase",
"description": "Codemagic enables you to automatically publish your app to Firebase App Distribution. In order to do so, set up an account and project on Firebase and provide Codemagic with your Firebase token, Firebase app id and test groups.",
"errorMessage": "Incorrect type. Expected a dictionary",
"allOf": [
{
"$ref": "#/definitions/Firebase"
}
]
},
"partner_center": {
"title": "Partner Center",
"description": "Codemagic enables you to automatically publish your app to Microsoft Store. In order to do so, set up an account and project on Microsoft Partner Center and provide Codemagic with your store id, client id, client secret and tenant id.",
"errorMessage": "Incorrect type. Expected a dictionary",
"allOf": [
{
"$ref": "#/definitions/PartnerCenter"
}
]
},
"scripts": {
"title": "Custom post-publishing scripts",
"description": "Add scripts to publish to any other service.",
"errorMessage": "Incorrect type. Expected a not empty list of strings (inline script) or dictionaries (scripts with additional fields)",
"minItems": 1,
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"$ref": "#/definitions/NamedScript"
}
]
}
}
},
"additionalProperties": false
},
"Workflow": {
"title": "Workflow",
"type": "object",
"properties": {
"name": {
"title": "Workflow name",
"description": "Workflow name displayed in the Codemagic UI.",
"type": "string"
},
"instance_type": {
"title": "Instance type",
"description": "Build machine type to use for the build.",
"allOf": [
{
"$ref": "#/definitions/InstanceType"
}
]
},
"max_build_duration": {
"title": "Build timeout settings",
"description": "By default, Codemagic builds are set to time out after 60 minutes. You can decrease or increase the maximum build duration. ",
"type": "integer"
},
"environment": {
"title": "Build environment",
"description": "Environment contains all the environment variables and enables to specify the version of Flutter, Xcode, CocoaPods, Node, npm, ndk, Java and Ruby used for building. This is also where you can add credentials and API keys required for code signing. Make sure to encrypt the values of variables that hold sensitive data.",
"errorMessage": "Incorrect type. Expected a dictionary",
"allOf": [
{
"$ref": "#/definitions/Environment"
}
]
},
"integrations": {
"title": "Integrations",
"description": "Allows using info from the integrations connected in Codemagic UI. Currently supported: app_store_connect.",
"errorMessage": "Incorrect type. Expected a dictionary",
"allOf": [
{
"$ref": "#/definitions/Integrations"
}
]
},
"cache": {
"title": "Cache",
"description": "Define the paths to be cached and stored on Codemagic.",
"errorMessage": "Incorrect type. Expected a dictionary",
"allOf": [
{
"$ref": "#/definitions/Cache"
}
]
},
"triggering": {
"title": "Automatic build triggering for watched branches",
"description": "Triggering defines the events for automatic build triggering and watched branches. If no events are defined, you can start builds only manually.",
"errorMessage": "Incorrect type. Expected a dictionary",
"allOf": [
{
"$ref": "#/definitions/Triggering"
}
]
},
"when": {
"title": "Conditions for build to continue",
"description": "All conditions below should be met in order for build to continue.",
"errorMessage": "Incorrect type. Expected a dictionary",
"allOf": [
{
"$ref": "#/definitions/When"
}
]
},
"working_directory": {
"title": "Working directory",
"description": "Specify the default directory to run script commands. Each script will be executed inside the specified directory, unless the working directory is specified for the script itself.",
"type": "string"
},
"scripts": {
"title": "Build scripts",
"description": "Scripts specify what kind of application is built. This is where you can specify the commands to test, build and code sign your project. You can also run shell (sh) scripts directly in your .yaml file, or run scripts in other languages by defining the language with a shebang line or by launching a script file present in your repository.",
"errorMessage": "Incorrect type. Expected a not empty list of strings (inline script) or dictionaries (scripts with additional fields)",
"minItems": 1,
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"$ref": "#/definitions/NamedScript"
}
]
}
},
"artifacts": {
"title": "Artifacts to be saved",
"description": "Configure the paths and names of the artifacts you would like to use in the following steps, e.g. for publishing, or have available for download on the build page. All paths are relative to the clone directory, but absolute paths are supported as well. You can also use environment variables in artifact patterns.\nThe pattern can match several files or folders. If it picks up files or folders with the same name, the top level file or folder name will be suffixed with _{number}.\nIf one of the patterns includes another pattern, duplicate artifacts are not created.\napk, aab, aar, ipa, app, proguard mapping (mapping.txt), flutter_drive.log, jar, zip, xarchive and dSYM.zip files will be available as separate items in the Artifacts section on the build page. The rest of the artifacts will be included in an archive with the following name pattern: {project-name}_{version}_artifacts.zip.",
"errorMessage": "Incorrect type. Expected a not empty list of strings, integers, floats or booleans",
"minItems": 1,
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
}
},
"publishing": {
"title": "Publishing and deployment",
"description": "The matching artifacts will be published to the services you have configured. The available integrations currently are email, Slack, Google Play and App Store Connect. It is also possible to publish elsewhere with custom publishing scripts.",
"errorMessage": "Incorrect type. Expected a dictionary",
"allOf": [
{
"$ref": "#/definitions/Publishing"
}
]
},
"labels": {
"title": "Build labels",
"description": "Define label names to easily filter builds in UI. You can use environment variable as well.",
"default": [],
"errorMessage": "Incorrect type. Expected a list of nonempty strings",
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
}
} | codemagic-schema |
{
"properties": {
"base": {
"description": "The base of the triangle (if applicable)",
"type": "number"
},
"height": {
"description": "The height of the triangle (if applicable)",
"type": "number"
},
"length": {
"description": "The length of the rectangle (if applicable)",
"type": "number"
},
"radius": {
"description": "The radius of the circle (if applicable)",
"type": "number"
},
"shape": {
"description": "The shape to calculate the area for",
"enum": [
"circle",
"triangle",
"rectangle"
],
"type": "string"
},
"width": {
"description": "The width of the rectangle (if applicable)",
"type": "number"
}
},
"required": [
"shape"
],
"type": "object"
} | calculate_area_1589ca0a |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"MsdDataSource": {
"properties": {
"Directory": {
"type": "string"
},
"ConnectionStringServer": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"MsdPath": {
"type": "string"
},
"ConnectionStringInstance": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ConnectionStringDatabase": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ConnectionStringVersion": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ConnectionStringAuthenticationMode": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ConnectionStringDBClient": {
"oneOf": [
{
"type": "null"
},
{
"type": "string"
}
]
},
"ConnectionStringServerInstance": {
"oneOf": [
{
"type": "null"
},
{
"type": "string"
}
]
},
"ConnectionStringUser": {
"oneOf": [
{
"type": "null"
},
{
"type": "string"
}
]
},
"ConnectionStringDBConnectionProperties": {
"oneOf": [
{
"type": "null"
},
{
"type": "string"
}
]
},
"WorkspaceFactory": {
"type": "string"
},
"DataSet": {
"type": "string"
},
"LayerName": {
"type": "string"
}
},
"type": "object"
}
},
"items": {
"$ref": "#/definitions/MsdDataSource"
},
"type": "array"
} | o16791 |
{
"description": "Schema definition of a pokemon Type",
"properties": {
"slot": {
"type": "integer"
},
"type": {
"properties": {
"name": {
"type": "string"
},
"url": {
"format": "url",
"type": "string"
}
},
"required": [],
"type": "object"
}
},
"required": [],
"title": "type",
"type": "object"
} | o53019 |
{
"id": "http://sport-archive.com/input-schema/output/thumb#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "CT transcode output specification for video thumbnails",
"type": "object",
"properties": {
"output_type": {
"type": "string",
"value": "THUMB",
"description": "Type of the file to output"
},
"mode": {
"type": "string",
"enum": [
"snapshot",
"intervals"
],
"description": "Type of thumbnails generation needed"
},
"output_bucket": {
"type": "string",
"description": "S3 bucket and path where the thumbnails will be uploaded",
"pattern": "^[0-9a-zA-Z\\.\\-_]+$",
"minLength": 3,
"maxLength": 63
},
"output_file": {
"type": "string",
"description": "basename for the thumbnails to generate. We will appen sequence number if the 'interval' mode is selected",
"pattern": "^[\\w /-]+\\.[0-9a-zA-Z]+$",
"minLength": 1,
"maxLength": 1024
},
"intervals": {
"type": "integer",
"minValue": 1,
"description": "Override default interval in seconds"
},
"snapshot_sec": {
"type": "integer",
"minValue": 0,
"description": "Time in second in the video where to take the snapshot"
},
"s3_rrs": {
"type": "boolean",
"description": "Activate reduced redundancy or not in S3 storage"
},
"s3_encrypt": {
"type": "boolean",
"description": "Activate backend storage encryption"
},
"size": {
"type": "string",
"pattern": "^[0-9]+x[0-9]+$",
"description": "Size of the thumbnails"
}
},
"required": [
"size"
],
"additionalProperties": false
} | o63935 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"one": {
"type": "string",
"javaName": "three"
},
"two": {
"type": "string",
"javaName": "three"
}
}
} | o90567 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Event source",
"type": "object",
"properties": {
"id": {
"description": "Unique identifier given by the server",
"type": "integer"
},
"generatedIdentifier": {
"description": "Unique id generated by the server.",
"type": "string"
},
"name": {
"description": "A name to identify the event source.",
"type": "string"
},
"organizationId": {
"description": "The organization.",
"type": "integer"
},
"eventSourceTemplateId": {
"description": "The event source template instantiated.",
"type": "integer"
},
"public": {
"description": "Make the event source available to everybody.",
"type": "boolean"
},
"deletable": {
"type": "boolean",
"description": "Define if the event source can be deleted."
},
"configuration": {
"description": "A valid JSON object.",
"type": "object"
}
},
"required": [
"id",
"eventSourceId",
"name",
"organizationId",
"eventSourceTemplateId",
"deletable",
"configuration"
]
}
| o14479 |
{
"$schema": "http://json-schema.org/draft-06/schema#",
"definitions": {
"ElementType": {
"enum": [
"component",
"directive"
],
"type": "string"
},
"SelectorChange": {
"properties": {
"remove": {
"description": "Remove directive/component",
"type": "boolean"
},
"replaceWith": {
"description": "Replace original selector with new one",
"type": "string"
},
"selector": {
"description": "Original selector to apply change to",
"type": "string"
},
"type": {
"$ref": "#/definitions/ElementType",
"description": "Type of selector the change applies to - either component or directive"
}
},
"required": [
"selector",
"type"
],
"type": "object"
}
},
"properties": {
"changes": {
"description": "An array of changes to component/directive selectors",
"items": {
"$ref": "#/definitions/SelectorChange"
},
"type": "array"
}
},
"required": [
"changes"
],
"type": "object"
} | o7498 |
Subsets and Splits