json_schema
stringlengths 43
1.28M
| unique_id
stringlengths 2
41
|
---|---|
{
"properties": {
"customer_name": {
"description": "The name of the customer",
"type": "string"
},
"due_date": {
"description": "The due date of the invoice",
"format": "date",
"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": [
"customer_name",
"due_date",
"items"
],
"type": "object"
} | create_invoice_cc60fdf8 |
{
"id": "http://schemas.triniti.io/json-schema/triniti/curator/mixin/carousel-widget/1-0-0.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"_id": {
"type": "string",
"pattern": "^[\\w\\/\\.:-]+$",
"pbj": {
"type": "identifier",
"rule": "single",
"overridable": true
}
},
"status": {
"type": "string",
"default": "draft",
"enum": [
"unknown",
"published",
"scheduled",
"pending",
"draft",
"expired",
"archived",
"deleted"
],
"pbj": {
"type": "string-enum",
"rule": "single"
}
},
"etag": {
"type": "string",
"pattern": "^[\\w\\.:-]+$",
"pbj": {
"type": "string",
"rule": "single"
}
},
"created_at": {
"type": "string",
"pattern": "^[1-9]{1}[0-9]{12,15}$",
"pbj": {
"type": "microtime",
"rule": "single"
}
},
"creator_ref": {
"type": "object",
"properties": {
"curie": {
"type": "string",
"pattern": "^([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+)$",
"minLength": 0,
"maxLength": 146
},
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9:_\\-]+$",
"minLength": 0,
"maxLength": 255
},
"tag": {
"type": "string",
"pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$",
"minLength": 0,
"maxLength": 255
}
},
"required": [
"curie",
"id"
],
"additionalProperties": false,
"description": "A fully qualified reference to what created this node. This is intentionally a message-ref and not a user id because it is often a program that creates nodes, not a user.",
"pbj": {
"type": "message-ref",
"rule": "single"
}
},
"updated_at": {
"type": "string",
"pattern": "^[1-9]{1}[0-9]{12,15}$",
"pbj": {
"type": "microtime",
"rule": "single",
"useTypeDefault": false
}
},
"updater_ref": {
"type": "object",
"properties": {
"curie": {
"type": "string",
"pattern": "^([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+)$",
"minLength": 0,
"maxLength": 146
},
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9:_\\-]+$",
"minLength": 0,
"maxLength": 255
},
"tag": {
"type": "string",
"pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$",
"minLength": 0,
"maxLength": 255
}
},
"required": [
"curie",
"id"
],
"additionalProperties": false,
"description": "A fully qualified reference to what updated this node. This is intentionally a message-ref and not a user id because it is often a program that updates nodes, not a user. E.g. \"acme:iam:node:app:cli-scheduler\" or \"acme:iam:node:user:60c71df0-fda8-11e5-bfb9-30342d363854\"",
"pbj": {
"type": "message-ref",
"rule": "single"
}
},
"last_event_ref": {
"type": "object",
"properties": {
"curie": {
"type": "string",
"pattern": "^([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+)$",
"minLength": 0,
"maxLength": 146
},
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9:_\\-]+$",
"minLength": 0,
"maxLength": 255
},
"tag": {
"type": "string",
"pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$",
"minLength": 0,
"maxLength": 255
}
},
"required": [
"curie",
"id"
],
"additionalProperties": false,
"description": "A reference to the last event that changed the state of this node. E.g. \"acme:blog:event:article-published:60c71df0-fda8-11e5-bfb9-30342d363854\"",
"pbj": {
"type": "message-ref",
"rule": "single"
}
},
"title": {
"type": "string",
"minLength": 0,
"maxLength": 255,
"pbj": {
"type": "string",
"rule": "single"
}
},
"pre_render_code": {
"type": "string",
"minLength": 0,
"maxLength": 65535,
"description": "A string containing HTML that is injected into the application before the widget renders.",
"pbj": {
"type": "text",
"rule": "single"
}
},
"post_render_code": {
"type": "string",
"minLength": 0,
"maxLength": 65535,
"description": "A string containing HTML that is injected into the application after the widget renders.",
"pbj": {
"type": "text",
"rule": "single"
}
},
"show_border": {
"type": "boolean",
"pbj": {
"type": "boolean",
"rule": "single"
}
},
"show_header": {
"type": "boolean",
"default": true,
"pbj": {
"type": "boolean",
"rule": "single"
}
},
"header_text": {
"type": "string",
"minLength": 0,
"maxLength": 255,
"pbj": {
"type": "string",
"rule": "single"
}
},
"partner_url": {
"type": "string",
"pattern": "^(https?:\\/\\/)?([\\da-z\\.-]+)\\.([a-z\\.]{2,6})([\\/\\w \\.-]*)*\\/?$",
"pbj": {
"type": "text",
"rule": "single",
"format": "url"
}
},
"partner_text": {
"type": "string",
"minLength": 0,
"maxLength": 255,
"pbj": {
"type": "string",
"rule": "single"
}
},
"view_all_url": {
"type": "string",
"pattern": "^(https?:\\/\\/)?([\\da-z\\.-]+)\\.([a-z\\.]{2,6})([\\/\\w \\.-]*)*\\/?$",
"pbj": {
"type": "text",
"rule": "single",
"format": "url"
}
},
"view_all_text": {
"type": "string",
"minLength": 0,
"maxLength": 255,
"pbj": {
"type": "string",
"rule": "single"
}
},
"show_captions": {
"type": "boolean",
"default": true,
"pbj": {
"type": "boolean",
"rule": "single"
}
},
"show_controls": {
"type": "boolean",
"default": true,
"pbj": {
"type": "boolean",
"rule": "single"
}
},
"show_position_indicators": {
"type": "boolean",
"default": true,
"pbj": {
"type": "boolean",
"rule": "single"
}
}
},
"required": [
"_id"
],
"additionalProperties": true
} | o82740 |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"description": " ",
"properties": {
"content": {
"type": "string"
},
"contentType": {
"enum": [
"application/xml",
"application/json"
]
},
"host": {
"_format": "ipv4",
"type": "string"
},
"id": {
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT"
]
},
"protocol": {
"type": "string"
},
"requestUrl": {
"_format": "uri",
"type": "string"
},
"source": {
"enum": [
null,
"common-ingest"
]
}
},
"required": [
"content",
"contentType",
"host",
"id",
"method",
"protocol",
"requestUrl",
"source"
],
"title": "",
"type": "object"
} | o29023 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Fibaro Home Center RGB Controller JSON Schema",
"name": "rgb_driver",
"type": "object",
"properties": {
"id": {
"description": "Fibaro Home Center device ID",
"type": "integer",
"minimum": 2
},
"name": {
"description": "Device name",
"type": "string",
"maxLength": 20
},
"roomID": {
"description": "Room ID defined in Home Center GUI",
"type": "integer",
"minimum": 0
},
"type": {
"description": "Zwave device type",
"enum": [
"rgb_driver"
]
},
"remoteGatewayId": {
"description": "Remote Gateway ID",
"type": "integer",
"minimum": 0
},
"remoteDeviceID": {
"description": "Remote Device ID",
"type": "integer",
"minimum": 0
},
"properties": {
"type": "object",
"properties": {
"UIMessageSendTime": {
"type": "string"
},
"associationMode": {
"type": "string"
},
"bScaler": {
"type": "string"
},
"buttonType": {
"type": "string"
},
"classConfigure": {
"type": "string"
},
"classGeneric": {
"type": "string"
},
"classSupport": {
"type": "string"
},
"classVersion": {
"type": "string"
},
"color": {
"type": "string"
},
"currentProgram": {
"type": "string"
},
"currentProgramID": {
"type": "string"
},
"dead": {
"type": "string"
},
"deviceControlType": {
"type": "string"
},
"deviceIcon": {
"type": "string"
},
"disabled": {
"type": "string"
},
"emailNotificationID": {
"type": "string"
},
"emailNotificationType": {
"type": "string"
},
"endPoint": {
"type": "string"
},
"favoriteProgram": {
"type": "string"
},
"gScaler": {
"type": "string"
},
"isBatteryOperated": {
"enum": [
"0",
"1"
]
},
"isLight": {
"enum": [
"0",
"1"
]
},
"lastColorSet": {
"type": "string"
},
"lastUsedPrograms": {
"type": "string"
},
"liliOffCommand": {
"type": "string"
},
"liliOnCommand": {
"type": "string"
},
"log": {
"type": "string"
},
"logTemp": {
"type": "string"
},
"meterSupport": {
"type": "string"
},
"mode": {
"type": "string"
},
"needConfigure": {
"type": "string"
},
"nodeID": {
"type": "string"
},
"parametersTemplate": {
"type": "string"
},
"parentID": {
"type": "string"
},
"pollingRetryError": {
"type": "string"
},
"pollingTime": {
"type": "string"
},
"pollingTimeNext": {
"type": "string"
},
"pollingTimeSec": {
"type": "string"
},
"productInfo": {
"type": "string"
},
"programsSortOrder": {
"type": "string"
},
"pushNotificationID": {
"type": "string"
},
"pushNotificationType": {
"type": "string"
},
"rScaler": {
"type": "string"
},
"rememberColor": {
"type": "string"
},
"requestNodeNeighborState": {
"type": "string"
},
"requestNodeNeighborStateTimeStemp": {
"type": "string"
},
"saveLogs": {
"enum": [
"0",
"1"
]
},
"sensorSupport": {
"type": "string"
},
"showChildren": {
"enum": [
"0",
"1"
]
},
"showEnergy": {
"enum": [
"0",
"1"
]
},
"smsNotificationID": {
"type": "string"
},
"smsNotificationType": {
"type": "string"
},
"sortOrder": {
"type": "string"
},
"unit": {
"type": "string"
},
"unitMeter": {
"type": "string"
},
"unitSensor": {
"type": "string"
},
"useTemplate": {
"enum": [
"0",
"1"
]
},
"userDescription": {
"type": "string"
},
"value": {
"type": "string"
},
"valueMeter": {
"type": "string"
},
"valueSensor": {
"type": "string"
},
"zwaveCompany": {
"type": "string"
},
"zwaveInfo": {
"type": "string"
},
"zwaveVersion": {
"type": "string"
},
"parameters": {
"type": "array",
"minItems": 0,
"items": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"size": {
"type": "number"
},
"value": {
"type": "number"
},
"lastSetValue": {
"type": "number"
}
}
},
"_uniqueItems": false
},
"associationView": {
"type": "array",
"minItems": 0,
"maxItems": 5,
"items": {
"$ref": "#/definitions/associationItem"
}
},
"associationSet": {
"type": "array",
"minItems": 0,
"maxItems": 5,
"items": {
"$ref": "#/definitions/associationItem"
}
}
},
"required": [
"UIMessageSendTime",
"associationMode",
"bScaler",
"buttonType",
"classConfigure",
"classGeneric",
"classSupport",
"classVersion",
"color",
"currentProgram",
"currentProgramID",
"dead",
"deviceControlType",
"deviceIcon",
"disabled",
"emailNotificationID",
"emailNotificationType",
"endPoint",
"favoriteProgram",
"gScaler",
"isBatteryOperated",
"log",
"logTemp",
"meterSupport",
"mode",
"needConfigure",
"parametersTemplate",
"parentID",
"pollingRetryError",
"pollingTime",
"pollingTimeNext",
"pollingTimeSec",
"productInfo",
"programsSortOrder",
"pushNotificationID",
"pushNotificationType",
"rScaler",
"rememberColor",
"requestNodeNeighborState",
"requestNodeNeighborStateTimeStemp",
"saveLogs",
"sensorSupport",
"showChildren",
"showEnergy",
"smsNotificationID",
"smsNotificationType",
"sortOrder",
"unit",
"unitMeter",
"unitSensor",
"useTemplate",
"userDescription",
"value",
"valueMeter",
"valueSensor",
"zwaveCompany",
"zwaveInfo",
"zwaveVersion"
],
"additionalProperties": false
},
"actions": {
"type": "object",
"properties": {
"firmwareUpdate": {
"type": "integer",
"minimum": 1,
"maximum": 1
},
"pollingTimeSec": {
"type": "integer",
"minimum": 1,
"maximum": 1
},
"requestNodeNeighborUpdate": {
"type": "integer",
"minimum": 0,
"maximum": 0
},
"resetMeter": {
"type": "integer",
"minimum": 0,
"maximum": 0
},
"setB": {
"type": "integer",
"minimum": 1,
"maximum": 1
},
"setColor": {
"type": "integer",
"minimum": 4,
"maximum": 4
},
"setG": {
"type": "integer",
"minimum": 1,
"maximum": 1
},
"setR": {
"type": "integer",
"minimum": 1,
"maximum": 1
},
"setValue": {
"type": "integer",
"minimum": 1,
"maximum": 1
},
"setW": {
"type": "integer",
"minimum": 1,
"maximum": 1
},
"silentSetColor": {
"type": "integer",
"minimum": 4,
"maximum": 4
},
"startProgram": {
"type": "integer",
"minimum": 1,
"maximum": 1
},
"turnOff": {
"type": "integer",
"minimum": 0,
"maximum": 0
},
"turnOn": {
"type": "integer",
"minimum": 0,
"maximum": 0
}
},
"required": [
"firmwareUpdate",
"pollingTimeSec",
"requestNodeNeighborUpdate",
"resetMeter",
"setB",
"setColor",
"setG",
"setR",
"setValue",
"setW",
"startProgram",
"turnOff",
"turnOn"
],
"additionalProperties": false
},
"created": {
"type": "number"
},
"modified": {
"type": "number"
},
"sortOrder": {
"type": "number"
}
},
"definitions": {
"associationItem": {
"properties": {
"groupID": {
"type": "number"
},
"devices": {
"type": "array",
"minItems": 1,
"maxItems": 254,
"items": {
"type": "number",
"minimum": 1,
"maximum": 254
}
}
}
}
},
"additionalProperties": false
} | o56012 |
{
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"definitions": {
"___traits_trait_additional_properties_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": {},
"description": "A grab-bag object for non-validatable data.",
"title": "Has additional properties",
"type": "object"
},
"___traits_trait_alignment_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A property used to determine horizontal positioning of a content element relative to the elements that immediately follow it in the element sequence.",
"enum": [
"left",
"right",
"center"
],
"title": "Alignment",
"type": "string"
},
"___traits_trait_channel_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "An optional list of output types for which this element should be visible",
"items": {
"type": "string"
},
"title": "Channel trait",
"type": "array"
},
"___traits_trait_id_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A globally unique identifier of the content in the ANS repository.",
"title": "Globally Unique ID trait",
"type": "string"
},
"___traits_trait_subtype_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A user-defined categorization method to supplement type. In Arc, this field is reserved for organization-defined purposes, such as selecting the PageBuilder template that should be used to render a document.",
"title": "Subtype or Template",
"type": "string"
}
},
"description": "Indicates a numeric rating value",
"properties": {
"_id": {
"$ref": "#/definitions/___traits_trait_id_json"
},
"additional_properties": {
"$ref": "#/definitions/___traits_trait_additional_properties_json"
},
"alignment": {
"$ref": "#/definitions/___traits_trait_alignment_json"
},
"channels": {
"$ref": "#/definitions/___traits_trait_channel_json"
},
"max": {
"description": "The maximum possible value of rating",
"type": "number"
},
"min": {
"description": "The minimum possible value of rating",
"type": "number"
},
"numeric_rating": {
"description": "A number indicating the item's value.",
"type": "number"
},
"subtype": {
"$ref": "#/definitions/___traits_trait_subtype_json"
},
"type": {
"enum": [
"numeric_rating"
]
},
"units": {
"description": "A string describing the rating units",
"type": "string"
}
},
"required": [
"numeric_rating"
],
"type": "object"
} | wp_30_Normalized |
{
"additionalProperties": false,
"definitions": {
"param": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"nullable": {
"type": "boolean"
},
"since": {
"$ref": "#/definitions/since"
},
"type": {
"enum": [
"boolean",
"byte",
"int",
"long",
"UUID",
"enum",
"byteArray",
"longArray",
"String",
"Data",
"EntryList_Integer_UUID",
"EntryList_Integer_Long",
"EntryList_Integer_Integer",
"List_Integer",
"List_Long",
"List_UUID",
"Address",
"CacheEventData",
"DistributedObjectInfo",
"Member",
"QueryCacheEventData",
"RaftGroupId",
"ScheduledTaskHandler",
"SimpleEntryView",
"WanReplicationRef",
"Xid",
"CacheConfigHolder",
"CacheSimpleEntryListenerConfig",
"EventJournalConfig",
"EvictionConfigHolder",
"HotRestartConfig",
"ListenerConfigHolder",
"AttributeConfig",
"IndexConfig",
"MapStoreConfigHolder",
"MerkleTreeConfig",
"NearCacheConfigHolder",
"NearCachePreloaderConfig",
"PredicateConfigHolder",
"QueryCacheConfigHolder",
"QueueStoreConfigHolder",
"RingbufferStoreConfigHolder",
"TimedExpiryPolicyFactoryConfig",
"DurationConfig",
"ClientBwListEntry",
"EntryList_String_String",
"EntryList_String_byteArray",
"EntryList_Long_byteArray",
"EntryList_String_EntryList_Integer_Long",
"EntryList_UUID_Long",
"EntryList_Address_List_Integer",
"EntryList_UUID_Address",
"EntryList_Data_Data",
"EntryList_Member_List_ScheduledTaskHandler",
"List_Address",
"List_byteArray",
"List_CacheEventData",
"List_CacheSimpleEntryListenerConfig",
"List_Data",
"ListCN_Data",
"List_DistributedObjectInfo",
"List_ListenerConfigHolder",
"List_AttributeConfig",
"List_IndexConfig",
"List_MemberInfo",
"List_QueryCacheConfigHolder",
"List_QueryCacheEventData",
"List_ScheduledTaskHandler",
"List_String",
"List_Xid",
"List_StackTraceElement",
"List_ClientBwListEntry",
"List_MCEvent",
"Map_String_String",
"MergePolicyConfig",
"MemberVersion",
"MemberInfo",
"MCEvent",
"AnchorDataListHolder",
"PagingPredicateHolder"
]
}
},
"required": [
"name",
"type",
"nullable",
"since"
],
"type": "object"
},
"since": {
"default": 2.0,
"enum": [
2.0
]
}
},
"properties": {
"customTypes": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the custom type",
"type": "string"
},
"params": {
"items": {
"$ref": "#/definitions/param"
},
"minItems": 0,
"type": "array",
"_uniqueItems": false
},
"returnWithFactory": {
"description": "True if the decode method should return with factory instead of the constructor",
"type": "boolean"
},
"since": {
"$ref": "#/definitions/since"
}
},
"required": [
"name",
"since",
"params"
]
},
"type": "array"
}
},
"required": [
"customTypes"
],
"title": "Hazelcast Client Protocol Custom Codec Definitions",
"type": "object"
} | o61348 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time": {
"_format": "date-time",
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": "string"
}
},
"description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.",
"properties": {
"lastTransitionTime": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "lastTransitionTime last time the condition transitioned from one status to another."
},
"message": {
"description": "message is a human-readable message indicating details about last transition.",
"type": [
"string",
"null"
]
},
"reason": {
"description": "reason is a unique, one-word, CamelCase reason for the condition's last transition.",
"type": [
"string",
"null"
]
},
"status": {
"description": "status is the status of the condition. Can be True, False, Unknown.",
"type": [
"string",
"null"
]
},
"type": {
"description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating.",
"type": [
"string",
"null"
]
}
},
"required": [
"type",
"status"
],
"type": "object"
} | kb_195_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Marketplace",
"description": "Firefox Marketplace manifest.webapp file - shared",
"type": "object",
"required": [
"description",
"name"
],
"additionalProperties": false,
"dependencies": {
"default_locale": [
"locales"
]
},
"properties": {
"activities": {
"type": "object",
"minProperties": 1,
"additionalProperties": {
"type": "object",
"required": [
"href"
],
"additionalProperties": false,
"properties": {
"href": {
"type": "string"
},
"returnValue": {
"type": "boolean"
},
"disposition": {
"type": "string",
"oneOf": [
{
"enum": [
"window"
]
},
{
"enume": [
"inline"
]
}
]
},
"filters": {
"type": "object",
"minProperties": 1
}
}
}
},
"appcache_path": {
"type": "string",
"minLength": 1
},
"chrome": {
"type": "object",
"additionalProperties": false,
"minProperties": 1,
"properties": {
"navigation": {
"type": "boolean"
}
}
},
"csp": {
"type": "string",
"minLength": 1
},
"default_locale": {
"type": "string",
"minLength": 1
},
"developer": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"url": {
"type": "string",
"minLength": 1
}
},
"required": [
"name"
]
},
"description": {
"description": "Description of app",
"type": "string",
"maxLength": 1024,
"minLength": 1
},
"fullscreen": {
"type": "string",
"oneOf": [
{
"enum": [
"true"
]
},
{
"enum": [
"false"
]
}
]
},
"icons": {
"type": "object"
},
"inputs": {
"type": "object",
"additionalProperties": {
"type": "object",
"required": [
"launch_path",
"name",
"description",
"types"
],
"properties": {
"launch_path": {
"type": "string",
"minLength": 1
},
"name": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"description": {
"type": "string",
"minLength": 1
},
"types": {
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"oneOf": [
{
"enum": [
"text"
]
},
{
"enum": [
"url"
]
},
{
"enum": [
"email"
]
},
{
"enum": [
"password"
]
},
{
"enum": [
"number"
]
},
{
"enum": [
"option"
]
}
]
}
},
"locales": {
"type": "object",
"additionalProperties": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
}
}
}
},
"installs_allowed_from": {
"type": "array"
},
"launch_path": {
"type": "string",
"pattern": "^(/[^/]+)*/?$",
"minLength": 1
},
"locales": {
"type": "object"
},
"messages": {
"type": "array",
"items": {
"type": "object"
}
},
"name": {
"description": "App name",
"type": "string",
"maxLength": 128,
"minLength": 1
},
"orientation": {
"type": "string",
"anyOf": [
{
"enum": [
"portrait"
]
},
{
"enum": [
"landscape"
]
},
{
"enum": [
"portrait-secondary"
]
},
{
"enum": [
"landscape-secondary"
]
},
{
"enum": [
"portrait-primary"
]
},
{
"enum": [
"landscape-primary"
]
}
]
},
"origin": {
"type": "string",
"pattern": "\\w+$"
},
"permissions": {
"type": "object"
},
"precompile": {
"type": "array",
"items": {
"type": "string"
}
},
"redirects": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
}
}
}
},
"required_features": {
"type": "array",
"items": {
"type": "string"
}
},
"role": {
"type": "string",
"oneOf": [
{
"enum": [
"system"
]
},
{
"enum": [
"input"
]
},
{
"enum": [
"homescreen"
]
}
]
},
"type": {
"type": "string",
"oneOf": [
{
"enum": [
"web"
]
},
{
"enum": [
"privileged"
]
},
{
"enum": [
"certified"
]
}
]
},
"version": {
"type": "string",
"minLength": 1
}
}
}
| o61772 |
{
"properties": {
"ca": {
"readonly": true,
"type": "boolean"
},
"cipherredirect": {
"enum": [
"ENABLED",
"DISABLED"
],
"readonly": true,
"type": "string"
},
"cipherurl": {
"readonly": true,
"type": "string"
},
"cleartextport": {
"readonly": true,
"type": "integer"
},
"clientauth": {
"enum": [
"ENABLED",
"DISABLED"
],
"readonly": true,
"type": "string"
},
"clientcert": {
"enum": [
"Mandatory",
"Optional"
],
"readonly": true,
"type": "string"
},
"commonname": {
"type": "string"
},
"crlcheck": {
"enum": [
"Mandatory",
"Optional"
],
"readonly": true,
"type": "string"
},
"dh": {
"enum": [
"ENABLED",
"DISABLED"
],
"readonly": true,
"type": "string"
},
"dhcount": {
"readonly": true,
"type": "integer"
},
"dhfile": {
"readonly": true,
"type": "string"
},
"dhkeyexpsizelimit": {
"enum": [
"ENABLED",
"DISABLED"
],
"readonly": true,
"type": "string"
},
"ersa": {
"enum": [
"ENABLED",
"DISABLED"
],
"readonly": true,
"type": "string"
},
"ersacount": {
"readonly": true,
"type": "integer"
},
"nonfipsciphers": {
"enum": [
"ENABLED",
"DISABLED"
],
"readonly": true,
"type": "string"
},
"ocspcheck": {
"enum": [
"Mandatory",
"Optional"
],
"readonly": true,
"type": "string"
},
"ocspstapling": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"redirectportrewrite": {
"enum": [
"ENABLED",
"DISABLED"
],
"readonly": true,
"type": "string"
},
"sendclosenotify": {
"enum": [
"YES",
"NO"
],
"type": "string"
},
"serverauth": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"servicegroupname": {
"type": "string"
},
"servicename": {
"readonly": true,
"type": "string"
},
"sessreuse": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"sesstimeout": {
"type": "integer"
},
"snicert": {
"readonly": true,
"type": "boolean"
},
"snienable": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"ssl2": {
"enum": [
"ENABLED",
"DISABLED"
],
"readonly": true,
"type": "string"
},
"ssl3": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"sslprofile": {
"type": "string"
},
"sslredirect": {
"enum": [
"ENABLED",
"DISABLED"
],
"readonly": true,
"type": "string"
},
"sslv2redirect": {
"enum": [
"ENABLED",
"DISABLED"
],
"readonly": true,
"type": "string"
},
"sslv2url": {
"readonly": true,
"type": "string"
},
"strictsigdigestcheck": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"tls1": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"tls11": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"tls12": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
},
"tls13": {
"enum": [
"ENABLED",
"DISABLED"
],
"type": "string"
}
},
"title": "sslservicegroup",
"type": "object"
} | o30988 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "ClinVar Report Schema",
"type": "object",
"properties": {
"schema_version": {
"type": "string"
},
"notes": {
"type": "object"
},
"metadata": {
"type": "object",
"properties": {
"genome_build": {
"type": "string"
},
"notes": {
"type": "string"
}
}
},
"variants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"chrom": {
"type": "string"
},
"ref_allele": {
"type": "string"
},
"alt_allele": {
"type": "string"
},
"zygosity": {
"type": "string"
},
"name": {
"type": "string"
},
"pos": {
"type": "integer"
},
"acc_url": {
"type": "string"
},
"allele_freq": {
"type": "string"
},
"clinical_significance": {
"type": "string"
}
}
}
}
},
"required": [
"schema_version"
]
} | o18353 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"properties": {
"email": {
"_format": "email",
"maxLength": 1024,
"type": "string"
},
"token": {
"type": "string"
}
},
"required": [
"email",
"token"
],
"type": "object"
} | o6205 |
{
"$comment": "Based on https://github.wdf.sap.corp/mta/spec/blob/master/schemas/v3/v3.3/mta-schema.yaml",
"$id": "http://example.com/mta.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"generic-memory": {
"type": "string",
"pattern": "^[1-9][0-9]*(M|MB|G|GB|m|mb|g|gb)$"
},
"properties": {
"type": "object"
},
"properties-metadata": {
"type": "object",
"properties": {
"overwritable": {
"type": "boolean",
"default": true
},
"optional": {
"type": "boolean",
"default": false
},
"datatype": {
"enum": ["str", "int", "float", "bool"],
"type": "string",
"default": "str"
}
}
},
"parameters": {
"type": "object"
},
"parameters-metadata": {
"type": "object",
"properties": {
"overwritable": {
"type": "boolean",
"default": true
},
"optional": {
"type": "boolean",
"default": false
}
}
},
"includes": {
"type": "array",
"description": "It is possible to define parameters in external files. The \"includes\" section is used to point to those files.",
"items": {
"type": "object",
"required": ["name", "path"],
"properties": {
"name": {
"description": "The name of an \"includes\" section. This name is used by a builder to generate a parameter section in the deployment descriptor.",
"type": "string"
},
"path": {
"description": "A path pointing to a file that contains a map of parameters, either in JSON or in YAML format.",
"type": "string"
}
}
}
},
"hooks": {
"type": "array",
"items": {
"type": "object",
"required": ["name"],
"properties": {
"name": {
"description": "An internal name which can be used for documentation purposes and shown by the deployer.",
"type": "string",
"pattern": "^[A-Za-z0-9_\\-\\.]+$"
},
"type": {
"description": "Defines the type of action that should be executed by the deployer.",
"type": "string",
"enum": ["task"]
},
"phases": {
"description": "A list of strings that define the points at which the hook must be executed.",
"type": "array",
"items": {
"type": "string",
"enum": [
"application.before-stop.live",
"application.before-stop.idle",
"application.after-stop.live",
"application.after-stop.idle"
]
}
},
"parameters": {
"description": "Configuration parameters that are used when executing the hook to the target runtime environment.",
"$ref": "#/definitions/hooks-parameters"
},
"parameters-metadata": {
"description": "Additional information about the hook's parameters.",
"$ref": "#/definitions/properties-metadata"
},
"requires": {
"description": "List of names either matching a resource name or a provided dependency name provided within the same MTA that are required by this hook.",
"type": "array",
"items": {
"type": "object",
"required": ["name"],
"properties": {
"name": {
"description": "An MTA internal name which must match either a provided name, or a resource name within the same MTA.",
"type": "string",
"pattern": "^[A-Za-z0-9_\\-\\.]+$"
},
"parameters": {
"description": "Parameters can be used to influence the behavior of tools which interpret this descriptor. Parameters are not made available to the hook at runtime. Provided property values can be accessed by \"~{<provided-property-name>}\". Such expressions can be part of an arbitrary string",
"type": "object"
},
"parameters-metadata": {
"description": "Additional information about the hook's parameters.",
"$ref": "#/definitions/properties-metadata"
}
}
}
}
}
}
},
"hooks-parameters": {
"type": "object",
"required": ["command"],
"properties": {
"name": {
"description": "Defines the name of the Cloud Foundry task that should be executed.",
"type": "string"
},
"command": {
"description": "Defines the actual command that is executed as a Cloud Foundry task.",
"type": "string"
},
"memory": {
"description": "Defines the memory that is available to the Cloud Foundry task.",
"$ref": "#/definitions/generic-memory"
},
"disk-quota": {
"description": "Defines the disk space that is available to the Cloud Foundry task.",
"$ref": "#/definitions/generic-memory"
}
}
}
},
"description": "MTA DESCRIPTOR SCHEMA",
"properties": {
"_schema-version": {
"description": "The schema version that is being used for authoring a descriptor. The schema version should comply with the semantic versioning standard.",
"type": "string"
},
"ID": {
"description": "An application ID, that may contain any number of unicode characters and should be unique in the target runtime environment.",
"type": "string",
"pattern": "^[A-Za-z0-9_\\-\\.]+$"
},
"description": {
"description": "A free text describing this application.",
"type": "string"
},
"version": {
"description": "The application version that should comply with the semantic versioning standard.",
"type": "string",
"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-]+)*)?$"
},
"provider": {
"description": "The provider or vendor of this application.",
"type": "string"
},
"copyright": {
"description": "A copyright statement from the provider.",
"type": "string"
},
"modules": {
"description": "A list of modules.",
"type": "array",
"items": {
"type": "object",
"required": ["name", "type"],
"properties": {
"name": {
"description": "The MTA module name which must be unique and cannot be the same as any provided property set or resource name.",
"type": "string",
"pattern": "^[A-Za-z0-9_\\-\\.]+$"
},
"type": {
"description": "The module type that defines the design-time tools for the module.",
"type": "string"
},
"description": {
"description": "A free text describing this module.",
"type": "string"
},
"path": {
"description": "The path to a folder that contains the module artifacts.",
"type": "string"
},
"deployed-after": {
"description": "A list of modules that must be deployed before deploying the current module.",
"type": "array",
"items": {
"type": "string"
}
},
"properties": {
"description": "A collection of key-value pairs that are available to the module at runtime.",
"$ref": "#/definitions/properties"
},
"properties-metadata": {
"description": "Additional information about the module's properties.",
"$ref": "#/definitions/properties-metadata"
},
"parameters": {
"description": "Configuration parameters that are used when deploying the module to the target runtime environment.",
"$ref": "#/definitions/parameters"
},
"parameters-metadata": {
"description": "Additional information about the module's parameters.",
"$ref": "#/definitions/parameters-metadata"
},
"hooks": {
"description": "A list of hooks that will be executed for the module.",
"$ref": "#/definitions/hooks"
},
"build-parameters": {
"description": "The build parameters define how the module is built by the corresponding tool.",
"type": "object"
},
"includes": {
"type": "array",
"description": "It is possible to define parameters in external files. The \"includes\" section is used to point to those files.",
"items": {
"type": "object",
"required": ["name", "path"],
"properties": {
"name": {
"description": "The name of an \"includes\" section. This name is used by a builder to generate a parameter section in the deployment descriptor.",
"type": "string"
},
"path": {
"description": "A path pointing to a file that contains a map of parameters, either in JSON or in YAML format.",
"type": "string"
}
}
}
},
"provides": {
"description": "Used to define the named property sets that other modules and resources can require.",
"type": "array",
"items": {
"type": "object",
"required": ["name"],
"properties": {
"name": {
"description": "The name of the property set that the module provides. The provided name must be unique and cannot be the same as any resource or module name.",
"type": "string",
"pattern": "^[A-Za-z0-9_\\-\\.]+$"
},
"public": {
"description": "Configures the accessibility of the provided property set; if set to \"true\", it is publicly accessible and can be consumed by other MTA projects.",
"type": "boolean",
"default": false
},
"properties": {
"description": "A list of properties that are included in this property set.",
"$ref": "#/definitions/properties"
},
"properties-metadata": {
"description": "Additional information about the provided set's properties.",
"$ref": "#/definitions/properties-metadata"
}
}
}
},
"requires": {
"description": "A list of property sets provided by other modules and/or resources (providers) that this module requires.",
"type": "array",
"items": {
"type": "object",
"required": ["name"],
"properties": {
"name": {
"description": "The name of a provided property set or resource (provider) that this module requires.",
"type": "string",
"pattern": "^[A-Za-z0-9_\\-\\.]+$"
},
"group": {
"description": "A \"group\" can be used to combine properties from multiple providers into one runtime lookup object, such as an environment variable. As of schema version 2.1, this property is DEPRECATED.",
"type": "string"
},
"list": {
"description": "Defines a name for a runtime lookup object, such as an environment variable, if the required property set contains multiple values; for example, if used to consume configuration data from outside this MTA project.",
"type": "string"
},
"properties": {
"description": "Module properties whose values are determined by the provided properties. These properties can be referenced by the tilde notation: \"~{<provided-property-name>}\" ",
"$ref": "#/definitions/properties"
},
"properties-metadata": {
"description": "Additional information about the modules's properties.",
"$ref": "#/definitions/properties-metadata"
},
"parameters": {
"description": "Configuration parameters that are used when deploying the module to the target runtime environment.",
"$ref": "#/definitions/parameters"
},
"parameters-metadata": {
"description": "Additional information about the modules's parameters.",
"$ref": "#/definitions/parameters-metadata"
},
"includes": {
"type": "array",
"description": "It is possible to define parameters in external files. The \"includes\" section is used to point to those files.",
"items": {
"type": "object",
"required": ["name", "path"],
"properties": {
"name": {
"description": "The name of an \"includes\" section. This name is used by a builder to generate a parameter section in the deployment descriptor.",
"type": "string"
},
"path": {
"description": "A path pointing to a file that contains a map of parameters, either in JSON or in YAML format.",
"type": "string"
}
}
}
}
}
}
}
}
}
},
"resources": {
"description": "A list of resources that are required by the modules of this MTA project.",
"type": "array",
"items": {
"type": "object",
"required": ["name"],
"properties": {
"name": {
"description": "The resource name which must be unique and cannot be the same as any provided property set or module name.",
"type": "string",
"pattern": "^[A-Za-z0-9_\\-\\.]+$"
},
"type": {
"description": "A type of resource supported by deployment tools in the target environment.",
"type": "string"
},
"description": {
"description": "A free text describing this resource.",
"type": "string"
},
"properties": {
"description": "A collection of key-value pairs that can be required by modules and/or other resources as configuration data at runtime.",
"$ref": "#/definitions/properties"
},
"properties-metadata": {
"description": "Additional information about the resource's properties.",
"$ref": "#/definitions/properties-metadata"
},
"parameters": {
"description": "Configuration parameters that are used when provisioning the resource in the target runtime environment.",
"$ref": "#/definitions/parameters"
},
"parameters-metadata": {
"description": "Additional information about the resource's parameters.",
"$ref": "#/definitions/parameters-metadata"
},
"includes": {
"type": "array",
"description": "It is possible to define parameters in external files. The \"includes\" section is used to point to those files.",
"items": {
"type": "object",
"required": ["name", "path"],
"properties": {
"name": {
"description": "The name of an \"includes\" section. This name is used by a builder to generate a parameter section in the deployment descriptor.",
"type": "string"
},
"path": {
"description": "A path pointing to a file that contains a map of parameters, either in JSON or in YAML format.",
"type": "string"
}
}
}
},
"optional": {
"description": "If the resource is set to optional and the deployment tools are unable to allocate it, then the tools will issue a warning and continue the deployment process.",
"type": "boolean",
"default": false
},
"processed-after": {
"description": "A list containing the names of the resources that must be processed prior to this one.",
"type": "array",
"items": {
"type": "string"
}
},
"active": {
"description": "If a resource is declared to be inactive, the resource will not be allocated during the deployment process.",
"type": "boolean",
"default": true
},
"requires": {
"description": "A list of property sets provided by other modules and/or resources (providers) that this resource requires.",
"type": "array",
"items": {
"type": "object",
"required": ["name"],
"properties": {
"name": {
"description": "The name of a provided property set or resource (provider) that this resource requires.",
"type": "string",
"pattern": "^[A-Za-z0-9_\\-\\.]+$"
},
"properties": {
"description": "Resource properties whose values are determined by the provided properties. These properties can be referenced by the tilde notation: \"~{<provided-property-name>}\" ",
"$ref": "#/definitions/properties"
},
"properties-metadata": {
"description": "Additional information about the required properties.",
"$ref": "#/definitions/properties-metadata"
},
"parameters": {
"description": "Configuration parameters that are used when provisioning the resource in the target runtime environment.",
"$ref": "#/definitions/parameters"
},
"parameters-metadata": {
"description": "Additional information about the required parameters.",
"$ref": "#/definitions/parameters-metadata"
},
"includes": {
"type": "array",
"description": "It is possible to define parameters in external files. The \"includes\" section is used to point to those files.",
"items": {
"type": "object",
"required": ["name", "path"],
"properties": {
"name": {
"description": "The name of an \"includes\" section. This name is used by a builder to generate a parameter section in the deployment descriptor.",
"type": "string"
},
"path": {
"description": "A path pointing to a file that contains a map of parameters, either in JSON or in YAML format.",
"type": "string"
}
}
}
}
}
}
}
}
}
},
"parameters": {
"description": "Global parameters that are used when building or deploying the application",
"$ref": "#/definitions/parameters"
},
"parameters-metadata": {
"description": "Additional information about the global parameters.",
"$ref": "#/definitions/parameters-metadata"
},
"includes": {
"type": "array",
"description": "It is possible to define parameters in external files. The \"includes\" section is used to point to those files.",
"items": {
"type": "object",
"required": ["name", "path"],
"properties": {
"name": {
"description": "The name of an \"includes\" section. This name is used by a builder to generate a parameter section in the deployment descriptor.",
"type": "string"
},
"path": {
"description": "A path pointing to a file that contains a map of parameters, either in JSON or in YAML format.",
"type": "string"
}
}
}
}
},
"required": ["_schema-version", "ID", "version"],
"title": "com.sap.mta.mta-schema_3.3",
"type": "object"
}
| mta |
{
"description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.",
"properties": {
"fsType": {
"description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
"type": [
"string",
"null"
]
},
"partition": {
"description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).",
"format": "int32",
"type": [
"integer",
"null"
]
},
"readOnly": {
"description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
"type": [
"boolean",
"null"
]
},
"volumeID": {
"description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
"type": [
"string",
"null"
]
}
},
"required": [
"volumeID"
],
"type": "object"
} | kb_50_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"line1": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"zip": {
"type": "string",
"pattern": "^[0-9]{5}(-[0-9]{4})?$"
},
"country": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"line1",
"city",
"state",
"zip",
"country"
]
} | o81564 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "plagiarize.yaml configuration schema",
"id": "https://json.schemastore.org/plagiarize",
"properties": {
"repo": {
"required": ["url"],
"type": "object",
"description": "Configuration for strings, files, and file paths to replace in target file",
"properties": {
"url": {
"description": "Git url of project to plagiarize",
"type": "string"
},
"checkout": {
"description": "Branch, tag, or commit to checkout from project to be plagiarized",
"type": "string"
}
}
},
"strings": {
"type": "object",
"description": "Strings to find in target project and be replaced with plagiarized project's values",
"additionalProperties": {
"type": ["string", "integer", "boolean"]
},
"required": ["project"],
"properties": {
"project": {
"type": "string"
}
}
},
"vars": {
"type": "object",
"description": "Variables available to be used for finding and replacing by variable name. For example `$var_name: hello` would replace string '$var_name' with 'hello' in target project",
"additionalProperties": {
"type": ["string", "integer", "boolean"]
}
}
},
"required": ["repo", "strings"],
"title": "Plagiarize configuration",
"type": "object"
}
| plagiarize |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base of the triangle shape",
"type": "number"
},
"height": {
"description": "The height of the triangle shape",
"type": "number"
},
"length": {
"description": "The length of the shape",
"type": "number"
},
"radius": {
"description": "The radius of the circle shape",
"type": "number"
},
"width": {
"description": "The width of the shape",
"type": "number"
}
},
"required": [
"length",
"width"
],
"type": "object"
},
"shape": {
"description": "The shape to calculate the area for",
"enum": [
"rectangle",
"circle",
"triangle"
],
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_c4e5ca37 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time": {
"_format": "date-time",
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": "string"
}
},
"description": "PriorityLevelConfigurationCondition defines the condition of priority level.",
"properties": {
"lastTransitionTime": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "`lastTransitionTime` is the last time the condition transitioned from one status to another."
},
"message": {
"description": "`message` is a human-readable message indicating details about last transition.",
"type": [
"string",
"null"
]
},
"reason": {
"description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition.",
"type": [
"string",
"null"
]
},
"status": {
"description": "`status` is the status of the condition. Can be True, False, Unknown. Required.",
"type": [
"string",
"null"
]
},
"type": {
"description": "`type` is the type of the condition. Required.",
"type": [
"string",
"null"
]
}
},
"type": "object"
} | kb_769_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"details_metadata": {
"type": "object",
"description": "generic metadata dict in details list",
"properties": {
"author": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"bug_reporting": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"code_repository": {
"oneOf": [
{
"$ref": "#/definitions/metadata_code_repository"
},
{
"type": "null"
}
]
},
"declared_license": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dependencies": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"description": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"devel_dependencies": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"engines": {
"oneOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
]
},
"files": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"git_head": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"homepage": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"keywords": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"metadata": {
"oneOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
]
},
"name": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"platform": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"readme": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"scripts": {
"oneOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
]
},
"version": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"maintainers": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"contributors": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"_bayesian_dependency_tree_lock": {
"oneOf": [
{
"$ref": "#/definitions/metadata_lockfile"
},
{
"type": "null"
}
]
},
"_tests_implemented": {
"type": "boolean"
}
},
"additionalProperties": false
},
"metadata_code_repository": {
"type": "object",
"description": "Code repository description",
"properties": {
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"type",
"url"
],
"additionalProperties": false
},
"metadata_locked_dependency": {
"type": "object",
"description": "Locked dependency description",
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"specification": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resolved": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dependencies": {
"type": "array",
"items": {
"$ref": "#/definitions/metadata_locked_dependency"
}
}
},
"additionalProperties": false
},
"metadata_lockfile": {
"type": "object",
"description": "Dependency lock file description",
"properties": {
"runtime": {
"type": "string"
},
"version": {
"type": "string"
},
"dependencies": {
"type": "array",
"items": {
"$ref": "#/definitions/metadata_locked_dependency"
}
}
},
"additionalProperties": false
}
},
"type": "object",
"description": "Result of Mercator 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\""
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/details_metadata"
}
}
},
"additionalProperties": false,
"title": "metadata-v2-1-1"
} | o60990 |
{
"$comment": "https://gohugo.io/getting-started/configuration/",
"$id": "https://json.schemastore.org/hugo.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"uniqueStringArray": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1
}
},
"outputFormats": {
"type": "object",
"patternProperties": {
".": {
"title": "output format options",
"description": "The output format options\nhttps://gohugo.io/templates/output-formats/#configure-output-formats",
"type": "object",
"properties": {
"name": {
"description": "The identifier\nhttps://gohugo.io/templates/output-formats/#configure-output-formats",
"type": "string",
"minLength": 1
},
"mediaType": {
"description": "The media type\nhttps://gohugo.io/templates/output-formats/#configure-output-formats",
"type": "string",
"enum": [
"application/javascript",
"application/json",
"application/manifest+json",
"application/octet-stream",
"application/pdf",
"application/rss+xml",
"application/toml",
"application/typescript",
"application/xml",
"application/yaml",
"font/otf",
"font/ttf",
"image/bmp",
"image/gif",
"image/jpeg",
"image/png",
"image/svg+xml",
"image/webp",
"text/calendar",
"text/css",
"text/csv",
"text/html",
"text/jsx",
"text/plain",
"text/tsx",
"text/x-sass",
"text/x-scss",
"video/3gpp",
"video/mp4",
"video/mpeg",
"video/ogg",
"video/webm",
"video/x-msvideo"
]
},
"path": {
"description": "The path\nhttps://gohugo.io/templates/output-formats/#configure-output-formats",
"type": "string",
"minLength": 1
},
"baseName": {
"description": "The base filename for the list filenames\nhttps://gohugo.io/templates/output-formats/#configure-output-formats",
"type": "string",
"default": "index"
},
"rel": {
"description": "\nhttps://gohugo.io/templates/output-formats/#configure-output-formats",
"type": "string",
"default": "alternate"
},
"protocol": {
"description": "The replacement for `http://` or `https://` in `baseURL`\nhttps://gohugo.io/templates/output-formats/#configure-output-formats",
"type": "string"
},
"isPlainText": {
"description": "Enable/disable Go's plain text templates parser for the templates\nhttps://gohugo.io/templates/output-formats/#configure-output-formats",
"type": "boolean",
"default": false
},
"isHTML": {
"description": "\nhttps://gohugo.io/templates/output-formats/#configure-output-formats",
"type": "boolean",
"default": false
},
"noUgly": {
"description": "Enable/disable adding file extensions to urls\nhttps://gohugo.io/templates/output-formats/#configure-output-formats",
"type": "boolean",
"default": false
},
"notAlternative": {
"description": "Include/exclude this format in an AlternativeOutputFormats format listing\nhttps://gohugo.io/templates/output-formats/#configure-output-formats",
"type": "boolean",
"default": false
},
"permalinkable": {
"description": "Enable/disable .Permalink and .RelPermalink return the rendering output format\nhttps://gohugo.io/templates/output-formats/#configure-output-formats",
"type": "boolean",
"default": false
},
"weight": {
"description": "The weight\nhttps://gohugo.io/templates/output-formats/#configure-output-formats",
"type": "integer"
}
},
"additionalProperties": false
}
}
},
"cascade": {
"type": "object",
"properties": {
"aliases": {
"description": "The aliases\nhttps://gohugo.io/content-management/front-matter#predefined",
"$ref": "#/definitions/uniqueStringArray"
},
"audio": {
"description": "The audio\nhttps://gohugo.io/content-management/front-matter#predefined",
"$ref": "#/definitions/uniqueStringArray"
},
"date": {
"description": "The datetime\nhttps://gohugo.io/content-management/front-matter#predefined",
"type": "string",
"minLength": 1
},
"description": {
"description": "The description\nhttps://gohugo.io/content-management/front-matter#predefined",
"type": "string"
},
"draft": {
"description": "Specify that the content is (not) the draft\nhttps://gohugo.io/content-management/front-matter#predefined",
"type": "boolean"
},
"expiryDate": {
"description": "The expire date\nhttps://gohugo.io/content-management/front-matter#predefined",
"type": "string",
"minLength": 1
},
"headless": {
"description": "Specify that the content is (not) the headless bundle\nhttps://gohugo.io/content-management/front-matter#predefined",
"type": "boolean"
},
"images": {
"description": "The images\nhttps://gohugo.io/content-management/front-matter#predefined",
"$ref": "#/definitions/uniqueStringArray"
},
"isCJKLanguage": {
"description": "Specify that the page language is (not) the CJK language\nhttps://gohugo.io/content-management/front-matter#predefined",
"type": "boolean"
},
"keywords": {
"description": "The keywords\nhttps://gohugo.io/content-management/front-matter#predefined",
"$ref": "#/definitions/uniqueStringArray"
},
"layout": {
"description": "The layout\nhttps://gohugo.io/content-management/front-matter#predefined",
"type": "string",
"minLength": 1
},
"lastmod": {
"description": "The last modification time\nhttps://gohugo.io/content-management/front-matter#predefined",
"type": "string",
"minLength": 1
},
"linkTitle": {
"description": "The link title\nhttps://gohugo.io/content-management/front-matter#predefined",
"type": "string",
"minLength": 1
},
"markup": {
"description": "\nhttps://gohugo.io/content-management/front-matter#predefined",
"type": "string",
"enum": ["rst", "md"]
},
"outputs": {
"title": "output format options",
"description": "The output format options\nhttps://gohugo.io/content-management/front-matter#predefined",
"$ref": "#/definitions/outputFormats"
},
"publishDate": {
"description": "The publish date\nhttps://gohugo.io/content-management/front-matter#predefined",
"type": "string",
"minLength": 1
},
"resources": {
"title": "resource options",
"description": "The resource options\nhttps://gohugo.io/content-management/front-matter#predefined",
"type": "object",
"properties": {
"name": {
"description": "The value for `Name`\nhttps://gohugo.io/content-management/page-resources/#page-resources-metadata",
"type": "string",
"minLength": 1,
"examples": [":counter"]
},
"title": {
"description": "The value for `Title`\nhttps://gohugo.io/content-management/page-resources/#page-resources-metadata",
"type": "string",
"minLength": 1,
"examples": [":counter"]
},
"params": {
"title": "param options",
"description": "The param options\nhttps://gohugo.io/content-management/page-resources/#page-resources-metadata",
"type": "object",
"patternProperties": {
".": {
"description": "The param\nhttps://gohugo.io/content-management/page-resources/#page-resources-metadata"
}
}
}
},
"additionalProperties": false
},
"series": {
"description": "The series\nhttps://gohugo.io/content-management/front-matter#predefined",
"$ref": "#/definitions/uniqueStringArray"
},
"slug": {
"description": "The slug\nhttps://gohugo.io/content-management/front-matter#predefined",
"type": "string",
"minLength": 1
},
"summary": {
"description": "The summary\nhttps://gohugo.io/content-management/front-matter#predefined",
"type": "string",
"minLength": 1
},
"title": {
"description": "The title\nhttps://gohugo.io/content-management/front-matter#predefined",
"type": "string",
"minLength": 1
},
"type": {
"description": "The type\nhttps://gohugo.io/content-management/front-matter#predefined",
"type": "string",
"minLength": 1
},
"url": {
"description": "The url\nhttps://gohugo.io/content-management/front-matter#predefined",
"type": "string",
"minLength": 1
},
"videos": {
"description": "The videos\nhttps://gohugo.io/content-management/front-matter#predefined",
"$ref": "#/definitions/uniqueStringArray"
},
"weight": {
"description": "The weight\nhttps://gohugo.io/content-management/front-matter#predefined",
"type": "integer"
}
},
"patternProperties": {
"^(?!aliases|audio|date|description|draft|expiryDate|headless|images|isCJKLanguage|keywords|layout|lastmod|linkTitle|markup|outputs|publishDate|resources|series|slug|summary|title|type|url|videos|weight)$": {
"description": "The front matter default\nhttps://gohugo.io/content-management/front-matter#front-matter-cascade"
}
}
},
"hugoVersion": {
"type": "string",
"enum": [
"v0.95.0",
"v0.94.2",
"v0.94.1",
"v0.94.0",
"v0.93.3",
"v0.93.2",
"v0.93.1",
"v0.93.0",
"v0.92.2",
"v0.92.1",
"v0.92.0",
"v0.91.2",
"v0.91.1",
"v0.91.0",
"v0.90.1",
"v0.90.0",
"v0.89.4",
"v0.89.3",
"v0.89.2",
"v0.89.1",
"v0.89.0",
"v0.88.1",
"v0.88.0",
"v0.87.0",
"v0.86.1",
"v0.86.0",
"v0.85.0",
"v0.84.4",
"v0.84.3",
"v0.84.2"
]
}
},
"properties": {
"archetypeDir": {
"description": "The directory to store archetype files\nhttps://gohugo.io/getting-started/configuration/#archetypedir",
"type": "string",
"default": "archetypes",
"minLength": 1
},
"assetDir": {
"description": "The directory to store asset files\nhttps://gohugo.io/getting-started/configuration/#assetdir",
"type": "string",
"default": "assets",
"minLength": 1
},
"baseURL": {
"description": "The hostname and the path to the root\nhttps://gohugo.io/getting-started/configuration/#baseurl",
"type": "string",
"minLength": 1
},
"build": {
"title": "build options",
"description": "The build options\nhttps://gohugo.io/getting-started/configuration/#configure-build",
"type": "object",
"properties": {
"useResourceCacheWhen": {
"description": "The time when to use the cached resources in `/resources/_gen` for `PostCSS` and `ToCSS`\nhttps://gohugo.io/getting-started/configuration/#configure-build",
"type": "string",
"default": "fallback",
"enum": ["never", "always", "fallback"]
},
"writeStats": {
"description": "Enable/disable `hugo_stats.json` writing to the root project directory\nhttps://gohugo.io/getting-started/configuration/#configure-build",
"type": "boolean",
"default": false
},
"noJSConfigInAssets": {
"description": "Enable/disable `jsconfig.json` writing into your `/assets` folder with mapping of imports from running `js.Build`\nhttps://gohugo.io/getting-started/configuration/#configure-build",
"type": "boolean",
"default": false
}
},
"additionalProperties": false
},
"buildDrafts": {
"description": "Include/exclude the drafts when building\nhttps://gohugo.io/getting-started/configuration/#builddrafts-false",
"type": "boolean",
"default": false
},
"buildExpired": {
"description": "Include/exclude the content already expired\nhttps://gohugo.io/getting-started/configuration/#buildexpired",
"type": "boolean",
"default": false
},
"buildFuture": {
"description": "Include/exclude the content with `publishDate` in the future\nhttps://gohugo.io/getting-started/configuration/#buildfuture",
"type": "boolean",
"default": false
},
"caches": {
"title": "cache options",
"description": "The cache options\nhttps://gohugo.io/getting-started/configuration/#configure-file-caches",
"type": "object",
"default": {
"assets": {
"dir": ":resourceDir/_gen",
"maxAge": -1
},
"getcsv": {
"dir": ":cacheDir/:project",
"maxAge": -1
},
"getjson": {
"dir": ":cacheDir/:project",
"maxAge": -1
},
"getresource": {
"dir": ":cacheDir/:project",
"maxAge": -1
},
"images": {
"dir": ":resourceDir/_gen",
"maxAge": -1
},
"modules": {
"dir": ":cacheDir/modules",
"maxAge": -1
}
},
"patternProperties": {
".": {
"description": "Cache entry",
"type": "object",
"properties": {
"maxAge": {
"description": "The duration before the cache entry will be evicted\nhttps://gohugo.io/getting-started/configuration/#the-keywords-explained",
"default": -1,
"examples": ["0", "10s", "10m", "10h"],
"oneOf": [
{
"type": "integer",
"minimum": -1
},
{
"type": "string",
"pattern": "^-?\\d+[smh]?$"
}
]
},
"dir": {
"description": "The absolute path to store cache files\nhttps://gohugo.io/getting-started/configuration/#the-keywords-explained",
"type": "string",
"examples": [
":cacheDir",
":project",
":resourceDir",
":resourceDir/_gen",
":cacheDir/:project",
":cacheDir/modules"
],
"minLength": 1
}
},
"additionalProperties": false
}
}
},
"cascade": {
"title": "front matter options",
"description": "The front matter options\nhttps://gohugo.io/content-management/front-matter#front-matter-cascade",
"oneOf": [
{
"type": "object",
"$ref": "#/definitions/cascade"
},
{
"type": "array",
"items": {
"type": "object",
"required": ["_target"],
"allOf": [
{
"properties": {
"_target": {
"description": "The front matter default\nhttps://gohugo.io/content-management/front-matter#front-matter-cascade",
"type": "object",
"properties": {
"path": {
"description": "The glob pattern matching the content path below /content\nhttps://gohugo.io/content-management/front-matter#front-matter-cascade",
"type": "string",
"minLength": 1
},
"kind": {
"description": "The glob pattern matching the page's kind\nhttps://gohugo.io/content-management/front-matter#front-matter-cascade",
"type": "string",
"minLength": 1
},
"lang": {
"description": "The glob pattern matching the page's language\nhttps://gohugo.io/content-management/front-matter#front-matter-cascade",
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
}
},
{
"$ref": "#/definitions/cascade"
}
]
}
}
]
},
"canonifyURLs": {
"description": "Enable/disable relative URLs to absolute conversion\nhttps://gohugo.io/getting-started/configuration/#canonifyurls",
"type": "boolean",
"default": false
},
"contentDir": {
"description": "The directory where content files are stored\nhttps://gohugo.io/getting-started/configuration/#contentdir",
"type": "string",
"default": "content",
"minLength": 1
},
"copyright": {
"description": "The copyright notice for your site\nhttps://gohugo.io/getting-started/configuration/#copyright",
"type": "string",
"default": ""
},
"dataDir": {
"description": "The directory where data files are stored\nhttps://gohugo.io/getting-started/configuration/#datadir",
"type": "string",
"default": "data",
"minLength": 1
},
"defaultContentLanguage": {
"description": "The default content language for the content without language indicator\nhttps://gohugo.io/getting-started/configuration/#defaultcontentlanguage",
"type": "string",
"default": "en",
"minLength": 1
},
"defaultContentLanguageInSubdir": {
"description": "Enable/disable rendering the default content language in subdir\nhttps://gohugo.io/getting-started/configuration/#defaultcontentlanguageinsubdir",
"type": "boolean",
"default": false
},
"disableAliases": {
"description": "Enable/disable generation of the alias redirects\nhttps://gohugo.io/getting-started/configuration/#disablealiases",
"type": "boolean",
"default": false
},
"disableHugoGeneratorInject": {
"description": "Enable/disable injecting a generator meta tag in the HTML head on the home page only\nhttps://gohugo.io/getting-started/configuration/#disablehugogeneratorinject",
"type": "boolean",
"default": false
},
"disableKinds": {
"description": "Disabled kinds of pages\nhttps://gohugo.io/getting-started/configuration/#disablekinds",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
"page",
"home",
"section",
"taxonomy",
"term",
"RSS",
"sitemap",
"robotsTXT",
"404"
]
}
},
"disableLiveReload": {
"description": "Enable/disable automatic live reloading of browser window\nhttps://gohugo.io/getting-started/configuration/#disablelivereload",
"type": "boolean",
"default": false
},
"disablePathToLower": {
"description": "Enable/disable the url/path to lowercase conversion\nhttps://gohugo.io/getting-started/configuration/#disablepathtolower",
"type": "boolean",
"default": false
},
"enableEmoji": {
"description": "Enable/disable Emoji emoticons support for page content\nhttps://gohugo.io/getting-started/configuration/#enableemoji",
"type": "boolean",
"default": false
},
"enableGitInfo": {
"description": "Enable/disable .GitInfo object for each page\nhttps://gohugo.io/getting-started/configuration/#enablegitinfo",
"type": "boolean",
"default": false
},
"enableInlineShortcodes": {
"description": "Enable/disable inline shortcode support\nhttps://gohugo.io/getting-started/configuration/#enableinlineshortcodes",
"type": "boolean",
"default": false
},
"enableMissingTranslationPlaceholders": {
"description": "Enable/disable placeholder substitution instead of the default value or an empty string if a translation is missing\nhttps://gohugo.io/getting-started/configuration/#enablemissingtranslationplaceholders",
"type": "boolean",
"default": false
},
"enableRobotsTXT": {
"description": "Enable/disable generation of robots.txt file\nhttps://gohugo.io/getting-started/configuration/#enablerobotstxt",
"type": "boolean",
"default": false
},
"frontmatter": {
"title": "front matter options",
"description": "The front matter options\nhttps://gohugo.io/getting-started/configuration/#configure-front-matter",
"type": "object",
"default": {
"date": ["date", "publishDate", "lastmod"],
"expiryDate": ["expiryDate"],
"lastmod": [":git", "lastmod", "date", "publishDate"],
"publishDate": ["publishDate", "date"]
},
"properties": {
"date": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-front-matter",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
"date",
"publishDate",
"lastmod",
":default",
":filename",
":git",
"modified",
"pubdate"
]
}
},
"expiryDate": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-front-matter",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"enum": ["expiryDate", "unpublishdate"]
}
},
"lastmod": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-front-matter",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
":git",
"lastmod",
"date",
"publishDate",
":fileModTime",
"modified",
"pubdate"
]
}
},
"publishDate": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-front-matter",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"enum": ["publishDate", "date", "pubdate"]
}
}
},
"additionalProperties": false
},
"footnoteAnchorPrefix": {
"description": "The prefix for footnote anchors\nhttps://gohugo.io/getting-started/configuration/#footnoteanchorprefix",
"type": "string",
"default": ""
},
"footnoteReturnLinkContents": {
"description": "The text to display for footnote return links\nhttps://gohugo.io/getting-started/configuration/#footnotereturnlinkcontents",
"type": "string",
"default": ""
},
"googleAnalytics": {
"description": "The Google Analytics tracking ID\nhttps://gohugo.io/getting-started/configuration/#googleanalytics",
"type": "string",
"default": "",
"pattern": "(UA-\\d{6}-\\d)|(G-\\w+)"
},
"hasCJKLanguage": {
"description": "Enable/disable auto-detecting Chinese/Japanese/Korean Languages in the content\nhttps://gohugo.io/getting-started/configuration/#hascjklanguage",
"type": "boolean",
"default": false
},
"imaging": {
"description": "The image processing options\nhttps://gohugo.io/getting-started/configuration/#imaging",
"type": "object",
"default": {
"resampleFilter": "Box",
"quality": 75,
"hint": "photo",
"anchor": "Smart",
"bgColor": "#ffffff",
"exif": {
"includeFields": "",
"excludeFields": "",
"disableDate": false,
"disableLatLong": false
}
},
"properties": {
"resampleFilter": {
"description": "The default resample filter\nhttps://gohugo.io/content-management/image-processing/#resampling-filter",
"type": "string",
"default": "Box",
"enum": [
"NearestNeighbor",
"Box",
"Linear",
"Hermite",
"MitchellNetravali",
"CatmullRom",
"BSpline",
"Gaussian",
"Lanczos",
"Hann",
"Hamming",
"Blackman",
"Bartlett",
"Welch",
"Cosine"
]
},
"quality": {
"description": "The default quality\nhttps://gohugo.io/content-management/image-processing/#image-processing-config",
"type": "integer",
"default": 75,
"minimum": 0,
"maximum": 100
},
"hint": {
"description": "The default hint about what type of image\nhttps://gohugo.io/content-management/image-processing/#image-processing-config",
"type": "string",
"default": "photo",
"enum": ["picture", "photo", "drawing", "icon", "text"]
},
"anchor": {
"description": "The anchor used when cropping pictures with either .Fill or .Crop\nhttps://gohugo.io/content-management/image-processing/#image-processing-config",
"type": "string",
"default": "Smart",
"enum": [
"Smart",
"TopLeft",
"Top",
"TopRight",
"Left",
"Center",
"Right",
"BottomLeft",
"Bottom",
"BottomRight"
]
},
"bgColor": {
"description": "The default background color\nhttps://gohugo.io/content-management/image-processing/#image-processing-config",
"type": "string",
"default": "#ffffff",
"pattern": "^#(\\d|[ABCDEFabcdef]){6}$"
},
"exif": {
"title": "Exif options",
"description": "Exif options\nhttps://gohugo.io/content-management/image-processing/#image-processing-config",
"type": "object",
"properties": {
"includeFields": {
"description": "The regexp matching the included fields\nhttps://gohugo.io/content-management/image-processing/#image-processing-config",
"type": "string",
"default": ""
},
"excludeFields": {
"description": "The regexp matching the excluded fields\nhttps://gohugo.io/content-management/image-processing/#image-processing-config",
"type": "string",
"default": ""
},
"disableDate": {
"description": "Enable/disable extracting the 'photo taken' date/time into .Date\nhttps://gohugo.io/content-management/image-processing/#image-processing-config",
"type": "boolean",
"default": false
},
"disableLatLong": {
"description": "Enable/disable extracting the 'photo taken where' into .Long and .Lat\nhttps://gohugo.io/content-management/image-processing/#image-processing-config",
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"languageCode": {
"description": "The language tag as defined by RFC 5646\nhttps://gohugo.io/getting-started/configuration/#languagecode",
"type": "string",
"default": ""
},
"languages": {
"title": "language options",
"description": "The language options\nhttps://gohugo.io/content-management/multilingual/#configure-languages",
"type": "object",
"default": {},
"patternProperties": {
".": {
"description": "Tha language options",
"type": "object"
}
}
},
"disableLanguages": {
"description": "The disabled languages\nhttps://gohugo.io/content-management/multilingual/#disable-a-language",
"$ref": "#/definitions/uniqueStringArray"
},
"markup": {
"title": "markdown options",
"description": "The markdown options\nhttps://gohugo.io/getting-started/configuration-markup",
"type": "object",
"default": {
"asciidocExt": {
"attributes": {},
"backend": "html5",
"extensions": [],
"failureLevel": "fatal",
"noHeaderOrFooter": true,
"preserveTOC": false,
"safeMode": "unsafe",
"sectionNumbers": false,
"trace": false,
"verbose": false,
"workingFolderCurrent": false
},
"blackFriday": {
"angledQuotes": false,
"extensions": null,
"extensionsMask": null,
"footnoteAnchorPrefix": "",
"footnoteReturnLinkContents": "",
"fractions": true,
"hrefTargetBlank": false,
"latexDashes": true,
"nofollowLinks": false,
"noreferrerLinks": false,
"plainIDAnchors": true,
"skipHTML": false,
"smartDashes": true,
"smartypants": true,
"smartypantsQuotesNBSP": false,
"taskLists": true
},
"defaultMarkdownHandler": "goldmark",
"goldmark": {
"extensions": {
"definitionList": true,
"footnote": true,
"linkify": true,
"linkifyProtocol": "https",
"strikethrough": true,
"table": true,
"taskList": true,
"typographer": true
},
"parser": {
"attribute": {
"block": false,
"title": true
},
"autoHeadingID": true,
"autoHeadingIDType": "github"
},
"renderer": {
"hardWraps": false,
"unsafe": false,
"xhtml": false
}
},
"highlight": {
"anchorLineNos": false,
"codeFences": true,
"guessSyntax": false,
"hl_Lines": "",
"lineAnchors": "",
"lineNoStart": 1,
"lineNos": false,
"lineNumbersInTable": true,
"noClasses": true,
"noHl": false,
"style": "monokai",
"tabWidth": 4
},
"tableOfContents": {
"startLevel": 2,
"endLevel": 3,
"ordered": false
}
},
"properties": {
"asciidocExt": {
"title": "AsciidocExt options",
"description": "AsciidocExt options\nhttps://docs.asciidoctor.org/asciidoctor/latest/cli/man1/asciidoctor/#processing-information",
"type": "object",
"properties": {
"attributes": {
"title": "document attributes",
"description": "The document attributes\nhttps://docs.asciidoctor.org/asciidoctor/latest/cli/man1/asciidoctor/#document-settings",
"type": "object",
"default": {},
"patternProperties": {
".": {
"type": "string"
}
}
},
"backend": {
"description": "The backend output file format\nhttps://docs.asciidoctor.org/asciidoctor/latest/cli/man1/asciidoctor/#document-settings",
"type": "string",
"default": "html5",
"enum": ["html5", "docbook5", "manpage", "html"]
},
"extensions": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#configure-markup",
"type": "array",
"default": [],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1
}
},
"failureLevel": {
"description": "The minimum logging level\nhttps://docs.asciidoctor.org/asciidoctor/latest/cli/man1/asciidoctor/#processing-information",
"type": "string",
"default": "fatal"
},
"noHeaderOrFooter": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#configure-markup",
"type": "boolean",
"default": true
},
"preserveTOC": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#configure-markup",
"type": "boolean",
"default": false
},
"safeMode": {
"description": "The safe mode\nhttps://docs.asciidoctor.org/asciidoctor/latest/safe-modes/",
"type": "string",
"default": "unsafe",
"enum": ["unsafe", "safe", "server", "secure"]
},
"sectionNumbers": {
"description": "Enable/disable section title's auto-numbering\nhttps://docs.asciidoctor.org/asciidoctor.js/latest/cli/options/#document-conversion",
"type": "boolean",
"default": false
},
"trace": {
"description": "Include/exclude the backtrace information on errors\nhttps://gohugo.io/getting-started/configuration-markup#configure-markup",
"type": "boolean",
"default": false
},
"verbose": {
"description": "Enable/disable verbose error printing\nhttps://gohugo.io/getting-started/configuration-markup#configure-markup",
"type": "boolean",
"default": false
},
"workingFolderCurrent": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#configure-markup",
"type": "boolean",
"default": false
}
},
"additionalProperties": false
},
"blackfriday": {
"title": "Blackfriday options",
"description": "Blackfriday options\nhttps://gohugo.io/getting-started/configuration-markup#blackfriday",
"type": "object",
"properties": {
"angledQuotes": {
"description": "https://gohugo.io/getting-started/configuration-markup#blackfriday",
"type": "boolean",
"default": false
},
"extensions": {
"description": "https://gohugo.io/getting-started/configuration-markup#blackfriday",
"type": ["array", "null"],
"default": null,
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1
}
},
"extensionsMask": {
"description": "https://gohugo.io/getting-started/configuration-markup#blackfriday",
"type": ["string", "null"],
"default": null
},
"footnoteAnchorPrefix": {
"description": "https://gohugo.io/getting-started/configuration-markup#blackfriday",
"type": "string",
"default": ""
},
"footnoteReturnLinkContents": {
"description": "https://gohugo.io/getting-started/configuration-markup#blackfriday",
"type": "string",
"default": ""
},
"fractions": {
"description": "https://gohugo.io/getting-started/configuration-markup#blackfriday",
"type": "boolean",
"default": true
},
"hrefTargetBlank": {
"description": "https://gohugo.io/getting-started/configuration-markup#blackfriday",
"type": "boolean",
"default": false
},
"latexDashes": {
"description": "https://gohugo.io/getting-started/configuration-markup#blackfriday",
"type": "boolean",
"default": true
},
"nofollowLinks": {
"description": "https://gohugo.io/getting-started/configuration-markup#blackfriday",
"type": "boolean",
"default": false
},
"noreferrerLinks": {
"description": "https://gohugo.io/getting-started/configuration-markup#blackfriday",
"type": "boolean",
"default": false
},
"plainIDAnchors": {
"description": "https://gohugo.io/getting-started/configuration-markup#blackfriday",
"type": "boolean",
"default": true
},
"skipHTML": {
"description": "https://gohugo.io/getting-started/configuration-markup#blackfriday",
"type": "boolean",
"default": false
},
"smartDashes": {
"description": "https://gohugo.io/getting-started/configuration-markup#blackfriday",
"type": "boolean",
"default": true
},
"smartypants": {
"description": "https://gohugo.io/getting-started/configuration-markup#blackfriday",
"type": "boolean",
"default": true
},
"smartypantsQuotesNBSP": {
"description": "https://gohugo.io/getting-started/configuration-markup#blackfriday",
"type": "boolean",
"default": false
},
"taskLists": {
"description": "https://gohugo.io/getting-started/configuration-markup#blackfriday",
"type": "boolean",
"default": true
}
},
"additionalProperties": false
},
"defaultMarkdownHandler": {
"description": "The default markdown renderer\nhttps://gohugo.io/getting-started/configuration-markup#blackfriday",
"type": "string",
"default": "goldmark",
"enum": ["goldmark", "blackfriday"]
},
"goldmark": {
"title": "Goldmark options",
"description": "Goldmark options\nhttps://gohugo.io/getting-started/configuration-markup#goldmark",
"type": "object",
"default": {
"extensions": {
"definitionList": true,
"footnote": true,
"linkify": true,
"linkifyProtocol": "https",
"strikethrough": true,
"table": true,
"taskList": true,
"typographer": true
},
"parser": {
"attribute": {
"block": false,
"title": true
},
"autoHeadingID": true,
"autoHeadingIDType": "github"
},
"renderer": {
"hardWraps": false,
"unsafe": false,
"xhtml": false
}
},
"properties": {
"extensions": {
"title": "extension options",
"description": "The extension options\nhttps://gohugo.io/getting-started/configuration-markup#goldmark",
"type": "object",
"default": {
"definitionList": true,
"footnote": true,
"linkify": true,
"linkifyProtocol": "https",
"strikethrough": true,
"table": true,
"taskList": true,
"typographer": true
},
"properties": {
"definitionList": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#goldmark",
"type": "boolean",
"default": true
},
"footnote": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#goldmark",
"type": "boolean",
"default": true
},
"linkify": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#goldmark",
"type": "boolean",
"default": true
},
"linkifyProtocol": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#goldmark",
"type": "string",
"default": "https"
},
"strikethrough": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#goldmark",
"type": "boolean",
"default": true
},
"table": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#goldmark",
"type": "boolean",
"default": true
},
"taskList": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#goldmark",
"type": "boolean",
"default": true
},
"typographer": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#goldmark",
"type": "boolean",
"default": true
}
},
"additionalProperties": false
},
"parser": {
"title": "parser options",
"description": "The parser options\nhttps://gohugo.io/getting-started/configuration-markup#goldmark",
"type": "object",
"default": {
"attribute": {
"block": false,
"title": true
},
"autoHeadingID": true,
"autoHeadingIDType": "github"
},
"properties": {
"attribute": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#goldmark",
"type": "object",
"default": {
"block": false,
"title": true
},
"properties": {
"block": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#goldmark",
"type": "boolean",
"default": false
},
"title": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#goldmark",
"type": "boolean",
"default": true
}
},
"additionalProperties": false
},
"autoHeadingID": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#goldmark",
"type": "boolean",
"default": true
},
"autoHeadingIDType": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#goldmark",
"type": "string",
"default": "github"
}
},
"additionalProperties": false
},
"renderer": {
"title": "renderer options",
"description": "The renderer options\nhttps://gohugo.io/getting-started/configuration-markup#goldmark",
"type": "object",
"default": {
"hardWraps": false,
"unsafe": false,
"xhtml": false
},
"properties": {
"hardWraps": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#goldmark",
"type": "boolean",
"default": false
},
"unsafe": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#goldmark",
"type": "boolean",
"default": false
},
"xhtml": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#goldmark",
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"highlight": {
"title": "highlighting options",
"description": "The highlighting options\nhttps://gohugo.io/getting-started/configuration-markup#highlight",
"type": "object",
"default": {
"anchorLineNos": false,
"codeFences": true,
"guessSyntax": false,
"hl_Lines": "",
"lineAnchors": "",
"lineNoStart": 1,
"lineNos": false,
"lineNumbersInTable": true,
"noClasses": true,
"noHl": false,
"style": "monokai",
"tabWidth": 4
},
"properties": {
"anchorLineNos": {
"description": "Enable/disable anchors on line numbers\nhttps://gohugo.io/getting-started/configuration-markup#highlight",
"type": "boolean",
"default": false
},
"codeFences": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#highlight",
"type": "boolean",
"default": true
},
"guessSyntax": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#highlight",
"type": "boolean",
"default": false
},
"hl_Lines": {
"description": "The highlighted line number range\nhttps://gohugo.io/getting-started/configuration-markup#highlight",
"default": "",
"oneOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "string",
"pattern": "^\\d+( \\d+(-\\d+)?)*$"
}
]
},
"lineAnchors": {
"description": "The prefix for the anchors on line numbers\nhttps://gohugo.io/getting-started/configuration-markup#highlight",
"type": "string",
"default": ""
},
"lineNoStart": {
"description": "The first line\nhttps://gohugo.io/getting-started/configuration-markup#highlight",
"type": "integer",
"default": 1,
"minimum": 1
},
"lineNos": {
"description": "Enable/disable line numbers\nhttps://gohugo.io/getting-started/configuration-markup#highlight",
"default": false,
"oneOf": [
{
"type": "boolean"
},
{
"type": "string",
"enum": ["table", "inline"]
}
]
},
"lineNumbersInTable": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#highlight",
"type": "boolean",
"default": true
},
"noClasses": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#highlight",
"type": "boolean",
"default": true
},
"noHl": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#highlight",
"type": "boolean",
"default": false
},
"style": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#highlight",
"type": "string",
"default": "monokai",
"enum": [
"algol",
"algol_nu",
"api",
"arduino",
"autumn",
"borland",
"bw",
"colorful",
"dracula",
"emacs",
"friendly",
"fruity",
"github",
"igor",
"lovelace",
"manni",
"monokai",
"monokailight",
"murphy",
"native",
"pastie",
"perldoc",
"pygments",
"rainbow_dash",
"rrt",
"swapoff",
"tango",
"trac",
"vim",
"vs",
"xcode"
]
},
"tabWidth": {
"description": "\nhttps://gohugo.io/getting-started/configuration-markup#highlight",
"type": "integer",
"default": 4,
"minimum": 1
}
},
"additionalProperties": false
},
"tableOfContents": {
"title": "table of contents options",
"description": "The table of contents options\nhttps://gohugo.io/getting-started/configuration-markup#table-of-contents",
"type": "object",
"default": {
"endLevel": 3,
"ordered": false,
"startLevel": 2
},
"properties": {
"startLevel": {
"description": "The start heading level\nhttps://gohugo.io/getting-started/configuration-markup#table-of-contents",
"type": "integer",
"default": 2,
"minimum": 1,
"maximum": 6
},
"endLevel": {
"description": "The end heading level\nhttps://gohugo.io/getting-started/configuration-markup#table-of-contents",
"type": "integer",
"default": 3,
"minimum": 1,
"maximum": 6
},
"ordered": {
"description": "Enable/disable ordered list generation\nhttps://gohugo.io/getting-started/configuration-markup#table-of-contents",
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}
}
},
"mediaTypes": {
"title": "media type's options",
"description": "The media type's options\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "object",
"properties": {
"application/javascript": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["js", "jsm", "mjs"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["js", "jsm", "mjs"]
}
},
"application/json": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["json"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["json"]
}
},
"application/manifest+json": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["webmanifest"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["webmanifest"]
}
},
"application/octet-stream": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": [],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1
}
},
"application/pdf": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["pdf"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["pdf"]
}
},
"application/rss+xml": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["xml", "rss"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["xml", "rss"]
}
},
"application/toml": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["toml"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["toml"]
}
},
"application/typescript": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["ts"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["ts"]
}
},
"application/xml": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["xml"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["xml"]
}
},
"application/yaml": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["yaml", "yml"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["yaml", "yml"]
}
},
"font/otf": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["otf"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["otf"]
}
},
"font/ttf": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["ttf"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["ttf"]
}
},
"image/bmp": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["bmp"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["bmp"]
}
},
"image/gif": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["gif"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["gif"]
}
},
"image/jpeg": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["jpg", "jpeg", "gpe", "jif", "jfif"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["jpg", "jpeg", "gpe", "jif", "jfif"]
}
},
"image/png": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["png"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["png"]
}
},
"image/svg+xml": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["svg"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["svg"]
}
},
"image/webp": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["webp"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["webp"]
}
},
"text/calendar": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["ics"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["ics"]
}
},
"text/css": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["css"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["css"]
}
},
"text/csv": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["csv"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["csv"]
}
},
"text/html": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["html"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["html"]
}
},
"text/jsx": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["jsx"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["jsx"]
}
},
"text/plain": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["txt"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["txt"]
}
},
"text/tsx": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["tsx"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["tsx"]
}
},
"text/x-sass": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["sass"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["sass"]
}
},
"text/x-scss": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["scss"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["scss"]
}
},
"video/3gpp": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["3gpp", "3gp"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["3gpp", "3gp"]
}
},
"video/mp4": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["mp4"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["mp4"]
}
},
"video/mpeg": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["mpg", "mpeg"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["mpg", "mpeg"]
}
},
"video/ogg": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["ogv"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["ogv"]
}
},
"video/webm": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["webm"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["webm"]
}
},
"video/x-msvideo": {
"description": "\nhttps://gohugo.io/templates/output-formats/#media-types",
"type": "array",
"default": ["avi"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"examples": ["avi"]
}
}
},
"additionalProperties": false
},
"menu": {
"title": "media menu options",
"description": "The menu options\nhttps://gohugo.io/content-management/menus/#add-non-content-entries-to-a-menu",
"type": "object",
"patternProperties": {
".": {
"description": "The menu\nhttps://gohugo.io/content-management/menus/#add-non-content-entries-to-a-menu",
"type": "array",
"items": {
"type": "object",
"properties": {
"identifier": {
"description": "Required when two or more menu entries have the same name\nhttps://gohugo.io/content-management/menus/#properties-front-matter",
"type": "string",
"minLength": 1
},
"name": {
"description": "The text to display when rendering the menu entry.\nhttps://gohugo.io/content-management/menus/#properties-front-matter",
"type": "string",
"minLength": 1
},
"parent": {
"description": "Required for child entries in a nested menu.\nhttps://gohugo.io/content-management/menus/#properties-front-matter",
"type": "string"
},
"post": {
"description": "\nhttps://gohugo.io/content-management/menus/#add-non-content-entries-to-a-menu",
"type": "string"
},
"pre": {
"description": "\nhttps://gohugo.io/content-management/menus/#add-non-content-entries-to-a-menu",
"type": "string"
},
"title": {
"description": "\nhttps://gohugo.io/content-management/menus/#add-non-content-entries-to-a-menu",
"type": "string"
},
"weight": {
"description": "A non-zero integer indicating the entry's position relative the root of the menu, or to its parent for a child entry\nhttps://gohugo.io/content-management/menus/#properties-front-matter",
"type": "integer"
},
"pageRef": {
"description": "Required for internal links.\nhttps://gohugo.io/content-management/menus/#properties-site-configuration",
"type": "string"
},
"url": {
"description": "Required for external links.\nhttps://gohugo.io/content-management/menus/#properties-site-configuration",
"type": "string"
}
},
"additionalProperties": false
}
}
}
},
"minify": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "object",
"default": {
"disableCSS": false,
"disableHTML": false,
"disableJS": false,
"disableJSON": false,
"disableSVG": false,
"disableXML": false,
"minifyOutput": false,
"tdewolff": {
"css": {
"keepCSS2": true,
"precision": 0
},
"html": {
"keepComments": false,
"keepConditionalComments": true,
"keepDefaultAttrVals": true,
"keepDocumentTags": true,
"keepEndTags": true,
"keepQuotes": false,
"keepWhitespace": false
},
"js": {
"keepVarNames": false,
"noNullishOperator": false,
"precision": 0
},
"json": {
"keepNumbers": false,
"precision": 0
},
"svg": {
"precision": 0
},
"xml": {
"keepWhitespace": false
}
}
},
"properties": {
"disableCSS": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "boolean",
"default": false
},
"disableHTML": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "boolean",
"default": false
},
"disableJS": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "boolean",
"default": false
},
"disableJSON": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "boolean",
"default": false
},
"disableSVG": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "boolean",
"default": false
},
"disableXML": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "boolean",
"default": false
},
"minifyOutput": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "boolean",
"default": false
},
"tdewolff": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "object",
"properties": {
"css": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "object",
"properties": {
"keepCSS2": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "boolean",
"default": true
},
"precision": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "integer",
"default": 0,
"minimum": 2
}
},
"additionalProperties": false
},
"html": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "object",
"properties": {
"keepComments": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "boolean",
"default": false
},
"keepConditionalComments": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "boolean",
"default": true
},
"keepDefaultAttrVals": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "boolean",
"default": true
},
"keepDocumentTags": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "boolean",
"default": true
},
"keepEndTags": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "boolean",
"default": true
},
"keepQuotes": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "boolean",
"default": false
},
"keepWhitespace": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "boolean",
"default": false
}
},
"additionalProperties": false
},
"js": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "object",
"properties": {
"keepVarNames": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "boolean",
"default": false
},
"noNullishOperator": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "boolean",
"default": false
},
"precision": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "integer",
"default": 0
}
},
"additionalProperties": false
},
"json": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "object",
"properties": {
"keepNumbers": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "boolean",
"default": false
},
"precision": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "boolean",
"default": 0
}
},
"additionalProperties": false
},
"svg": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "object",
"properties": {
"precision": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "integer",
"default": 0,
"minimum": 0
}
},
"additionalProperties": false
},
"xml": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "object",
"properties": {
"keepWhitespace": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#configure-minify",
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"module": {
"description": "The module options\nhttps://gohugo.io/hugo-modules/configuration/",
"type": "object",
"default": {
"noProxy": "none",
"noVendor": "",
"private": "*.*",
"proxy": "direct",
"replacements": "",
"workspace": ""
},
"properties": {
"noVendor": {
"description": "The glob pattern matching the paths to skip when vendoring\nhttps://gohugo.io/hugo-modules/configuration/#module-config-top-level",
"type": "string",
"default": ""
},
"vendorClosest": {
"description": "Enable/disable picking the vendored module closest to the module using it\nhttps://gohugo.io/hugo-modules/configuration/#module-config-top-level",
"type": "boolean",
"default": "true"
},
"proxy": {
"description": "The proxy server to download the remote modules\nhttps://gohugo.io/hugo-modules/configuration/#module-config-top-level",
"type": "string",
"default": "direct"
},
"noProxy": {
"description": "The glob list of the matching paths that should not use the proxy configured above\nhttps://gohugo.io/hugo-modules/configuration/#module-config-top-level",
"type": "string",
"default": "none",
"examples": ["*.ext", "*.ext1,*.ext2"],
"pattern": "^[^,]+(,[^,]+)*$"
},
"private": {
"description": "The glob list of the matching paths that should be treated as private\nhttps://gohugo.io/hugo-modules/configuration/#module-config-top-level",
"type": "string",
"default": "*.*",
"examples": ["*.ext", "*.ext1,*.ext2"],
"pattern": "^[^,]+(,[^,]+)*$"
},
"replacements": {
"description": "The list of the module path to directory replacement mapping\nhttps://gohugo.io/hugo-modules/configuration/#module-config-top-level",
"type": "string",
"default": "",
"examples": [
"path/to/input_directory -> path/to/output_directory",
"path/to/input_directory1 -> path/to/output_directory1,path/to/input_directory2 -> path/to/output_directory2"
],
"pattern": "^[^,]+ -> [^,]+(,[^,]+ -> [^,]+)*$"
},
"hugoVersion": {
"title": "version",
"description": "The version\nhttps://gohugo.io/hugo-modules/configuration/#module-config-hugoversion",
"type": "object",
"properties": {
"min": {
"description": "The minimum required version\nhttps://gohugo.io/hugo-modules/configuration/#module-config-hugoversion",
"$ref": "#/definitions/hugoVersion"
},
"max": {
"description": "The maximum required version\nhttps://gohugo.io/hugo-modules/configuration/#module-config-hugoversion",
"$ref": "#/definitions/hugoVersion"
},
"extended": {
"description": "Enable/disable requiring the extended version\nhttps://gohugo.io/hugo-modules/configuration/#module-config-hugoversion",
"type": "boolean"
}
},
"additionalProperties": false
},
"imports": {
"title": "import options",
"description": "The import options\nhttps://gohugo.io/hugo-modules/configuration/#module-config-imports",
"type": "array",
"items": {
"type": "object",
"required": ["path"],
"properties": {
"path": {
"description": "The path\nhttps://gohugo.io/hugo-modules/configuration/#module-config-imports",
"type": "string",
"minLength": 1
},
"ignoreConfig": {
"description": "Use/ignore the configuration file\nhttps://gohugo.io/hugo-modules/configuration/#module-config-imports",
"type": "boolean"
},
"ignoreImports": {
"description": "Use/ignore the imports\nhttps://gohugo.io/hugo-modules/configuration/#module-config-imports",
"type": "boolean"
},
"disable": {
"description": "Enable/disable the module\nhttps://gohugo.io/hugo-modules/configuration/#module-config-imports",
"type": "boolean"
},
"noMounts": {
"description": "Enable/disable the folder mounting\nhttps://gohugo.io/hugo-modules/configuration/#module-config-imports",
"type": "boolean"
},
"noVendor": {
"description": "Enable/disable vendoring this import\nhttps://gohugo.io/hugo-modules/configuration/#module-config-imports",
"type": "boolean"
}
},
"additionalProperties": false
}
},
"mounts": {
"title": "mount options",
"description": "The mount options\nhttps://gohugo.io/hugo-modules/configuration/#module-config-mounts",
"type": "array",
"items": {
"type": "object",
"default": [
{
"source": "content",
"target": "content"
},
{
"source": "static",
"target": "static"
},
{
"source": "layouts",
"target": "layouts"
},
{
"source": "data",
"target": "data"
},
{
"source": "assets",
"target": "assets"
},
{
"source": "i18n",
"target": "i18n"
},
{
"source": "archetypes",
"target": "archetypes"
}
],
"required": ["source", "target"],
"properties": {
"source": {
"description": "The source path\nhttps://gohugo.io/hugo-modules/configuration/#module-config-mounts",
"type": "string",
"minLength": 1
},
"target": {
"description": "The target path\nhttps://gohugo.io/hugo-modules/configuration/#module-config-mounts",
"type": "string",
"minLength": 1
},
"lang": {
"description": "The language code\nhttps://gohugo.io/hugo-modules/configuration/#module-config-mounts",
"type": "string",
"minLength": 1
},
"includeFiles": {
"description": "The included files\nhttps://gohugo.io/hugo-modules/configuration/#module-config-mounts",
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
}
]
},
"excludeFiles": {
"description": "The excluded files\nhttps://gohugo.io/hugo-modules/configuration/#module-config-mounts",
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
}
]
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"newContentEditor": {
"description": "The content editor\nhttps://gohugo.io/getting-started/configuration/#newcontenteditor",
"type": "string",
"default": ""
},
"noChmod": {
"description": "Enable/disable syncing permission mode of files\nhttps://gohugo.io/getting-started/configuration/#nochmod",
"type": "boolean",
"default": false
},
"noTimes": {
"description": "Enable/disable syncing modification time of files\nhttps://gohugo.io/getting-started/configuration/#notimes",
"type": "boolean",
"default": false
},
"outputFormats": {
"title": "output format options",
"description": "The output format options\nhttps://gohugo.io/templates/output-formats/#configure-output-formats",
"$ref": "#/definitions/outputFormats"
},
"paginate": {
"description": "The default number of elements per page in pagination\nhttps://gohugo.io/getting-started/configuration/#paginate",
"type": "integer",
"default": 10
},
"paginatePath": {
"description": "The path element used during pagination\nhttps://gohugo.io/getting-started/configuration/#paginatepath",
"type": "string",
"default": "page",
"minLength": 1
},
"permalinks": {
"title": "permalink options",
"description": "The permalink options\nhttps://gohugo.io/content-management/urls/#permalinks",
"type": "object",
"patternProperties": {
".": {
"description": "The permalink",
"type": "string",
"examples": [
":year",
":month",
":monthname",
":day",
":weekday",
":weekdayname",
":yearday",
":section",
":sections",
":title",
":slug",
":filename"
]
}
}
},
"pluralizeListTitles": {
"description": "Pluralize/leave titles in lists\nhttps://gohugo.io/getting-started/configuration/#pluralizelisttitles",
"type": "boolean",
"default": true
},
"publishDir": {
"description": "The directory where Hugo writes the final static site\nhttps://gohugo.io/getting-started/configuration/#publishdir",
"type": "string",
"default": "public",
"minLength": 1
},
"related": {
"title": "related content options",
"description": "The related content options\nhttps://gohugo.io/getting-started/configuration/#related",
"type": "object",
"default": {
"includeNewer": false,
"indices": [
{
"name": "keywords",
"weight": 100
},
{
"name": "date",
"weight": 10
}
],
"threshold": 80,
"toLower": false
},
"properties": {
"threshold": {
"description": "\nhttps://gohugo.io/content-management/related/#top-level-config-options",
"type": "integer",
"default": 80,
"minimum": 0,
"maximum": 100
},
"includeNewer": {
"description": "Include/exclude the pages newer than the current page\nhttps://gohugo.io/content-management/related/#top-level-config-options",
"type": "boolean",
"default": false
},
"toLower": {
"description": "Enable/disable lowering the case keywords in both the indexes and the queries\nhttps://gohugo.io/content-management/related/#top-level-config-options",
"type": "boolean",
"default": false
},
"indices": {
"title": "related content option's entry",
"description": "The related content option's entry\nhttps://gohugo.io/content-management/related/#config-options-per-index",
"type": "array",
"default": [
{
"name": "keywords",
"weight": 100
},
{
"name": "date",
"weight": 10
}
],
"items": {
"type": "object",
"properties": {
"name": {
"description": "The index name\nhttps://gohugo.io/content-management/related/#config-options-per-index",
"type": "string",
"minLength": 1
},
"weight": {
"description": "The weight indicating how important this parameter is relative to the other parameters\nhttps://gohugo.io/content-management/related/#config-options-per-index",
"type": "string"
},
"pattern": {
"description": "The date format\nhttps://gohugo.io/content-management/related/#config-options-per-index",
"type": "string"
},
"toLower": {
"description": "Enable/disable lowering the case keywords in both the indexes and the queries\nhttps://gohugo.io/content-management/related/#config-options-per-index",
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"relativeURLs": {
"description": "Enable/disable making all relative URLs relative to content root\nhttps://gohugo.io/getting-started/configuration/#relativeurls",
"type": "boolean",
"default": false
},
"refLinksErrorLevel": {
"description": "The logging level for page links cannot be resolved\nhttps://gohugo.io/getting-started/configuration/#reflinkserrorlevel",
"type": "string",
"default": "ERROR",
"enum": ["ERROR", "WARNING"]
},
"refLinksNotFoundURL": {
"description": "The placeholder when a page reference cannot be found in `ref` or `relref`\nhttps://gohugo.io/getting-started/configuration/#reflinksnotfoundurl",
"type": "string"
},
"removePathAccents": {
"description": "Remove/leave non-spacing marks from composite characters in content paths\nhttps://gohugo.io/getting-started/configuration/#removepathaccents",
"type": "boolean",
"default": false
},
"rssLimit": {
"description": "\nhttps://gohugo.io/getting-started/configuration/#rsslimit",
"type": "integer",
"default": -1,
"minimum": -1
},
"sectionPagesMenu": {
"description": "\nhttps://gohugo.io/templates/menu-templates/#section-menu-for-lazy-bloggers",
"type": "boolean"
},
"security": {
"title": "security options",
"description": "The security options\nhttps://gohugo.io/about/security-model/#security-policy",
"type": "object",
"default": {
"enableInlineShortcodes": false,
"exec": {
"allow": ["^dart-sass-embedded$", "^go$", "^npx$", "^postcss$"],
"osEnv": ["(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM)$"]
},
"funcs": {
"getenv": ["^HUGO_"]
},
"http": {
"methods": ["(?i)GET|POST"],
"urls": [".*"]
}
},
"properties": {
"enableInlineShortcodes": {
"description": "\nhttps://gohugo.io/about/security-model/#security-policy",
"type": "boolean",
"default": false
},
"exec": {
"description": "\nhttps://gohugo.io/about/security-model/#security-policy",
"type": "object",
"default": {
"allow": ["^dart-sass-embedded$", "^go$", "^npx$", "^postcss$"],
"osEnv": ["(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM)$"]
},
"properties": {
"allow": {
"description": "\nhttps://gohugo.io/about/security-model/#security-policy",
"type": "array",
"default": ["^dart-sass-embedded$", "^go$", "^npx$", "^postcss$"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1
}
},
"osEnv": {
"description": "\nhttps://gohugo.io/about/security-model/#security-policy",
"type": "array",
"default": ["(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM)$"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"funcs": {
"description": "\nhttps://gohugo.io/about/security-model/#security-policy",
"type": "object",
"default": {
"getenv": ["^HUGO_"]
},
"properties": {
"getenv": {
"description": "\nhttps://gohugo.io/about/security-model/#security-policy",
"type": "array",
"default": ["^HUGO_"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"http": {
"description": "\nhttps://gohugo.io/about/security-model/#security-policy",
"type": "object",
"default": {
"methods": ["(?i)GET|POST"],
"urls": [".*"]
},
"properties": {
"methods": {
"description": "\nhttps://gohugo.io/about/security-model/#security-policy",
"type": "array",
"default": ["(?i)GET|POST"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1
}
},
"urls": {
"description": "\nhttps://gohugo.io/about/security-model/#security-policy",
"type": "array",
"default": [".*"],
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"sitemap": {
"title": "sitemap options",
"description": "The sitemap options\nhttps://gohugo.io/templates/sitemap-template/#configure-sitemapxml",
"type": "object",
"default": {
"changefreq": "monthly",
"filename": "sitemap.xml",
"priority": 0.5
},
"properties": {
"changefreq": {
"description": "\nhttps://gohugo.io/templates/sitemap-template/#configure-sitemapxml",
"type": "string",
"default": "monthly"
},
"filename": {
"description": "\nhttps://gohugo.io/templates/sitemap-template/#configure-sitemapxml",
"type": "string",
"default": "sitemap.xml"
},
"priority": {
"description": "\nhttps://gohugo.io/templates/sitemap-template/#configure-sitemapxml",
"type": "number",
"default": 0.5,
"minimum": 0,
"maximum": 1
}
},
"additionalProperties": false
},
"summaryLength": {
"description": "The length of text in words to show in a .Summary\nhttps://gohugo.io/getting-started/configuration/#summarylength",
"type": "integer",
"default": 70,
"minimum": 0
},
"taxonomies": {
"title": "taxonomy options",
"description": "The taxonomy options\nhttps://gohugo.io/content-management/taxonomies#configure-taxonomies",
"type": "object",
"default": {
"category": "categories",
"tag": "tags"
},
"properties": {
"tag": {
"description": "The default taxonomy\nhttps://gohugo.io/content-management/taxonomies#configure-taxonomies",
"type": "string",
"default": "tags",
"minLength": 1
},
"category": {
"description": "The default taxonomy\nhttps://gohugo.io/content-management/taxonomies#configure-taxonomies",
"type": "string",
"default": "categories",
"minLength": 1
}
},
"patternProperties": {
"^(?!tag|category)$": {
"description": "The custom taxonomy\nhttps://gohugo.io/content-management/taxonomies#configure-taxonomies",
"type": "string",
"minLength": 1
}
}
},
"theme": {
"description": "\nhttps://gohugo.io/hugo-modules/configuration/#module-config-imports",
"type": "string",
"minLength": 1
},
"themesDir": {
"description": "The directory where themes are stored\nhttps://gohugo.io/getting-started/configuration/#themesdir",
"type": "string",
"default": "themes",
"minLength": 1
},
"timeout": {
"description": "The timeout for generating page contents\nhttps://gohugo.io/getting-started/configuration/#timeout",
"type": "string",
"default": "30s",
"pattern": "^\\d+s$"
},
"timeZone": {
"description": "The time zone\nhttps://gohugo.io/getting-started/configuration/#timezone",
"type": "string",
"enum": [
"Africa/Abidjan",
"Africa/Accra",
"Africa/Addis_Ababa",
"Africa/Algiers",
"Africa/Asmara",
"Africa/Asmera",
"Africa/Bamako",
"Africa/Bangui",
"Africa/Banjul",
"Africa/Bissau",
"Africa/Blantyre",
"Africa/Brazzaville",
"Africa/Bujumbura",
"Africa/Cairo",
"Africa/Casablanca",
"Africa/Ceuta",
"Africa/Conakry",
"Africa/Dakar",
"Africa/Dar_es_Salaam",
"Africa/Djibouti",
"Africa/Douala",
"Africa/El_Aaiun",
"Africa/Freetown",
"Africa/Gaborone",
"Africa/Harare",
"Africa/Johannesburg",
"Africa/Juba",
"Africa/Kampala",
"Africa/Khartoum",
"Africa/Kigali",
"Africa/Kinshasa",
"Africa/Lagos",
"Africa/Libreville",
"Africa/Lome",
"Africa/Luanda",
"Africa/Lubumbashi",
"Africa/Lusaka",
"Africa/Malabo",
"Africa/Maputo",
"Africa/Maseru",
"Africa/Mbabane",
"Africa/Mogadishu",
"Africa/Monrovia",
"Africa/Nairobi",
"Africa/Ndjamena",
"Africa/Niamey",
"Africa/Nouakchott",
"Africa/Ouagadougou",
"Africa/Porto-Novo",
"Africa/Sao_Tome",
"Africa/Timbuktu",
"Africa/Tripoli",
"Africa/Tunis",
"Africa/Windhoek",
"America/Adak",
"America/Anchorage",
"America/Anguilla",
"America/Antigua",
"America/Araguaina",
"America/Argentina/Buenos_Aires",
"America/Argentina/Catamarca",
"America/Argentina/ComodRivadavia",
"America/Argentina/Cordoba",
"America/Argentina/Jujuy",
"America/Argentina/La_Rioja",
"America/Argentina/Mendoza",
"America/Argentina/Rio_Gallegos",
"America/Argentina/Salta",
"America/Argentina/San_Juan",
"America/Argentina/San_Luis",
"America/Argentina/Tucuman",
"America/Argentina/Ushuaia",
"America/Aruba",
"America/Asuncion",
"America/Atikokan",
"America/Atka",
"America/Bahia",
"America/Bahia_Banderas",
"America/Barbados",
"America/Belem",
"America/Belize",
"America/Blanc-Sablon",
"America/Boa_Vista",
"America/Bogota",
"America/Boise",
"America/Buenos_Aires",
"America/Cambridge_Bay",
"America/Campo_Grande",
"America/Cancun",
"America/Caracas",
"America/Catamarca",
"America/Cayenne",
"America/Cayman",
"America/Chicago",
"America/Chihuahua",
"America/Coral_Harbour",
"America/Cordoba",
"America/Costa_Rica",
"America/Creston",
"America/Cuiaba",
"America/Curacao",
"America/Danmarkshavn",
"America/Dawson",
"America/Dawson_Creek",
"America/Denver",
"America/Detroit",
"America/Dominica",
"America/Edmonton",
"America/Eirunepe",
"America/El_Salvador",
"America/Ensenada",
"America/Fort_Nelson",
"America/Fort_Wayne",
"America/Fortaleza",
"America/Glace_Bay",
"America/Godthab",
"America/Goose_Bay",
"America/Grand_Turk",
"America/Grenada",
"America/Guadeloupe",
"America/Guatemala",
"America/Guayaquil",
"America/Guyana",
"America/Halifax",
"America/Havana",
"America/Hermosillo",
"America/Indiana/Indianapolis",
"America/Indiana/Knox",
"America/Indiana/Marengo",
"America/Indiana/Petersburg",
"America/Indiana/Tell_City",
"America/Indiana/Vevay",
"America/Indiana/Vincennes",
"America/Indiana/Winamac",
"America/Indianapolis",
"America/Inuvik",
"America/Iqaluit",
"America/Jamaica",
"America/Jujuy",
"America/Juneau",
"America/Kentucky/Louisville",
"America/Kentucky/Monticello",
"America/Knox_IN",
"America/Kralendijk",
"America/La_Paz",
"America/Lima",
"America/Los_Angeles",
"America/Louisville",
"America/Lower_Princes",
"America/Maceio",
"America/Managua",
"America/Manaus",
"America/Marigot",
"America/Martinique",
"America/Matamoros",
"America/Mazatlan",
"America/Mendoza",
"America/Menominee",
"America/Merida",
"America/Metlakatla",
"America/Mexico_City",
"America/Miquelon",
"America/Moncton",
"America/Monterrey",
"America/Montevideo",
"America/Montreal",
"America/Montserrat",
"America/Nassau",
"America/New_York",
"America/Nipigon",
"America/Nome",
"America/Noronha",
"America/North_Dakota/Beulah",
"America/North_Dakota/Center",
"America/North_Dakota/New_Salem",
"America/Nuuk",
"America/Ojinaga",
"America/Panama",
"America/Pangnirtung",
"America/Paramaribo",
"America/Phoenix",
"America/Port-au-Prince",
"America/Port_of_Spain",
"America/Porto_Acre",
"America/Porto_Velho",
"America/Puerto_Rico",
"America/Punta_Arenas",
"America/Rainy_River",
"America/Rankin_Inlet",
"America/Recife",
"America/Regina",
"America/Resolute",
"America/Rio_Branco",
"America/Rosario",
"America/Santa_Isabel",
"America/Santarem",
"America/Santiago",
"America/Santo_Domingo",
"America/Sao_Paulo",
"America/Scoresbysund",
"America/Shiprock",
"America/Sitka",
"America/St_Barthelemy",
"America/St_Johns",
"America/St_Kitts",
"America/St_Lucia",
"America/St_Thomas",
"America/St_Vincent",
"America/Swift_Current",
"America/Tegucigalpa",
"America/Thule",
"America/Thunder_Bay",
"America/Tijuana",
"America/Toronto",
"America/Tortola",
"America/Vancouver",
"America/Virgin",
"America/Whitehorse",
"America/Winnipeg",
"America/Yakutat",
"America/Yellowknife",
"Antarctica/Casey",
"Antarctica/Davis",
"Antarctica/DumontDUrville",
"Antarctica/Macquarie",
"Antarctica/Mawson",
"Antarctica/McMurdo",
"Antarctica/Palmer",
"Antarctica/Rothera",
"Antarctica/South_Pole",
"Antarctica/Syowa",
"Antarctica/Troll",
"Antarctica/Vostok",
"Arctic/Longyearbyen",
"Asia/Aden",
"Asia/Almaty",
"Asia/Amman",
"Asia/Anadyr",
"Asia/Aqtau",
"Asia/Aqtobe",
"Asia/Ashgabat",
"Asia/Ashkhabad",
"Asia/Atyrau",
"Asia/Baghdad",
"Asia/Bahrain",
"Asia/Baku",
"Asia/Bangkok",
"Asia/Barnaul",
"Asia/Beirut",
"Asia/Bishkek",
"Asia/Brunei",
"Asia/Calcutta",
"Asia/Chita",
"Asia/Choibalsan",
"Asia/Chongqing",
"Asia/Chungking",
"Asia/Colombo",
"Asia/Dacca",
"Asia/Damascus",
"Asia/Dhaka",
"Asia/Dili",
"Asia/Dubai",
"Asia/Dushanbe",
"Asia/Famagusta",
"Asia/Gaza",
"Asia/Harbin",
"Asia/Hebron",
"Asia/Ho_Chi_Minh",
"Asia/Hong_Kong",
"Asia/Hovd",
"Asia/Irkutsk",
"Asia/Istanbul",
"Asia/Jakarta",
"Asia/Jayapura",
"Asia/Jerusalem",
"Asia/Kabul",
"Asia/Kamchatka",
"Asia/Karachi",
"Asia/Kashgar",
"Asia/Kathmandu",
"Asia/Katmandu",
"Asia/Khandyga",
"Asia/Kolkata",
"Asia/Krasnoyarsk",
"Asia/Kuala_Lumpur",
"Asia/Kuching",
"Asia/Kuwait",
"Asia/Macao",
"Asia/Macau",
"Asia/Magadan",
"Asia/Makassar",
"Asia/Manila",
"Asia/Muscat",
"Asia/Nicosia",
"Asia/Novokuznetsk",
"Asia/Novosibirsk",
"Asia/Omsk",
"Asia/Oral",
"Asia/Phnom_Penh",
"Asia/Pontianak",
"Asia/Pyongyang",
"Asia/Qatar",
"Asia/Qostanay",
"Asia/Qyzylorda",
"Asia/Rangoon",
"Asia/Riyadh",
"Asia/Saigon",
"Asia/Sakhalin",
"Asia/Samarkand",
"Asia/Seoul",
"Asia/Shanghai",
"Asia/Singapore",
"Asia/Srednekolymsk",
"Asia/Taipei",
"Asia/Tashkent",
"Asia/Tbilisi",
"Asia/Tehran",
"Asia/Tel_Aviv",
"Asia/Thimbu",
"Asia/Thimphu",
"Asia/Tokyo",
"Asia/Tomsk",
"Asia/Ujung_Pandang",
"Asia/Ulaanbaatar",
"Asia/Ulan_Bator",
"Asia/Urumqi",
"Asia/Ust-Nera",
"Asia/Vientiane",
"Asia/Vladivostok",
"Asia/Yakutsk",
"Asia/Yangon",
"Asia/Yekaterinburg",
"Asia/Yerevan",
"Atlantic/Azores",
"Atlantic/Bermuda",
"Atlantic/Canary",
"Atlantic/Cape_Verde",
"Atlantic/Faeroe",
"Atlantic/Faroe",
"Atlantic/Jan_Mayen",
"Atlantic/Madeira",
"Atlantic/Reykjavik",
"Atlantic/South_Georgia",
"Atlantic/St_Helena",
"Atlantic/Stanley",
"Australia/ACT",
"Australia/Adelaide",
"Australia/Brisbane",
"Australia/Broken_Hill",
"Australia/Canberra",
"Australia/Currie",
"Australia/Darwin",
"Australia/Eucla",
"Australia/Hobart",
"Australia/LHI",
"Australia/Lindeman",
"Australia/Lord_Howe",
"Australia/Melbourne",
"Australia/North",
"Australia/NSW",
"Australia/Perth",
"Australia/Queensland",
"Australia/South",
"Australia/Sydney",
"Australia/Tasmania",
"Australia/Victoria",
"Australia/West",
"Australia/Yancowinna",
"Brazil/Acre",
"Brazil/DeNoronha",
"Brazil/East",
"Brazil/West",
"Canada/Atlantic",
"Canada/Central",
"Canada/Eastern",
"Canada/Mountain",
"Canada/Newfoundland",
"Canada/Pacific",
"Canada/Saskatchewan",
"Canada/Yukon",
"Chile/Continental",
"Chile/EasterIsland",
"Cuba",
"Egypt",
"Eire",
"Etc/GMT",
"Etc/GMT+0",
"Etc/GMT+1",
"Etc/GMT+10",
"Etc/GMT+11",
"Etc/GMT+12",
"Etc/GMT+2",
"Etc/GMT+3",
"Etc/GMT+4",
"Etc/GMT+5",
"Etc/GMT+6",
"Etc/GMT+7",
"Etc/GMT+8",
"Etc/GMT+9",
"Etc/GMT-0",
"Etc/GMT-1",
"Etc/GMT-10",
"Etc/GMT-11",
"Etc/GMT-12",
"Etc/GMT-13",
"Etc/GMT-14",
"Etc/GMT-2",
"Etc/GMT-3",
"Etc/GMT-4",
"Etc/GMT-5",
"Etc/GMT-6",
"Etc/GMT-7",
"Etc/GMT-8",
"Etc/GMT-9",
"Etc/GMT0",
"Etc/Greenwich",
"Etc/UCT",
"Etc/Universal",
"Etc/UTC",
"Etc/Zulu",
"Europe/Amsterdam",
"Europe/Andorra",
"Europe/Astrakhan",
"Europe/Athens",
"Europe/Belfast",
"Europe/Belgrade",
"Europe/Berlin",
"Europe/Bratislava",
"Europe/Brussels",
"Europe/Bucharest",
"Europe/Budapest",
"Europe/Busingen",
"Europe/Chisinau",
"Europe/Copenhagen",
"Europe/Dublin",
"Europe/Gibraltar",
"Europe/Guernsey",
"Europe/Helsinki",
"Europe/Isle_of_Man",
"Europe/Istanbul",
"Europe/Jersey",
"Europe/Kaliningrad",
"Europe/Kiev",
"Europe/Kirov",
"Europe/Lisbon",
"Europe/Ljubljana",
"Europe/London",
"Europe/Luxembourg",
"Europe/Madrid",
"Europe/Malta",
"Europe/Mariehamn",
"Europe/Minsk",
"Europe/Monaco",
"Europe/Moscow",
"Europe/Nicosia",
"Europe/Oslo",
"Europe/Paris",
"Europe/Podgorica",
"Europe/Prague",
"Europe/Riga",
"Europe/Rome",
"Europe/Samara",
"Europe/San_Marino",
"Europe/Sarajevo",
"Europe/Saratov",
"Europe/Simferopol",
"Europe/Skopje",
"Europe/Sofia",
"Europe/Stockholm",
"Europe/Tallinn",
"Europe/Tirane",
"Europe/Tiraspol",
"Europe/Ulyanovsk",
"Europe/Uzhgorod",
"Europe/Vaduz",
"Europe/Vatican",
"Europe/Vienna",
"Europe/Vilnius",
"Europe/Volgograd",
"Europe/Warsaw",
"Europe/Zagreb",
"Europe/Zaporozhye",
"Europe/Zurich",
"GB",
"GB-Eire",
"Hongkong",
"Iceland",
"Indian/Antananarivo",
"Indian/Chagos",
"Indian/Christmas",
"Indian/Cocos",
"Indian/Comoro",
"Indian/Kerguelen",
"Indian/Mahe",
"Indian/Maldives",
"Indian/Mauritius",
"Indian/Mayotte",
"Indian/Reunion",
"Iran",
"Israel",
"Jamaica",
"Japan",
"Kwajalein",
"Libya",
"Mexico/BajaNorte",
"Mexico/BajaSur",
"Mexico/General",
"Navajo",
"NZ",
"NZ-CHAT",
"Pacific/Apia",
"Pacific/Auckland",
"Pacific/Bougainville",
"Pacific/Chatham",
"Pacific/Chuuk",
"Pacific/Easter",
"Pacific/Efate",
"Pacific/Enderbury",
"Pacific/Fakaofo",
"Pacific/Fiji",
"Pacific/Funafuti",
"Pacific/Galapagos",
"Pacific/Gambier",
"Pacific/Guadalcanal",
"Pacific/Guam",
"Pacific/Honolulu",
"Pacific/Johnston",
"Pacific/Kanton",
"Pacific/Kiritimati",
"Pacific/Kosrae",
"Pacific/Kwajalein",
"Pacific/Majuro",
"Pacific/Marquesas",
"Pacific/Midway",
"Pacific/Nauru",
"Pacific/Niue",
"Pacific/Norfolk",
"Pacific/Noumea",
"Pacific/Pago_Pago",
"Pacific/Palau",
"Pacific/Pitcairn",
"Pacific/Pohnpei",
"Pacific/Ponape",
"Pacific/Port_Moresby",
"Pacific/Rarotonga",
"Pacific/Saipan",
"Pacific/Samoa",
"Pacific/Tahiti",
"Pacific/Tarawa",
"Pacific/Tongatapu",
"Pacific/Truk",
"Pacific/Wake",
"Pacific/Wallis",
"Pacific/Yap",
"Poland",
"Portugal",
"PRC",
"ROC",
"Singapore",
"US/Alaska",
"US/Aleutian",
"US/Arizona",
"US/Central",
"US/East-Indiana",
"US/Eastern",
"US/Hawaii",
"US/Indiana-Starke",
"US/Michigan",
"US/Mountain",
"US/Pacific",
"US/Samoa"
]
},
"title": {
"description": "The site title\nhttps://gohugo.io/getting-started/configuration/#title",
"type": "string"
},
"titleCaseStyle": {
"description": "The title case style\nhttps://gohugo.io/getting-started/configuration/#titlecasestyle",
"type": "string",
"default": "AP",
"enum": ["AP", "Chicago", "Go"]
},
"uglyURLs": {
"description": "Enable/disable adding file extensions to urls\nhttps://gohugo.io/getting-started/configuration/#uglyurls",
"type": "boolean"
},
"watch": {
"description": "Enable/disable watching filesystem for changes and recreating as needed\nhttps://gohugo.io/getting-started/configuration/#watch",
"type": "boolean",
"default": false
}
},
"title": "Hugo static site generator config file schema",
"type": "object"
}
| hugo |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Sparks.Network data model",
"type": "object",
"required": [
"project",
"opp",
"contrib",
"benefit",
"team",
"oppAllowedTeam"
],
"additionalProperties": false,
"properties": {
"project": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9-_]+$": {
"type": "object",
"$ref": "#/definitions/projectDef"
}
}
},
"profile": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9-_]+$": {
"type": "object",
"$ref": "#/definitions/profileDef"
}
}
},
"opp": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9-_]+$": {
"type": "object",
"$ref": "#/definitions/oppDef"
}
}
},
"contrib": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9-_]+$": {
"type": "object",
"$ref": "#/definitions/contribDef"
}
}
},
"benefit": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9-_]+$": {
"type": "object",
"$ref": "#/definitions/benefitDef"
}
}
},
"team": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9-_]+$": {
"type": "object",
"$ref": "#/definitions/teamDef"
}
}
},
"oppAllowedTeam": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9-_]+$": {
"type": "object",
"$ref": "#/definitions/oppAllowedTeamDef"
}
}
},
"applicationTeam": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9-_]+$": {
"type": "object",
"$ref": "#/definitions/applicationTeamDef"
}
}
},
"application": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9-_]+$": {
"type": "object",
"$ref": "#/definitions/applicationDef"
}
}
},
"shift": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9-_]+$": {
"type": "object",
"$ref": "#/definitions/shiftDef"
}
}
},
"applicationShift": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9-_]+$": {
"type": "object",
"$ref": "#/definitions/applicationShiftDef"
}
}
}
},
"definitions": {
"profileDef": {},
"projectDef": {
"required": [
"title",
"description",
"startDateTime",
"location",
"organizer",
"maxKarmaPoints",
"images",
"projectPageUrl"
],
"additionalProperties": false,
"properties": {
"title": {
"$ref": "#/constraints/nonEmptyString"
},
"description": {
"$ref": "#/constraints/nonEmptyString"
},
"projectType": {
"type": "string",
"enum": [
"Simple",
"MultiDay",
"LongTerm",
"Donor"
]
},
"startDateTime": {
"type": "string",
"format": "date-time"
},
"endDateTime": {
"type": "string",
"format": "date-time"
},
"location": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"address": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
}
}
},
"images": {
"type": "array",
"items": {
"type": "object",
"required": [
"imageUrl"
],
"properties": {
"imageUrl": {
"type": "string",
"format": "uri"
}
}
}
},
"maxKarmaPoints": {
"type": "integer"
},
"shareKarmaPoints": {
"type": "integer"
},
"organizer": {
"type": "object",
"required": [
"organizerKey",
"name",
"organization"
],
"properties": {
"organizerKey": {
"$ref": "#/constraints/nonEmptyString"
},
"name": {
"$ref": "#/constraints/nonEmptyString"
},
"organization": {
"$ref": "#/constraints/nonEmptyString"
},
"imageUrl": {
"type": "string",
"format": "uri"
}
}
},
"projectPageUrl": {
"type": "string",
"format": "uri"
},
"communityBenefit": {
"type": "string"
},
"facebookUrl": {
"$ref": "#/constraints/nonEmptyString"
},
"twitterUrl": {
"$ref": "#/constraints/nonEmptyString"
}
}
},
"oppDef": {
"required": [
"projectKey",
"title",
"description"
],
"additionalProperties": false,
"properties": {
"projectKey": {
"$ref": "#/constraints/nonEmptyString"
},
"title": {
"$ref": "#/constraints/nonEmptyString"
},
"description": {
"$ref": "#/constraints/nonEmptyString"
},
"question": {
"type": "string"
},
"icon": {
"type": "string"
},
"karma": {
"type": "integer"
},
"contribValue": {
"type": "number"
},
"benefitValue": {
"type": "number"
}
}
},
"contribDef": {
"required": [
"oppKey",
"title",
"description"
],
"additionalProperties": false,
"properties": {
"oppKey": {
"$ref": "#/constraints/nonEmptyString"
},
"type": {
"type": "string",
"enum": [
"Shift",
"PrePayment",
"Deposit",
"Donation"
]
},
"count": {
"type": "integer"
},
"title": {
"$ref": "#/constraints/nonEmptyString"
},
"description": {
"$ref": "#/constraints/nonEmptyString"
},
"icon": {
"type": "string"
},
"shiftMinLength": {
"type": "integer"
},
"shiftMaxLength": {
"type": "integer"
}
}
},
"benefitDef": {
"required": [
"oppKey",
"title",
"description"
],
"additionalProperties": false,
"properties": {
"oppKey": {
"$ref": "#/constraints/nonEmptyString"
},
"type": {
"type": "string",
"enum": [
"FoodTicket",
"EventTicket",
"Gifts",
"FoodDrink",
"HelpNonProfit"
]
},
"title": {
"$ref": "#/constraints/nonEmptyString"
},
"description": {
"$ref": "#/constraints/nonEmptyString"
},
"icon": {
"type": "string"
},
"value": {
"type": "number"
}
}
},
"teamDef": {
"required": [
"title",
"description"
],
"additionalProperties": false,
"properties": {
"title": {
"$ref": "#/constraints/nonEmptyString"
},
"description": {
"$ref": "#/constraints/nonEmptyString"
},
"question": {
"$ref": "#/constraints/nonEmptyString"
},
"icon": {
"type": "string"
}
}
},
"oppAllowedTeamDef": {
"required": [
"oppKey",
"teamKey"
],
"additionalProperties": false,
"properties": {
"oppKey": {
"$ref": "#/constraints/nonEmptyString"
},
"teamKey": {
"$ref": "#/constraints/nonEmptyString"
},
"team": {
"type": "object",
"required": [
"title",
"description"
],
"properties": {
"title": {
"$ref": "#/constraints/nonEmptyString"
},
"description": {
"$ref": "#/constraints/nonEmptyString"
},
"icon": {
"type": "string"
}
}
}
}
},
"applicationTeamDef": {
"required": [
"appKey",
"teamKey",
"joinedOn"
],
"additionalProperties": false,
"properties": {
"appKey": {
"$ref": "#/constraints/nonEmptyString"
},
"teamKey": {
"$ref": "#/constraints/nonEmptyString"
},
"question": {
"$ref": "#/constraints/nonEmptyString"
},
"answer": {
"$ref": "#/constraints/nonEmptyString"
},
"joinedOn": {
"type": "string",
"format": "date-time"
}
}
},
"applicationDef": {
"required": [
"oppKey",
"projectKey",
"profileKey",
"status",
"createdOn"
],
"additionalProperties": false,
"properties": {
"oppKey": {
"$ref": "#/constraints/nonEmptyString"
},
"profileKey": {
"$ref": "#/constraints/nonEmptyString"
},
"projectKey": {
"$ref": "#/constraints/nonEmptyString"
},
"status": {
"type": "string",
"enum": [
"Incomplete",
"Pending",
"Accepted",
"Canceled"
]
},
"oppQuestion": {
"$ref": "#/constraints/nonEmptyString"
},
"oppAnswer": {
"$ref": "#/constraints/nonEmptyString"
},
"step": {
"type": "string",
"enum": [
"Answer",
"Team"
]
},
"createdOn": {
"type": "string",
"format": "date-time"
},
"submittedOn": {
"type": "string",
"format": "date-time"
},
"acceptedOn": {
"type": "string",
"format": "date-time"
},
"canceledOn": {
"type": "string",
"format": "date-time"
}
}
},
"shiftDef": {
"required": [
"startDateTime",
"teamKey",
"teamTitle"
],
"additionalProperties": false,
"properties": {
"startDateTime": {
"type": "string",
"format": "date-time"
},
"endDateTime": {
"type": "string",
"format": "date-time"
},
"teamKey": {
"$ref": "#/constraints/nonEmptyString"
},
"teamTitle": {
"$ref": "#/constraints/nonEmptyString"
},
"teamIcon": {
"type": "string"
}
}
},
"applicationShiftDef": {
"required": [
"appKey",
"shiftKey",
"joinedOn"
],
"properties": {
"appKey": {
"$ref": "#/constraints/nonEmptyString"
},
"shiftKey": {
"$ref": "#/constraints/nonEmptyString"
},
"joinedOn": {
"type": "string",
"format": "date-time"
}
}
}
},
"constraints": {
"nonEmptyString": {
"type": "string",
"minLength": 1
}
}
} | o14528 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time": {
"_format": "date-time",
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": "string"
}
},
"description": "DaemonSetCondition describes the state of a DaemonSet 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",
"null"
]
},
"reason": {
"description": "The reason for the condition's last transition.",
"type": [
"string",
"null"
]
},
"status": {
"description": "Status of the condition, one of True, False, Unknown.",
"type": [
"string",
"null"
]
},
"type": {
"description": "Type of DaemonSet condition.",
"type": [
"string",
"null"
]
}
},
"required": [
"type",
"status"
],
"type": "object"
} | kb_232_Normalized |
{
"additionalProperties": false,
"definitions": {
"config": {
"additionalProperties": false,
"id": "#/definitions/config",
"patternProperties": {
"^x-": {}
},
"properties": {
"external": {
"properties": {
"name": {
"type": "string"
}
},
"type": [
"boolean",
"object"
]
},
"file": {
"type": "string"
},
"labels": {
"$ref": "#/definitions/list_or_dict"
},
"name": {
"type": "string"
},
"template_driver": {
"type": "string"
}
},
"type": "object"
},
"constraints": {
"service": {
"anyOf": [
{
"required": [
"build"
]
},
{
"required": [
"image"
]
}
],
"id": "#/definitions/constraints/service",
"properties": {
"build": {
"required": [
"context"
]
}
}
}
},
"deployment": {
"additionalProperties": false,
"id": "#/definitions/deployment",
"properties": {
"endpoint_mode": {
"type": "string"
},
"labels": {
"$ref": "#/definitions/list_or_dict"
},
"mode": {
"type": "string"
},
"placement": {
"additionalProperties": false,
"properties": {
"constraints": {
"items": {
"type": "string"
},
"type": "array"
},
"max_replicas_per_node": {
"type": "integer"
},
"preferences": {
"items": {
"additionalProperties": false,
"properties": {
"spread": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"replicas": {
"type": "integer"
},
"resources": {
"additionalProperties": false,
"properties": {
"limits": {
"additionalProperties": false,
"properties": {
"cpus": {
"type": "string"
},
"memory": {
"type": "string"
},
"pids": {
"type": "integer"
}
},
"type": "object"
},
"reservations": {
"additionalProperties": false,
"properties": {
"cpus": {
"type": "string"
},
"generic_resources": {
"$ref": "#/definitions/generic_resources"
},
"memory": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"restart_policy": {
"additionalProperties": false,
"properties": {
"condition": {
"type": "string"
},
"delay": {
"_format": "duration",
"type": "string"
},
"max_attempts": {
"type": "integer"
},
"window": {
"_format": "duration",
"type": "string"
}
},
"type": "object"
},
"rollback_config": {
"additionalProperties": false,
"properties": {
"delay": {
"_format": "duration",
"type": "string"
},
"failure_action": {
"type": "string"
},
"max_failure_ratio": {
"type": "number"
},
"monitor": {
"_format": "duration",
"type": "string"
},
"order": {
"enum": [
"start-first",
"stop-first"
],
"type": "string"
},
"parallelism": {
"type": "integer"
}
},
"type": "object"
},
"update_config": {
"additionalProperties": false,
"properties": {
"delay": {
"_format": "duration",
"type": "string"
},
"failure_action": {
"type": "string"
},
"max_failure_ratio": {
"type": "number"
},
"monitor": {
"_format": "duration",
"type": "string"
},
"order": {
"enum": [
"start-first",
"stop-first"
],
"type": "string"
},
"parallelism": {
"type": "integer"
}
},
"type": "object"
}
},
"type": [
"object",
"null"
]
},
"generic_resources": {
"id": "#/definitions/generic_resources",
"items": {
"additionalProperties": false,
"properties": {
"discrete_resource_spec": {
"additionalProperties": false,
"properties": {
"kind": {
"type": "string"
},
"value": {
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"healthcheck": {
"additionalProperties": false,
"id": "#/definitions/healthcheck",
"properties": {
"disable": {
"type": "boolean"
},
"interval": {
"_format": "duration",
"type": "string"
},
"retries": {
"type": "number"
},
"start_period": {
"_format": "duration",
"type": "string"
},
"test": {
"oneOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"timeout": {
"_format": "duration",
"type": "string"
}
},
"type": "object"
},
"list_of_strings": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"list_or_dict": {
"oneOf": [
{
"additionalProperties": false,
"patternProperties": {
".+": {
"type": [
"string",
"number",
"null"
]
}
},
"type": "object"
},
{
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
}
]
},
"network": {
"additionalProperties": false,
"id": "#/definitions/network",
"patternProperties": {
"^x-": {}
},
"properties": {
"attachable": {
"type": "boolean"
},
"driver": {
"type": "string"
},
"driver_opts": {
"patternProperties": {
"^.+$": {
"type": [
"string",
"number"
]
}
},
"type": "object"
},
"external": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": [
"boolean",
"object"
]
},
"internal": {
"type": "boolean"
},
"ipam": {
"additionalProperties": false,
"properties": {
"config": {
"items": {
"additionalProperties": false,
"properties": {
"subnet": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"driver": {
"type": "string"
}
},
"type": "object"
},
"labels": {
"$ref": "#/definitions/list_or_dict"
},
"name": {
"type": "string"
}
},
"type": [
"object",
"null"
]
},
"secret": {
"additionalProperties": false,
"id": "#/definitions/secret",
"patternProperties": {
"^x-": {}
},
"properties": {
"driver": {
"type": "string"
},
"driver_opts": {
"patternProperties": {
"^.+$": {
"type": [
"string",
"number"
]
}
},
"type": "object"
},
"external": {
"properties": {
"name": {
"type": "string"
}
},
"type": [
"boolean",
"object"
]
},
"file": {
"type": "string"
},
"labels": {
"$ref": "#/definitions/list_or_dict"
},
"name": {
"type": "string"
},
"template_driver": {
"type": "string"
}
},
"type": "object"
},
"service": {
"additionalProperties": false,
"id": "#/definitions/service",
"patternProperties": {
"^x-": {}
},
"properties": {
"build": {
"oneOf": [
{
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"args": {
"$ref": "#/definitions/list_or_dict"
},
"cache_from": {
"$ref": "#/definitions/list_of_strings"
},
"context": {
"type": "string"
},
"dockerfile": {
"type": "string"
},
"extra_hosts": {
"$ref": "#/definitions/list_or_dict"
},
"labels": {
"$ref": "#/definitions/list_or_dict"
},
"network": {
"type": "string"
},
"shm_size": {
"type": [
"integer",
"string"
]
},
"target": {
"type": "string"
}
},
"type": "object"
}
]
},
"cap_add": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"cap_drop": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"cgroup_parent": {
"type": "string"
},
"cgroupns_mode": {
"type": "string"
},
"command": {
"oneOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"configs": {
"items": {
"oneOf": [
{
"type": "string"
},
{
"properties": {
"gid": {
"type": "string"
},
"mode": {
"type": "number"
},
"source": {
"type": "string"
},
"target": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
}
]
},
"type": "array"
},
"container_name": {
"type": "string"
},
"credential_spec": {
"additionalProperties": false,
"properties": {
"config": {
"type": "string"
},
"file": {
"type": "string"
},
"registry": {
"type": "string"
}
},
"type": "object"
},
"depends_on": {
"$ref": "#/definitions/list_of_strings"
},
"deploy": {
"$ref": "#/definitions/deployment"
},
"devices": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"dns": {
"$ref": "#/definitions/string_or_list"
},
"dns_search": {
"$ref": "#/definitions/string_or_list"
},
"domainname": {
"type": "string"
},
"entrypoint": {
"oneOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"env_file": {
"$ref": "#/definitions/string_or_list"
},
"environment": {
"$ref": "#/definitions/list_or_dict"
},
"expose": {
"items": {
"format": "expose",
"type": [
"string",
"number"
]
},
"type": "array",
"_uniqueItems": true
},
"external_links": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"extra_hosts": {
"$ref": "#/definitions/list_or_dict"
},
"healthcheck": {
"$ref": "#/definitions/healthcheck"
},
"hostname": {
"type": "string"
},
"image": {
"type": "string"
},
"init": {
"type": "boolean"
},
"ipc": {
"type": "string"
},
"isolation": {
"type": "string"
},
"labels": {
"$ref": "#/definitions/list_or_dict"
},
"links": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"logging": {
"additionalProperties": false,
"properties": {
"driver": {
"type": "string"
},
"options": {
"patternProperties": {
"^.+$": {
"type": [
"string",
"number",
"null"
]
}
},
"type": "object"
}
},
"type": "object"
},
"mac_address": {
"type": "string"
},
"network_mode": {
"type": "string"
},
"networks": {
"oneOf": [
{
"$ref": "#/definitions/list_of_strings"
},
{
"additionalProperties": false,
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"aliases": {
"$ref": "#/definitions/list_of_strings"
},
"ipv4_address": {
"type": "string"
},
"ipv6_address": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"type": "object"
}
]
},
"pid": {
"type": [
"string",
"null"
]
},
"ports": {
"items": {
"oneOf": [
{
"format": "ports",
"type": "number"
},
{
"_format": "ports",
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"mode": {
"type": "string"
},
"protocol": {
"type": "string"
},
"published": {
"type": "integer"
},
"target": {
"type": "integer"
}
},
"type": "object"
}
]
},
"type": "array",
"_uniqueItems": true
},
"privileged": {
"type": "boolean"
},
"read_only": {
"type": "boolean"
},
"restart": {
"type": "string"
},
"secrets": {
"items": {
"oneOf": [
{
"type": "string"
},
{
"properties": {
"gid": {
"type": "string"
},
"mode": {
"type": "number"
},
"source": {
"type": "string"
},
"target": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"type": "object"
}
]
},
"type": "array"
},
"security_opt": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"shm_size": {
"type": [
"number",
"string"
]
},
"stdin_open": {
"type": "boolean"
},
"stop_grace_period": {
"_format": "duration",
"type": "string"
},
"stop_signal": {
"type": "string"
},
"sysctls": {
"$ref": "#/definitions/list_or_dict"
},
"tmpfs": {
"$ref": "#/definitions/string_or_list"
},
"tty": {
"type": "boolean"
},
"ulimits": {
"patternProperties": {
"^[a-z]+$": {
"oneOf": [
{
"type": "integer"
},
{
"additionalProperties": false,
"properties": {
"hard": {
"type": "integer"
},
"soft": {
"type": "integer"
}
},
"required": [
"soft",
"hard"
],
"type": "object"
}
]
}
},
"type": "object"
},
"user": {
"type": "string"
},
"userns_mode": {
"type": "string"
},
"volumes": {
"items": {
"oneOf": [
{
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"bind": {
"properties": {
"propagation": {
"type": "string"
}
},
"type": "object"
},
"consistency": {
"type": "string"
},
"read_only": {
"type": "boolean"
},
"source": {
"type": "string"
},
"target": {
"type": "string"
},
"tmpfs": {
"properties": {
"size": {
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"type": {
"type": "string"
},
"volume": {
"properties": {
"nocopy": {
"type": "boolean"
}
},
"type": "object"
}
},
"required": [
"type"
],
"type": "object"
}
],
"_uniqueItems": true
},
"type": "array"
},
"working_dir": {
"type": "string"
}
},
"type": "object"
},
"string_or_list": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/list_of_strings"
}
]
},
"volume": {
"additionalProperties": false,
"id": "#/definitions/volume",
"patternProperties": {
"^x-": {}
},
"properties": {
"driver": {
"type": "string"
},
"driver_opts": {
"patternProperties": {
"^.+$": {
"type": [
"string",
"number"
]
}
},
"type": "object"
},
"external": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": [
"boolean",
"object"
]
},
"labels": {
"$ref": "#/definitions/list_or_dict"
},
"name": {
"type": "string"
}
},
"type": [
"object",
"null"
]
}
},
"patternProperties": {
"^x-": {}
},
"properties": {
"configs": {
"additionalProperties": false,
"id": "#/properties/configs",
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"$ref": "#/definitions/config"
}
},
"type": "object"
},
"networks": {
"id": "#/properties/networks",
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"$ref": "#/definitions/network"
}
},
"type": "object"
},
"secrets": {
"additionalProperties": false,
"id": "#/properties/secrets",
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"$ref": "#/definitions/secret"
}
},
"type": "object"
},
"services": {
"additionalProperties": false,
"id": "#/properties/services",
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"$ref": "#/definitions/service"
}
},
"type": "object"
},
"version": {
"type": "string"
},
"volumes": {
"additionalProperties": false,
"id": "#/properties/volumes",
"patternProperties": {
"^[a-zA-Z0-9._-]+$": {
"$ref": "#/definitions/volume"
}
},
"type": "object"
}
},
"required": [
"version"
],
"type": "object"
} | o80251 |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "JSON schema for NPM package.json files",
"definitions": {
"person": {
"description": "A person who has been involved in creating or maintaining this package",
"type": [
"object",
"string"
],
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"email": {
"type": "string",
"format": "email"
}
}
},
"bundledDependency": {
"description": "Array of package names that will be bundled when publishing the package.",
"type": "array",
"items": {
"type": "string"
}
},
"dependency": {
"description": "Dependencies are specified with a simple hash of package name to version range. The version range is a string which has one or more space-separated descriptors. Dependencies can also be identified with a tarball or git URL.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"scriptsInstallAfter": {
"description": "Run AFTER the package is installed",
"type": "string"
},
"scriptsPublishAfter": {
"description": "Run AFTER the package is published",
"type": "string"
},
"scriptsRestart": {
"description": "Run by the 'npm restart' command. Note: 'npm restart' will run the stop and start scripts if no restart script is provided.",
"type": "string"
},
"scriptsStart": {
"description": "Run by the 'npm start' command",
"type": "string"
},
"scriptsStop": {
"description": "Run by the 'npm stop' command",
"type": "string"
},
"scriptsTest": {
"description": "Run by the 'npm test' command",
"type": "string"
},
"scriptsUninstallBefore": {
"description": "Run BEFORE the package is uninstalled",
"type": "string"
},
"scriptsVersionBefore": {
"description": "Run BEFORE bump the package version",
"type": "string"
},
"coreProperties": {
"type": "object",
"patternProperties": {
"^_": {
"description": "Any property starting with _ is valid.",
"additionalProperties": true,
"additionalItems": true
}
},
"properties": {
"name": {
"description": "The name of the package.",
"type": "string",
"maxLength": 214,
"minLength": 1,
"pattern": "^(?:@[a-z0-9-~][a-z0-9-._~]*/)?[a-z0-9-~][a-z0-9-._~]*$"
},
"version": {
"description": "Version must be parseable by node-semver, which is bundled with npm as a dependency.",
"type": "string"
},
"description": {
"description": "This helps people discover your package, as it's listed in 'npm search'.",
"type": "string"
},
"keywords": {
"description": "This helps people discover your package as it's listed in 'npm search'.",
"type": "array",
"items": {
"type": "string"
}
},
"homepage": {
"description": "The url to the project homepage.",
"type": "string",
"format": "uri"
},
"bugs": {
"description": "The url to your project's issue tracker and / or the email address to which issues should be reported. These are helpful for people who encounter issues with your package.",
"type": [
"object",
"string"
],
"properties": {
"url": {
"type": "string",
"description": "The url to your project's issue tracker.",
"format": "uri"
},
"email": {
"type": "string",
"description": "The email address to which issues should be reported.",
"format": "email"
}
}
},
"license": {
"type": "string",
"description": "You should specify a license for your package so that people know how they are permitted to use it, and any restrictions you're placing on it."
},
"licenses": {
"description": "You should specify a license for your package so that people know how they are permitted to use it, and any restrictions you're placing on it.",
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
}
}
}
},
"author": {
"$ref": "#/definitions/person"
},
"contributors": {
"description": "A list of people who contributed to this package.",
"type": "array",
"items": {
"$ref": "#/definitions/person"
}
},
"maintainers": {
"description": "A list of people who maintains this package.",
"type": "array",
"items": {
"$ref": "#/definitions/person"
}
},
"files": {
"description": "The 'files' field is an array of files to include in your project. If you name a folder in the array, then it will also include the files inside that folder.",
"type": "array",
"items": {
"type": "string"
}
},
"main": {
"description": "The main field is a module ID that is the primary entry point to your program.",
"type": "string"
},
"bin": {
"type": [
"string",
"object"
],
"additionalProperties": {
"type": "string"
}
},
"types": {
"description": "Set the types property to point to your bundled declaration file",
"type": "string"
},
"typings": {
"description": "Note that the \"typings\" field is synonymous with \"types\", and could be used as well.",
"type": "string"
},
"man": {
"type": [
"array",
"string"
],
"description": "Specify either a single file or an array of filenames to put in place for the man program to find.",
"items": {
"type": "string"
}
},
"directories": {
"type": "object",
"properties": {
"bin": {
"description": "If you specify a 'bin' directory, then all the files in that folder will be used as the 'bin' hash.",
"type": "string"
},
"doc": {
"description": "Put markdown files in here. Eventually, these will be displayed nicely, maybe, someday.",
"type": "string"
},
"example": {
"description": "Put example scripts in here. Someday, it might be exposed in some clever way.",
"type": "string"
},
"lib": {
"description": "Tell people where the bulk of your library is. Nothing special is done with the lib folder in any way, but it's useful meta info.",
"type": "string"
},
"man": {
"description": "A folder that is full of man pages. Sugar to generate a 'man' array by walking the folder.",
"type": "string"
},
"test": {
"type": "string"
}
}
},
"repository": {
"description": "Specify the place where your code lives. This is helpful for people who want to contribute.",
"type": [
"object",
"string"
],
"properties": {
"type": {
"type": "string"
},
"url": {
"type": "string"
}
}
},
"scripts": {
"description": "The 'scripts' member is an object hash of script commands that are run at various times in the lifecycle of your package. The key is the lifecycle event, and the value is the command to run at that point.",
"type": "object",
"properties": {
"prepublish": {
"type": "string",
"description": "Run BEFORE the package is published (Also run on local npm install without any arguments)"
},
"prepare": {
"type": "string",
"description": "Run both BEFORE the package is packed and published, and on local npm install without any arguments. This is run AFTER prepublish, but BEFORE prepublishOnly"
},
"prepublishOnly": {
"type": "string",
"description": "Run BEFORE the package is prepared and packed, ONLY on npm publish"
},
"prepack": {
"type": "string",
"description": "run BEFORE a tarball is packed (on npm pack, npm publish, and when installing git dependencies)"
},
"postpack": {
"type": "string",
"description": "Run AFTER the tarball has been generated and moved to its final destination."
},
"publish": {
"$ref": "#/definitions/scriptsPublishAfter"
},
"postpublish": {
"$ref": "#/definitions/scriptsPublishAfter"
},
"preinstall": {
"type": "string",
"description": "Run BEFORE the package is installed"
},
"install": {
"$ref": "#/definitions/scriptsInstallAfter"
},
"postinstall": {
"$ref": "#/definitions/scriptsInstallAfter"
},
"preuninstall": {
"$ref": "#/definitions/scriptsUninstallBefore"
},
"uninstall": {
"$ref": "#/definitions/scriptsUninstallBefore"
},
"postuninstall": {
"type": "string",
"description": "Run AFTER the package is uninstalled"
},
"preversion": {
"$ref": "#/definitions/scriptsVersionBefore"
},
"version": {
"$ref": "#/definitions/scriptsVersionBefore"
},
"postversion": {
"type": "string",
"description": "Run AFTER bump the package version"
},
"pretest": {
"$ref": "#/definitions/scriptsTest"
},
"test": {
"$ref": "#/definitions/scriptsTest"
},
"posttest": {
"$ref": "#/definitions/scriptsTest"
},
"prestop": {
"$ref": "#/definitions/scriptsStop"
},
"stop": {
"$ref": "#/definitions/scriptsStop"
},
"poststop": {
"$ref": "#/definitions/scriptsStop"
},
"prestart": {
"$ref": "#/definitions/scriptsStart"
},
"start": {
"$ref": "#/definitions/scriptsStart"
},
"poststart": {
"$ref": "#/definitions/scriptsStart"
},
"prerestart": {
"$ref": "#/definitions/scriptsRestart"
},
"restart": {
"$ref": "#/definitions/scriptsRestart"
},
"postrestart": {
"$ref": "#/definitions/scriptsRestart"
}
},
"additionalProperties": {
"type": "string"
}
},
"config": {
"description": "A 'config' hash can be used to set configuration parameters used in package scripts that persist across upgrades.",
"type": "object",
"additionalProperties": true
},
"dependencies": {
"$ref": "#/definitions/dependency"
},
"devDependencies": {
"$ref": "#/definitions/dependency"
},
"optionalDependencies": {
"$ref": "#/definitions/dependency"
},
"peerDependencies": {
"$ref": "#/definitions/dependency"
},
"resolutions": {
"$ref": "#/definitions/dependency"
},
"engines": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"engineStrict": {
"type": "boolean"
},
"os": {
"description": "You can specify which operating systems your module will run on",
"type": "array",
"items": {
"type": "string"
}
},
"cpu": {
"description": "If your code only runs on certain cpu architectures, you can specify which ones.",
"type": "array",
"items": {
"type": "string"
}
},
"preferGlobal": {
"type": "boolean",
"description": "If your package is primarily a command-line application that should be installed globally, then set this value to true to provide a warning if it is installed locally."
},
"private": {
"type": "boolean",
"description": "If set to true, then npm will refuse to publish it."
},
"publishConfig": {
"type": "object",
"additionalProperties": true
},
"dist": {
"type": "object",
"properties": {
"shasum": {
"type": "string"
},
"tarball": {
"type": "string"
}
}
},
"readme": {
"type": "string"
},
"module": {
"description": "An ECMAScript module ID that is the primary entry point to your program.",
"type": "string"
},
"esnext": {
"description": "A module ID with untranspiled code that is the primary entry point to your program.",
"type": [
"string",
"object"
],
"properties": {
"main": {
"type": "string"
},
"browser": {
"type": "string"
}
},
"additionalProperties": {
"type": "string"
}
}
}
},
"jspmDefinition": {
"properties": {
"jspm": {
"$ref": "#/definitions/coreProperties"
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/coreProperties"
},
{
"$ref": "#/definitions/jspmDefinition"
},
{
"anyOf": [
{
"properties": {
"bundleDependencies": {
"$ref": "#/definitions/bundledDependency"
}
},
"not": {
"properties": {
"bundledDependencies": {}
},
"required": [
"bundledDependencies"
]
}
},
{
"properties": {
"bundledDependencies": {
"$ref": "#/definitions/bundledDependency"
}
},
"not": {
"properties": {
"bundleDependencies": {}
},
"required": [
"bundleDependencies"
]
}
}
]
}
]
} | o77304 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Rhythmone Adapter Params",
"description": "A schema which validates params accepted by the Rhythmone adapter",
"type": "object",
"properties": {
"placementId": {
"type": "string",
"description": "An ID which is used to frame Rhythmone ad tag",
"minLength": 1
},
"path": {
"type": "string",
"description": "An ID which is used to frame Rhythmone ad tag",
"minLength": 1
},
"zone": {
"type": "string",
"description": "An ID which is used to frame Rhythmone ad tag",
"minLength": 1
}
},
"required": [
"placementId",
"path",
"zone"
]
} | o68329 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Mny Currency",
"type": "object",
"additionalProperties": false,
"properties": {
"_id": {
"type": "integer",
"description": "A unique ID for MnyCurrency"
},
"code": {
"type": "string"
}
}
} | o46259 |
{
"additionalProperties": false,
"description": "Schema for a Hipchat room notification command",
"properties": {
"color": {
"enum": [
"YELLOW",
"GREEN",
"RED",
"PURPLE",
"GRAY",
"RANDOM"
]
},
"message": {
"maxLength": 10000,
"minLength": 1,
"type": "string"
},
"messageFormat": {
"enum": [
"HTML",
"TEXT"
]
},
"notify": {
"type": "boolean"
},
"roomIdOrName": {
"maxLength": 100,
"minLength": 1,
"type": "string"
}
},
"required": [
"roomIdOrName",
"message"
],
"self": {
"format": "jsonschema",
"name": "send_room_notification",
"vendor": "com.hipchat.sauna.commands",
"version": "1-0-0"
},
"type": "object"
} | sp_97_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Environment Classes",
"description": "Information about the classes in a Puppet code environment",
"type": "object",
"properties": {
"files": {
"description": "The array of manifest files which exist in an environment. Even files that do not contain any classes will appear in the array.",
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"description": "Fully-qualified path on the server to the manifest",
"type": "string"
},
"classes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"description": "Name of the class. For example, if the class were defined as 'class myclass', the name would be 'myclass'.",
"type": "string"
},
"params": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"description": "Name of the class parameter. For example, if a class parameter were defined as 'String $my_param', the name would be 'my_param'.",
"type": "string"
},
"type": {
"description": "Data type, if defined, for the class parameter. For example, if a class parameter were defined as 'String $my_param', the data type would be 'String'. See https://docs.puppetlabs.com/puppet/latest/reference/lang_data.html for information on the available data types.",
"type": "string"
},
"default_source": {
"description": "Source text for the default value, if defined, for the class parameter. For example, if a class parameter were defined in the manifest as 'String $my_param = \"my value\"', the default_source would be '\"my value\"' where \" would appear literally in the text. Note that no expressions in the default value - for example, references to other variables - are expanded. The text for default_source matches the exact content in the parsed manifest.",
"type": "string"
},
"default_literal": {
"description": "Literal representation of the default value, if defined, for the class parameter. This member is only present if the value can be expressed using primitive JSON data types. For example, if a class parameter were defined in the manifest as 'Integer $my_integer = 3', the default_literal would be a JSON number whereas the corresponding default_source would be a JSON string containing '3'. The default_literal would be omitted for the following cases: 1) The primitive Puppet value has no direct translation into a JSON primitive type (for example, a regular expression, default, or undef). 2) The value contains a Puppet hash - either top-level or nested under another array or hash - with at least one key that is not a string. 3) The value contains one or more expressions that would have to be evaluated at catalog compilation time in order for the actual default value to be determined. See https://docs.puppetlabs.com/puppet/latest/reference/lang_data.html for information on the available data types and values."
}
},
"required": [
"name"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"params"
],
"additionalProperties": false
}
},
"error": {
"description": "If an error was encountered during manifest parsing, this member will be present instead of 'classes'. The error string provides details about the specific error.",
"type": "string"
}
},
"required": [
"path"
],
"oneOf": [
{
"required": [
"classes"
]
},
{
"required": [
"error"
]
}
],
"additionalProperties": false
}
},
"name": {
"description": "Name of the environment",
"type": "string"
}
},
"required": [
"files",
"name"
],
"additionalProperties": false
} | o88110 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"title": "notification content",
"description": "notification content",
"type": "object",
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
},
"message": {
"type": "string"
},
"priority": {
"type": "integer",
"minimum": 0,
"maximum": 10
}
},
"required": [
"to",
"message",
"priority"
]
} | o64288 |
{
"description": "This defines the schema of the CWL Command Line Tool Description document.",
"type": "object",
"properties": {
"class": {
"type": "string"
},
"baseCommand": {
"description": "Specifies the program to execute. If the value is an array, the first\n\nelement is the program to execute, and subsequent elements are placed\n\nat the beginning of the command line in prior to any command line\n\nbindings. If the program includes a path separator character it must\n\nbe an absolute path, otherwise it is an error. If the program does not\n\ninclude a path separator, search the `$PATH` variable in the runtime\n\nenvironment of the workflow runner find the absolute path of the\n\nexecutable.",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"arguments": {
"description": "Command line bindings which are not directly associated with input parameters.",
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/definitions/CommandLineBinding"
}
]
}
},
"stdin": {
"description": "A path to a file whose contents must be piped into the command's\n\nstandard input stream.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
},
"stdout": {
"description": "Capture the command's standard output stream to a file written to\n\nthe designated output directory.\n\n\n\nIf `stdout` is a string, it specifies the file name to use.\n\n\n\nIf `stdout` is an expression, the expression is evaluated and must\n\nreturn a string with the file name to use to capture stdout. If the\n\nreturn value is not a string, or the resulting path contains illegal\n\ncharacters (such as the path separator `/`) it is an error.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
},
"successCodes": {
"description": "Exit codes that indicate the process completed successfully.",
"type": "array",
"items": {
"type": "number"
}
},
"temporaryFailCodes": {
"description": "Exit codes that indicate the process failed due to a possibly\n\ntemporary condition, where excuting the process with the same\n\nruntime environment and inputs may produce different results.",
"type": "array",
"items": {
"type": "number"
}
},
"permanentFailCodes": {
"description": "Exit codes that indicate the process failed due to a permanent logic error, where excuting the process with the same runtime environment and same inputs is expected to always fail.",
"type": "array",
"items": {
"type": "number"
}
},
"inputs": {
"description": "Defines the input parameters of the process. The process is ready to\n\nrun when all required input parameters are associated with concrete\n\nvalues. Input parameters include a schema for each parameter which is\n\nused to validate the input object. It may also be used to build a user\n\ninterface for constructing the input object.",
"type": "array",
"items": {
"$ref": "#/definitions/CommandInputParameter"
}
},
"outputs": {
"description": "Defines the parameters representing the output of the process. May be\n\nused to generate and/or validate the output object.",
"type": "array",
"items": {
"$ref": "#/definitions/CommandOutputParameter"
}
},
"id": {
"description": "The unique identifier for this process object.",
"type": "string"
},
"requirements": {
"description": "Declares requirements that apply to either the runtime environment or the\n\nworkflow engine that must be met in order to execute this process. If\n\nan implementation cannot satisfy all requirements, or a requirement is\n\nlisted which is not recognized by the implementation, it is a fatal\n\nerror and the implementation must not attempt to run the process,\n\nunless overridden at user option.",
"type": "array",
"items": {
"$ref": "#/definitions/ProcessRequirement"
}
},
"hints": {
"description": "Declares hints applying to either the runtime environment or the\n\nworkflow engine that may be helpful in executing this process. It is\n\nnot an error if an implementation cannot satisfy all hints, however\n\nthe implementation may report a warning.",
"type": "array",
"items": {}
},
"label": {
"description": "A short, human-readable label of this process object.",
"type": "string"
},
"description": {
"description": "A long, human-readable description of this process object.",
"type": "string"
},
"cwlVersion": {
"$ref": "#/definitions/CWLVersions",
"description": "CWL document version"
}
},
"required": [
"class",
"baseCommand",
"inputs",
"outputs"
],
"definitions": {
"CommandLineBinding": {
"description": "When listed under `inputBinding` in the input schema, the term\n\n\"value\" refers to the the corresponding value in the input object. For\n\nbinding objects listed in `CommandLineTool.arguments`, the term \"value\"\n\nrefers to the effective value after evaluating `valueFrom`.\n\n\n\nThe binding behavior when building the command line depends on the data\n\ntype of the value. If there is a mismatch between the type described by\n\nthe input schema and the effective value, such as resulting from an\n\nexpression evaluation, an implementation must use the data type of the\n\neffective value.\n\n\n\n- **string**: Add `prefix` and the string to the command line.\n\n\n\n- **number**: Add `prefix` and decimal representation to command line.\n\n\n\n- **boolean**: If true, add `prefix` to the command line. If false, add\n\nnothing.\n\n\n\n- **File**: Add `prefix` and the value of\n\n[`File.path`](#File) to the command line.\n\n\n\n- **array**: If `itemSeparator` is specified, add `prefix` and the join\n\nthe array into a single string with `itemSeparator` separating the\n\nitems. Otherwise first add `prefix`, then recursively process\n\nindividual elements.\n\n\n\n- **object**: Add `prefix` only, and recursively add object fields for\n\nwhich `inputBinding` is specified.\n\n\n\n- **null**: Add nothing.",
"type": "object",
"properties": {
"position": {
"description": "The sorting key. Default position is 0.",
"type": "number"
},
"prefix": {
"description": "Command line prefix to add before the value.",
"type": "string"
},
"separate": {
"description": "If true (default), then the prefix and value must be added as separate\n\ncommand line arguments; if false, prefix and value must be concatenated\n\ninto a single command line argument.",
"type": "boolean"
},
"itemSeparator": {
"description": "Join the array elements into a single string with the elements\n\nseparated by by `itemSeparator`.",
"type": "string"
},
"valueFrom": {
"description": "If `valueFrom` is a constant string value, use this as the value and\n\napply the binding rules above.\n\n\n\nIf `valueFrom` is an expression, evaluate the expression to yield the\n\nactual value to use to build the command line and apply the binding\n\nrules above. If the inputBinding is associated with an input\n\nparameter, the value of `self` in the expression will be the value of the\n\ninput parameter.\n\n\n\nWhen a binding is part of the `CommandLineTool.arguments` field,\n\nthe `valueFrom` field is required.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
},
"shellQuote": {
"description": "If `ShellCommandRequirement` is in the requirements for the current command,\n\nthis controls whether the value is quoted on the command line (default is true).\n\nUse `shellQuote: false` to inject metacharacters for operations such as pipes.",
"type": "boolean"
},
"loadContents": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nRead up to the first 64 KiB of text from the file and place it in the\n\n\"contents\" field of the file object for use by expressions.",
"type": "boolean"
}
}
},
"CommandInputParameter": {
"description": "An input parameter for a CommandLineTool.",
"type": "object",
"properties": {
"inputBinding": {
"$ref": "#/definitions/CommandLineBinding",
"description": "Describes how to handle the inputs of a process and convert them\n\ninto a concrete form for execution, such as command line parameters."
},
"type": {
"description": "Specify valid types of data that may be assigned to this parameter.",
"anyOf": [
{
"type": "string",
"enum": [
"File"
]
},
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/CommandInputRecordSchema"
},
{
"$ref": "#/definitions/CommandInputEnumSchema"
},
{
"$ref": "#/definitions/CommandInputArraySchema"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"File"
]
},
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/CommandInputRecordSchema"
},
{
"$ref": "#/definitions/CommandInputEnumSchema"
},
{
"$ref": "#/definitions/CommandInputArraySchema"
},
{
"type": "string"
}
]
}
}
]
},
"id": {
"description": "The unique identifier for this parameter object.",
"type": "string"
},
"default": {
"description": "The default value for this parameter if not provided in the input\n\nobject."
},
"label": {
"description": "A short, human-readable label of this parameter object.",
"type": "string"
},
"description": {
"description": "A long, human-readable description of this parameter object.",
"type": "string"
},
"secondaryFiles": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nDescribes files that must be included alongside the primary file(s).\n\n\n\nIf the value is an expression, the value of `self` in the expression\n\nmust be the primary input or output File to which this binding applies.\n\n\n\nIf the value is a string, it specifies that the following pattern\n\nshould be applied to the primary file:\n\n\n\n1. If string begins with one or more caret `^` characters, for each\n\ncaret, remove the last file extension from the path (the last\n\nperiod `.` and all following characters). If there are no file\n\nextensions, the path is unchanged.\n\n2. Append the remainder of the string to the end of the file path.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
}
}
]
},
"format": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nFor input parameters, this must be one or more URIs of a concept nodes\n\nthat represents file formats which are allowed as input to this\n\nparameter, preferrably defined within an ontology. If no ontology is\n\navailable, file formats may be tested by exact match.\n\n\n\nFor output parameters, this is the file format that will be assigned to\n\nthe output parameter.",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
},
"streamable": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nA value of `true` indicates that the file is read or written\n\nsequentially without seeking. An implementation may use this flag to\n\nindicate whether it is valid to stream file contents using a named\n\npipe. Default: `false`.",
"type": "boolean"
}
},
"required": [
"id"
]
},
"CommandInputRecordSchema": {
"type": "object",
"properties": {
"fields": {
"description": "Defines the fields of the record.",
"type": "array",
"items": {
"$ref": "#/definitions/CommandInputRecordField"
}
},
"type": {
"description": "Must be `record`",
"type": "string",
"enum": [
"record"
]
},
"secondaryFiles": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nDescribes files that must be included alongside the primary file(s).\n\n\n\nIf the value is an expression, the value of `self` in the expression\n\nmust be the primary input or output File to which this binding applies.\n\n\n\nIf the value is a string, it specifies that the following pattern\n\nshould be applied to the primary file:\n\n\n\n1. If string begins with one or more caret `^` characters, for each\n\ncaret, remove the last file extension from the path (the last\n\nperiod `.` and all following characters). If there are no file\n\nextensions, the path is unchanged.\n\n2. Append the remainder of the string to the end of the file path.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
}
}
]
},
"format": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nFor input parameters, this must be one or more URIs of a concept nodes\n\nthat represents file formats which are allowed as input to this\n\nparameter, preferrably defined within an ontology. If no ontology is\n\navailable, file formats may be tested by exact match.\n\n\n\nFor output parameters, this is the file format that will be assigned to\n\nthe output parameter.",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
},
"streamable": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nA value of `true` indicates that the file is read or written\n\nsequentially without seeking. An implementation may use this flag to\n\nindicate whether it is valid to stream file contents using a named\n\npipe. Default: `false`.",
"type": "boolean"
}
},
"required": [
"type"
]
},
"CommandInputRecordField": {
"type": "object",
"properties": {
"inputBinding": {
"$ref": "#/definitions/CommandLineBinding"
},
"type": {
"description": "The field type",
"anyOf": [
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/CommandInputRecordSchema"
},
{
"$ref": "#/definitions/CommandInputEnumSchema"
},
{
"$ref": "#/definitions/CommandInputArraySchema"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/CommandInputRecordSchema"
},
{
"$ref": "#/definitions/CommandInputEnumSchema"
},
{
"$ref": "#/definitions/CommandInputArraySchema"
},
{
"type": "string"
}
]
}
}
]
},
"name": {
"description": "The name of the field",
"type": "string"
},
"doc": {
"description": "A documentation string for this field",
"type": "string"
}
},
"required": [
"type",
"name"
]
},
"CommandInputEnumSchema": {
"type": "object",
"properties": {
"inputBinding": {
"$ref": "#/definitions/CommandLineBinding"
},
"type": {
"description": "Must be `enum`",
"type": "string",
"enum": [
"enum"
]
},
"symbols": {
"description": "Defines the set of valid symbols.",
"type": "array",
"items": {
"type": "string"
}
},
"secondaryFiles": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nDescribes files that must be included alongside the primary file(s).\n\n\n\nIf the value is an expression, the value of `self` in the expression\n\nmust be the primary input or output File to which this binding applies.\n\n\n\nIf the value is a string, it specifies that the following pattern\n\nshould be applied to the primary file:\n\n\n\n1. If string begins with one or more caret `^` characters, for each\n\ncaret, remove the last file extension from the path (the last\n\nperiod `.` and all following characters). If there are no file\n\nextensions, the path is unchanged.\n\n2. Append the remainder of the string to the end of the file path.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
}
}
]
},
"format": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nFor input parameters, this must be one or more URIs of a concept nodes\n\nthat represents file formats which are allowed as input to this\n\nparameter, preferrably defined within an ontology. If no ontology is\n\navailable, file formats may be tested by exact match.\n\n\n\nFor output parameters, this is the file format that will be assigned to\n\nthe output parameter.",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
},
"streamable": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nA value of `true` indicates that the file is read or written\n\nsequentially without seeking. An implementation may use this flag to\n\nindicate whether it is valid to stream file contents using a named\n\npipe. Default: `false`.",
"type": "boolean"
}
},
"required": [
"type",
"symbols"
]
},
"CommandInputArraySchema": {
"type": "object",
"properties": {
"inputBinding": {
"$ref": "#/definitions/CommandLineBinding"
},
"items": {
"description": "Defines the type of the array elements.",
"anyOf": [
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/CommandInputRecordSchema"
},
{
"$ref": "#/definitions/CommandInputEnumSchema"
},
{
"$ref": "#/definitions/CommandInputArraySchema"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/CommandInputRecordSchema"
},
{
"$ref": "#/definitions/CommandInputEnumSchema"
},
{
"$ref": "#/definitions/CommandInputArraySchema"
},
{
"type": "string"
}
]
}
}
]
},
"type": {
"description": "Must be `array`",
"type": "string",
"enum": [
"array"
]
},
"secondaryFiles": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nDescribes files that must be included alongside the primary file(s).\n\n\n\nIf the value is an expression, the value of `self` in the expression\n\nmust be the primary input or output File to which this binding applies.\n\n\n\nIf the value is a string, it specifies that the following pattern\n\nshould be applied to the primary file:\n\n\n\n1. If string begins with one or more caret `^` characters, for each\n\ncaret, remove the last file extension from the path (the last\n\nperiod `.` and all following characters). If there are no file\n\nextensions, the path is unchanged.\n\n2. Append the remainder of the string to the end of the file path.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
}
}
]
},
"format": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nFor input parameters, this must be one or more URIs of a concept nodes\n\nthat represents file formats which are allowed as input to this\n\nparameter, preferrably defined within an ontology. If no ontology is\n\navailable, file formats may be tested by exact match.\n\n\n\nFor output parameters, this is the file format that will be assigned to\n\nthe output parameter.",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
},
"streamable": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nA value of `true` indicates that the file is read or written\n\nsequentially without seeking. An implementation may use this flag to\n\nindicate whether it is valid to stream file contents using a named\n\npipe. Default: `false`.",
"type": "boolean"
}
},
"required": [
"items",
"type"
]
},
"CommandOutputParameter": {
"description": "An output parameter for a CommandLineTool.",
"type": "object",
"properties": {
"outputBinding": {
"$ref": "#/definitions/CommandOutputBinding",
"description": "Describes how to handle the outputs of a process."
},
"type": {
"description": "Specify valid types of data that may be assigned to this parameter.",
"anyOf": [
{
"type": "string",
"enum": [
"File"
]
},
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/CommandOutputRecordSchema"
},
{
"$ref": "#/definitions/CommandOutputEnumSchema"
},
{
"$ref": "#/definitions/CommandOutputArraySchema"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"File"
]
},
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/CommandOutputRecordSchema"
},
{
"$ref": "#/definitions/CommandOutputEnumSchema"
},
{
"$ref": "#/definitions/CommandOutputArraySchema"
},
{
"type": "string"
}
]
}
}
]
},
"id": {
"description": "The unique identifier for this parameter object.",
"type": "string"
},
"label": {
"description": "A short, human-readable label of this parameter object.",
"type": "string"
},
"description": {
"description": "A long, human-readable description of this parameter object.",
"type": "string"
},
"secondaryFiles": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nDescribes files that must be included alongside the primary file(s).\n\n\n\nIf the value is an expression, the value of `self` in the expression\n\nmust be the primary input or output File to which this binding applies.\n\n\n\nIf the value is a string, it specifies that the following pattern\n\nshould be applied to the primary file:\n\n\n\n1. If string begins with one or more caret `^` characters, for each\n\ncaret, remove the last file extension from the path (the last\n\nperiod `.` and all following characters). If there are no file\n\nextensions, the path is unchanged.\n\n2. Append the remainder of the string to the end of the file path.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
}
}
]
},
"format": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nFor input parameters, this must be one or more URIs of a concept nodes\n\nthat represents file formats which are allowed as input to this\n\nparameter, preferrably defined within an ontology. If no ontology is\n\navailable, file formats may be tested by exact match.\n\n\n\nFor output parameters, this is the file format that will be assigned to\n\nthe output parameter.",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
},
"streamable": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nA value of `true` indicates that the file is read or written\n\nsequentially without seeking. An implementation may use this flag to\n\nindicate whether it is valid to stream file contents using a named\n\npipe. Default: `false`.",
"type": "boolean"
}
},
"required": [
"id"
]
},
"CommandOutputBinding": {
"type": "object",
"properties": {
"glob": {
"description": "Find files relative to the output directory, using POSIX glob(3)\n\npathname matching. If provided an array, find files that match any\n\npattern in the array. If provided an expression, the expression must\n\nreturn a string or an array of strings, which will then be evaluated as\n\none or more glob patterns. Must only match and return files which\n\nactually exist.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"loadContents": {
"description": "For each file matched in `glob`, read up to\n\nthe first 64 KiB of text from the file and place it in the `contents`\n\nfield of the file object for manipulation by `outputEval`.",
"type": "boolean"
},
"outputEval": {
"description": "Evaluate an expression to generate the output value. If `glob` was\n\nspecified, the value of `self` must be an array containing file objects\n\nthat were matched. If no files were matched, `self' must be a zero\n\nlength array; if a single file was matched, the value of `self` is an\n\narray of a single element. Additionally, if `loadContents` is `true`,\n\nthe File objects must include up to the first 64 KiB of file contents\n\nin the `contents` field.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
}
}
},
"CommandOutputRecordSchema": {
"type": "object",
"properties": {
"fields": {
"description": "Defines the fields of the record.",
"type": "array",
"items": {
"$ref": "#/definitions/CommandOutputRecordField"
}
},
"type": {
"description": "Must be `record`",
"type": "string",
"enum": [
"record"
]
},
"secondaryFiles": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nDescribes files that must be included alongside the primary file(s).\n\n\n\nIf the value is an expression, the value of `self` in the expression\n\nmust be the primary input or output File to which this binding applies.\n\n\n\nIf the value is a string, it specifies that the following pattern\n\nshould be applied to the primary file:\n\n\n\n1. If string begins with one or more caret `^` characters, for each\n\ncaret, remove the last file extension from the path (the last\n\nperiod `.` and all following characters). If there are no file\n\nextensions, the path is unchanged.\n\n2. Append the remainder of the string to the end of the file path.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
}
}
]
},
"format": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nFor input parameters, this must be one or more URIs of a concept nodes\n\nthat represents file formats which are allowed as input to this\n\nparameter, preferrably defined within an ontology. If no ontology is\n\navailable, file formats may be tested by exact match.\n\n\n\nFor output parameters, this is the file format that will be assigned to\n\nthe output parameter.",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
},
"streamable": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nA value of `true` indicates that the file is read or written\n\nsequentially without seeking. An implementation may use this flag to\n\nindicate whether it is valid to stream file contents using a named\n\npipe. Default: `false`.",
"type": "boolean"
}
},
"required": [
"type"
]
},
"CommandOutputRecordField": {
"type": "object",
"properties": {
"outputBinding": {
"$ref": "#/definitions/CommandOutputBinding"
},
"type": {
"description": "The field type",
"anyOf": [
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/CommandOutputRecordSchema"
},
{
"$ref": "#/definitions/CommandOutputEnumSchema"
},
{
"$ref": "#/definitions/CommandOutputArraySchema"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/CommandOutputRecordSchema"
},
{
"$ref": "#/definitions/CommandOutputEnumSchema"
},
{
"$ref": "#/definitions/CommandOutputArraySchema"
},
{
"type": "string"
}
]
}
}
]
},
"name": {
"description": "The name of the field",
"type": "string"
},
"doc": {
"description": "A documentation string for this field",
"type": "string"
}
},
"required": [
"type",
"name"
]
},
"CommandOutputEnumSchema": {
"type": "object",
"properties": {
"outputBinding": {
"$ref": "#/definitions/CommandOutputBinding"
},
"type": {
"description": "Must be `enum`",
"type": "string",
"enum": [
"enum"
]
},
"symbols": {
"description": "Defines the set of valid symbols.",
"type": "array",
"items": {
"type": "string"
}
},
"secondaryFiles": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nDescribes files that must be included alongside the primary file(s).\n\n\n\nIf the value is an expression, the value of `self` in the expression\n\nmust be the primary input or output File to which this binding applies.\n\n\n\nIf the value is a string, it specifies that the following pattern\n\nshould be applied to the primary file:\n\n\n\n1. If string begins with one or more caret `^` characters, for each\n\ncaret, remove the last file extension from the path (the last\n\nperiod `.` and all following characters). If there are no file\n\nextensions, the path is unchanged.\n\n2. Append the remainder of the string to the end of the file path.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
}
}
]
},
"format": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nFor input parameters, this must be one or more URIs of a concept nodes\n\nthat represents file formats which are allowed as input to this\n\nparameter, preferrably defined within an ontology. If no ontology is\n\navailable, file formats may be tested by exact match.\n\n\n\nFor output parameters, this is the file format that will be assigned to\n\nthe output parameter.",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
},
"streamable": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nA value of `true` indicates that the file is read or written\n\nsequentially without seeking. An implementation may use this flag to\n\nindicate whether it is valid to stream file contents using a named\n\npipe. Default: `false`.",
"type": "boolean"
}
},
"required": [
"type",
"symbols"
]
},
"CommandOutputArraySchema": {
"type": "object",
"properties": {
"outputBinding": {
"$ref": "#/definitions/CommandOutputBinding"
},
"items": {
"description": "Defines the type of the array elements.",
"anyOf": [
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/CommandOutputRecordSchema"
},
{
"$ref": "#/definitions/CommandOutputEnumSchema"
},
{
"$ref": "#/definitions/CommandOutputArraySchema"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"null"
]
},
{
"type": "string",
"enum": [
"boolean"
]
},
{
"type": "string",
"enum": [
"int"
]
},
{
"type": "string",
"enum": [
"long"
]
},
{
"type": "string",
"enum": [
"float"
]
},
{
"type": "string",
"enum": [
"double"
]
},
{
"type": "string",
"enum": [
"string"
]
},
{
"$ref": "#/definitions/CommandOutputRecordSchema"
},
{
"$ref": "#/definitions/CommandOutputEnumSchema"
},
{
"$ref": "#/definitions/CommandOutputArraySchema"
},
{
"type": "string"
}
]
}
}
]
},
"type": {
"description": "Must be `array`",
"type": "string",
"enum": [
"array"
]
},
"secondaryFiles": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nDescribes files that must be included alongside the primary file(s).\n\n\n\nIf the value is an expression, the value of `self` in the expression\n\nmust be the primary input or output File to which this binding applies.\n\n\n\nIf the value is a string, it specifies that the following pattern\n\nshould be applied to the primary file:\n\n\n\n1. If string begins with one or more caret `^` characters, for each\n\ncaret, remove the last file extension from the path (the last\n\nperiod `.` and all following characters). If there are no file\n\nextensions, the path is unchanged.\n\n2. Append the remainder of the string to the end of the file path.",
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
}
}
]
},
"format": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nFor input parameters, this must be one or more URIs of a concept nodes\n\nthat represents file formats which are allowed as input to this\n\nparameter, preferrably defined within an ontology. If no ontology is\n\navailable, file formats may be tested by exact match.\n\n\n\nFor output parameters, this is the file format that will be assigned to\n\nthe output parameter.",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string",
"enum": [
"ExpressionPlaceholder"
]
}
]
},
"streamable": {
"description": "Only valid when `type: File` or is an array of `items: File`.\n\n\n\nA value of `true` indicates that the file is read or written\n\nsequentially without seeking. An implementation may use this flag to\n\nindicate whether it is valid to stream file contents using a named\n\npipe. Default: `false`.",
"type": "boolean"
}
},
"required": [
"items",
"type"
]
},
"ProcessRequirement": {
"description": "A process requirement declares a prerequisite that may or must be fulfilled\n\nbefore executing a process. See [`Process.hints`](#process) and\n\n[`Process.requirements`](#process).\n\n\n\nProcess requirements are the primary mechanism for specifying extensions to\n\nthe CWL core specification.",
"type": "object",
"properties": {
"class": {
"description": "The specific requirement type.",
"type": "string"
}
},
"required": [
"class"
]
},
"CWLVersions": {
"type": "string",
"enum": [
"draft-3"
]
}
},
"$schema": "http://json-schema.org/draft-04/schema#"
} | o69210 |
{
"$id": "https://antha.com/layout-schema",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "JSON Schema for deck layout description",
"type": "object",
"required": [
"before",
"after",
"new_ids",
"version"
],
"properties": {
"version": {
"description": "the version of this schema for validation",
"const": "1.0"
},
"before": {
"$ref": "#/definitions/deckSummary"
},
"after": {
"$ref": "#/definitions/deckSummary"
},
"new_ids": {
"type": "object",
"description": "maps from the object IDs in 'before' to 'after'",
"additionalProperties": {
"type": "string",
"description": "An ID in 'after'"
}
}
},
"definitions": {
"deckSummary": {
"type": "object",
"description": "Describes the layout of a liquidhandling deck at a given point in time",
"required": [
"positions"
],
"properties": {
"positions": {
"type": "object",
"description": "Keys are the names of positions on the deck of the liquidhandling deck",
"additionalProperties": {
"$ref": "#/definitions/deckPosition"
}
}
}
},
"deckPosition": {
"type": "object",
"description": "a position on the liquidhandling deck",
"required": [
"position",
"size"
],
"properties": {
"position": {
"$ref": "#/definitions/coordinates3"
},
"size": {
"$ref": "#/definitions/coordinates2"
},
"item": {
"type": "object",
"oneOf": [
{
"$ref": "#/definitions/plate"
},
{
"$ref": "#/definitions/tipbox"
},
{
"$ref": "#/definitions/tipwaste"
}
]
}
},
"additionalProperties": false
},
"coordinates2": {
"type": "object",
"description": "Two dimensional coordinates",
"required": [
"x_mm",
"y_mm"
],
"properties": {
"x_mm": {
"type": "number",
"description": "x coordinate in mm"
},
"y_mm": {
"type": "number",
"description": "y coordinate in mm"
}
},
"additionalProperties": false
},
"coordinates3": {
"type": "object",
"description": "Three dimensional coordinates",
"required": [
"x_mm",
"y_mm"
],
"properties": {
"x_mm": {
"type": "number",
"description": "x coordinate in mm"
},
"y_mm": {
"type": "number",
"description": "y coordinate in mm"
},
"z_mm": {
"type": "number",
"description": "z coordinate in mm"
}
},
"additionalProperties": false
},
"item": {
"type": "object",
"required": [
"id",
"name",
"type",
"manufacturer",
"description",
"rows",
"columns",
"dimensions",
"well_dimensions",
"well_start",
"well_type"
],
"properties": {
"id": {
"type": "string",
"description": "The unique ID of the object"
},
"name": {
"type": "string",
"description": "The name of this particular object"
},
"type": {
"type": "string",
"description": "The type name of this object, e.g. 'pcrplate'"
},
"manufacturer": {
"type": "string",
"description": "The name of the manufacturer of this object"
},
"description": {
"type": "string",
"description": "A handy description of this object"
},
"rows": {
"type": "number",
"description": "The number of rows of wells or tips in this object",
"multipleOf": 1.0,
"minimum": 0.0
},
"columns": {
"type": "number",
"description": "The number of columns of wells or tips in this object",
"multipleOf": 1.0,
"minimum": 0.0
},
"dimensions": {
"description": "The size of this object",
"$ref": "#/definitions/coordinates3"
},
"well_dimensions": {
"description": "The size of the wells or tips in this object",
"$ref": "#/definitions/coordinates3"
},
"well_start": {
"description": "The position of the center of the upper left-most well or tip in this object",
"$ref": "#/definitions/coordinates3"
},
"well_type": {
"description": "The type, or rather the shape, of the wells in this plate",
"type": "string",
"enum": [
"cylinder",
"cuboid"
]
}
}
},
"plate": {
"description": "Represent a plate on the deck",
"allOf": [
{
"$ref": "#/definitions/item"
},
{
"properties": {
"kind": {
"description": "used to verify the type",
"const": "plate"
},
"residual_volume": {
"description": "volume which cannot be removed from the wells of a plate",
"$ref": "#/definitions/measurement"
},
"contents": {
"patternProperties": {
"^[0-9]+$": {
"description": "a column of wells",
"type": "object",
"patternProperties": {
"^[0-9]+$": {
"description": "the contents of the well at the given position in the column",
"$ref": "#/definitions/liquid"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"required": [
"kind",
"residual_volume"
]
}
]
},
"tipbox": {
"description": "Represent a tipbox on the deck",
"allOf": [
{
"$ref": "#/definitions/item"
},
{
"properties": {
"kind": {
"description": "used to verify the type",
"const": "tipbox"
},
"missing_tips": {
"description": "Lists the positions at which tips are not present",
"type": "array",
"items": {
"description": "Well coordinates of the missing tip",
"type": "object",
"required": [
"row",
"col"
],
"properties": {
"row": {
"type": "number",
"multipleOf": 1.0,
"minimum": 0.0
},
"col": {
"type": "number",
"multipleOf": 1.0,
"minimum": 0.0
}
},
"additionalProperties": false
}
}
},
"required": [
"kind"
]
}
]
},
"tipwaste": {
"description": "Represent a tipwaste on the deck",
"allOf": [
{
"$ref": "#/definitions/item"
},
{
"properties": {
"kind": {
"description": "used to verify the type",
"const": "tipwaste"
},
"discarded_tips": {
"type": "number",
"description": "The number of discarded tips in the waste",
"multipleOf": 1.0,
"minimum": 0.0
}
},
"required": [
"kind"
]
}
]
},
"liquid": {
"description": "Describe a liquid in a plate well",
"type": "object",
"required": [
"name",
"total_volume"
],
"properties": {
"name": {
"description": "The display name of the liquid",
"type": "string"
},
"total_volume": {
"description": "The total volume present of the liquid",
"$ref": "#/definitions/measurement"
},
"components": {
"description": "The sub-components which make up this liquid",
"type": "array",
"items": {
"description": "A sub component",
"type": "object",
"required": [
"name",
"concentration",
"unit"
],
"properties": {
"name": {
"description": "the display name of the sub-component",
"type": "string"
},
"concentration": {
"description": "the concentration of the sub-component",
"type": "number",
"minimum": 0.0
},
"unit": {
"description": "the units in which the concentration is expressed",
"type": "string"
}
},
"additionalProperties": false
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"measurement": {
"description": "A measurement, typically of a Volume",
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"value": {
"description": "The value of the measurement",
"type": "number"
},
"unit": {
"description": "The units in which the measurement is expressed",
"type": "string"
}
},
"additionalProperties": false
}
}
} | o29389 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Select2 Auto-complete Data Schema",
"description": "",
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"label": {
"type": "string"
},
"restype": {
"type": "string"
},
"router": {
"type": "string"
},
"category": {
"type": "string",
"enum": [
"File",
"Notes",
"Development",
"Personal"
]
}
},
"required": [
"label"
],
"additionalProperties": false
}
]
}
} | o36788 |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"booleanAnnotationDefaultValue": {
"hide": true,
"type": "string"
},
"booleanAnnotationWithFalse": {
"hide": false,
"type": "string"
},
"booleanAnnotationWithTrue": {
"hide": true,
"type": "string"
},
"dateTime": {
"_format": "date-time",
"type": "string"
},
"email": {
"_format": "email",
"type": "string"
},
"examples": {
"examples": [
"foo",
1
],
"type": "string"
},
"hostname": {
"_format": "hostname",
"type": "string"
},
"ipv4": {
"_format": "ipv4",
"type": "string"
},
"ipv6": {
"_format": "ipv6",
"type": "string"
},
"jsonPointer": {
"_format": "json-pointer",
"type": "string"
},
"oneCharacter": {
"minimum": 5,
"type": "number"
},
"regexPattern": {
"pattern": "^[a-zA-Z0-9]{4}-abc_123$",
"type": "string"
},
"regexPatternWithWhitespace": {
"pattern": "^[a-zA-Z0-9]{4}-abc_123$",
"type": "string"
},
"uri": {
"_format": "uri",
"type": "string"
},
"uriReference": {
"_format": "uri-reference",
"type": "string"
},
"uriTemplate": {
"_format": "uri-template",
"type": "string"
}
},
"required": [
"booleanAnnotationDefaultValue",
"booleanAnnotationWithFalse",
"booleanAnnotationWithTrue",
"dateTime",
"email",
"examples",
"hostname",
"ipv4",
"ipv6",
"jsonPointer",
"oneCharacter",
"regexPattern",
"regexPatternWithWhitespace",
"uri",
"uriReference",
"uriTemplate"
],
"type": "object"
} | o17602 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_admissionregistration_v1_MutatingWebhook": {
"description": "MutatingWebhook describes an admission webhook and the resources and operations it applies to.",
"properties": {
"admissionReviewVersions": {
"description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.",
"items": {
"type": "string"
},
"type": "array"
},
"clientConfig": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_admissionregistration_v1_WebhookClientConfig",
"description": "ClientConfig defines how to communicate with the hook. Required"
},
"failurePolicy": {
"description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchPolicy": {
"description": "matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.\n\nDefaults to \"Equivalent\"",
"type": "string"
},
"name": {
"description": "The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required.",
"type": "string"
},
"namespaceSelector": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector",
"description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything."
},
"objectSelector": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector",
"description": "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."
},
"reinvocationPolicy": {
"description": "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: the webhook will not be called more than once in a single admission evaluation.\n\nIfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.\n\nDefaults to \"Never\".",
"type": "string"
},
"rules": {
"description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_admissionregistration_v1_RuleWithOperations"
},
"type": "array"
},
"sideEffects": {
"description": "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.",
"type": "string"
},
"timeoutSeconds": {
"_format": "int32",
"description": "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.",
"type": "integer"
}
},
"required": [
"name",
"clientConfig",
"sideEffects",
"admissionReviewVersions"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_admissionregistration_v1_MutatingWebhookConfiguration": {
"description": "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"enum": [
"MutatingWebhookConfiguration"
],
"type": "string"
},
"metadata": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta",
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"webhooks": {
"description": "Webhooks is a list of webhooks and the affected resources and operations.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_admissionregistration_v1_MutatingWebhook"
},
"type": "array",
"x-kubernetes-patch-merge-key": "name",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "admissionregistration.k8s.io",
"kind": "MutatingWebhookConfiguration",
"version": "v1"
}
]
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_admissionregistration_v1_RuleWithOperations": {
"description": "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.",
"properties": {
"apiGroups": {
"description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.",
"items": {
"type": "string"
},
"type": "array"
},
"apiVersions": {
"description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.",
"items": {
"type": "string"
},
"type": "array"
},
"operations": {
"description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required.",
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"description": "scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\".",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_admissionregistration_v1_ServiceReference": {
"description": "ServiceReference holds a reference to Service.legacy.k8s.io",
"properties": {
"name": {
"description": "`name` is the name of the service. Required",
"type": "string"
},
"namespace": {
"description": "`namespace` is the namespace of the service. Required",
"type": "string"
},
"path": {
"description": "`path` is an optional URL path which will be sent in any request to this service.",
"type": "string"
},
"port": {
"_format": "int32",
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).",
"type": "integer"
}
},
"required": [
"namespace",
"name"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_admissionregistration_v1_WebhookClientConfig": {
"description": "WebhookClientConfig contains the information to make a TLS connection with the webhook",
"properties": {
"caBundle": {
"_format": "byte",
"description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.",
"type": "string"
},
"service": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_admissionregistration_v1_ServiceReference",
"description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`."
},
"url": {
"description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1": {
"description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff",
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector": {
"description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
"properties": {
"matchExpressions": {
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement"
},
"type": "array"
},
"matchLabels": {
"additionalProperties": {
"type": "string"
},
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"type": "object"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement": {
"description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
"properties": {
"key": {
"description": "key is the label key that the selector applies to.",
"type": "string",
"x-kubernetes-patch-merge-key": "key",
"x-kubernetes-patch-strategy": "merge"
},
"operator": {
"description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
"type": "string"
},
"values": {
"description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"key",
"operator"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ListMeta": {
"description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
"properties": {
"continue": {
"description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.",
"type": "string"
},
"remainingItemCount": {
"_format": "int64",
"description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.",
"type": "integer"
},
"resourceVersion": {
"description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
"type": "string"
},
"selfLink": {
"description": "selfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry": {
"description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.",
"type": "string"
},
"fieldsType": {
"description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
"type": "string"
},
"fieldsV1": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1",
"description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type."
},
"manager": {
"description": "Manager is an identifier of the workflow managing these fields.",
"type": "string"
},
"operation": {
"description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.",
"type": "string"
},
"time": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta": {
"description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations",
"type": "object"
},
"clusterName": {
"description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.",
"type": "string"
},
"creationTimestamp": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"deletionGracePeriodSeconds": {
"_format": "int64",
"description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"finalizers": {
"description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.",
"items": {
"type": "string"
},
"type": "array",
"x-kubernetes-patch-strategy": "merge"
},
"generateName": {
"description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency",
"type": "string"
},
"generation": {
"_format": "int64",
"description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
"type": "integer"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels",
"type": "object"
},
"managedFields": {
"description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
"type": "string"
},
"namespace": {
"description": "Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces",
"type": "string"
},
"ownerReferences": {
"description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_OwnerReference"
},
"type": "array",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
},
"resourceVersion": {
"description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
"type": "string"
},
"selfLink": {
"description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.",
"type": "string"
},
"uid": {
"description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_OwnerReference": {
"description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.",
"properties": {
"apiVersion": {
"description": "API version of the referent.",
"type": "string"
},
"blockOwnerDeletion": {
"description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.",
"type": "boolean"
},
"controller": {
"description": "If true, this reference points to the managing controller.",
"type": "boolean"
},
"kind": {
"description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"name": {
"description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
"type": "string"
},
"uid": {
"description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time": {
"_format": "date-time",
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": "string"
}
},
"description": "MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"enum": [
"admissionregistration.k8s.io/v1"
],
"type": [
"string",
"null"
]
},
"items": {
"description": "List of MutatingWebhookConfiguration.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_admissionregistration_v1_MutatingWebhookConfiguration"
},
"type": [
"array",
"null"
]
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"enum": [
"MutatingWebhookConfigurationList"
],
"type": [
"string",
"null"
]
},
"metadata": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ListMeta",
"description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
}
},
"required": [
"items"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "admissionregistration.k8s.io",
"kind": "MutatingWebhookConfigurationList",
"version": "v1"
}
]
} | kb_570_Normalized |
{
"definitions": {
"character": {
"definitions": {
"level": {
"type": "integer"
},
"name": {
"type": "string"
},
"spells": {
"items": {
"$ref": "#/definitions/spell"
},
"type": "array"
}
},
"links": [
{
"href": "/characters",
"method": "POST",
"rel": "create",
"schema": {
"properties": {
"name": {
"type": "string"
}
}
},
"targetSchema": {
"$ref": "#/definitions/character"
},
"title": "Create a character"
},
{
"href": "/characters",
"method": "GET",
"rel": "list",
"targetSchema": {
"items": {
"properties": {
"level": {
"$ref": "#/definitions/character/definitions/level"
},
"name": {
"$ref": "#/definitions/character/definitions/name"
}
}
},
"type": "array"
},
"title": "List characters"
},
{
"href": "/characters/{(#/definitions/character/definitions/name)}",
"method": "GET",
"rel": "one",
"targetSchema": {
"$ref": "#/definitions/character"
},
"title": "Details of a character"
},
{
"href": "/characters/{(#/definitions/character/definitions/name)}/spells/{(#/definitions/spell/definitions/name)}",
"method": "PUT",
"rel": "link",
"title": "Make a character learn a spell"
},
{
"href": "/characters/{(#/definitions/character/definitions/name)}/spells/{(#/definitions/spell/definitions/name)}",
"method": "DELETE",
"rel": "unlink",
"title": "Make a character forget a spell"
}
],
"properties": {
"level": {
"$ref": "#/definitions/character/definitions/level"
},
"name": {
"$ref": "#/definitions/character/definitions/name"
},
"spells": {
"$ref": "#/definitions/character/definitions/spells"
}
},
"type": "object"
},
"spell": {
"definitions": {
"element": {
"type": "string"
},
"name": {
"type": "string"
},
"power": {
"type": "integer"
}
},
"links": [
{
"href": "/spells",
"method": "POST",
"rel": "create",
"schema": {
"$ref": "#/definitions/spell"
},
"targetSchema": {
"$ref": "#/definitions/spell"
},
"title": "Create a spell"
},
{
"href": "/spells",
"method": "GET",
"rel": "list",
"targetSchema": {
"items": {
"$ref": "#/definitions/spell"
},
"type": "array"
},
"title": "List spells"
},
{
"href": "/spells/{(#/definitions/spell/definitions/name)}",
"method": "GET",
"rel": "one",
"targetSchema": {
"$ref": "#/definitions/spell"
},
"title": "Info for a spell"
}
],
"properties": {
"element": {
"$ref": "#/definitions/spell/definitions/element"
},
"name": {
"$ref": "#/definitions/spell/definitions/name"
},
"power": {
"$ref": "#/definitions/spell/definitions/power"
}
},
"type": "object"
}
},
"properties": {
"character": {
"$ref": "#/definitions/character"
},
"spell": {
"$ref": "#/definitions/spell"
}
},
"title": "Test API",
"type": "object"
} | o84111 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"title": "image",
"description": "Image representation",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
},
"required": [
"name"
],
"additionalProperties": false
} | o27395 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_CrossVersionObjectReference": {
"description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.",
"properties": {
"apiVersion": {
"description": "API version of the referent",
"type": "string"
},
"kind": {
"description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"",
"type": "string"
},
"name": {
"description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names",
"type": "string"
}
},
"required": [
"kind",
"name"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_ExternalMetricSource": {
"description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).",
"properties": {
"metric": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_MetricIdentifier",
"description": "metric identifies the target metric by name and selector"
},
"target": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_MetricTarget",
"description": "target specifies the target value for the given metric"
}
},
"required": [
"metric",
"target"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_HPAScalingPolicy": {
"description": "HPAScalingPolicy is a single policy which must hold true for a specified past interval.",
"properties": {
"periodSeconds": {
"_format": "int32",
"description": "PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).",
"type": "integer"
},
"type": {
"description": "Type is used to specify the scaling policy.",
"type": "string"
},
"value": {
"_format": "int32",
"description": "Value contains the amount of change which is permitted by the policy. It must be greater than zero",
"type": "integer"
}
},
"required": [
"type",
"value",
"periodSeconds"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_HPAScalingRules": {
"description": "HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.",
"properties": {
"policies": {
"description": "policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_HPAScalingPolicy"
},
"type": "array"
},
"selectPolicy": {
"description": "selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.",
"type": "string"
},
"stabilizationWindowSeconds": {
"_format": "int32",
"description": "StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).",
"type": "integer"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_HorizontalPodAutoscalerBehavior": {
"description": "HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).",
"properties": {
"scaleDown": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_HPAScalingRules",
"description": "scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used)."
},
"scaleUp": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_HPAScalingRules",
"description": "scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of:\n * increase no more than 4 pods per 60 seconds\n * double the number of pods per 60 seconds\nNo stabilization is used."
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_MetricIdentifier": {
"description": "MetricIdentifier defines the name and optionally selector for a metric",
"properties": {
"name": {
"description": "name is the name of the given metric",
"type": "string"
},
"selector": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector",
"description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."
}
},
"required": [
"name"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_MetricSpec": {
"description": "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).",
"properties": {
"external": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_ExternalMetricSource",
"description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)."
},
"object": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_ObjectMetricSource",
"description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)."
},
"pods": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_PodsMetricSource",
"description": "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value."
},
"resource": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_ResourceMetricSource",
"description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source."
},
"type": {
"description": "type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object.",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_MetricTarget": {
"description": "MetricTarget defines the target value, average value, or average utilization of a specific metric",
"properties": {
"averageUtilization": {
"_format": "int32",
"description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type",
"type": "integer"
},
"averageValue": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity",
"description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)"
},
"type": {
"description": "type represents whether the metric type is Utilization, Value, or AverageValue",
"type": "string"
},
"value": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity",
"description": "value is the target value of the metric (as a quantity)."
}
},
"required": [
"type"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_ObjectMetricSource": {
"description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).",
"properties": {
"describedObject": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_CrossVersionObjectReference"
},
"metric": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_MetricIdentifier",
"description": "metric identifies the target metric by name and selector"
},
"target": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_MetricTarget",
"description": "target specifies the target value for the given metric"
}
},
"required": [
"describedObject",
"target",
"metric"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_PodsMetricSource": {
"description": "PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.",
"properties": {
"metric": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_MetricIdentifier",
"description": "metric identifies the target metric by name and selector"
},
"target": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_MetricTarget",
"description": "target specifies the target value for the given metric"
}
},
"required": [
"metric",
"target"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_ResourceMetricSource": {
"description": "ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set.",
"properties": {
"name": {
"description": "name is the name of the resource in question.",
"type": "string"
},
"target": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_MetricTarget",
"description": "target specifies the target value for the given metric"
}
},
"required": [
"name",
"target"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector": {
"description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
"properties": {
"matchExpressions": {
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement"
},
"type": "array"
},
"matchLabels": {
"additionalProperties": {
"type": "string"
},
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"type": "object"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement": {
"description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
"properties": {
"key": {
"description": "key is the label key that the selector applies to.",
"type": "string",
"x-kubernetes-patch-merge-key": "key",
"x-kubernetes-patch-strategy": "merge"
},
"operator": {
"description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
"type": "string"
},
"values": {
"description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"key",
"operator"
],
"type": "object"
}
},
"description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.",
"properties": {
"behavior": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_HorizontalPodAutoscalerBehavior",
"description": "behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used."
},
"maxReplicas": {
"description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.",
"format": "int32",
"type": [
"integer",
"null"
]
},
"metrics": {
"description": "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_MetricSpec"
},
"type": [
"array",
"null"
]
},
"minReplicas": {
"description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.",
"format": "int32",
"type": [
"integer",
"null"
]
},
"scaleTargetRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_CrossVersionObjectReference",
"description": "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count."
}
},
"required": [
"scaleTargetRef",
"maxReplicas"
],
"type": "object"
} | kb_404_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"properties": {
"carrier": {
"description": "carrier used for this pickup request",
"type": "string"
},
"carrier_pickup_number": {
"description": "carrier identifier for this pickup request",
"type": "string"
},
"id": {
"description": "shipcloud identifier for this pickup request",
"type": "string"
},
"pickup_address": {
"additionalProperties": false,
"description": "address where the carrier should pick up shipments",
"properties": {
"care_of": {
"type": "string"
},
"city": {
"type": "string"
},
"company": {
"type": "string"
},
"country": {
"description": "Country as uppercase ISO 3166-1 alpha-2 code",
"type": "string"
},
"first_name": {
"type": "string"
},
"id": {
"description": "identifier of a previously created address",
"type": "string"
},
"last_name": {
"type": "string"
},
"phone": {
"description": "telephone number (mandatory when using UPS and the following terms apply: service is one_day or one_day_early or ship to country is different than ship from country)",
"type": "string"
},
"state": {
"type": "string"
},
"street": {
"type": "string"
},
"street_no": {
"type": "string"
},
"zip_code": {
"type": "string"
}
},
"required": [
"last_name",
"street",
"street_no",
"city",
"zip_code",
"country"
],
"type": "object"
},
"pickup_time": {
"additionalProperties": false,
"description": "defined time window when the carrier should pickup shipments",
"properties": {
"earliest": {
"_format": "date-time",
"type": "string"
},
"latest": {
"_format": "date-time",
"type": "string"
}
},
"required": [
"earliest",
"latest"
],
"type": "object"
},
"shipments": {
"additionalProperties": false,
"items": {
"properties": {
"id": {
"description": "id of the shipment included in this pickup request",
"type": "string"
}
},
"type": "object"
},
"required": [
"id"
],
"type": "array"
}
},
"required": [
"id",
"carrier",
"pickup_time"
],
"type": "object"
} | o75562 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"area": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the exported area used to show or hide content.",
"default": "content",
"format": "topic"
}
}
},
"show": {
"type": "object",
"description": "Show the content area upon action request.",
"properties": {
"onActions": {
"type": "array",
"description": "Actions on which the content should become visible.",
"items": {
"type": "string",
"format": "topic",
"axRole": "inlet"
}
}
}
},
"hide": {
"type": "object",
"description": "Hide the content are upon action request.",
"properties": {
"onActions": {
"type": "array",
"items": {
"type": "string",
"format": "topic",
"axRole": "inlet"
},
"description": "Actions on which the content should become invisible."
}
}
},
"visibility": {
"type": "object",
"description": "Features regarding the visibility of the controlled widget area.",
"properties": {
"initially": {
"type": "boolean",
"description": "Determines if the content area is visible initially (true) or not.",
"default": false
},
"flag": {
"type": "string",
"format": "topic",
"axRole": "outlet",
"description": "Flag published on change of the content's visibility."
},
"toggleOn": {
"type": "array",
"items": {
"type": "string",
"format": "flag-topic",
"axRole": "inlet",
"axPattern": "flag"
},
"description": "Flags toggling the content's visibility. The content is shown if any of the flags is true, hidden otherwise."
}
}
},
"animation": {
"type": "object",
"description": "Offer to animate changes to the visibility state.",
"properties": {
"enabled": {
"type": "boolean",
"description": "If true visibility changes are animated.",
"default": true
}
}
}
}
} | o9363 |
{
"properties": {
"onDuplicateRun": {
"enum": [
"mark_job_as_canceled",
"mark_job_as_failed"
],
"type": "string"
}
},
"required": [
"onDuplicateRun"
],
"type": "object"
} | o67196 |
{
"additionalProperties": false,
"properties": {
"nanoentities": {
"items": {
"additionalProperties": false,
"properties": {
"context": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
} | o13947 |
{
"properties": {
"customer_name": {
"description": "The name of the customer",
"type": "string"
},
"items": {
"description": "The list of items in the invoice",
"items": {
"properties": {
"name": {
"description": "The name of the item",
"type": "string"
},
"price": {
"description": "The price of the item",
"type": "number"
},
"quantity": {
"description": "The quantity of the item",
"type": "integer"
}
},
"required": [
"name",
"quantity",
"price"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"customer_name",
"items"
],
"type": "object"
} | generate_invoice_5c603d84 |
{
"properties": {
"dimensions": {
"dependencies": {
"base": [
"triangle"
],
"height": [
"triangle"
],
"radius": [
"circle"
],
"shape": [
"rectangle"
]
},
"properties": {
"base": {
"type": "number"
},
"height": {
"type": "number"
},
"length": {
"type": "number"
},
"radius": {
"type": "number"
},
"width": {
"type": "number"
}
},
"required": [
"length",
"width"
],
"type": "object"
},
"shape": {
"description": "The shape for which the area will be calculated",
"enum": [
"rectangle",
"circle",
"triangle"
],
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_518cb15d |
{
"properties": {
"discounts": {
"description": "The list of discounts to be applied",
"items": {
"properties": {
"code": {
"description": "The discount code",
"type": "string"
},
"percentage": {
"description": "The percentage discount to be applied",
"type": "number"
}
},
"required": [
"percentage"
],
"type": "object"
},
"type": "array"
},
"original_price": {
"description": "The original price of the item",
"type": "number"
}
},
"required": [
"original_price",
"discounts"
],
"type": "object"
} | calculate_discounted_price_20a79ee6 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"headline"
],
"properties": {
"headline": {
"type": "object",
"description": "The HTML text to be shown as a headline.",
"properties": {
"i18nHtmlFormat": {
"type": [
"string",
"object"
],
"description": "The (internationalized) HTML headline content using placeholders for the selections."
},
"level": {
"type": "integer",
"description": "The hierarchical level of the headline (1 to 6).",
"minimum": 1,
"maximum": 6,
"default": 1
}
}
},
"selections": {
"type": "array",
"default": [],
"items": {
"type": "object",
"required": [
"options"
],
"properties": {
"parameter": {
"type": "string",
"description": "The name of the URL parameter to use",
"default": "s"
},
"resource": {
"type": "string",
"description": "The name of the resource under which to publish the selection",
"format": "topic"
},
"options": {
"type": "object",
"properties": {
"i18nHtmlFormat": {
"type": [
"object",
"string"
],
"description": "How to display the option",
"default": "[0]"
},
"parameterFormat": {
"type": "string",
"description": "How to render the parameter.",
"default": "[0]"
},
"fields": {
"type": [
"string",
"array",
"object"
],
"description": "Items available in the format above",
"default": "/"
},
"resource": {
"type": "string",
"description": "The name of the resource supplying the options in the format described in 'options.init'",
"format": "topic"
},
"init": {
"type": "array",
"default": []
}
}
}
}
}
},
"i18n": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"default": "default"
}
}
}
}
} | o52960 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"details_metadata": {
"type": "object",
"description": "generic metadata dict in details list",
"properties": {
"author": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"bug_reporting": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"code_repository": {
"oneOf": [
{
"$ref": "#/definitions/metadata_code_repository"
},
{
"type": "null"
}
]
},
"declared_license": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dependencies": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"description": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"devel_dependencies": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"engines": {
"oneOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
]
},
"files": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"git_head": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"homepage": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"keywords": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"metadata": {
"oneOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
]
},
"name": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"platform": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"readme": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"scripts": {
"oneOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
]
},
"version": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"maintainers": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"contributors": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"_tests_implemented": {
"type": "boolean"
},
"ecosystem": {
"type": "string"
},
"_dependency_tree_lock": {
"oneOf": [
{
"$ref": "#/definitions/metadata_lockfile"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"metadata_code_repository": {
"type": "object",
"description": "Code repository description",
"properties": {
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"url"
],
"additionalProperties": false
},
"metadata_locked_dependency": {
"type": "object",
"description": "Locked dependency description",
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"specification": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resolved": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dependencies": {
"type": "array",
"items": {
"$ref": "#/definitions/metadata_locked_dependency"
}
}
},
"additionalProperties": false
},
"metadata_lockfile": {
"type": "object",
"description": "Dependency lock file description",
"properties": {
"runtime": {
"type": "string"
},
"version": {
"type": "string"
},
"dependencies": {
"type": "array",
"items": {
"$ref": "#/definitions/metadata_locked_dependency"
}
},
"name": {
"type": "string"
}
},
"additionalProperties": false
}
},
"type": "object",
"description": "Result of Mercator 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\""
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/details_metadata"
}
},
"status": {
"type": "string",
"enum": [
"success",
"error"
]
},
"summary": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"status",
"summary"
],
"additionalProperties": false,
"title": "metadata-v3-1-0"
} | o60993 |
{
"description": "A post.",
"properties": {
"articles": {
"properties": {
"content": {
"type": "string"
},
"id": {
"type": "string"
},
"links": {
"properties": {
"comments": {
"type": "array"
},
"owner": {
"type": "string"
}
},
"required": [
"owner"
],
"type": "object"
}
},
"type": "object"
},
"links": {
"properties": {
"articles.comments": {
"properties": {
"href": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"href",
"type"
],
"type": "object"
},
"articles.owner": {
"properties": {
"href": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"href",
"type"
],
"type": "object"
}
},
"type": "object"
}
},
"required": [
"articles"
],
"type": "object"
} | o76740 |
{
"properties": {
"dimensions": {
"description": "The dimensions of the shape",
"properties": {
"base": {
"description": "The base of the triangle",
"type": "number"
},
"height": {
"description": "The height of the triangle",
"type": "number"
},
"length": {
"description": "The length of the rectangle",
"type": "number"
},
"radius": {
"description": "The radius of the circle",
"type": "number"
},
"width": {
"description": "The width of the rectangle",
"type": "number"
}
},
"type": "object"
},
"shape": {
"description": "The shape (circle, rectangle, triangle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_de460cb9 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_DownwardAPIVolumeFile": {
"description": "DownwardAPIVolumeFile represents information to create the file containing the pod field",
"properties": {
"fieldRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ObjectFieldSelector",
"description": "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported."
},
"mode": {
"_format": "int32",
"description": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
"type": "integer"
},
"path": {
"description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'",
"type": "string"
},
"resourceFieldRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ResourceFieldSelector",
"description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported."
}
},
"required": [
"path"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ObjectFieldSelector": {
"description": "ObjectFieldSelector selects an APIVersioned field of an object.",
"properties": {
"apiVersion": {
"description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".",
"type": "string"
},
"fieldPath": {
"description": "Path of the field to select in the specified API version.",
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ResourceFieldSelector": {
"description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format",
"properties": {
"containerName": {
"description": "Container name: required for volumes, optional for env vars",
"type": "string"
},
"divisor": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity",
"description": "Specifies the output format of the exposed resources, defaults to \"1\""
},
"resource": {
"description": "Required: resource to select",
"type": "string"
}
},
"required": [
"resource"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
},
"description": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.",
"properties": {
"items": {
"description": "Items is a list of DownwardAPIVolume file",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_DownwardAPIVolumeFile"
},
"type": [
"array",
"null"
]
}
},
"type": "object"
} | kb_285_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Action target",
"type": "object",
"properties": {
"name": {
"description": "A name to identify the action target. **Remark**: The name is unique against the action target template and organization.",
"type": "string"
},
"actionTargetTemplateId": {
"description": "The action target template to instantiate.",
"type": "integer"
},
"organizationId": {
"description": "The organization.",
"type": "integer"
},
"public": {
"description": "Make the action target available to everybody.",
"type": "boolean"
},
"description": {
"description": "A human description of the action target.",
"type": "string"
},
"configuration": {
"description": "A valid JSON object.",
"type": "object"
}
},
"required": [
"name",
"actionTargetTemplateId",
"configuration"
]
}
| o14461 |
{
"description": "Schema for a Snowplow payload",
"items": {
"additionalProperties": false,
"properties": {
"ad_ad": {
"type": "string"
},
"ad_ba": {
"type": "string"
},
"ad_ca": {
"type": "string"
},
"ad_uid": {
"type": "string"
},
"aid": {
"type": "string"
},
"cd": {
"type": "string"
},
"co": {
"type": "string"
},
"cookie": {
"type": "string"
},
"cs": {
"type": "string"
},
"ctype": {
"type": "string"
},
"cx": {
"type": "string"
},
"ds": {
"type": "string"
},
"dtm": {
"type": "string"
},
"duid": {
"type": "string"
},
"e": {
"type": "string"
},
"eid": {
"type": "string"
},
"f_ag": {
"type": "string"
},
"f_dir": {
"type": "string"
},
"f_fla": {
"type": "string"
},
"f_gears": {
"type": "string"
},
"f_java": {
"type": "string"
},
"f_pdf": {
"type": "string"
},
"f_qt": {
"type": "string"
},
"f_realp": {
"type": "string"
},
"f_wma": {
"type": "string"
},
"fp": {
"type": "string"
},
"ip": {
"type": "string"
},
"lang": {
"type": "string"
},
"mac": {
"type": "string"
},
"nuid": {
"type": "string"
},
"p": {
"type": "string"
},
"page": {
"type": "string"
},
"pp_max": {
"type": "string"
},
"pp_may": {
"type": "string"
},
"pp_mix": {
"type": "string"
},
"pp_miy": {
"type": "string"
},
"refr": {
"type": "string"
},
"res": {
"type": "string"
},
"sa": {
"type": "string"
},
"se_ac": {
"type": "string"
},
"se_ca": {
"type": "string"
},
"se_la": {
"type": "string"
},
"se_pr": {
"type": "string"
},
"se_va": {
"type": "string"
},
"sn": {
"type": "string"
},
"sp": {
"type": "string"
},
"st": {
"type": "string"
},
"ti_ca": {
"type": "string"
},
"ti_cu": {
"type": "string"
},
"ti_id": {
"type": "string"
},
"ti_na": {
"type": "string"
},
"ti_nm": {
"type": "string"
},
"ti_pr": {
"type": "string"
},
"ti_qu": {
"type": "string"
},
"ti_sk": {
"type": "string"
},
"tid": {
"type": "string"
},
"tna": {
"type": "string"
},
"tr_af": {
"type": "string"
},
"tr_ci": {
"type": "string"
},
"tr_co": {
"type": "string"
},
"tr_cu": {
"type": "string"
},
"tr_id": {
"type": "string"
},
"tr_sh": {
"type": "string"
},
"tr_st": {
"type": "string"
},
"tr_tt": {
"type": "string"
},
"tr_tx": {
"type": "string"
},
"tv": {
"type": "string"
},
"tz": {
"type": "string"
},
"ue_na": {
"type": "string"
},
"ue_pr": {
"type": "string"
},
"ue_px": {
"type": "string"
},
"uid": {
"type": "string"
},
"url": {
"type": "string"
},
"vid": {
"type": "string"
},
"vp": {
"type": "string"
}
},
"required": [
"tv",
"p",
"e"
],
"type": "object"
},
"minItems": 1,
"self": {
"format": "jsonschema",
"name": "payload_data",
"vendor": "com.snowplowanalytics.snowplow",
"version": "1-0-0"
},
"type": "array"
} | sp_302_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"rating": {
"type": "number",
"minimum": 1.0,
"maximum": 5.0
}
},
"additionalProperties": false,
"required": [
"rating"
]
} | o81591 |
{
"id": "http://select-object-path/ref.alias.schema.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"description": "select alias",
"default": {
"*": ".*",
"all": "*",
"none": "-*"
},
"patternProperties": {
"\\w": {
"type": "object",
"additionalProperties": false,
"properties": {
"pattern": {
"type": "string",
"description": "pattern"
},
"flag": {
"type": "string",
"enum": [
"-",
"+"
]
}
},
"required": [
"pattern",
"flag"
]
}
}
} | o21729 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"ietf-dots-signal-channel:signal-config": {
"$ref": "#/definitions/SignalConfig"
}
},
"definitions": {
"SignalConfig": {
"type": "object",
"properties": {
"mitigating-config": {
"$ref": "#/definitions/Config"
},
"idle-config": {
"$ref": "#/definitions/Config"
}
}
},
"Config": {
"type": "object",
"properties": {
"session-id": {
"type": "integer"
},
"heartbeat-interval": {
"$ref": "#/definitions/IntCurrent"
},
"missing-hb-allowed": {
"$ref": "#/definitions/IntCurrent"
},
"max-retransmit": {
"$ref": "#/definitions/IntCurrent"
},
"ack-timeout": {
"$ref": "#/definitions/DecimalCurrent"
},
"ack-random-factor": {
"$ref": "#/definitions/DecimalCurrent"
}
}
},
"IntCurrent": {
"type": "object",
"properties": {
"current-value": {
"type": "integer"
}
}
},
"DecimalCurrent": {
"type": "object",
"properties": {
"current-value-decimal": {
"type": "number"
}
}
}
}
} | o64613 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://dcc.icgc.org/project-text",
"type": "object",
"properties": {
"_summary": {
"id": "https://dcc.icgc.org/project-text/_summary",
"type": "object",
"properties": {
"_state": {
"id": "https://dcc.icgc.org/project-text/_summary/_state",
"type": "string"
}
},
"additionalProperties": false
},
"id": {
"id": "https://dcc.icgc.org/project-text/id",
"type": "string"
},
"name": {
"id": "https://dcc.icgc.org/project-text/name",
"type": "string"
},
"primarySite": {
"id": "https://dcc.icgc.org/project-text/primarySite",
"type": "string"
},
"tumourSubtype": {
"id": "https://dcc.icgc.org/project-text/tumourSubtype",
"type": "string"
},
"tumourType": {
"id": "https://dcc.icgc.org/project-text/tumourType",
"type": "string"
},
"type": {
"id": "https://dcc.icgc.org/project-text/type",
"type": "string"
}
},
"additionalProperties": false
} | o47120 |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base of the triangle",
"type": "number"
},
"height": {
"description": "The height of the triangle",
"type": "number"
},
"length": {
"description": "The length of the rectangle or triangle",
"type": "number"
},
"radius": {
"description": "The radius of the circle",
"type": "number"
},
"width": {
"description": "The width of the rectangle",
"type": "number"
}
},
"type": "object"
},
"shape": {
"description": "The geometric shape, e.g. circle, rectangle, triangle",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_bc041dac |
{
"properties": {
"include_lowercase": {
"description": "Whether to include lowercase letters",
"type": "boolean"
},
"include_numbers": {
"description": "Whether to include numbers",
"type": "boolean"
},
"include_symbols": {
"description": "Whether to include symbols",
"type": "boolean"
},
"include_uppercase": {
"description": "Whether to include uppercase letters",
"type": "boolean"
},
"length": {
"description": "The length of the password",
"type": "integer"
}
},
"required": [
"length"
],
"type": "object"
} | generate_random_password_0b5e94e6 |
{
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Container cleanup input",
"type": "object",
"required": [
"fabric_fq_name",
"container_name"
],
"properties": {
"container_name": {
"type": "string"
},
"fabric_fq_name": {
"type": "array",
"items": {
"type": "string"
}
}
}
} | o8450 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"rule": {
"description": "CSS Lint rule\n\n'false' means rule is off\n'true' means it is a warning\n'2' means the rule is an error",
"enum": [2, true, false]
}
},
"id": "https://json.schemastore.org/csslintrc.json",
"properties": {
"adjoining-classes": {
"$ref": "#/definitions/rule"
},
"box-model": {
"$ref": "#/definitions/rule"
},
"box-sizing": {
"$ref": "#/definitions/rule"
},
"bulletproof-font-face": {
"$ref": "#/definitions/rule"
},
"compatible-vendor-prefixes": {
"$ref": "#/definitions/rule"
},
"display-property-grouping": {
"$ref": "#/definitions/rule"
},
"duplicate-background-images": {
"$ref": "#/definitions/rule"
},
"duplicate-properties": {
"$ref": "#/definitions/rule"
},
"empty-rules": {
"$ref": "#/definitions/rule"
},
"fallback-colors": {
"$ref": "#/definitions/rule"
},
"floats": {
"$ref": "#/definitions/rule"
},
"font-faces": {
"$ref": "#/definitions/rule"
},
"font-sizes": {
"$ref": "#/definitions/rule"
},
"gradients": {
"$ref": "#/definitions/rule"
},
"ids": {
"$ref": "#/definitions/rule"
},
"import": {
"$ref": "#/definitions/rule"
},
"important": {
"$ref": "#/definitions/rule"
},
"known-properties": {
"$ref": "#/definitions/rule"
},
"outline-none": {
"$ref": "#/definitions/rule"
},
"overqualified-elements": {
"$ref": "#/definitions/rule"
},
"qualified-headings": {
"$ref": "#/definitions/rule"
},
"regex-selectors": {
"$ref": "#/definitions/rule"
},
"shorthand": {
"$ref": "#/definitions/rule"
},
"star-property-hack": {
"$ref": "#/definitions/rule"
},
"text-indent": {
"$ref": "#/definitions/rule"
},
"underscore-property-hack": {
"$ref": "#/definitions/rule"
},
"unique-headings": {
"$ref": "#/definitions/rule"
},
"universal-selector": {
"$ref": "#/definitions/rule"
},
"unqualified-attributes": {
"$ref": "#/definitions/rule"
},
"vendor-prefix": {
"$ref": "#/definitions/rule"
},
"zero-units": {
"$ref": "#/definitions/rule"
}
},
"title": "JSON schema for CSS Lint configuration files",
"type": "object"
}
| csslintrc |
{
"id": "https://raw.githubusercontent.com/eviratec/schema/master/v1/person/name.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "schema for a person name",
"type": "object",
"additionalProperties": false,
"required": [
"title",
"first_given_name",
"family_name"
],
"properties": {
"title": {
"type": "string"
},
"first_given_name": {
"type": "string",
"description": "E.g. John",
"maxLength": 64
},
"other_given_names": {
"type": "string",
"description": "E.g. Paul",
"maxLength": 64
},
"family_name": {
"type": "string",
"description": "E.g. Smith",
"maxLength": 64
}
}
} | o39508 |
{
"version": "0.4",
"definitions": {
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
"title": "Color",
"description": "Color in #RRGGBB or #RRGGBBAA format",
"examples": [
"#123abc",
"#123abc80"
]
},
"background": {
"type": "object",
"required": [
"image"
],
"title": "Background image",
"description": "Background image for entire window",
"properties": {
"image": {
"type": "string",
"title": "Path to the background image",
"description": "Path to the background image starting with '/'",
"default": "",
"examples": [
"/background.jpg"
]
},
"transparency": {
"type": "integer",
"title": "Transparency for background image.",
"description": "An integer from 0 to 100.",
"default": 10,
"minimum": 0,
"maximum": 100,
"examples": [
10
]
},
"fill": {
"type": "string",
"title": "Background image filling options",
"default": "scale",
"description": "Background image filling options. One of the following values: plain, scale, tile",
"enum": [
"plain",
"scale",
"tile"
],
"examples": [
"scale"
]
},
"anchor": {
"type": "string",
"title": "Background image anchor",
"default": "center",
"description": "Background image anchor. One of the following values: top_left, top_center, top_right, middle_left, center, middle_right, bottom_left, bottom_center, bottom_right",
"enum": [
"top_left",
"top_center",
"top_right",
"middle_left",
"center",
"middle_right",
"bottom_left",
"bottom_center",
"bottom_right"
],
"examples": [
"center"
]
}
}
},
"ColorPaletteBase": {
"type": "object",
"properties": {
"Actions.Red": {
"$ref": "#/definitions/color",
"description": "Action colors are for icons that appear on toolbars"
},
"Actions.Yellow": {
"$ref": "#/definitions/color"
},
"Actions.Green": {
"$ref": "#/definitions/color"
},
"Actions.Blue": {
"$ref": "#/definitions/color"
},
"Actions.Grey": {
"$ref": "#/definitions/color"
},
"Actions.GreyInline": {
"$ref": "#/definitions/color",
"description": "Light-gray icons at the right side in input fields and combo boxes"
},
"Actions.GreyInline.Dark": {
"$ref": "#/definitions/color",
"description": "Use for dark themes"
},
"Objects.Grey": {
"$ref": "#/definitions/color",
"description": "Object colors are for icons in lists and trees"
},
"Objects.Blue": {
"$ref": "#/definitions/color"
},
"Objects.Green": {
"$ref": "#/definitions/color"
},
"Objects.Yellow": {
"$ref": "#/definitions/color"
},
"Objects.YellowDark": {
"$ref": "#/definitions/color"
},
"Objects.Purple": {
"$ref": "#/definitions/color"
},
"Objects.Pink": {
"$ref": "#/definitions/color"
},
"Objects.Red": {
"$ref": "#/definitions/color"
},
"Objects.RedStatus": {
"$ref": "#/definitions/color"
},
"Objects.GreenAndroid": {
"$ref": "#/definitions/color"
},
"Objects.BlackText": {
"$ref": "#/definitions/color"
},
"Checkbox.Background.Default": {
"$ref": "#/definitions/color",
"description": "An unchecked checkbox or radio button"
},
"Checkbox.Border.Default": {
"$ref": "#/definitions/color"
},
"Checkbox.Background.Selected": {
"$ref": "#/definitions/color",
"description": "A checked checkbox or radio button"
},
"Checkbox.Border.Selected": {
"$ref": "#/definitions/color"
},
"Checkbox.Foreground.Selected": {
"$ref": "#/definitions/color"
},
"Checkbox.Background.Disabled": {
"$ref": "#/definitions/color",
"description": "A disabled checkbox or radio button"
},
"Checkbox.Border.Disabled": {
"$ref": "#/definitions/color"
},
"Checkbox.Foreground.Disabled": {
"$ref": "#/definitions/color"
},
"Checkbox.Focus.Thin.Default": {
"$ref": "#/definitions/color",
"description": "1px inner border in the focused state"
},
"Checkbox.Focus.Thin.Selected": {
"$ref": "#/definitions/color"
},
"Checkbox.Focus.Wide": {
"$ref": "#/definitions/color",
"description": "2px outer border in the focused state"
},
"Checkbox.Background.Default.Dark": {
"$ref": "#/definitions/color",
"description": "Use for dark themes"
},
"Checkbox.Border.Default.Dark": {
"$ref": "#/definitions/color",
"description": "Use for dark themes"
},
"Checkbox.Background.Selected.Dark": {
"$ref": "#/definitions/color",
"description": "Use for dark themes"
},
"Checkbox.Border.Selected.Dark": {
"$ref": "#/definitions/color",
"description": "Use for dark themes"
},
"Checkbox.Foreground.Selected.Dark": {
"$ref": "#/definitions/color",
"description": "Use for dark themes"
},
"Checkbox.Background.Disabled.Dark": {
"$ref": "#/definitions/color",
"description": "Use for dark themes"
},
"Checkbox.Border.Disabled.Dark": {
"$ref": "#/definitions/color",
"description": "Use for dark themes"
},
"Checkbox.Foreground.Disabled.Dark": {
"$ref": "#/definitions/color",
"description": "Use for dark themes"
},
"Checkbox.Focus.Thin.Default.Dark": {
"$ref": "#/definitions/color",
"description": "Use for dark themes"
},
"Checkbox.Focus.Thin.Selected.Dark": {
"$ref": "#/definitions/color",
"description": "Use for dark themes"
},
"Checkbox.Focus.Wide.Dark": {
"$ref": "#/definitions/color",
"description": "Use for dark themes"
},
"Tree.iconColor": {
"$ref": "#/definitions/color",
"description": "Color of expand/collapse icons"
}
}
},
"ColorPalette": {
"anyOf": [
{
"$ref": "#/definitions/ColorPaletteBase"
}
],
"properties": {
"Protanopia": {
"$ref": "#/definitions/ColorPaletteBase",
"description": "Color palette for protanopia vision deficiency"
},
"Deuteranopia": {
"$ref": "#/definitions/ColorPaletteBase",
"description": "Color palette for deuteranopia vision deficiency"
}
}
}
},
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name",
"dark",
"author",
"ui"
],
"properties": {
"name": {
"type": "string",
"title": "Theme name",
"description": "Theme name",
"default": "",
"examples": [
"My Brand New Theme"
]
},
"dark": {
"type": "boolean",
"title": "Dark theme",
"description": "If 'true' then Darcula theme will be used as the base for modification, otherwise Light theme will be used.",
"default": false,
"examples": [
true
]
},
"author": {
"type": "string",
"title": "Theme author",
"description": "The author of the theme",
"default": "",
"examples": [
"John Doe"
]
},
"editorScheme": {
"type": "string",
"title": "Path to the editor schema xml file starting with '/'",
"default": "",
"pattern": "^/",
"examples": [
"/editorScheme.xml"
]
},
"ui": {
"type": "object"
},
"background": {
"$ref": "#/definitions/background"
},
"emptyFrameBackground": {
"$ref": "#/definitions/background"
},
"icons": {
"type": "object",
"patternProperties": {
"^/": {
"type": "string",
"pattern": "^/"
},
"^[^/]": {
"type": "object",
"patternProperties": {
"^/": {
"type": "string",
"pattern": "^/"
}
}
}
},
"properties": {
"ColorPalette": {
"$ref": "#/definitions/ColorPalette"
}
}
},
"colors": {
"type": "object",
"title": "Theme Color Palette",
"description": "Define common colors here and use color names in 'ui' section instead of #rrggbb values",
"patternProperties": {
".*": {
"$ref": "#/definitions/color"
}
}
}
}
} | o60038 |
{
"id": "http://spydra.spotify.net/configuration#",
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "schema for Spydra configuration",
"type": "object",
"properties": {
"cluster_type": {
"description": "type of cluster to execute on",
"enum": [
"onpremise",
"dataproc",
"null"
]
},
"client_id": {
"description": "a unique ID of spydra client",
"type": "string"
},
"history_timeout": {
"description": "time in seconds to wait for job history to be moved",
"type": "number"
},
"log_bucket": {
"description": "bucket for storage of Hadoop logs and history information",
"type": "string"
},
"region": {
"description": "The region in which the cluster should be created. Replaces the zone option in cluster.",
"type": "string"
},
"job_type": {
"description": "type of job to execute (e.g. hadoop/spark/etc), see `gcloud dataproc jobs submit --help`",
"type": "string"
},
"cluster": {
"description": "options for cluster creation",
"type": "object",
"properties": {
"options": {
"description": "gcloud options for cluster creation, see `gcloud dataproc clusters create --help`",
"type": "object",
"properties": {},
"additionalProperties": {
"type": "string"
}
}
}
},
"submit": {
"description": "options for job submission",
"type": "object",
"properties": {
"options": {
"description": "gcloud options for job submission, see `gcloud dataproc jobs submit --help`",
"type": "object",
"properties": {},
"additionalProperties": {
"type": "string"
}
},
"job_args": {
"description": "additional job arguments",
"type": "array",
"items": {
"type": "string"
}
},
"py_file": {
"description": "The main .py file to run as the driver.",
"type": "string"
}
}
},
"auto_scaler": {
"description": "options for the EXPERIMENTAL autoscaler",
"type": "object",
"properties": {
"interval": {
"description": "autoscaling interval in minutes",
"type": "number"
},
"max": {
"description": "maximum number of nodes to use for autoscaling",
"type": "number"
},
"factor": {
"description": "percentage of containers that should be running from 0.0 to 1.0",
"type": "number"
},
"downscale": {
"description": "whether or not to enable downscaling",
"type": "boolean"
},
"downscale_timeout": {
"description": "how long to wait in minutes for active jobs to finish before terminating nodes",
"type": "number"
}
}
},
"pooling": {
"description": "options for the EXPERIMENTAL pooling of cluster",
"type": "object",
"properties": {
"limit": {
"description": "limit of concurrent clusters",
"type": "number"
},
"max_age": {
"description": "A java.time.Duration for the maximum age of a cluster",
"type": "string"
}
}
},
"dry_run": {
"description": "do not execute anything, just print out commands that would be run",
"type": "boolean"
},
"metric_class": {
"description": "Implementation to use for metrics reporting",
"type": "string"
}
}
} | o77712 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {},
"properties": {},
"additionalProperties": false
} | o45229 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"title": "Nature",
"definitions": {
"translations": {
"type": "object",
"properties": {
"cz": {
"type": "string"
},
"dk": {
"type": "string"
},
"fr": {
"type": "string"
},
"de": {
"type": "string"
},
"gr": {
"type": "string"
},
"it": {
"type": "string"
},
"pl": {
"type": "string"
},
"tr": {
"type": "string"
},
"en": {
"type": "string"
},
"jp": {
"type": "string"
},
"es": {
"type": "string"
}
},
"required": [
"en",
"de"
],
"additionalProperties": false
},
"stat": {
"type": [
"string",
"null"
],
"enum": [
"atk",
"def",
"sp_atk",
"sp_def",
"speed",
null
]
},
"flavor": {
"type": [
"string",
"null"
],
"enum": [
"Dry",
"Spicy",
"Sweet",
"Bitter",
"Sour",
null
]
}
},
"properties": {
"names": {
"$ref": "#/definitions/translations"
},
"increased_stat": {
"$ref": "#/definitions/stat"
},
"decreased_stat": {
"$ref": "#/definitions/stat"
},
"favorite_flavor": {
"$ref": "#/definitions/flavor"
},
"disliked_flavor": {
"$ref": "#/definitions/flavor"
}
},
"required": [
"names",
"increased_stat",
"decreased_stat",
"favorite_flavor",
"disliked_flavor"
],
"additionalProperties": false
} | o48424 |
{
"properties": {
"dimensions": {
"description": "The dimensions of the shape",
"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"
}
},
"type": "object"
},
"shape": {
"description": "The type of shape (e.g. triangle, rectangle, circle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_7db96f6d |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"definitions": {
"absolute_path": {
"description": "A path only. Query string and/or fragment are not allowed.",
"pattern": "^/(([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})+(/([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})*)*)?$",
"type": "string"
},
"analytics_identifier": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "A short identifier we send to Google Analytics for multi-valued fields. This means we avoid the truncated values we would get if we sent the path or slug of eg organisations."
},
"attachments_with_thumbnails": {
"description": "An ordered list of attachments",
"items": {
"description": "Generated HTML for each attachment including thumbnail and download link",
"type": "string"
},
"type": "array"
},
"body": {
"description": "The main content provided as HTML rendered from govspeak",
"type": "string"
},
"change_history": {
"items": {
"additionalProperties": false,
"properties": {
"note": {
"description": "A summary of the change",
"type": "string"
},
"public_timestamp": {
"_format": "date-time",
"type": "string"
}
},
"required": [
"public_timestamp",
"note"
],
"type": "object"
},
"type": "array"
},
"description": {
"type": "string"
},
"description_optional": {
"anyOf": [
{
"$ref": "#/definitions/description"
},
{
"type": "null"
}
]
},
"details": {
"additionalProperties": false,
"properties": {
"attachments": {
"description": "An ordered list of asset links",
"items": {
"$ref": "#/definitions/publication_attachment_asset"
},
"type": "array"
},
"body": {
"$ref": "#/definitions/body"
},
"change_history": {
"$ref": "#/definitions/change_history"
},
"closing_date": {
"_format": "date-time",
"type": "string"
},
"documents": {
"$ref": "#/definitions/attachments_with_thumbnails"
},
"emphasised_organisations": {
"$ref": "#/definitions/emphasised_organisations"
},
"featured_attachments": {
"description": "An ordered list of attachments to feature below the document",
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"final_outcome_attachments": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"final_outcome_detail": {
"type": "string"
},
"final_outcome_documents": {
"$ref": "#/definitions/attachments_with_thumbnails"
},
"final_outcome_publication_date": {
"_format": "date-time",
"type": "string"
},
"first_public_at": {
"$ref": "#/definitions/first_public_at"
},
"government": {
"$ref": "#/definitions/government"
},
"held_on_another_website_url": {
"type": "string"
},
"image": {
"$ref": "#/definitions/image"
},
"national_applicability": {
"$ref": "#/definitions/national_applicability"
},
"opening_date": {
"_format": "date-time",
"type": "string"
},
"political": {
"$ref": "#/definitions/political"
},
"public_feedback_attachments": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"public_feedback_detail": {
"type": "string"
},
"public_feedback_documents": {
"$ref": "#/definitions/attachments_with_thumbnails"
},
"public_feedback_publication_date": {
"_format": "date-time",
"type": "string"
},
"tags": {
"$ref": "#/definitions/tags"
},
"ways_to_respond": {
"additionalProperties": false,
"properties": {
"attachment_url": {
"type": "string"
},
"email": {
"type": "string"
},
"link_url": {
"type": "string"
},
"postal_address": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"body",
"political"
],
"type": "object"
},
"emphasised_organisations": {
"description": "The content ids of the organisations that should be displayed first in the list of organisations related to the item, these content ids must be present in the item organisation links hash.",
"items": {
"$ref": "#/definitions/guid"
},
"type": "array"
},
"first_public_at": {
"_format": "date-time",
"description": "DEPRECATED. The date the content was first published. Used in details. Deprecated in favour of top level `first_published_at`.",
"type": "string"
},
"first_published_at": {
"_format": "date-time",
"description": "The date the content was first published. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string"
},
"frontend_links": {
"items": {
"additionalProperties": true,
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"api_path": {
"$ref": "#/definitions/absolute_path"
},
"api_url": {
"_format": "uri",
"description": "DEPRECATED: api_path should be used instead of api_url. This is due to values of api_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"document_type": {
"type": "string"
},
"links": {
"patternProperties": {
"^[a-z_]+$": {
"$ref": "#/definitions/frontend_links"
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"public_updated_at": {
"oneOf": [
{
"$ref": "#/definitions/public_updated_at"
},
{
"type": "null"
}
]
},
"schema_name": {
"type": "string"
},
"title": {
"type": "string"
},
"web_url": {
"_format": "uri",
"description": "DEPRECATED: base_path should be used instead of web_url. This is due to values of web_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
}
},
"required": [
"content_id",
"locale",
"title"
],
"type": "object"
},
"type": "array"
},
"frontend_links_with_base_path": {
"items": {
"additionalProperties": true,
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"api_path": {
"$ref": "#/definitions/absolute_path"
},
"api_url": {
"_format": "uri",
"description": "DEPRECATED: api_path should be used instead of api_url. This is due to values of api_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"document_type": {
"type": "string"
},
"links": {
"patternProperties": {
"^[a-z_]+$": {
"$ref": "#/definitions/frontend_links_with_base_path"
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"public_updated_at": {
"oneOf": [
{
"$ref": "#/definitions/public_updated_at"
},
{
"type": "null"
}
]
},
"schema_name": {
"type": "string"
},
"title": {
"type": "string"
},
"web_url": {
"_format": "uri",
"description": "DEPRECATED: base_path should be used instead of web_url. This is due to values of web_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
}
},
"required": [
"base_path",
"content_id",
"locale",
"title"
],
"type": "object"
},
"type": "array"
},
"government": {
"additionalProperties": false,
"description": "DEPRECATED: Content should be associated with a government through a link",
"properties": {
"current": {
"description": "Is the government that published this document still the current government.",
"type": "boolean"
},
"slug": {
"description": "Government slug, used for analytics, eg '1970-to-1974-conservative-government'.",
"type": "string"
},
"title": {
"description": "Name of the government that first published this document, eg '1970 to 1974 Conservative government'.",
"type": "string"
}
},
"required": [
"title",
"slug",
"current"
],
"type": "object"
},
"govuk_request_id": {
"type": [
"string",
"null"
]
},
"guid": {
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
"type": "string"
},
"guid_list": {
"items": {
"$ref": "#/definitions/guid"
},
"type": "array",
"_uniqueItems": true
},
"image": {
"additionalProperties": false,
"properties": {
"alt_text": {
"type": "string"
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"credit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"high_resolution_url": {
"_format": "uri",
"description": "URL to a high resolution version of the image, for use by third parties such as Twitter, Facebook or Slack. Used by the machine readable metadata component. Don't use this on user-facing web pages, as it might be very large.",
"type": "string"
},
"url": {
"_format": "uri",
"description": "URL to the image. The image should be in a suitable resolution for display on the page.",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"locale": {
"enum": [
"ar",
"az",
"be",
"bg",
"bn",
"cs",
"cy",
"da",
"de",
"dr",
"el",
"en",
"es",
"es-419",
"et",
"fa",
"fi",
"fr",
"gd",
"he",
"hi",
"hr",
"hu",
"hy",
"id",
"is",
"it",
"ja",
"ka",
"kk",
"ko",
"lt",
"lv",
"ms",
"mt",
"nl",
"no",
"pl",
"ps",
"pt",
"ro",
"ru",
"si",
"sk",
"sl",
"so",
"sq",
"sr",
"sv",
"sw",
"ta",
"th",
"tk",
"tr",
"uk",
"ur",
"uz",
"vi",
"zh",
"zh-hk",
"zh-tw"
],
"type": "string"
},
"nation_applicability": {
"additionalProperties": false,
"description": "An object specifying the applicability of a particular nation.",
"properties": {
"alternative_url": {
"description": "An optional alternative URL to link to for more information on this content item pertaining to this nation.",
"type": "string"
},
"applicable": {
"description": "Whether the content applies to this nation or not.",
"type": "boolean"
},
"label": {
"description": "The pretty-printed, translated label for this nation.",
"type": "string"
}
},
"type": "object"
},
"national_applicability": {
"additionalProperties": false,
"description": "An object specifying the applicable nations for this content item. If it applies to all nations, it should be omitted.",
"properties": {
"england": {
"$ref": "#/definitions/nation_applicability"
},
"northern_ireland": {
"$ref": "#/definitions/nation_applicability"
},
"scotland": {
"$ref": "#/definitions/nation_applicability"
},
"wales": {
"$ref": "#/definitions/nation_applicability"
}
},
"type": "object"
},
"payload_version": {
"description": "Counter to indicate when the payload was generated",
"type": "integer"
},
"political": {
"description": "If the content is considered political in nature, reflecting views of the government it was published under.",
"type": "boolean"
},
"public_updated_at": {
"_format": "date-time",
"description": "When the content was last significantly changed (a major update). Shown to users. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string"
},
"publication_attachment_asset": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"accessible": {
"type": "boolean"
},
"alternative_format_contact_email": {
"type": "string"
},
"attachment_type": {
"enum": [
"file"
],
"type": "string"
},
"command_paper_number": {
"type": "string"
},
"content_type": {
"type": "string"
},
"file_size": {
"type": "integer"
},
"filename": {
"type": "string"
},
"hoc_paper_number": {
"type": "string"
},
"id": {
"type": "string"
},
"isbn": {
"type": "string"
},
"locale": {
"$ref": "#/definitions/locale"
},
"number_of_pages": {
"type": "integer"
},
"parliamentary_session": {
"type": "string"
},
"preview_url": {
"_format": "uri",
"type": "string"
},
"title": {
"type": "string"
},
"unique_reference": {
"type": "string"
},
"unnumbered_command_paper": {
"type": "boolean"
},
"unnumbered_hoc_paper": {
"type": "boolean"
},
"url": {
"_format": "uri",
"type": "string"
}
},
"required": [
"attachment_type",
"content_type",
"id",
"url"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"attachment_type": {
"enum": [
"html"
],
"type": "string"
},
"command_paper_number": {
"type": "string"
},
"hoc_paper_number": {
"type": "string"
},
"id": {
"type": "string"
},
"isbn": {
"type": "string"
},
"locale": {
"$ref": "#/definitions/locale"
},
"parliamentary_session": {
"type": "string"
},
"title": {
"type": "string"
},
"unique_reference": {
"type": "string"
},
"unnumbered_command_paper": {
"type": "boolean"
},
"unnumbered_hoc_paper": {
"type": "boolean"
},
"url": {
"_format": "uri",
"type": "string"
}
},
"required": [
"attachment_type",
"id",
"url"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"attachment_type": {
"enum": [
"external"
],
"type": "string"
},
"command_paper_number": {
"type": "string"
},
"hoc_paper_number": {
"type": "string"
},
"id": {
"type": "string"
},
"isbn": {
"type": "string"
},
"locale": {
"$ref": "#/definitions/locale"
},
"parliamentary_session": {
"type": "string"
},
"title": {
"type": "string"
},
"unique_reference": {
"type": "string"
},
"unnumbered_command_paper": {
"type": "boolean"
},
"unnumbered_hoc_paper": {
"type": "boolean"
},
"url": {
"_format": "uri",
"type": "string"
}
},
"required": [
"attachment_type",
"id",
"url"
],
"type": "object"
}
]
},
"publishing_app_name": {
"description": "The application that published this item.",
"enum": [
"calculators",
"calendars",
"collections-publisher",
"contacts",
"content-publisher",
"content-tagger",
"email-alert-frontend",
"external-link-tracker",
"feedback",
"frontend",
"government-frontend",
"hmrc-manuals-api",
"info-frontend",
"licencefinder",
"local-links-manager",
"manuals-frontend",
"manuals-publisher",
"maslow",
"performanceplatform-big-screen-view",
"publisher",
"rummager",
"search-admin",
"search-api",
"service-manual-publisher",
"share-sale-publisher",
"short-url-manager",
"smartanswers",
"special-route-publisher",
"specialist-publisher",
"static",
"tariff",
"travel-advice-publisher",
"whitehall"
],
"type": "string"
},
"publishing_request_id": {
"description": "A unique identifier used to track publishing requests to rendered content",
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"rendering_app": {
"description": "The application that renders this item.",
"enum": [
"calculators",
"calendars",
"collections",
"content-store",
"email-alert-frontend",
"email-campaign-frontend",
"feedback",
"finder-frontend",
"frontend",
"government-frontend",
"info-frontend",
"licencefinder",
"manuals-frontend",
"performanceplatform-big-screen-view",
"rummager",
"search-api",
"service-manual-frontend",
"smartanswers",
"spotlight",
"static",
"tariff",
"whitehall-admin",
"whitehall-frontend"
],
"type": "string"
},
"route": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"type": {
"enum": [
"prefix",
"exact"
]
}
},
"required": [
"path",
"type"
],
"type": "object"
},
"routes": {
"items": {
"$ref": "#/definitions/route"
},
"minItems": 1,
"type": "array"
},
"tags": {
"additionalProperties": false,
"description": "Field used by email-alert-api to trigger email alerts for subscriptions to topics (gov.uk/topic) and policies (gov.uk/policies).",
"properties": {
"additional_topics": {
"items": {
"type": "string"
},
"type": "array"
},
"browse_pages": {
"items": {
"type": "string"
},
"type": "array"
},
"policies": {
"items": {
"type": "string"
},
"type": "array"
},
"primary_topic": {
"items": {
"type": "string"
},
"type": "array"
},
"topics": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"title": {
"type": "string"
},
"update_type": {
"enum": [
"major",
"minor",
"republish"
]
},
"withdrawn_notice": {
"additionalProperties": false,
"properties": {
"explanation": {
"type": "string"
},
"withdrawn_at": {
"format": "date-time"
}
},
"type": "object"
}
},
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"content_purpose_document_supertype": {
"description": "DEPRECATED. Use `content_purpose_subgroup`.",
"type": "string"
},
"content_purpose_subgroup": {
"description": "Document subgroup grouping documents by purpose. Narrows down the purpose defined in content_purpose_supergroup.",
"type": "string"
},
"content_purpose_supergroup": {
"description": "Document supergroup grouping documents by a purpose",
"type": "string"
},
"description": {
"$ref": "#/definitions/description_optional"
},
"details": {
"$ref": "#/definitions/details"
},
"document_type": {
"enum": [
"closed_consultation",
"open_consultation",
"consultation",
"consultation_outcome"
],
"type": "string"
},
"email_document_supertype": {
"description": "Document supertype grouping intended to power the Whitehall finders and email subscriptions",
"type": "string"
},
"expanded_links": {
"additionalProperties": false,
"properties": {
"available_translations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"child_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"children": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"document_collections": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"facet_groups": {
"$ref": "#/definitions/frontend_links",
"description": "Prototype-stage metadata tagging tree roots for this content item. A content item my belong to many facet groups without having any specific facet_values links."
},
"facet_values": {
"$ref": "#/definitions/frontend_links",
"description": "Prototype-stage metadata tagging values for this content item, a content item can be linked to many facet values from varying facet groups."
},
"finder": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers links from content back to finders the content is surfaced on"
},
"government": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The government associated with this document",
"maxItems": 1
},
"lead_organisations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "DEPRECATED: A subset of organisations that should be emphasised in relation to this content item. All organisations specified here should also be part of the organisations array."
},
"level_one_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"mainstream_browse_pages": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers the /browse section of the site. These are known as sections in some legacy apps."
},
"meets_user_needs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The user needs this piece of content meets."
},
"ministers": {
"$ref": "#/definitions/frontend_links",
"description": "Link type automatically added by Publishing API"
},
"ordered_related_items": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger."
},
"ordered_related_items_overrides": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation."
},
"organisations": {
"$ref": "#/definitions/frontend_links_with_base_path"
},
"original_primary_publishing_organisation": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The organisation that published the original version of the page. Corresponds to the first of the 'Lead organisations' in Whitehall for the first edition, and is empty for all other publishing applications."
},
"parent": {
"$ref": "#/definitions/frontend_links_with_base_path"
},
"part_of_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"people": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "People that are associated with this document, typically the person part of a role association"
},
"policies": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"policy_areas": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "A largely deprecated tag currently only used to power email alerts."
},
"primary_publishing_organisation": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The organisation that published the page. Corresponds to the first of the 'Lead organisations' in Whitehall, and is empty for all other publishing applications.",
"maxItems": 1
},
"related_policies": {
"$ref": "#/definitions/frontend_links_with_base_path"
},
"related_to_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"role_appointments": {
"$ref": "#/definitions/frontend_links",
"description": "Link type automatically added by Publishing API"
},
"roles": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Government roles that are associated with this document, typically the role part of a role association"
},
"secondary_to_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"suggested_ordered_related_items": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "New A/B test suggestions for related items. Used for displaying related content on most pages, except for step-by-step and fatality notices. Links and their ordering are determined by the machine learning algorithms included in this A/B test."
},
"taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Prototype-stage taxonomy label for this content item"
},
"topic_taxonomy_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"topical_events": {
"$ref": "#/definitions/frontend_links_with_base_path"
},
"topics": {
"$ref": "#/definitions/frontend_links_with_base_path"
}
},
"type": "object"
},
"first_published_at": {
"$ref": "#/definitions/first_published_at"
},
"government_document_supertype": {
"description": "Document supertype grouping intended to power the Whitehall finders and email subscriptions",
"type": "string"
},
"govuk_request_id": {
"$ref": "#/definitions/govuk_request_id"
},
"links": {
"additionalProperties": false,
"properties": {
"facet_groups": {
"$ref": "#/definitions/guid_list",
"description": "Prototype-stage metadata tagging tree roots for this content item. A content item my belong to many facet groups without having any specific facet_values links."
},
"facet_values": {
"$ref": "#/definitions/guid_list",
"description": "Prototype-stage metadata tagging values for this content item, a content item can be linked to many facet values from varying facet groups."
},
"finder": {
"$ref": "#/definitions/guid_list",
"description": "Powers links from content back to finders the content is surfaced on"
},
"government": {
"$ref": "#/definitions/guid_list",
"description": "The government associated with this document",
"maxItems": 1
},
"lead_organisations": {
"$ref": "#/definitions/guid_list",
"description": "DEPRECATED: A subset of organisations that should be emphasised in relation to this content item. All organisations specified here should also be part of the organisations array."
},
"mainstream_browse_pages": {
"$ref": "#/definitions/guid_list",
"description": "Powers the /browse section of the site. These are known as sections in some legacy apps."
},
"meets_user_needs": {
"$ref": "#/definitions/guid_list",
"description": "The user needs this piece of content meets."
},
"ordered_related_items": {
"$ref": "#/definitions/guid_list",
"description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger."
},
"ordered_related_items_overrides": {
"$ref": "#/definitions/guid_list",
"description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation."
},
"organisations": {
"$ref": "#/definitions/guid_list"
},
"original_primary_publishing_organisation": {
"$ref": "#/definitions/guid_list",
"description": "The organisation that published the original version of the page. Corresponds to the first of the 'Lead organisations' in Whitehall for the first edition, and is empty for all other publishing applications."
},
"parent": {
"$ref": "#/definitions/guid_list"
},
"people": {
"$ref": "#/definitions/guid_list",
"description": "People that are associated with this document, typically the person part of a role association"
},
"policy_areas": {
"$ref": "#/definitions/guid_list",
"description": "A largely deprecated tag currently only used to power email alerts."
},
"primary_publishing_organisation": {
"$ref": "#/definitions/guid_list",
"description": "The organisation that published the page. Corresponds to the first of the 'Lead organisations' in Whitehall, and is empty for all other publishing applications.",
"maxItems": 1
},
"related_policies": {
"$ref": "#/definitions/guid_list"
},
"roles": {
"$ref": "#/definitions/guid_list",
"description": "Government roles that are associated with this document, typically the role part of a role association"
},
"suggested_ordered_related_items": {
"$ref": "#/definitions/guid_list",
"description": "New A/B test suggestions for related items. Used for displaying related content on most pages, except for step-by-step and fatality notices. Links and their ordering are determined by the machine learning algorithms included in this A/B test."
},
"taxons": {
"$ref": "#/definitions/guid_list",
"description": "Prototype-stage taxonomy label for this content item"
},
"topical_events": {
"$ref": "#/definitions/guid_list"
},
"topics": {
"$ref": "#/definitions/guid_list"
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"navigation_document_supertype": {
"description": "Document type grouping powering the new taxonomy-based navigation pages",
"type": "string"
},
"need_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"payload_version": {
"$ref": "#/definitions/payload_version"
},
"phase": {
"description": "The service design phase of this content item - https://www.gov.uk/service-manual/phases",
"enum": [
"alpha",
"beta",
"live"
],
"type": "string"
},
"public_updated_at": {
"$ref": "#/definitions/public_updated_at"
},
"publishing_app": {
"$ref": "#/definitions/publishing_app_name"
},
"publishing_request_id": {
"$ref": "#/definitions/publishing_request_id"
},
"redirects": {
"additionalItems": false,
"items": {},
"type": "array"
},
"rendering_app": {
"$ref": "#/definitions/rendering_app"
},
"routes": {
"$ref": "#/definitions/routes"
},
"schema_name": {
"enum": [
"consultation"
],
"type": "string"
},
"search_user_need_document_supertype": {
"description": "Document supertype grouping core and government documents",
"type": "string"
},
"title": {
"$ref": "#/definitions/title"
},
"update_type": {
"$ref": "#/definitions/update_type"
},
"user_journey_document_supertype": {
"description": "Document type grouping powering analytics of user journeys",
"type": "string"
},
"user_need_document_supertype": {
"description": "DEPRECATED. Use `content_purpose_document_supertype`.",
"type": "string"
},
"withdrawn_notice": {
"$ref": "#/definitions/withdrawn_notice"
}
},
"required": [
"analytics_identifier",
"base_path",
"content_id",
"description",
"details",
"document_type",
"email_document_supertype",
"expanded_links",
"first_published_at",
"government_document_supertype",
"govuk_request_id",
"links",
"locale",
"navigation_document_supertype",
"payload_version",
"phase",
"public_updated_at",
"publishing_app",
"redirects",
"rendering_app",
"routes",
"schema_name",
"title",
"update_type",
"user_journey_document_supertype"
],
"type": "object"
} | o21173 |
{
"properties": {
"include_lowercase": {
"description": "Include lowercase letters",
"type": "boolean"
},
"include_numbers": {
"description": "Include numbers",
"type": "boolean"
},
"include_special_characters": {
"description": "Include special characters",
"type": "boolean"
},
"include_uppercase": {
"description": "Include uppercase letters",
"type": "boolean"
},
"length": {
"description": "The length of the password",
"type": "integer"
}
},
"required": [
"length",
"include_lowercase",
"include_uppercase",
"include_numbers",
"include_special_characters"
],
"type": "object"
} | generate_random_password_6b6c3cfd |
{
"additionalProperties": false,
"description": "Schema for a Mandrill message marked as spam event",
"properties": {
"_id": {
"type": "string"
},
"msg": {
"additionalProperties": false,
"properties": {
"_id": {
"type": "string"
},
"_version": {
"type": "string"
},
"clicks": {
"items": {
"additionalProperties": true,
"properties": {
"ts": {
"_format": "date-time",
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"email": {
"type": "string"
},
"metadata": {
"additionalProperties": true,
"properties": {
"user_id": {
"type": "number"
}
},
"type": "object"
},
"opens": {
"items": {
"additionalProperties": true,
"properties": {
"ts": {
"_format": "date-time",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"sender": {
"type": "string"
},
"state": {
"type": "string"
},
"subaccount": {
"type": [
"string",
"null"
]
},
"subject": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"ts": {
"_format": "date-time",
"type": "string"
}
},
"type": "object"
},
"ts": {
"_format": "date-time",
"type": "string"
}
},
"self": {
"format": "jsonschema",
"name": "message_marked_as_spam",
"vendor": "com.mandrill",
"version": "1-0-1"
},
"type": "object"
} | sp_128_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Proxy",
"description": "A proxy",
"type": "object",
"additionalProperties": false,
"properties": {
"user": {
"type": [
"string",
"null"
]
},
"password": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
},
"port": {
"type": "integer"
}
}
} | o29042 |
{
"properties": {
"dimensions": {
"additionalProperties": false,
"properties": {
"base": {
"description": "The base of the triangle",
"type": "number"
},
"height": {
"description": "The height of the triangle",
"type": "number"
},
"length": {
"description": "The length of the rectangle or triangle",
"type": "number"
},
"radius": {
"description": "The radius of the circle",
"type": "number"
},
"width": {
"description": "The width of the rectangle",
"type": "number"
}
},
"required": [
"radius",
"length",
"width",
"base",
"height"
],
"type": "object"
},
"shape": {
"description": "The shape (e.g. circle, rectangle, triangle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_91f73ffd |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Codex Item Schema",
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"instanceId": {
"type": "string"
},
"description": {
"type": "string"
},
"title": {
"type": "string"
},
"altTitle": {
"type": "string"
},
"series": {
"type": "string"
},
"contributor": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"additionalItems": true,
"_uniqueItems": true
},
"publisher": {
"type": "string"
},
"date": {
"type": "string"
},
"type": {
"type": "string"
},
"format": {
"type": "string"
},
"identifier": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"type": {
"type": "string"
}
}
},
"additionalItems": true,
"_uniqueItems": true
},
"source": {
"type": "string"
},
"language": {
"type": "array",
"items": {
"type": "string"
}
},
"rights": {
"type": "string"
},
"copyNumber": {
"type": "number"
},
"barcode": {
"type": "string"
},
"vendorPackage": {
"type": "string"
},
"coverage": {
"type": "object"
},
"location": {
"type": "array",
"items": {
"type": "object"
},
"additionalItems": true
},
"itemStatus": {
"type": "string"
},
"isSelected": {
"type": "boolean"
},
"isCustomized": {
"type": "boolean"
}
},
"required": [
"id",
"instanceId",
"title"
]
} | o24174 |
{
"description": "ServiceReference holds a reference to Service.legacy.k8s.io",
"properties": {
"name": {
"description": "name is the name of the service. Required",
"type": [
"string",
"null"
]
},
"namespace": {
"description": "namespace is the namespace of the service. Required",
"type": [
"string",
"null"
]
},
"path": {
"description": "path is an optional URL path at which the webhook will be contacted.",
"type": [
"string",
"null"
]
},
"port": {
"description": "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.",
"format": "int32",
"type": [
"integer",
"null"
]
}
},
"required": [
"namespace",
"name"
],
"type": "object"
} | kb_985_Normalized |
{
"properties": {
"dimensions": {
"properties": {
"height": {
"description": "The height of the triangle (if applicable)",
"type": "number"
},
"length": {
"description": "The length of the square or triangle's base (if applicable)",
"type": "number"
},
"radius": {
"description": "The radius of the circle (if applicable)",
"type": "number"
},
"width": {
"description": "The width of the square or triangle (if applicable)",
"type": "number"
}
},
"type": "object"
},
"shape": {
"description": "The type of shape (e.g. circle, square, triangle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_f30743ea |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"properties": {
"type": "object",
"properties": {
"Comment": {
"type": "string"
},
"Version": {
"type": "string"
},
"Browser_Modus": {
"type": "string"
},
"Alpha": {
"type": "boolean"
},
"Beta": {
"type": "boolean"
},
"isFake": {
"type": "boolean"
},
"isAnonymized": {
"type": "boolean"
},
"isModified": {
"type": "boolean"
}
}
},
"child": {
"allOf": [
{
"type": "object",
"properties": {
"match": {
"type": "string"
},
"browser": {
"type": "string"
}
},
"required": [
"match"
]
},
{
"anyOf": [
{
"properties": {
"devices": {
"type": "object"
}
}
},
{
"properties": {
"device": {
"type": "string"
}
}
}
]
},
{
"properties": {
"platforms": {
"type": "array",
"items": {
"type": "string"
}
},
"engine": {
"type": "string"
},
"properties": {
"$ref": "#/definitions/properties"
}
}
}
]
}
},
"type": "object",
"properties": {
"division": {
"type": "string"
},
"versions": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
},
"sortIndex": {
"type": "integer"
},
"lite": {
"type": "boolean"
},
"standard": {
"type": "boolean"
},
"userAgents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"userAgent": {
"type": "string"
},
"browser": {
"type": "string"
},
"platform": {
"type": "string"
},
"engine": {
"type": "string"
},
"device": {
"type": "string"
},
"properties": {
"allOf": [
{
"properties": {
"Parent": {
"enum": [
"DefaultProperties"
]
}
}
},
{
"$ref": "#/definitions/properties"
},
{
"required": [
"Parent",
"Comment"
]
}
]
},
"children": {
"type": "array",
"items": {
"$ref": "#/definitions/child"
}
}
},
"required": [
"userAgent"
]
}
}
},
"required": [
"division",
"sortIndex",
"lite",
"standard",
"userAgents"
]
}
| o60846 |
{
"properties": {
"customer_name": {
"description": "The name of the customer",
"type": "string"
},
"items": {
"description": "The list of items in the invoice",
"items": {
"properties": {
"name": {
"description": "The name of the item",
"type": "string"
},
"price": {
"description": "The price per unit of the item",
"type": "number"
},
"quantity": {
"description": "The quantity of the item",
"type": "integer"
}
},
"required": [
"name",
"quantity",
"price"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"customer_name",
"items"
],
"type": "object"
} | generate_invoice_65ca3e70 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretReference": {
"description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace",
"properties": {
"name": {
"description": "Name is unique within a namespace to reference a secret resource.",
"type": "string"
},
"namespace": {
"description": "Namespace defines the space within which the secret name must be unique.",
"type": "string"
}
},
"type": "object"
}
},
"description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.",
"properties": {
"driver": {
"description": "Driver is the name of the driver to use for this volume.",
"type": [
"string",
"null"
]
},
"fsType": {
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.",
"type": [
"string",
"null"
]
},
"options": {
"additionalProperties": {
"type": [
"string",
"null"
]
},
"description": "Optional: Extra command options if any.",
"type": [
"object",
"null"
]
},
"readOnly": {
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
"type": [
"boolean",
"null"
]
},
"secretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretReference",
"description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts."
}
},
"required": [
"driver"
],
"type": "object"
} | kb_355_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"_format": "uuid",
"description": "uuid",
"maxLength": 36,
"minLength": 36,
"title": "uuid",
"type": "string"
} | o70292 |
{
"_copyright": "Copyright (c) 2014 Juniper Networks, Inc. All rights reserved.",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"ipmi_address": {
"type": "string",
"pattern": "^$|^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])?$"
},
"network": {
"type": "object",
"properties": {
"management_interface": {
"type": "string"
},
"interfaces": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"name": {
"type": "string"
},
"default_gateway": {
"type": "string"
},
"dhcp": {
"type": "boolean"
},
"mac_address": {
"type": "string"
},
"ip_address": {
"type": "string",
"pattern": "^$|^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])?$"
}
},
"required": [
"type",
"name",
"default_gateway",
"dhcp",
"mac_address",
"ip_address"
]
}
}
},
"required": [
"management_interface",
"interfaces"
]
}
},
"required": [
"id",
"ipmi_address",
"network"
]
}
} | o8493 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_AWSElasticBlockStoreVolumeSource": {
"description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.",
"properties": {
"fsType": {
"description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
"type": "string"
},
"partition": {
"_format": "int32",
"description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).",
"type": "integer"
},
"readOnly": {
"description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
"type": "boolean"
},
"volumeID": {
"description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore",
"type": "string"
}
},
"required": [
"volumeID"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Affinity": {
"description": "Affinity is a group of affinity scheduling rules.",
"properties": {
"nodeAffinity": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeAffinity",
"description": "Describes node affinity scheduling rules for the pod."
},
"podAffinity": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAffinity",
"description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))."
},
"podAntiAffinity": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAntiAffinity",
"description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))."
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_AzureDiskVolumeSource": {
"description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
"properties": {
"cachingMode": {
"description": "Host Caching mode: None, Read Only, Read Write.",
"type": "string"
},
"diskName": {
"description": "The Name of the data disk in the blob storage",
"type": "string"
},
"diskURI": {
"description": "The URI the data disk in the blob storage",
"type": "string"
},
"fsType": {
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
"type": "string"
},
"kind": {
"description": "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared",
"type": "string"
},
"readOnly": {
"description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
"type": "boolean"
}
},
"required": [
"diskName",
"diskURI"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_AzureFileVolumeSource": {
"description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.",
"properties": {
"readOnly": {
"description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
"type": "boolean"
},
"secretName": {
"description": "the name of secret that contains Azure Storage Account Name and Key",
"type": "string"
},
"shareName": {
"description": "Share Name",
"type": "string"
}
},
"required": [
"secretName",
"shareName"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_CSIVolumeSource": {
"description": "Represents a source location of a volume to mount, managed by an external CSI driver",
"properties": {
"driver": {
"description": "Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.",
"type": "string"
},
"fsType": {
"description": "Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.",
"type": "string"
},
"nodePublishSecretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LocalObjectReference",
"description": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed."
},
"readOnly": {
"description": "Specifies a read-only configuration for the volume. Defaults to false (read/write).",
"type": "boolean"
},
"volumeAttributes": {
"additionalProperties": {
"type": "string"
},
"description": "VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.",
"type": "object"
}
},
"required": [
"driver"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Capabilities": {
"description": "Adds and removes POSIX capabilities from running containers.",
"properties": {
"add": {
"description": "Added capabilities",
"items": {
"type": "string"
},
"type": "array"
},
"drop": {
"description": "Removed capabilities",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_CephFSVolumeSource": {
"description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.",
"properties": {
"monitors": {
"description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
"items": {
"type": "string"
},
"type": "array"
},
"path": {
"description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /",
"type": "string"
},
"readOnly": {
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
"type": "boolean"
},
"secretFile": {
"description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
"type": "string"
},
"secretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LocalObjectReference",
"description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it"
},
"user": {
"description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it",
"type": "string"
}
},
"required": [
"monitors"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_CinderVolumeSource": {
"description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.",
"properties": {
"fsType": {
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
"type": "string"
},
"readOnly": {
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
"type": "boolean"
},
"secretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LocalObjectReference",
"description": "Optional: points to a secret object containing parameters used to connect to OpenStack."
},
"volumeID": {
"description": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md",
"type": "string"
}
},
"required": [
"volumeID"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ConfigMapEnvSource": {
"description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.",
"properties": {
"name": {
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the ConfigMap must be defined",
"type": "boolean"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ConfigMapKeySelector": {
"description": "Selects a key from a ConfigMap.",
"properties": {
"key": {
"description": "The key to select.",
"type": "string"
},
"name": {
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the ConfigMap or its key must be defined",
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ConfigMapProjection": {
"description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.",
"properties": {
"items": {
"description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_KeyToPath"
},
"type": "array"
},
"name": {
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the ConfigMap or its keys must be defined",
"type": "boolean"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ConfigMapVolumeSource": {
"description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.",
"properties": {
"defaultMode": {
"_format": "int32",
"description": "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
"type": "integer"
},
"items": {
"description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_KeyToPath"
},
"type": "array"
},
"name": {
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the ConfigMap or its keys must be defined",
"type": "boolean"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Container": {
"description": "A single application container that you want to run within a pod.",
"properties": {
"args": {
"description": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell",
"items": {
"type": "string"
},
"type": "array"
},
"env": {
"description": "List of environment variables to set in the container. Cannot be updated.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EnvVar"
},
"type": "array",
"x-kubernetes-patch-merge-key": "name",
"x-kubernetes-patch-strategy": "merge"
},
"envFrom": {
"description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EnvFromSource"
},
"type": "array"
},
"image": {
"description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.",
"type": "string"
},
"imagePullPolicy": {
"description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images",
"type": "string"
},
"lifecycle": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Lifecycle",
"description": "Actions that the management system should take in response to container lifecycle events. Cannot be updated."
},
"livenessProbe": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Probe",
"description": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"
},
"name": {
"description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.",
"type": "string"
},
"ports": {
"description": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerPort"
},
"type": "array",
"x-kubernetes-list-map-keys": [
"containerPort",
"protocol"
],
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "containerPort",
"x-kubernetes-patch-strategy": "merge"
},
"readinessProbe": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Probe",
"description": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"
},
"resources": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ResourceRequirements",
"description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/"
},
"securityContext": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecurityContext",
"description": "Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"
},
"startupProbe": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Probe",
"description": "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. This is a beta feature enabled by the StartupProbe feature flag. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"
},
"stdin": {
"description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.",
"type": "boolean"
},
"stdinOnce": {
"description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false",
"type": "boolean"
},
"terminationMessagePath": {
"description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.",
"type": "string"
},
"terminationMessagePolicy": {
"description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.",
"type": "string"
},
"tty": {
"description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.",
"type": "boolean"
},
"volumeDevices": {
"description": "volumeDevices is the list of block devices to be used by the container.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VolumeDevice"
},
"type": "array",
"x-kubernetes-patch-merge-key": "devicePath",
"x-kubernetes-patch-strategy": "merge"
},
"volumeMounts": {
"description": "Pod volumes to mount into the container's filesystem. Cannot be updated.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VolumeMount"
},
"type": "array",
"x-kubernetes-patch-merge-key": "mountPath",
"x-kubernetes-patch-strategy": "merge"
},
"workingDir": {
"description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerPort": {
"description": "ContainerPort represents a network port in a single container.",
"properties": {
"containerPort": {
"_format": "int32",
"description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.",
"type": "integer"
},
"hostIP": {
"description": "What host IP to bind the external port to.",
"type": "string"
},
"hostPort": {
"_format": "int32",
"description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.",
"type": "integer"
},
"name": {
"description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.",
"type": "string"
},
"protocol": {
"description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".",
"type": "string"
}
},
"required": [
"containerPort"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_DownwardAPIProjection": {
"description": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.",
"properties": {
"items": {
"description": "Items is a list of DownwardAPIVolume file",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_DownwardAPIVolumeFile"
},
"type": "array"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_DownwardAPIVolumeFile": {
"description": "DownwardAPIVolumeFile represents information to create the file containing the pod field",
"properties": {
"fieldRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ObjectFieldSelector",
"description": "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported."
},
"mode": {
"_format": "int32",
"description": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
"type": "integer"
},
"path": {
"description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'",
"type": "string"
},
"resourceFieldRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ResourceFieldSelector",
"description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported."
}
},
"required": [
"path"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_DownwardAPIVolumeSource": {
"description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.",
"properties": {
"defaultMode": {
"_format": "int32",
"description": "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
"type": "integer"
},
"items": {
"description": "Items is a list of downward API volume file",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_DownwardAPIVolumeFile"
},
"type": "array"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EmptyDirVolumeSource": {
"description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.",
"properties": {
"medium": {
"description": "What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir",
"type": "string"
},
"sizeLimit": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity",
"description": "Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EnvFromSource": {
"description": "EnvFromSource represents the source of a set of ConfigMaps",
"properties": {
"configMapRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ConfigMapEnvSource",
"description": "The ConfigMap to select from"
},
"prefix": {
"description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.",
"type": "string"
},
"secretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretEnvSource",
"description": "The Secret to select from"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EnvVar": {
"description": "EnvVar represents an environment variable present in a Container.",
"properties": {
"name": {
"description": "Name of the environment variable. Must be a C_IDENTIFIER.",
"type": "string"
},
"value": {
"description": "Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".",
"type": "string"
},
"valueFrom": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EnvVarSource",
"description": "Source for the environment variable's value. Cannot be used if value is not empty."
}
},
"required": [
"name"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EnvVarSource": {
"description": "EnvVarSource represents a source for the value of an EnvVar.",
"properties": {
"configMapKeyRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ConfigMapKeySelector",
"description": "Selects a key of a ConfigMap."
},
"fieldRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ObjectFieldSelector",
"description": "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs."
},
"resourceFieldRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ResourceFieldSelector",
"description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported."
},
"secretKeyRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretKeySelector",
"description": "Selects a key of a secret in the pod's namespace"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EphemeralContainer": {
"description": "An EphemeralContainer is a container that may be added temporarily to an existing pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a pod is removed or restarted. If an ephemeral container causes a pod to exceed its resource allocation, the pod may be evicted. Ephemeral containers may not be added by directly updating the pod spec. They must be added via the pod's ephemeralcontainers subresource, and they will appear in the pod spec once added. This is an alpha feature enabled by the EphemeralContainers feature flag.",
"properties": {
"args": {
"description": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell",
"items": {
"type": "string"
},
"type": "array"
},
"env": {
"description": "List of environment variables to set in the container. Cannot be updated.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EnvVar"
},
"type": "array",
"x-kubernetes-patch-merge-key": "name",
"x-kubernetes-patch-strategy": "merge"
},
"envFrom": {
"description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EnvFromSource"
},
"type": "array"
},
"image": {
"description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images",
"type": "string"
},
"imagePullPolicy": {
"description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images",
"type": "string"
},
"lifecycle": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Lifecycle",
"description": "Lifecycle is not allowed for ephemeral containers."
},
"livenessProbe": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Probe",
"description": "Probes are not allowed for ephemeral containers."
},
"name": {
"description": "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.",
"type": "string"
},
"ports": {
"description": "Ports are not allowed for ephemeral containers.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ContainerPort"
},
"type": "array"
},
"readinessProbe": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Probe",
"description": "Probes are not allowed for ephemeral containers."
},
"resources": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ResourceRequirements",
"description": "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod."
},
"securityContext": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecurityContext",
"description": "SecurityContext is not allowed for ephemeral containers."
},
"startupProbe": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Probe",
"description": "Probes are not allowed for ephemeral containers."
},
"stdin": {
"description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.",
"type": "boolean"
},
"stdinOnce": {
"description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false",
"type": "boolean"
},
"targetContainerName": {
"description": "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature.",
"type": "string"
},
"terminationMessagePath": {
"description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.",
"type": "string"
},
"terminationMessagePolicy": {
"description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.",
"type": "string"
},
"tty": {
"description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.",
"type": "boolean"
},
"volumeDevices": {
"description": "volumeDevices is the list of block devices to be used by the container.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VolumeDevice"
},
"type": "array",
"x-kubernetes-patch-merge-key": "devicePath",
"x-kubernetes-patch-strategy": "merge"
},
"volumeMounts": {
"description": "Pod volumes to mount into the container's filesystem. Cannot be updated.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VolumeMount"
},
"type": "array",
"x-kubernetes-patch-merge-key": "mountPath",
"x-kubernetes-patch-strategy": "merge"
},
"workingDir": {
"description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ExecAction": {
"description": "ExecAction describes a \"run in container\" action.",
"properties": {
"command": {
"description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_FCVolumeSource": {
"description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.",
"properties": {
"fsType": {
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
"type": "string"
},
"lun": {
"_format": "int32",
"description": "Optional: FC target lun number",
"type": "integer"
},
"readOnly": {
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
"type": "boolean"
},
"targetWWNs": {
"description": "Optional: FC target worldwide names (WWNs)",
"items": {
"type": "string"
},
"type": "array"
},
"wwids": {
"description": "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_FlexVolumeSource": {
"description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.",
"properties": {
"driver": {
"description": "Driver is the name of the driver to use for this volume.",
"type": "string"
},
"fsType": {
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.",
"type": "string"
},
"options": {
"additionalProperties": {
"type": "string"
},
"description": "Optional: Extra command options if any.",
"type": "object"
},
"readOnly": {
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
"type": "boolean"
},
"secretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LocalObjectReference",
"description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts."
}
},
"required": [
"driver"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_FlockerVolumeSource": {
"description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.",
"properties": {
"datasetName": {
"description": "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated",
"type": "string"
},
"datasetUUID": {
"description": "UUID of the dataset. This is unique identifier of a Flocker dataset",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_GCEPersistentDiskVolumeSource": {
"description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.",
"properties": {
"fsType": {
"description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
"type": "string"
},
"partition": {
"_format": "int32",
"description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
"type": "integer"
},
"pdName": {
"description": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
"type": "string"
},
"readOnly": {
"description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk",
"type": "boolean"
}
},
"required": [
"pdName"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_GitRepoVolumeSource": {
"description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.",
"properties": {
"directory": {
"description": "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.",
"type": "string"
},
"repository": {
"description": "Repository URL",
"type": "string"
},
"revision": {
"description": "Commit hash for the specified revision.",
"type": "string"
}
},
"required": [
"repository"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_GlusterfsVolumeSource": {
"description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
"properties": {
"endpoints": {
"description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
"type": "string"
},
"path": {
"description": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
"type": "string"
},
"readOnly": {
"description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
"type": "boolean"
}
},
"required": [
"endpoints",
"path"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_HTTPGetAction": {
"description": "HTTPGetAction describes an action based on HTTP Get requests.",
"properties": {
"host": {
"description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.",
"type": "string"
},
"httpHeaders": {
"description": "Custom headers to set in the request. HTTP allows repeated headers.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_HTTPHeader"
},
"type": "array"
},
"path": {
"description": "Path to access on the HTTP server.",
"type": "string"
},
"port": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_util_intstr_IntOrString",
"description": "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME."
},
"scheme": {
"description": "Scheme to use for connecting to the host. Defaults to HTTP.",
"type": "string"
}
},
"required": [
"port"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_HTTPHeader": {
"description": "HTTPHeader describes a custom header to be used in HTTP probes",
"properties": {
"name": {
"description": "The header field name",
"type": "string"
},
"value": {
"description": "The header field value",
"type": "string"
}
},
"required": [
"name",
"value"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Handler": {
"description": "Handler defines a specific action that should be taken",
"properties": {
"exec": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ExecAction",
"description": "One and only one of the following should be specified. Exec specifies the action to take."
},
"httpGet": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_HTTPGetAction",
"description": "HTTPGet specifies the http request to perform."
},
"tcpSocket": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TCPSocketAction",
"description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_HostAlias": {
"description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.",
"properties": {
"hostnames": {
"description": "Hostnames for the above IP address.",
"items": {
"type": "string"
},
"type": "array"
},
"ip": {
"description": "IP address of the host file entry.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_HostPathVolumeSource": {
"description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.",
"properties": {
"path": {
"description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath",
"type": "string"
},
"type": {
"description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ISCSIVolumeSource": {
"description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.",
"properties": {
"chapAuthDiscovery": {
"description": "whether support iSCSI Discovery CHAP authentication",
"type": "boolean"
},
"chapAuthSession": {
"description": "whether support iSCSI Session CHAP authentication",
"type": "boolean"
},
"fsType": {
"description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi",
"type": "string"
},
"initiatorName": {
"description": "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.",
"type": "string"
},
"iqn": {
"description": "Target iSCSI Qualified Name.",
"type": "string"
},
"iscsiInterface": {
"description": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).",
"type": "string"
},
"lun": {
"_format": "int32",
"description": "iSCSI Target Lun number.",
"type": "integer"
},
"portals": {
"description": "iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).",
"items": {
"type": "string"
},
"type": "array"
},
"readOnly": {
"description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.",
"type": "boolean"
},
"secretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LocalObjectReference",
"description": "CHAP Secret for iSCSI target and initiator authentication"
},
"targetPortal": {
"description": "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).",
"type": "string"
}
},
"required": [
"targetPortal",
"iqn",
"lun"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_KeyToPath": {
"description": "Maps a string key to a path within a volume.",
"properties": {
"key": {
"description": "The key to project.",
"type": "string"
},
"mode": {
"_format": "int32",
"description": "Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
"type": "integer"
},
"path": {
"description": "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.",
"type": "string"
}
},
"required": [
"key",
"path"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Lifecycle": {
"description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.",
"properties": {
"postStart": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Handler",
"description": "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"
},
"preStop": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Handler",
"description": "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The reason for termination is passed to the handler. The Pod's termination grace period countdown begins before the PreStop hooked is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period. Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LocalObjectReference": {
"description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.",
"properties": {
"name": {
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NFSVolumeSource": {
"description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.",
"properties": {
"path": {
"description": "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
"type": "string"
},
"readOnly": {
"description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
"type": "boolean"
},
"server": {
"description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs",
"type": "string"
}
},
"required": [
"server",
"path"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeAffinity": {
"description": "Node affinity is a group of node affinity scheduling rules.",
"properties": {
"preferredDuringSchedulingIgnoredDuringExecution": {
"description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PreferredSchedulingTerm"
},
"type": "array"
},
"requiredDuringSchedulingIgnoredDuringExecution": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSelector",
"description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node."
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSelector": {
"description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.",
"properties": {
"nodeSelectorTerms": {
"description": "Required. A list of node selector terms. The terms are ORed.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSelectorTerm"
},
"type": "array"
}
},
"required": [
"nodeSelectorTerms"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSelectorRequirement": {
"description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
"properties": {
"key": {
"description": "The label key that the selector applies to.",
"type": "string"
},
"operator": {
"description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.",
"type": "string"
},
"values": {
"description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"key",
"operator"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSelectorTerm": {
"description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.",
"properties": {
"matchExpressions": {
"description": "A list of node selector requirements by node's labels.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSelectorRequirement"
},
"type": "array"
},
"matchFields": {
"description": "A list of node selector requirements by node's fields.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSelectorRequirement"
},
"type": "array"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ObjectFieldSelector": {
"description": "ObjectFieldSelector selects an APIVersioned field of an object.",
"properties": {
"apiVersion": {
"description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".",
"type": "string"
},
"fieldPath": {
"description": "Path of the field to select in the specified API version.",
"type": "string"
}
},
"required": [
"fieldPath"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimVolumeSource": {
"description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).",
"properties": {
"claimName": {
"description": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
"type": "string"
},
"readOnly": {
"description": "Will force the ReadOnly setting in VolumeMounts. Default false.",
"type": "boolean"
}
},
"required": [
"claimName"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PhotonPersistentDiskVolumeSource": {
"description": "Represents a Photon Controller persistent disk resource.",
"properties": {
"fsType": {
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
"type": "string"
},
"pdID": {
"description": "ID that identifies Photon Controller persistent disk",
"type": "string"
}
},
"required": [
"pdID"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAffinity": {
"description": "Pod affinity is a group of inter pod affinity scheduling rules.",
"properties": {
"preferredDuringSchedulingIgnoredDuringExecution": {
"description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_WeightedPodAffinityTerm"
},
"type": "array"
},
"requiredDuringSchedulingIgnoredDuringExecution": {
"description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAffinityTerm"
},
"type": "array"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAffinityTerm": {
"description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running",
"properties": {
"labelSelector": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector",
"description": "A label query over a set of resources, in this case pods."
},
"namespaces": {
"description": "namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\"",
"items": {
"type": "string"
},
"type": "array"
},
"topologyKey": {
"description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.",
"type": "string"
}
},
"required": [
"topologyKey"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAntiAffinity": {
"description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.",
"properties": {
"preferredDuringSchedulingIgnoredDuringExecution": {
"description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_WeightedPodAffinityTerm"
},
"type": "array"
},
"requiredDuringSchedulingIgnoredDuringExecution": {
"description": "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAffinityTerm"
},
"type": "array"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodDNSConfig": {
"description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.",
"properties": {
"nameservers": {
"description": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.",
"items": {
"type": "string"
},
"type": "array"
},
"options": {
"description": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodDNSConfigOption"
},
"type": "array"
},
"searches": {
"description": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodDNSConfigOption": {
"description": "PodDNSConfigOption defines DNS resolver options of a pod.",
"properties": {
"name": {
"description": "Required.",
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodReadinessGate": {
"description": "PodReadinessGate contains the reference to a pod condition",
"properties": {
"conditionType": {
"description": "ConditionType refers to a condition in the pod's condition list with matching type.",
"type": "string"
}
},
"required": [
"conditionType"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodSecurityContext": {
"description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.",
"properties": {
"fsGroup": {
"_format": "int64",
"description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.",
"type": "integer"
},
"fsGroupChangePolicy": {
"description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified defaults to \"Always\".",
"type": "string"
},
"runAsGroup": {
"_format": "int64",
"description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.",
"type": "integer"
},
"runAsNonRoot": {
"description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
"type": "boolean"
},
"runAsUser": {
"_format": "int64",
"description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.",
"type": "integer"
},
"seLinuxOptions": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SELinuxOptions",
"description": "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container."
},
"supplementalGroups": {
"description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container.",
"items": {
"_format": "int64",
"type": "integer"
},
"type": "array"
},
"sysctls": {
"description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Sysctl"
},
"type": "array"
},
"windowsOptions": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_WindowsSecurityContextOptions",
"description": "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodSpec": {
"description": "PodSpec is a description of a pod.",
"properties": {
"activeDeadlineSeconds": {
"_format": "int64",
"description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.",
"type": "integer"
},
"affinity": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Affinity",
"description": "If specified, the pod's scheduling constraints"
},
"automountServiceAccountToken": {
"description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.",
"type": "boolean"
},
"containers": {
"description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Container"
},
"type": "array",
"x-kubernetes-patch-merge-key": "name",
"x-kubernetes-patch-strategy": "merge"
},
"dnsConfig": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodDNSConfig",
"description": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy."
},
"dnsPolicy": {
"description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.",
"type": "string"
},
"enableServiceLinks": {
"description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true.",
"type": "boolean"
},
"ephemeralContainers": {
"description": "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EphemeralContainer"
},
"type": "array",
"x-kubernetes-patch-merge-key": "name",
"x-kubernetes-patch-strategy": "merge"
},
"hostAliases": {
"description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_HostAlias"
},
"type": "array",
"x-kubernetes-patch-merge-key": "ip",
"x-kubernetes-patch-strategy": "merge"
},
"hostIPC": {
"description": "Use the host's ipc namespace. Optional: Default to false.",
"type": "boolean"
},
"hostNetwork": {
"description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.",
"type": "boolean"
},
"hostPID": {
"description": "Use the host's pid namespace. Optional: Default to false.",
"type": "boolean"
},
"hostname": {
"description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.",
"type": "string"
},
"imagePullSecrets": {
"description": "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LocalObjectReference"
},
"type": "array",
"x-kubernetes-patch-merge-key": "name",
"x-kubernetes-patch-strategy": "merge"
},
"initContainers": {
"description": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Container"
},
"type": "array",
"x-kubernetes-patch-merge-key": "name",
"x-kubernetes-patch-strategy": "merge"
},
"nodeName": {
"description": "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.",
"type": "string"
},
"nodeSelector": {
"additionalProperties": {
"type": "string"
},
"description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/",
"type": "object"
},
"overhead": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity"
},
"description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature.",
"type": "object"
},
"preemptionPolicy": {
"description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature.",
"type": "string"
},
"priority": {
"_format": "int32",
"description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.",
"type": "integer"
},
"priorityClassName": {
"description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.",
"type": "string"
},
"readinessGates": {
"description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodReadinessGate"
},
"type": "array"
},
"restartPolicy": {
"description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy",
"type": "string"
},
"runtimeClassName": {
"description": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14.",
"type": "string"
},
"schedulerName": {
"description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.",
"type": "string"
},
"securityContext": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodSecurityContext",
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field."
},
"serviceAccount": {
"description": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.",
"type": "string"
},
"serviceAccountName": {
"description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
"type": "string"
},
"shareProcessNamespace": {
"description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false.",
"type": "boolean"
},
"subdomain": {
"description": "If specified, the fully qualified Pod hostname will be \"<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>\". If not specified, the pod will not have a domainname at all.",
"type": "string"
},
"terminationGracePeriodSeconds": {
"_format": "int64",
"description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.",
"type": "integer"
},
"tolerations": {
"description": "If specified, the pod's tolerations.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Toleration"
},
"type": "array"
},
"topologySpreadConstraints": {
"description": "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. This field is only honored by clusters that enable the EvenPodsSpread feature. All topologySpreadConstraints are ANDed.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TopologySpreadConstraint"
},
"type": "array",
"x-kubernetes-list-map-keys": [
"topologyKey",
"whenUnsatisfiable"
],
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "topologyKey",
"x-kubernetes-patch-strategy": "merge"
},
"volumes": {
"description": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Volume"
},
"type": "array",
"x-kubernetes-patch-merge-key": "name",
"x-kubernetes-patch-strategy": "merge,retainKeys"
}
},
"required": [
"containers"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodTemplateSpec": {
"description": "PodTemplateSpec describes the data a pod should have when created from a template",
"properties": {
"metadata": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta",
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"spec": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodSpec",
"description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PortworxVolumeSource": {
"description": "PortworxVolumeSource represents a Portworx volume resource.",
"properties": {
"fsType": {
"description": "FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.",
"type": "string"
},
"readOnly": {
"description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
"type": "boolean"
},
"volumeID": {
"description": "VolumeID uniquely identifies a Portworx volume",
"type": "string"
}
},
"required": [
"volumeID"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PreferredSchedulingTerm": {
"description": "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).",
"properties": {
"preference": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSelectorTerm",
"description": "A node selector term, associated with the corresponding weight."
},
"weight": {
"_format": "int32",
"description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.",
"type": "integer"
}
},
"required": [
"weight",
"preference"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Probe": {
"description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.",
"properties": {
"exec": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ExecAction",
"description": "One and only one of the following should be specified. Exec specifies the action to take."
},
"failureThreshold": {
"_format": "int32",
"description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.",
"type": "integer"
},
"httpGet": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_HTTPGetAction",
"description": "HTTPGet specifies the http request to perform."
},
"initialDelaySeconds": {
"_format": "int32",
"description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes",
"type": "integer"
},
"periodSeconds": {
"_format": "int32",
"description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.",
"type": "integer"
},
"successThreshold": {
"_format": "int32",
"description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.",
"type": "integer"
},
"tcpSocket": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TCPSocketAction",
"description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported"
},
"timeoutSeconds": {
"_format": "int32",
"description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes",
"type": "integer"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ProjectedVolumeSource": {
"description": "Represents a projected volume source",
"properties": {
"defaultMode": {
"_format": "int32",
"description": "Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
"type": "integer"
},
"sources": {
"description": "list of volume projections",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VolumeProjection"
},
"type": "array"
}
},
"required": [
"sources"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_QuobyteVolumeSource": {
"description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.",
"properties": {
"group": {
"description": "Group to map volume access to Default is no group",
"type": "string"
},
"readOnly": {
"description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.",
"type": "boolean"
},
"registry": {
"description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes",
"type": "string"
},
"tenant": {
"description": "Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin",
"type": "string"
},
"user": {
"description": "User to map volume access to Defaults to serivceaccount user",
"type": "string"
},
"volume": {
"description": "Volume is a string that references an already created Quobyte volume by name.",
"type": "string"
}
},
"required": [
"registry",
"volume"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_RBDVolumeSource": {
"description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.",
"properties": {
"fsType": {
"description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd",
"type": "string"
},
"image": {
"description": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
},
"keyring": {
"description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
},
"monitors": {
"description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"items": {
"type": "string"
},
"type": "array"
},
"pool": {
"description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
},
"readOnly": {
"description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "boolean"
},
"secretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LocalObjectReference",
"description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"
},
"user": {
"description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
}
},
"required": [
"monitors",
"image"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ResourceFieldSelector": {
"description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format",
"properties": {
"containerName": {
"description": "Container name: required for volumes, optional for env vars",
"type": "string"
},
"divisor": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity",
"description": "Specifies the output format of the exposed resources, defaults to \"1\""
},
"resource": {
"description": "Required: resource to select",
"type": "string"
}
},
"required": [
"resource"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ResourceRequirements": {
"description": "ResourceRequirements describes the compute resource requirements.",
"properties": {
"limits": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity"
},
"description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
"type": "object"
},
"requests": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity"
},
"description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/",
"type": "object"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SELinuxOptions": {
"description": "SELinuxOptions are the labels to be applied to the container",
"properties": {
"level": {
"description": "Level is SELinux level label that applies to the container.",
"type": "string"
},
"role": {
"description": "Role is a SELinux role label that applies to the container.",
"type": "string"
},
"type": {
"description": "Type is a SELinux type label that applies to the container.",
"type": "string"
},
"user": {
"description": "User is a SELinux user label that applies to the container.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ScaleIOVolumeSource": {
"description": "ScaleIOVolumeSource represents a persistent ScaleIO volume",
"properties": {
"fsType": {
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\".",
"type": "string"
},
"gateway": {
"description": "The host address of the ScaleIO API Gateway.",
"type": "string"
},
"protectionDomain": {
"description": "The name of the ScaleIO Protection Domain for the configured storage.",
"type": "string"
},
"readOnly": {
"description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
"type": "boolean"
},
"secretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LocalObjectReference",
"description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail."
},
"sslEnabled": {
"description": "Flag to enable/disable SSL communication with Gateway, default false",
"type": "boolean"
},
"storageMode": {
"description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.",
"type": "string"
},
"storagePool": {
"description": "The ScaleIO Storage Pool associated with the protection domain.",
"type": "string"
},
"system": {
"description": "The name of the storage system as configured in ScaleIO.",
"type": "string"
},
"volumeName": {
"description": "The name of a volume already created in the ScaleIO system that is associated with this volume source.",
"type": "string"
}
},
"required": [
"gateway",
"system",
"secretRef"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretEnvSource": {
"description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables.",
"properties": {
"name": {
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the Secret must be defined",
"type": "boolean"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretKeySelector": {
"description": "SecretKeySelector selects a key of a Secret.",
"properties": {
"key": {
"description": "The key of the secret to select from. Must be a valid secret key.",
"type": "string"
},
"name": {
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the Secret or its key must be defined",
"type": "boolean"
}
},
"required": [
"key"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretProjection": {
"description": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.",
"properties": {
"items": {
"description": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_KeyToPath"
},
"type": "array"
},
"name": {
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the Secret or its key must be defined",
"type": "boolean"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretVolumeSource": {
"description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.",
"properties": {
"defaultMode": {
"_format": "int32",
"description": "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
"type": "integer"
},
"items": {
"description": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_KeyToPath"
},
"type": "array"
},
"optional": {
"description": "Specify whether the Secret or its keys must be defined",
"type": "boolean"
},
"secretName": {
"description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecurityContext": {
"description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.",
"properties": {
"allowPrivilegeEscalation": {
"description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN",
"type": "boolean"
},
"capabilities": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Capabilities",
"description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime."
},
"privileged": {
"description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.",
"type": "boolean"
},
"procMount": {
"description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.",
"type": "string"
},
"readOnlyRootFilesystem": {
"description": "Whether this container has a read-only root filesystem. Default is false.",
"type": "boolean"
},
"runAsGroup": {
"_format": "int64",
"description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
"type": "integer"
},
"runAsNonRoot": {
"description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
"type": "boolean"
},
"runAsUser": {
"_format": "int64",
"description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
"type": "integer"
},
"seLinuxOptions": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SELinuxOptions",
"description": "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."
},
"windowsOptions": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_WindowsSecurityContextOptions",
"description": "The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ServiceAccountTokenProjection": {
"description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).",
"properties": {
"audience": {
"description": "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.",
"type": "string"
},
"expirationSeconds": {
"_format": "int64",
"description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.",
"type": "integer"
},
"path": {
"description": "Path is the path relative to the mount point of the file to project the token into.",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_StorageOSVolumeSource": {
"description": "Represents a StorageOS persistent volume resource.",
"properties": {
"fsType": {
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
"type": "string"
},
"readOnly": {
"description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
"type": "boolean"
},
"secretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LocalObjectReference",
"description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted."
},
"volumeName": {
"description": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.",
"type": "string"
},
"volumeNamespace": {
"description": "VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Sysctl": {
"description": "Sysctl defines a kernel parameter to be set",
"properties": {
"name": {
"description": "Name of a property to set",
"type": "string"
},
"value": {
"description": "Value of a property to set",
"type": "string"
}
},
"required": [
"name",
"value"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TCPSocketAction": {
"description": "TCPSocketAction describes an action based on opening a socket",
"properties": {
"host": {
"description": "Optional: Host name to connect to, defaults to the pod IP.",
"type": "string"
},
"port": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_util_intstr_IntOrString",
"description": "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME."
}
},
"required": [
"port"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Toleration": {
"description": "The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.",
"properties": {
"effect": {
"description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.",
"type": "string"
},
"key": {
"description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.",
"type": "string"
},
"operator": {
"description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.",
"type": "string"
},
"tolerationSeconds": {
"_format": "int64",
"description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.",
"type": "integer"
},
"value": {
"description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TopologySpreadConstraint": {
"description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.",
"properties": {
"labelSelector": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector",
"description": "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain."
},
"maxSkew": {
"_format": "int32",
"description": "MaxSkew describes the degree to which pods may be unevenly distributed. It's the maximum permitted difference between the number of matching pods in any two topology domains of a given topology type. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. It's a required field. Default value is 1 and 0 is not allowed.",
"type": "integer"
},
"topologyKey": {
"description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each <key, value> as a \"bucket\", and try to put balanced number of pods into each bucket. It's a required field.",
"type": "string"
},
"whenUnsatisfiable": {
"description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it - ScheduleAnyway tells the scheduler to still schedule it It's considered as \"Unsatisfiable\" if and only if placing incoming pod on any topology violates \"MaxSkew\". For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field.",
"type": "string"
}
},
"required": [
"maxSkew",
"topologyKey",
"whenUnsatisfiable"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_Volume": {
"description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.",
"properties": {
"awsElasticBlockStore": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_AWSElasticBlockStoreVolumeSource",
"description": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"
},
"azureDisk": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_AzureDiskVolumeSource",
"description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."
},
"azureFile": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_AzureFileVolumeSource",
"description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod."
},
"cephfs": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_CephFSVolumeSource",
"description": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime"
},
"cinder": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_CinderVolumeSource",
"description": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"
},
"configMap": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ConfigMapVolumeSource",
"description": "ConfigMap represents a configMap that should populate this volume"
},
"csi": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_CSIVolumeSource",
"description": "CSI (Container Storage Interface) represents storage that is handled by an external CSI driver (Alpha feature)."
},
"downwardAPI": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_DownwardAPIVolumeSource",
"description": "DownwardAPI represents downward API about the pod that should populate this volume"
},
"emptyDir": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_EmptyDirVolumeSource",
"description": "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir"
},
"fc": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_FCVolumeSource",
"description": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod."
},
"flexVolume": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_FlexVolumeSource",
"description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."
},
"flocker": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_FlockerVolumeSource",
"description": "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running"
},
"gcePersistentDisk": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_GCEPersistentDiskVolumeSource",
"description": "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"
},
"gitRepo": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_GitRepoVolumeSource",
"description": "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container."
},
"glusterfs": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_GlusterfsVolumeSource",
"description": "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md"
},
"hostPath": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_HostPathVolumeSource",
"description": "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
},
"iscsi": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ISCSIVolumeSource",
"description": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md"
},
"name": {
"description": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"nfs": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NFSVolumeSource",
"description": "NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"
},
"persistentVolumeClaim": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimVolumeSource",
"description": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"
},
"photonPersistentDisk": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PhotonPersistentDiskVolumeSource",
"description": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine"
},
"portworxVolume": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PortworxVolumeSource",
"description": "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine"
},
"projected": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ProjectedVolumeSource",
"description": "Items for all in one resources secrets, configmaps, and downward API"
},
"quobyte": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_QuobyteVolumeSource",
"description": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime"
},
"rbd": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_RBDVolumeSource",
"description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md"
},
"scaleIO": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ScaleIOVolumeSource",
"description": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."
},
"secret": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretVolumeSource",
"description": "Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret"
},
"storageos": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_StorageOSVolumeSource",
"description": "StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes."
},
"vsphereVolume": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VsphereVirtualDiskVolumeSource",
"description": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine"
}
},
"required": [
"name"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VolumeDevice": {
"description": "volumeDevice describes a mapping of a raw block device within a container.",
"properties": {
"devicePath": {
"description": "devicePath is the path inside of the container that the device will be mapped to.",
"type": "string"
},
"name": {
"description": "name must match the name of a persistentVolumeClaim in the pod",
"type": "string"
}
},
"required": [
"name",
"devicePath"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VolumeMount": {
"description": "VolumeMount describes a mounting of a Volume within a container.",
"properties": {
"mountPath": {
"description": "Path within the container at which the volume should be mounted. Must not contain ':'.",
"type": "string"
},
"mountPropagation": {
"description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.",
"type": "string"
},
"name": {
"description": "This must match the Name of a Volume.",
"type": "string"
},
"readOnly": {
"description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.",
"type": "boolean"
},
"subPath": {
"description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).",
"type": "string"
},
"subPathExpr": {
"description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.",
"type": "string"
}
},
"required": [
"name",
"mountPath"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VolumeProjection": {
"description": "Projection that may be projected along with other supported volume types",
"properties": {
"configMap": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ConfigMapProjection",
"description": "information about the configMap data to project"
},
"downwardAPI": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_DownwardAPIProjection",
"description": "information about the downwardAPI data to project"
},
"secret": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretProjection",
"description": "information about the secret data to project"
},
"serviceAccountToken": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ServiceAccountTokenProjection",
"description": "information about the serviceAccountToken data to project"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VsphereVirtualDiskVolumeSource": {
"description": "Represents a vSphere volume resource.",
"properties": {
"fsType": {
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.",
"type": "string"
},
"storagePolicyID": {
"description": "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.",
"type": "string"
},
"storagePolicyName": {
"description": "Storage Policy Based Management (SPBM) profile name.",
"type": "string"
},
"volumePath": {
"description": "Path that identifies vSphere volume vmdk",
"type": "string"
}
},
"required": [
"volumePath"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_WeightedPodAffinityTerm": {
"description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)",
"properties": {
"podAffinityTerm": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodAffinityTerm",
"description": "Required. A pod affinity term, associated with the corresponding weight."
},
"weight": {
"_format": "int32",
"description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.",
"type": "integer"
}
},
"required": [
"weight",
"podAffinityTerm"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_WindowsSecurityContextOptions": {
"description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.",
"properties": {
"gmsaCredentialSpec": {
"description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.",
"type": "string"
},
"gmsaCredentialSpecName": {
"description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.",
"type": "string"
},
"runAsUserName": {
"description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1": {
"description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff",
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector": {
"description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
"properties": {
"matchExpressions": {
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement"
},
"type": "array"
},
"matchLabels": {
"additionalProperties": {
"type": "string"
},
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"type": "object"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement": {
"description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
"properties": {
"key": {
"description": "key is the label key that the selector applies to.",
"type": "string",
"x-kubernetes-patch-merge-key": "key",
"x-kubernetes-patch-strategy": "merge"
},
"operator": {
"description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
"type": "string"
},
"values": {
"description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"key",
"operator"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry": {
"description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.",
"type": "string"
},
"fieldsType": {
"description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
"type": "string"
},
"fieldsV1": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1",
"description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type."
},
"manager": {
"description": "Manager is an identifier of the workflow managing these fields.",
"type": "string"
},
"operation": {
"description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.",
"type": "string"
},
"time": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta": {
"description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations",
"type": "object"
},
"clusterName": {
"description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.",
"type": "string"
},
"creationTimestamp": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"deletionGracePeriodSeconds": {
"_format": "int64",
"description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"finalizers": {
"description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.",
"items": {
"type": "string"
},
"type": "array",
"x-kubernetes-patch-strategy": "merge"
},
"generateName": {
"description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency",
"type": "string"
},
"generation": {
"_format": "int64",
"description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
"type": "integer"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels",
"type": "object"
},
"managedFields": {
"description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
"type": "string"
},
"namespace": {
"description": "Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces",
"type": "string"
},
"ownerReferences": {
"description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_OwnerReference"
},
"type": "array",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
},
"resourceVersion": {
"description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
"type": "string"
},
"selfLink": {
"description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.",
"type": "string"
},
"uid": {
"description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_OwnerReference": {
"description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.",
"properties": {
"apiVersion": {
"description": "API version of the referent.",
"type": "string"
},
"blockOwnerDeletion": {
"description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.",
"type": "boolean"
},
"controller": {
"description": "If true, this reference points to the managing controller.",
"type": "boolean"
},
"kind": {
"description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"name": {
"description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
"type": "string"
},
"uid": {
"description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time": {
"_format": "date-time",
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": "string"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_util_intstr_IntOrString": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
},
"description": "ReplicationControllerSpec is the specification of a replication controller.",
"properties": {
"minReadySeconds": {
"description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)",
"format": "int32",
"type": [
"integer",
"null"
]
},
"replicas": {
"description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller",
"format": "int32",
"type": [
"integer",
"null"
]
},
"selector": {
"additionalProperties": {
"type": [
"string",
"null"
]
},
"description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors",
"type": [
"object",
"null"
]
},
"template": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodTemplateSpec",
"description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"
}
},
"type": "object"
} | kb_820_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"inkarnation": {
"type": "string",
"description": "der Name der Inkarnation"
},
"messages": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"inkarnation"
]
} | o79705 |
{
"$comment": "Port this schema to https://github.com/zyedidia/micro repository.",
"$id": "https://json.schemastore.org/micro-syntax.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"string-or-region": {
"oneOf": [
{
"title": "rule",
"type": "string",
"minLength": 1
},
{
"type": "object",
"properties": {
"start": {
"description": "A region start\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"type": "string",
"minLength": 1,
"examples": ["//"]
},
"end": {
"description": "A region end\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"type": "string",
"minLength": 1,
"examples": ["$"]
},
"skip": {
"description": "Ignored region sequences\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"type": "string",
"minLength": 1,
"examples": ["\\\\."]
},
"rules": {
"$ref": "#/definitions/rules"
}
},
"additionalProperties": false
}
]
},
"rules": {
"description": "Rules\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"type": "array",
"uniqueItems": true,
"items": {
"description": "A rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"type": "object",
"properties": {
"comment": {
"title": "comment rule region",
"description": "A comment rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"comment.line": {
"title": "line comment rule region",
"description": "A line comment rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"comment.block": {
"title": "block comment rule region",
"description": "A block comment rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"identifier": {
"title": "identifier rule region",
"description": "An identifier rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"identifier.builtin": {
"title": "builtin identifier rule region",
"description": "A builtin identifier rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"identifier.type": {
"title": "type identifier rule region",
"description": "A type rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"identifier.type.builtin": {
"title": "builtin type identifier rule region",
"description": "A builtin type rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"identifier.callable": {
"title": "callable identifier rule region",
"description": "A callable identifier rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"identifier.callable.builtin": {
"title": "builtin callable identifier rule region",
"description": "A builtin callable identifier rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"identifier.macro": {
"title": "macro identifier rule region",
"description": "A macro rule\nAlso used for functions\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"identifier.macro.builtin": {
"title": "builtin macro identifier rule region",
"description": "A builtin macro rule\nAlso used for functions\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"identifier.var": {
"title": "variable identifier rule region",
"description": "A variable identifier rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"identifier.var.builtin": {
"title": "builtin variable identifier rule region",
"description": "A builtin variable identifier rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"constant": {
"title": "constant rule region",
"description": "A constant rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"identifier.null": {
"title": "null identifier rule region",
"description": "A null rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"constant.bool": {
"title": "bool constant rule region",
"description": "A bool constant rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"constant.bool.true": {
"title": "true bool constant rule region",
"description": "A true bool constant rule\n`.builtin` suffix is not used\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"constant.bool.false": {
"title": "false bool constant rule region",
"description": "A false bool constant rule\n`.builtin` suffix is not used\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"constant.number": {
"title": "number constant rule region",
"description": "A number constant rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"constant.number.integer": {
"title": "integer number constant rule region",
"description": "A integer number constant rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"constant.number.float": {
"title": "float number constant rule region",
"description": "A float number constant rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"constant.number.complex": {
"title": "complex number constant rule region",
"description": "A complex number constant rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"constant.string": {
"title": "string constant rule region",
"description": "A string constant rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"constant.string.builtin": {
"title": "builtin string constant rule region",
"description": "A builtin string constant rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"constant.string.url": {
"title": "url string constant rule region",
"description": "A url string constant rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"constant.string.escape": {
"title": "escape string constant rule region",
"description": "A escape string constant rule\n`.builtin` suffix is not used\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"constant.string.format": {
"title": "string format specifier constant rule region",
"description": "A string format specifier constant rule\n`.builtin` suffix is not used\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"statement": {
"title": "statement rule region",
"description": "A statement rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"symbol": {
"title": "symbol rule region",
"description": "A symbol rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"symbol.brackets": {
"title": "bracket symbol rule region",
"description": "A bracket symbol rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"symbol.operator": {
"title": "operator symbol rule region",
"description": "An operator symbol rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"symbol.tag": {
"title": "tag symbol rule region",
"description": "A tag symbol rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"preproc": {
"title": "preprocessor rule region",
"description": "A preprocessor rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"preproc.shebang": {
"title": "shebang preprocessor rule region",
"description": "A shebang preprocessor rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"type": {
"title": "type rule region",
"description": "A type rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"type.builtin": {
"title": "builtin type rule region",
"description": "A builtin type rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"type.keyword": {
"title": "keyword type rule region",
"description": "A keyword type rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
},
"todo": {
"title": "todo region",
"description": "A todo rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region",
"examples": ["(TODO|XXX|FIXME)"]
},
"include": {
"description": "An include\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"type": "string",
"examples": ["javascript"]
}
},
"additionalProperties": {
"title": "rule region",
"description": "A rule\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-rules",
"$ref": "#/definitions/string-or-region"
}
}
}
},
"description": "A syntax\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#syntax-files",
"properties": {
"filetype": {
"description": "A file type\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#filetype-definition",
"type": "string",
"minLength": 1,
"examples": ["go"]
},
"detect": {
"title": "detection options",
"description": "Detection options\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#detect-definition",
"type": "object",
"properties": {
"filename": {
"description": "A file name\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#detect-definition",
"type": "string",
"minLength": 1,
"examples": ["\\.go$"]
},
"header": {
"description": "A file header\nhttps://github.com/zyedidia/micro/blob/master/runtime/help/colors.md#detect-definition",
"type": "string",
"minLength": 1,
"examples": ["%YAML"]
}
},
"additionalProperties": false
},
"rules": {
"title": "rule",
"$ref": "#/definitions/rules"
}
},
"title": "syntax",
"type": "object"
}
| micro-syntax |
{
"description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.",
"properties": {
"apiVersion": {
"description": "API version of the referent.",
"type": [
"string",
"null"
]
},
"blockOwnerDeletion": {
"description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.",
"type": [
"boolean",
"null"
]
},
"controller": {
"description": "If true, this reference points to the managing controller.",
"type": [
"boolean",
"null"
]
},
"kind": {
"description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": [
"string",
"null"
]
},
"name": {
"description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
"type": [
"string",
"null"
]
},
"uid": {
"description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
"type": [
"string",
"null"
]
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
} | kb_658_Normalized |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base length of the triangle",
"type": "number"
},
"height": {
"description": "The height of the triangle",
"type": "number"
},
"radius": {
"description": "The radius of the circle",
"type": "number"
},
"side": {
"description": "The side length of the square",
"type": "number"
}
},
"type": "object"
},
"shape": {
"description": "The shape (e.g., circle, square, triangle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_ab41872f |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"__version": 1,
"description": "Tenant of a running application.",
"id": "http://schlothauer.de/schemas/shared/tenant.json",
"properties": {
"active": {
"__tags": [
"notNull",
"defaultTrue"
],
"description": "is this entry still active",
"type": "boolean"
},
"description": {
"description": "some words to explain",
"type": "string"
},
"guid": {
"__tags": [
"notDisplayed",
"notNull"
],
"_format": "uuid",
"description": "global identifier",
"type": "string"
},
"name": {
"__tags": [
"notNull",
"unique"
],
"description": "Tenant name",
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
"type": "string"
}
},
"required": [
"name",
"guid"
],
"type": "object"
} | o73999 |
{
"properties": {
"model": {
"type": "object"
},
"targetFile": {
"type": "string"
},
"template": {
"type": "string"
},
"templateDict": {
"properties": {
"kind": {
"type": "string"
},
"template": {
"type": "string"
}
},
"type": "object"
},
"templatePath": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
} | o27219 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"title": "Alarm Configuration",
"description": "Lists alarms",
"limited": false,
"strictProps": false,
"definitions": {
"emailRecipient": {
"title": "E-mail recipient",
"type": "object",
"properties": {
"type": {
"type": "string",
"title": "Type",
"enum": [
"email"
],
"default": "email",
"options": {
"hidden": true
},
"propertyOrder": 1
},
"to": {
"type": "string",
"title": "E-mail address",
"minLength": 1,
"propertyOrder": 2
},
"subject": {
"type": "string",
"title": "Subject",
"description": "{} will be replaced with alarm message text",
"propertyOrder": 3
}
},
"required": [
"type",
"to"
]
},
"smsRecipient": {
"title": "SMS recipient",
"type": "object",
"properties": {
"type": {
"type": "string",
"title": "Type",
"enum": [
"sms"
],
"default": "sms",
"options": {
"hidden": true
},
"propertyOrder": 1
},
"to": {
"type": "string",
"title": "Phone number",
"minLength": 1,
"propertyOrder": 2
},
"command": {
"type": "string",
"title": "Command",
"propertyOrder": 3
}
},
"required": [
"type",
"to"
]
},
"alarmBase": {
"type": "object",
"properties": {
"name": {
"type": "string",
"title": "Alarm name",
"minLength": 1,
"propertyOrder": 1
},
"cell": {
"type": "string",
"title": "Cell",
"description": "Use the following format: device/control",
"pattern": "^[^/+#]+/[^/+#]+$",
"minLength": 3,
"propertyOrder": 2
},
"alarmMessage": {
"type": "string",
"title": "Alarm activation message",
"description": "{} will be replaced by target cell value",
"propertyOrder": 3
},
"noAlarmMessage": {
"type": "string",
"title": "Alarm deactivation message",
"description": "{} will be replaced by target cell value",
"propertyOrder": 4
},
"interval": {
"type": "integer",
"title": "Alarm interval in seconds",
"description": "If specified, alarm messages will be repeated while the alarm is active",
"propertyOrder": 5
},
"maxCount": {
"type": "integer",
"title": "Maximum number of messages",
"description": "Maximum number of messages to send while the alarm is active",
"propertyOrder": 6
},
"alarmDelayMs": {
"type": "integer",
"title": "Alarm Activation Delay",
"description": "If set, the alarm condition must be violated for the specified time interval (in ms) for the alarm to be triggered",
"minimum": 0,
"default": 0,
"propertyOrder": 7
},
"noAlarmDelayMs": {
"type": "integer",
"title": "Alarm Deactivation Delay",
"description": "If set, the alarm condition must be met for the specified time interval (in ms) for the alarm to be cleared",
"minimum": 0,
"default": 0,
"propertyOrder": 8
}
}
},
"minValue": {
"type": "number",
"title": "Minimum value",
"description": "Alarm activates when cell value is less than the minimum value"
},
"maxValue": {
"type": "number",
"title": "Maximum value",
"description": "Alarm activates when cell value is greater than the maximum value"
},
"expectedValueAlarm": {
"title": "Expected Value Alarm",
"defaultProperties": [
"name",
"cell",
"alarmMessage",
"noAlarmMessage",
"alarmDelayMs",
"expectedValue"
],
"allOf": [
{
"$ref": "#/definitions/alarmBase"
},
{
"properties": {
"expectedValue": {
"title": "Expected value",
"description": "Alarm activates when cell value differs from the expected value"
}
},
"required": [
"name",
"cell",
"expectedValue"
]
}
]
},
"minValueAlarm": {
"title": "Minimum Value Alarm",
"defaultProperties": [
"name",
"cell",
"alarmMessage",
"noAlarmMessage",
"alarmDelayMs",
"minValue"
],
"allOf": [
{
"$ref": "#/definitions/alarmBase"
},
{
"properties": {
"minValue": {
"$ref": "#/definitions/minValue",
"propertyOrder": 10
}
},
"required": [
"name",
"cell",
"minValue"
]
},
{
"not": {
"required": [
"maxValue"
]
}
}
]
},
"maxValueAlarm": {
"title": "Maximum Value Alarm",
"defaultProperties": [
"name",
"cell",
"alarmMessage",
"noAlarmMessage",
"alarmDelayMs",
"maxValue"
],
"allOf": [
{
"$ref": "#/definitions/alarmBase"
},
{
"properties": {
"maxValue": {
"$ref": "#/definitions/maxValue",
"propertyOrder": 10
}
},
"required": [
"name",
"cell",
"maxValue"
]
},
{
"not": {
"required": [
"minValue"
]
}
}
]
},
"minMaxValueAlarm": {
"title": "Minimum&Maximum Value Alarm",
"defaultProperties": [
"name",
"cell",
"alarmMessage",
"noAlarmMessage",
"minValue",
"maxValue"
],
"allOf": [
{
"$ref": "#/definitions/alarmBase"
},
{
"properties": {
"minValue": {
"$ref": "#/definitions/minValue",
"propertyOrder": 10
},
"maxValue": {
"$ref": "#/definitions/maxValue",
"propertyOrder": 11
}
},
"required": [
"name",
"cell",
"minValue",
"maxValue"
]
}
]
},
"recipient": {
"options": {
"disable_collapse": true
},
"title": "Recipient",
"oneOf": [
{
"$ref": "#/definitions/emailRecipient"
},
{
"$ref": "#/definitions/smsRecipient"
}
]
},
"alarm": {
"headerTemplate": "Alarm{{: |self.name}}",
"oneOf": [
{
"$ref": "#/definitions/expectedValueAlarm"
},
{
"$ref": "#/definitions/minValueAlarm"
},
{
"$ref": "#/definitions/maxValueAlarm"
},
{
"$ref": "#/definitions/minMaxValueAlarm"
}
],
"options": {
"disable_collapse": true,
"remove_empty_properties": true
}
}
},
"properties": {
"deviceName": {
"type": "string",
"title": "Alarm device name",
"description": "Device name to be used in MQTT topics for logging & alarm cells",
"pattern": "^[^\\s/]+$",
"minLength": 1,
"propertyOrder": 1
},
"deviceTitle": {
"type": "string",
"title": "Alarm device title",
"propertyOrder": 2
},
"recipients": {
"type": "array",
"title": "Recipients",
"items": {
"$ref": "#/definitions/recipient"
},
"propertyOrder": 3,
"options": {
"disable_array_reorder": true
}
},
"alarms": {
"type": "array",
"title": "Alarms",
"items": {
"$ref": "#/definitions/alarm"
},
"propertyOrder": 4,
"options": {
"disable_collapse": true,
"disable_array_reorder": true
}
}
},
"required": [
"deviceName",
"recipients",
"alarms"
],
"configFile": {
"path": "/etc/wb-rules/alarms.conf",
"service": "wb-rules"
}
} | o33131 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"list": {
"type": "string",
"enum": [
"3",
"4"
],
"default": "4"
}
}
} | o69507 |
{
"properties": {
"departure_date": {
"description": "The departure date in the format yyyy-mm-dd",
"type": "string"
},
"destination": {
"description": "The destination airport",
"type": "string"
},
"origin": {
"description": "The origin airport",
"type": "string"
},
"passengers": {
"description": "The number of passengers",
"type": "integer"
},
"return_date": {
"description": "The return date in the format yyyy-mm-dd",
"type": "string"
}
},
"required": [
"origin",
"destination",
"departure_date",
"passengers"
],
"type": "object"
} | book_flight_c933065e |
{
"type": "array",
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "",
"minItems": 1,
"_uniqueItems": true,
"items": {
"type": "object",
"required": [
"internalName",
"id",
"contentId"
],
"properties": {
"internalName": {
"type": "string",
"minLength": 1
},
"id": {
"type": "string",
"minLength": 1
},
"contentId": {
"type": "string",
"minLength": 1
}
}
}
} | o4259 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {},
"id": "http://azure101.com/feedback.json",
"properties": {
"email": {
"description": "End user's email address",
"id": "/properties/email",
"title": "email",
"type": "string"
},
"feedback": {
"description": "String field containing feedback from the user.",
"id": "/properties/feedback",
"title": "feedback",
"type": "string"
},
"id": {
"description": "UTC milliseconds to create unique timestamp based ID",
"id": "/properties/id",
"title": "id",
"type": "integer"
},
"name": {
"description": "String for username in \"GivenName FamilyName\" format.",
"id": "/properties/name",
"title": "name",
"type": "string"
},
"rating": {
"description": "Star rating - integer, 1-5 are valid",
"id": "/properties/rating",
"title": "rating",
"type": "integer"
},
"source": {
"default": "webapp",
"description": "Where did the feedback come from. Used to partition.",
"id": "/properties/source",
"title": "source",
"type": "string"
}
},
"required": [
"id",
"email",
"name",
"feedback",
"rating",
"source"
],
"type": "object"
} | o393 |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/Enfernuz/quik-lua-rpc/json/schema/sleep.args.scheme.json",
"title": "\u0410\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b sleep",
"description": "\u0421\u0445\u0435\u043c\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u043a \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u043c\u0443 \u0432\u044b\u0437\u043e\u0432\u0443 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b sleep",
"type": "object",
"properties": {
"time": {
"description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 time",
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false,
"required": [
"time"
]
} | o5263 |
{
"properties": {
"package_dimensions": {
"properties": {
"height": {
"description": "The height of the package in centimeters",
"type": "number"
},
"length": {
"description": "The length of the package in centimeters",
"type": "number"
},
"width": {
"description": "The width of the package in centimeters",
"type": "number"
}
},
"required": [
"length",
"width",
"height"
],
"type": "object"
},
"weight": {
"description": "The weight of the package in kilograms",
"type": "number"
}
},
"required": [
"package_dimensions",
"weight"
],
"type": "object"
} | calculate_shipping_cost_bced3bef |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "page-reload",
"description": "page-reload data sent as Map(s,s).",
"type": "object",
"oneOf": [
{
"$ref": "#/definitions/reload_instance"
},
{
"$ref": "#/definitions/reload_sequence"
},
{
"$ref": "#/definitions/ask_reaction"
}
],
"definitions": {
"askreactionchoice": {
"type": "string",
"enum": [
"fresh-content",
"looked-wrong",
"slow-page",
"broken-video",
"web-dev",
"no-ask",
"no-reaction"
]
},
"strbool": {
"type": "string",
"enum": [
"true",
"false"
]
},
"reload_instance": {
"properties": {
"message_type": {
"type": "string",
"enum": [
"reload_instance"
]
},
"hostname": {
"type": "string"
},
"method": {
"type": "string",
"enum": [
"button",
"hotkey"
]
},
"pos_in_sequence": {
"type": "string"
},
"prev_delay": {
"type": "string"
},
"seq_uuid": {
"type": "string"
},
"session_uuid": {
"type": "string"
},
"asked": {
"$ref": "#/definitions/strbool"
},
"reaction": {
"$ref": "#/definitions/askreactionchoice"
},
"attributes_html5video": {
"$ref": "#/definitions/strbool"
},
"attributes_naiveflash": {
"$ref": "#/definitions/strbool"
},
"mod_keys_altKey": {
"$ref": "#/definitions/strbool"
},
"mod_keys_shiftKey": {
"$ref": "#/definitions/strbool"
},
"mod_keys_metaKey": {
"$ref": "#/definitions/strbool"
},
"mod_keys_ctrlKey": {
"$ref": "#/definitions/strbool"
}
},
"required": [
"message_type",
"hostname",
"method",
"pos_in_sequence",
"prev_delay",
"seq_uuid",
"session_uuid",
"asked",
"reaction",
"attributes_html5video",
"attributes_naiveflash",
"mod_keys_altKey",
"mod_keys_shiftKey",
"mod_keys_metaKey",
"mod_keys_ctrlKey"
]
},
"ask_reaction": {
"properties": {
"message_type": {
"type": "string",
"enum": [
"ask_reaction"
]
},
"hostname": {
"type": "string"
},
"method": {
"type": "string",
"enum": [
"button",
"hotkey"
]
},
"pos_in_sequence": {
"type": "string"
},
"prev_delay": {
"type": "string"
},
"seq_uuid": {
"type": "string"
},
"session_uuid": {
"type": "string"
},
"reaction": {
"$ref": "#/definitions/askreactionchoice"
},
"attributes_html5video": {
"$ref": "#/definitions/strbool"
},
"attributes_naiveflash": {
"$ref": "#/definitions/strbool"
},
"mod_keys_altKey": {
"$ref": "#/definitions/strbool"
},
"mod_keys_shiftKey": {
"$ref": "#/definitions/strbool"
},
"mod_keys_metaKey": {
"$ref": "#/definitions/strbool"
},
"mod_keys_ctrlKey": {
"$ref": "#/definitions/strbool"
}
},
"required": [
"message_type",
"hostname",
"method",
"pos_in_sequence",
"prev_delay",
"seq_uuid",
"session_uuid",
"reaction",
"attributes_html5video",
"attributes_naiveflash",
"mod_keys_altKey",
"mod_keys_shiftKey",
"mod_keys_metaKey",
"mod_keys_ctrlKey"
]
},
"reload_sequence": {
"properties": {
"message_type": {
"type": "string",
"enum": [
"reload_sequence"
]
},
"delays": {
"type": "string"
},
"length": {
"type": "string"
},
"hostname": {
"type": "string"
},
"asked": {
"$ref": "#/definitions/strbool"
},
"reaction": {
"$ref": "#/definitions/askreactionchoice"
},
"stats_mean_delay": {
"type": "string"
},
"stats_median_delay": {
"type": "string"
},
"stats_delay_sd": {
"type": "string"
},
"uuid": {
"type": "string"
},
"session_uuid": {
"type": "string"
}
},
"required": [
"message_type",
"delays",
"length",
"hostname",
"asked",
"reaction",
"stats_mean_delay",
"stats_median_delay",
"stats_delay_sd",
"uuid",
"session_uuid"
]
}
}
} | o69586 |
{
"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_rate": {
"description": "The tax rate for the purchase",
"type": "number"
}
},
"required": [
"items"
],
"type": "object"
} | generate_invoice_1552696c |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base of the triangle",
"type": "number"
},
"height": {
"description": "The height of the triangle",
"type": "number"
},
"length": {
"description": "The length of the rectangle",
"type": "number"
},
"radius": {
"description": "The radius of the circle",
"type": "number"
},
"width": {
"description": "The width of the rectangle",
"type": "number"
}
},
"required": [
"radius"
],
"type": "object"
},
"shape": {
"description": "The shape (e.g. circle, rectangle, triangle)",
"type": "string"
}
},
"required": [
"shape"
],
"type": "object"
} | calculate_area_abe40afd |
{
"description": "Automatically taken from CADI, based on CADI ID",
"title": "Information from CADI database",
"properties": {
"status": {
"type": "string",
"title": "Status"
},
"publication_status": {
"type": "string",
"title": "Publication Status"
},
"pas": {
"type": "string",
"title": "PAS"
},
"description": {
"type": "string",
"title": "Description"
},
"created": {
"type": "string",
"title": "Created"
},
"contact": {
"type": "string",
"title": "Contact Person"
},
"paper": {
"type": "string",
"title": "Paper"
},
"twiki": {
"type": "string",
"title": "Twiki"
},
"name": {
"type": "string",
"title": "Name"
}
},
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"id": "cadi_info"
} | o66149 |
{
"properties": {
"check_in_date": {
"description": "The check-in date",
"type": "string"
},
"check_out_date": {
"description": "The check-out date",
"type": "string"
},
"location": {
"description": "The location to search for hotels",
"type": "string"
},
"num_adults": {
"description": "The number of adults",
"type": "integer"
},
"num_children": {
"description": "The number of children",
"type": "integer"
}
},
"required": [
"location",
"check_in_date",
"check_out_date",
"num_adults"
],
"type": "object"
} | find_hotels_be25713a |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base of the triangle",
"type": "number"
},
"height": {
"description": "The height of the triangle",
"type": "number"
},
"length": {
"description": "The length of the rectangle",
"type": "number"
},
"radius": {
"description": "The radius of the circle",
"type": "number"
},
"width": {
"description": "The width of the rectangle",
"type": "number"
}
},
"required": [
"radius",
"length",
"width",
"base",
"height"
],
"type": "object"
},
"shape": {
"description": "The name of the shape (e.g. circle, rectangle, triangle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_b5aac8b4 |
{
"$comment": "https://developer.chrome.com/docs/extensions/mv3/i18n-messages/",
"$id": "https://json.schemastore.org/chrome-extension-locales-messages.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"patternProperties": {
"^(?!@@)[\\w@]+$": {
"properties": {
"message": {
"description": "The translated message, in the form of a string that can contain placeholders. Use `$_placeholder_name_$` (case insensitive) to refer to a particular placeholder. For example, you can refer to a placeholder named \"our_site\" as `$our_site$`, `$OUR_SITE$`, or `$oUR_sITe$`.\nTo put a dollar sign (`$`) into the string, use `$$`.\nAlthough placeholders such as `$USER$` are the preferred way of referring to substitution strings (strings specified using the substitutions parameter of i18n.getMessage) you can also refer to substitution strings directly within the message.",
"examples": [
"What's your name?",
"Hello, $USER$",
"Goodbye, $USER$. Come back to $OUR_SITE$ soon!",
"Amount (in $$)",
"Params: $1, $2, $3"
],
"type": "string",
"title": "message"
},
"description": {
"description": "Optional. A description of the message, intended to give context or details to help the translator make the best possible translation.",
"examples": [
"Ask for the user's name",
"Greet the user",
"Say goodbye to the user"
],
"type": "string",
"title": "description"
},
"placeholders": {
"description": "Optional. Defines one or more substrings to be used within the message.\nEach placeholder has a name, a \"content\" item, and an optional \"example\" item. A placeholder's name is case-insensitive and can contain the same characters as a message name.\n",
"patternProperties": {
"^[\\w@]+$": {
"properties": {
"content": {
"description": "The \"content\" item's value is a string that can refer to substitution strings, which are specified using the i18n.getMessage method's substitutions parameter. The value of a \"content\" item is typically something like \"Example.com\" or \"$1\". If you refer to a substitution string that doesn't exist, you get an empty string. The following table shows how `$_n_` strings correspond to strings specified by the substitutions parameter.",
"type": "string",
"title": "content"
},
"example": {
"description": "The \"example\" item (optional, but highly recommended) helps translators by showing how the content appears to the end user. For example, a placeholder for a dollar amount should have an example like `\"$23.45\"`.",
"type": "string",
"title": "example"
}
},
"required": ["content"],
"type": "object"
}
},
"type": "object",
"title": "placeholders"
}
},
"required": ["message"],
"type": "object"
}
},
"type": "object"
}
| chrome-extension-locales-messages |
{
"id": "https://raw.githubusercontent.com/InfinniPlatform/InfinniUI-schema/master/Components/TextEditorBase/DisplayFormat/NumberFormat.json",
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "\u0424\u043e\u0440\u043c\u0430\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0447\u0438\u0441\u043b\u043e\u0432\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f",
"type": "object",
"properties": {
"Format": {
"description": "\u0424\u043e\u0440\u043c\u0430\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f",
"type": "string",
"default": "n"
}
}
} | o7441 |
{
"title": "Manifest.json Schema",
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://qooxdoo.org/schema/Manifest-1-0-0.json",
"description": "qooxdoo's Manifest files serve to provide meta information for a library in a structured way. Their syntax is in JSON. They have a more informational part (keyed info), which is more interesting for human readers, a technical part (named provides) that is used in the processing of generator configurations, and a part named externalResources to include CSS and Javascript files.",
"type": "object",
"required": [
"provides",
"$schema"
],
"additionalProperties": false,
"properties": {
"$schema": {
"type": "string",
"description": "the json schema of the version of Manifest.json",
"enum": [
"https://qooxdoo.org/schema/Manifest-1-0-0.json",
"https://raw.githubusercontent.com/qooxdoo/qooxdoo-compiler/master/source/resource/qx/tool/schema/Manifest-1-0-0.json"
]
},
"info": {
"type": "object",
"additionalProperties": false,
"description": "General Information about the project",
"properties": {
"name": {
"type": "string",
"description": "Name of the library"
},
"summary": {
"type": "string",
"description": "Short summary of its purpose"
},
"description": {
"type": "string",
"description": "Descriptive text"
},
"keywords": {
"type": "array",
"description": "Lost of keywords, tags.",
"_uniqueItems": true,
"items": {
"type": "string"
}
},
"homepage": {
"type": "string",
"description": "Homepage URL of the library."
},
"license": {
"type": "string",
"description": "License(s) of the library"
},
"authors": {
"description": "List of Authors",
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"email"
],
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"examples": [
"First Author"
]
},
"email": {
"type": "string",
"examples": [
"first.author@site.domain"
]
},
"githubUser": {
"type": "string",
"pattern": "[^\\s]+"
},
"gitlabUser": {
"type": "string",
"pattern": "[^\\s]+"
},
"facebookUser": {
"type": "string",
"pattern": "[^\\s]+"
},
"twitterHandle": {
"type": "string",
"pattern": "^@[^\\s]+"
}
}
}
},
"version": {
"type": "string",
"description": "a semver compatible version string",
"//pattern": "^(\\d|[1-9]\\d*)\\.(\\d|[1-9]\\d*)\\.(\\d|[1-9]\\d*)(?:-([-\\dA-Za-z]+(?:\\.[\\dA-Za-z-]+)*))?(?:\\+([-\\dA-Za-z]+(?:\\.[-\\d0-9A-Za-z]+)*))?$"
},
"qooxdoo-versions": {
"type": "array",
"description": "(deprecated) An array of qooxdoo versions that this library is compatible with. This property is deprecated and will be removed in version 7."
},
"sourceViewUri": {
"type": "string",
"description": "URL to view the library's class code online. This URL will be used in generated API documentation. It has a special syntax and allows for placeholders (e.g. for the class name and the source line number)."
}
}
},
"provides": {
"required": [
"namespace",
"class"
],
"additionalProperties": false,
"type": "object",
"properties": {
"namespace": {
"type": "string",
"description": "Library namespace (i.e. the namespace elements all class names in this library are prefixed with, e.g. foo for a main application class with name foo.Application)."
},
"encoding": {
"type": "string",
"default": "utf-8",
"description": "File encoding of source code files"
},
"class": {
"type": "string",
"default": "source/class",
"description": "Path to the library's class code relative to the Manifest.json file, up to but not including the root namespace folder"
},
"resource": {
"type": "string",
"default": "source/resource",
"description": "Path to the library's resources relative to the Manifest.json file, up to but not including the root namespace folder"
},
"translation": {
"type": "string",
"default": "source/translation",
"description": "Path to the library's translation files relative to the Manifest.json file"
},
"webfonts": {
"type": "array",
"description": "A list of webfont definitions",
"items": {
"type": "object",
"required": [
"name",
"resources"
],
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "Font name"
},
"defaultSize": {
"type": "number",
"description": "Default font size"
},
"mapping": {
"type": "string",
"description": "Path to a json font map relative to the resource folder"
},
"comparisonString": {
"type": "string",
"description": "String to test of font is loaded."
},
"resources": {
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"description": "Path to the webfont file relative to the resource folder"
}
}
}
}
},
"application": {
"type": "object"
}
}
},
"requires": {
"description": "a list of of needed libraries and contribs. the keys `qooxdoo-sdk` and `qooxdoo-compiler` are also recognized to descript the respective versions of these components",
"type": "object",
"required": [
"@qooxdoo/framework",
"@qooxdoo/compiler"
],
"patternProperties": {
"^.*$": {
"description": "semver compatible range pattern",
"type": "string"
}
},
"additionalProperties": false
},
"externalResources": {
"type": "object",
"description": "Static Javascript and CSS files that shall be always included without further processing by qooxdoo. All paths are relative to the resource folder stated in the 'provides' section.",
"properties": {
"css": {
"type": "array",
"_uniqueItems": true,
"items": {
"type": "string",
"pattern": "[.]s?css$"
}
},
"script": {
"type": "array",
"_uniqueItems": true,
"items": {
"type": "string",
"pattern": "[.]js$"
}
}
}
},
"setup": {
"description": "Setup Section - used in Qooxdoo SDK Manifest.json ... do we need this still?",
"type": "object"
}
}
} | o51168 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.