json_schema
stringlengths 43
1.28M
| unique_id
stringlengths 2
41
|
---|---|
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"definitions": {
"absolute_fullpath": {
"description": "A path with optional query string and/or fragment.",
"pattern": "^/(([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})+(/([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})*)*)?(\\?([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})*)?(#([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})*)?$",
"type": "string"
},
"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."
},
"application_name": {
"description": "Applications on GOV.UK only use lowercase letters and dashes",
"pattern": "[a-z-]",
"type": "string"
},
"asset_link": {
"additionalProperties": false,
"properties": {
"content_id": {
"$ref": "#/definitions/guid"
},
"content_type": {
"type": "string"
},
"created_at": {
"format": "date-time"
},
"title": {
"type": "string"
},
"updated_at": {
"format": "date-time"
},
"url": {
"_format": "uri",
"type": "string"
}
},
"required": [
"url",
"content_type"
],
"type": "object"
},
"change_history": {
"items": {
"additionalProperties": false,
"properties": {
"note": {
"description": "A summary of the change",
"type": "string"
},
"public_timestamp": {
"_format": "date-time",
"type": "string"
},
"reason_for_change": {
"description": "Why the change is being made. This is multiline text, and will be rendered inside <p> tags. Govspeak is not yet supported here.",
"type": "string"
}
},
"required": [
"public_timestamp",
"note"
],
"type": "object"
},
"type": "array"
},
"details": {
"additionalProperties": false,
"properties": {
"archive_notice": {
"additionalProperties": false,
"properties": {
"archived_at": {
"format": "date-time"
},
"explanation": {
"type": "string"
}
},
"type": "object"
},
"body": {
"type": "string"
},
"change_history": {
"$ref": "#/definitions/change_history"
},
"change_note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"emphasised_organisations": {
"$ref": "#/definitions/emphasised_organisations"
},
"first_public_at": {
"_format": "date-time",
"type": "string"
},
"format_display_type": {
"enum": [
"case_study"
],
"type": "string"
},
"image": {
"$ref": "#/definitions/image"
},
"tags": {
"additionalProperties": false,
"properties": {
"browse_pages": {
"items": {
"type": "string"
},
"type": "array"
},
"policies": {
"items": {
"type": "string"
},
"type": "array"
},
"topics": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"withdrawn_notice": {
"$ref": "#/definitions/withdrawn_notice"
}
},
"required": [
"body",
"first_public_at"
],
"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"
},
"frontend_links": {
"items": {
"additionalProperties": false,
"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"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"details": {
"additionalProperties": true,
"type": "object"
},
"document_type": {
"type": "string"
},
"links": {
"patternProperties": {
"^[a-z_]+$": {
"$ref": "#/definitions/frontend_links"
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"public_updated_at": {
"type": "string"
},
"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",
"title",
"base_path",
"locale"
],
"type": "object"
},
"type": "array"
},
"government": {
"additionalProperties": false,
"properties": {
"current": {
"description": "Is the government that published this document still the current government.",
"type": "boolean"
},
"slug": {
"description": "Government slug, used for analytics, eg '1970-to-1974-conservative-government'.",
"type": "string"
},
"title": {
"description": "Name of the government that first published this document, eg '1970 to 1974 Conservative government'.",
"type": "string"
}
},
"required": [
"title",
"slug",
"current"
],
"type": "object"
},
"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"
}
]
},
"url": {
"_format": "uri",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"label_value_pair": {
"additionalProperties": false,
"description": "One of many possible values a user can select from",
"properties": {
"label": {
"description": "A human readable label",
"type": "string"
},
"value": {
"description": "A value to use for form controls",
"type": "string"
}
},
"required": [
"label",
"value"
],
"type": "object"
},
"locale": {
"enum": [
"ar",
"az",
"be",
"bg",
"bn",
"cs",
"cy",
"de",
"dr",
"el",
"en",
"es",
"es-419",
"et",
"fa",
"fr",
"he",
"hi",
"hu",
"hy",
"id",
"it",
"ja",
"ka",
"ko",
"lt",
"lv",
"ms",
"pl",
"ps",
"pt",
"ro",
"ru",
"si",
"sk",
"so",
"sq",
"sr",
"sw",
"ta",
"th",
"tk",
"tr",
"uk",
"ur",
"uz",
"vi",
"zh",
"zh-hk",
"zh-tw"
],
"type": "string"
},
"multiple_content_types": {
"items": {
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"content_type": {
"type": "string"
}
},
"required": [
"content_type",
"content"
],
"type": "object"
},
"type": "array"
},
"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"
},
"political": {
"description": "If the content is considered political in nature, reflecting views of the government it was published under.",
"type": "boolean"
},
"redirect_route": {
"additionalProperties": false,
"properties": {
"destination": {
"$ref": "#/definitions/absolute_fullpath"
},
"path": {
"$ref": "#/definitions/absolute_path"
},
"segments_mode": {
"description": "For prefix redirects, preserve or ignore the rest of the fullpath. For exact, preserve or ignore the querystring.",
"enum": [
"preserve",
"ignore"
]
},
"type": {
"enum": [
"prefix",
"exact"
]
}
},
"required": [
"path",
"type",
"destination"
],
"type": "object"
},
"route": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"type": {
"enum": [
"prefix",
"exact"
]
}
},
"required": [
"path",
"type"
],
"type": "object"
},
"withdrawn_notice": {
"additionalProperties": false,
"properties": {
"explanation": {
"type": "string"
},
"withdrawn_at": {
"format": "date-time"
}
},
"type": "object"
}
},
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"details": {
"$ref": "#/definitions/details"
},
"document_type": {
"type": "string"
},
"first_published_at": {
"_format": "date-time",
"type": "string"
},
"format": {
"type": "string"
},
"last_edited_at": {
"_format": "date-time",
"description": "Last time when the content received a major or minor update.",
"type": "string"
},
"links": {
"additionalProperties": false,
"properties": {
"available_translations": {
"$ref": "#/definitions/frontend_links"
},
"child_taxons": {
"$ref": "#/definitions/frontend_links"
},
"children": {
"$ref": "#/definitions/frontend_links"
},
"document_collections": {
"$ref": "#/definitions/frontend_links"
},
"mainstream_browse_pages": {
"$ref": "#/definitions/frontend_links"
},
"ordered_related_items": {
"$ref": "#/definitions/frontend_links"
},
"organisations": {
"$ref": "#/definitions/frontend_links"
},
"parent": {
"$ref": "#/definitions/frontend_links"
},
"policies": {
"$ref": "#/definitions/frontend_links"
},
"policy_areas": {
"$ref": "#/definitions/frontend_links"
},
"related_policies": {
"$ref": "#/definitions/frontend_links"
},
"taxons": {
"$ref": "#/definitions/frontend_links"
},
"topics": {
"$ref": "#/definitions/frontend_links"
},
"world_locations": {
"$ref": "#/definitions/frontend_links"
},
"worldwide_organisations": {
"$ref": "#/definitions/frontend_links"
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"need_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"phase": {
"description": "The service design phase of this content item - https://www.gov.uk/service-manual/phases",
"enum": [
"alpha",
"beta",
"live"
],
"type": "string"
},
"public_updated_at": {
"_format": "date-time",
"type": "string"
},
"publishing_app": {
"$ref": "#/definitions/application_name"
},
"rendering_app": {
"$ref": "#/definitions/application_name"
},
"schema_name": {
"enum": [
"case_study"
],
"type": "string"
},
"title": {
"type": "string"
},
"updated_at": {
"_format": "date-time",
"type": "string"
},
"withdrawn_notice": {
"$ref": "#/definitions/withdrawn_notice"
}
},
"required": [
"base_path",
"links",
"title",
"details",
"locale",
"content_id",
"document_type",
"schema_name"
],
"type": "object"
} | o21442 |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base of the shape",
"type": "number"
},
"height": {
"description": "The height of the shape",
"type": "number"
},
"length": {
"description": "The length of the shape",
"type": "number"
},
"radius": {
"description": "The radius of the shape",
"type": "number"
},
"width": {
"description": "The width of the shape",
"type": "number"
}
},
"type": "object"
},
"shape": {
"description": "The type of shape (e.g. square, circle, triangle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_5b251ca6 |
{
"$comment": "https://minecraft.fandom.com/wiki/Biome/JSON_format",
"$id": "https://json.schemastore.org/minecraft-biome.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"spawner-options": {
"description": "Spawner options for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "array",
"uniqueItems": true,
"items": {
"title": "swawner options",
"description": "A spawner for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "object",
"properties": {
"type": {
"description": "A mob namespaced entity for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string"
},
"weight": {
"description": "A mod spawn factor for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "integer",
"minimum": 0
},
"minCount": {
"description": "A minimum mob spawn in a pack for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "integer",
"minimum": 0
},
"maxCount": {
"description": "A maximum mob spawn in a pack for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
}
}
},
"description": "Configuration file defining a biome for a data pack for Minecraft",
"properties": {
"depth": {
"description": "Used for terrain noise generation. Biomes with positive depth are considered land, biomes with negative depth are oceans\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "number"
},
"scale": {
"description": "Used for terrain noise generation. Vertically stretches the terrain. Lower values produce flatter terrain\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "number"
},
"has_precipitation": {
"description": "Controls if the current biome has precipitation",
"type": "boolean"
},
"category": {
"type": "string",
"enum": [
"none",
"taiga",
"extreme_hills",
"jungle",
"mesa",
"plains",
"savanna",
"icy",
"the_end",
"beach",
"forest",
"ocean",
"desert",
"river",
"swamp",
"mushroom",
"nether"
]
},
"temperature": {
"description": "A temperature for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "number"
},
"temperature_modifier": {
"description": "A temperature modifier for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string",
"enum": ["none", "frozen"],
"default": "none"
},
"downfall": {
"description": "A grass and foliage color for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "number",
"minimum": 0,
"maximum": 1
},
"player_spawn_friendly": {
"type": "boolean"
},
"creature_spawn_friendly": {
"description": "Spawns passive mobs as long as random value is less than this\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "number",
"minimum": 0,
"maximum": 1
},
"effects": {
"title": "effect options",
"description": "Effect options for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "object",
"properties": {
"fog_color": {
"description": "A fog color\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "integer"
},
"foliage_color": {
"description": "Decimal value converted from Hex color to use for tree leaves and vines. If not present, the value depends on humidity and temperature\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "integer"
},
"grass_color": {
"description": "A grass color\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "integer"
},
"sky_color": {
"description": "A sky color\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "integer"
},
"water_color": {
"description": "A water color\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "integer"
},
"water_fog_color": {
"description": "Decimal value converted from Hex color to use for fog\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "integer"
},
"grass_color_modifier": {
"description": "A grass color modifier\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string",
"enum": ["none", "dark_forest", "swamp"],
"default": "none"
},
"particle": {
"title": "particle options",
"description": "Particle options for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "object",
"properties": {
"probability": {
"description": "A particle spawning frequency for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "number",
"minimum": 0,
"maximum": 1
},
"options": {
"title": "particle options",
"description": "A particle type for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "object",
"properties": {
"type": {
"description": "A particle type for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string"
},
"value": {
"description": "A particle state for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "object",
"properties": {
"Name": {
"description": "A particle identifier for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string",
"minLength": 1
}
},
"additionalProperties": {
"description": "Particle properties for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome"
}
}
},
"allOf": [
{
"if": {
"properties": {
"type": {
"const": "item"
}
}
},
"then": {
"properties": {
"type": {
"description": "A particle type for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string"
},
"value": {
"description": "A particle state for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "object",
"properties": {
"Name": {
"description": "A particle identifier for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string",
"minLength": 1
}
},
"additionalProperties": {
"description": "Particle properties for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome"
}
},
"id": {
"description": "A particle namespaced identifier for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string",
"minLength": 1
},
"Count": {
"description": "A particle amount for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "integer",
"minimum": 0
},
"tag": {
"description": "A particle NBT data for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
{
"if": {
"properties": {
"type": {
"const": "dust"
}
}
},
"then": {
"properties": {
"type": {
"description": "A particle type for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string"
},
"value": {
"description": "A particle state for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "object",
"properties": {
"Name": {
"description": "A particle identifier for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string",
"minLength": 1
}
},
"additionalProperties": {
"description": "Particle properties for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome"
}
},
"color": {
"description": "A dust color for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "array",
"items": {
"description": "A dust color component for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "number",
"minimum": 0,
"maximum": 1
},
"minItems": 3,
"maxItems": 3
},
"scale": {
"description": "A paricle size for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "number"
}
},
"additionalProperties": false
}
},
{
"if": {
"properties": {
"type": {
"const": "dust_color_transition"
}
}
},
"then": {
"properties": {
"type": {
"description": "A particle type for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string"
},
"value": {
"description": "A particle state for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "object",
"properties": {
"Name": {
"description": "A particle identifier for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string",
"minLength": 1
}
},
"additionalProperties": {
"description": "Particle properties for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome"
}
},
"fromColor": {
"description": "A start dust color for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "array",
"items": {
"description": "A dust color component for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "number",
"minimum": 0,
"maximum": 1
},
"minItems": 3,
"maxItems": 3
},
"toColor": {
"description": "An end dust color for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "array",
"items": {
"description": "A dust color component for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "number",
"minimum": 0,
"maximum": 1
},
"minItems": 3,
"maxItems": 3
},
"scale": {
"description": "A paricle size for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "number"
}
},
"additionalProperties": false
}
},
{
"if": {
"properties": {
"type": {
"const": "sculk_charge"
}
}
},
"then": {
"properties": {
"type": {
"description": "A particle type for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string"
},
"value": {
"description": "A particle state for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "object",
"properties": {
"Name": {
"description": "A particle identifier for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string",
"minLength": 1
}
},
"additionalProperties": {
"description": "Particle properties for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome"
}
},
"roll": {
"description": "A particle angle in radians for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "number"
}
},
"additionalProperties": false
}
},
{
"if": {
"properties": {
"type": {
"const": "vibration"
}
}
},
"then": {
"properties": {
"type": {
"description": "A particle type for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string"
},
"value": {
"description": "A particle state for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "object",
"properties": {
"Name": {
"description": "A particle identifier for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string",
"minLength": 1
}
},
"additionalProperties": {
"description": "Particle properties for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome"
}
},
"destination": {
"description": "A particle angle in radians for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"properties": {
"type": {
"description": "A namespaced identifier of the position source type for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome"
},
"y_offset": {
"description": "An offset from entity's feet for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "number",
"default": 0
}
},
"allOf": [
{
"if": {
"properties": {
"type": {
"const": "block"
}
}
},
"then": {
"properties": {
"type": {
"description": "A namespaced identifier of the position source type for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome"
},
"y_offset": {
"description": "An offset from entity's feet for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "number",
"default": 0
},
"pos": {
"description": "A block position for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "array",
"items": {
"description": "A position component for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "integer"
},
"minItems": 3,
"maxItems": 3
}
},
"additionalProperties": false
}
},
{
"if": {
"properties": {
"type": {
"const": "entity"
}
}
},
"then": {
"properties": {
"type": {
"description": "A namespaced identifier of the position source type for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome"
},
"y_offset": {
"description": "An offset from entity's feet for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "number",
"default": 0
},
"source_entity": {
"description": "A block position for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "array",
"items": {
"description": "A position component for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "integer"
},
"minItems": 4,
"maxItems": 4
}
},
"additionalProperties": false
}
}
]
},
"arrival_in_ticks": {
"description": "A particle move duration for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
}
},
{
"if": {
"properties": {
"type": {
"const": "shriek"
}
}
},
"then": {
"properties": {
"type": {
"description": "A particle type for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string"
},
"value": {
"description": "A particle state for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "object",
"properties": {
"Name": {
"description": "A particle identifier for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string",
"minLength": 1
}
},
"additionalProperties": {
"description": "Particle properties for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome"
}
},
"delay": {
"description": "A particle delay in ticks for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "integer"
}
},
"additionalProperties": false
}
}
]
}
},
"additionalProperties": false
},
"ambient_sound": {
"description": "Sound event to use for ambient sound\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string"
},
"mood_sound": {
"title": "Mood Sound",
"description": "Settings for mood sound\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "object",
"properties": {
"sound": {
"description": "Sound event to use\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string"
},
"tick_delay": {
"type": "integer"
},
"block_search_context": {
"description": "Determines the cubic range of possible positions to play the mood sound. The player is at the center of the cubic range, and the edge length is 2 * block_search_extent + 1\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "integer"
},
"offset": {
"type": "integer"
}
}
},
"additions_sound": {
"title": "Additions Sound",
"description": "Settings for additions sound\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "object",
"properties": {
"sound": {
"description": "Sound event to use\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string"
},
"tick_chance": {
"title": "Tick Chance",
"type": "integer"
}
}
},
"music": {
"title": "Music",
"description": "Specific music that should be played in the biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "object",
"properties": {
"sound": {
"description": "Sound event to use\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string"
},
"min_delay": {
"type": "integer"
},
"max_delay": {
"type": "integer"
},
"replace_current_music": {
"description": "Whether or not to replace music which is already playing\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "boolean"
}
}
}
},
"additionalProperties": false
},
"surface_builder": {
"description": "The namespaced id of the configured surface builder to use\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string"
},
"carvers": {
"title": "carvers",
"description": "Carvers to use for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "object",
"properties": {
"air": {
"description": "Carvers used during air generation step for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "array",
"uniqueItems": true,
"items": {
"description": "A namespaced id of a configured carver for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string",
"minLength": 1
}
},
"liquid": {
"description": "Carvers used during liquid generation step for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "array",
"uniqueItems": true,
"items": {
"description": "A namespaced id of a configured carver for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
},
"features": {
"description": "Features for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "array",
"uniqueItems": true,
"items": {
"description": "A feature for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": ["string", "array"]
}
},
"creature_spawn_probability": {
"description": "A creature spawn probability for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "number",
"minimum": 0,
"exclusiveMaximum": 1
},
"starts": {
"description": "The structures to generate in this biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "array",
"items": {
"description": "The namespaced ID of a configured structure feature\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "string"
}
},
"spawners": {
"title": "spawners",
"description": "Entity spawning options for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "object",
"properties": {
"monster": {
"$ref": "#/definitions/spawner-options"
},
"creature": {
"$ref": "#/definitions/spawner-options"
},
"ambient": {
"$ref": "#/definitions/spawner-options"
},
"water_creature": {
"$ref": "#/definitions/spawner-options"
},
"underground_water_creature": {
"$ref": "#/definitions/spawner-options"
},
"water_ambient": {
"$ref": "#/definitions/spawner-options"
},
"misc": {
"$ref": "#/definitions/spawner-options"
},
"axolotls": {
"$ref": "#/definitions/spawner-options"
}
},
"additionalProperties": false
},
"spawn_costs": {
"title": "spawn costs",
"description": "Entity identifiers for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "object",
"additionalProperties": {
"title": "entity identifier",
"description": "A namespaced entity identifier for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "object",
"properties": {
"energy_budget": {
"description": "A new mob maximum potential for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "number",
"minimum": 0
},
"charge": {
"description": "A new mob charge for the current biome\nhttps://minecraft.fandom.com/wiki/Custom_biome",
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
}
}
},
"title": "Minecraft Data Pack Biome",
"type": "object"
}
| minecraft-biome |
{
"description": "PersistentVolumeStatus is the current status of a persistent volume.",
"properties": {
"message": {
"description": "A human-readable message indicating details about why the volume is in this state.",
"type": [
"string",
"null"
]
},
"phase": {
"description": "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase",
"type": [
"string",
"null"
]
},
"reason": {
"description": "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.",
"type": [
"string",
"null"
]
}
},
"type": "object"
} | kb_680_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Generated from product.json with shasum 099bd6d519825b65013d46773aee58352b4105d8",
"type": "object",
"required": [
"accountProduct",
"cardProduct",
"investmentProduct",
"financialProduct",
"other"
],
"properties": {
"accountProduct": {
"type": "object",
"required": [
"amount",
"accounts"
],
"properties": {
"amount": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"accounts": {
"type": "array",
"minItems": 1,
"_uniqueItems": true,
"items": {
"type": "object",
"required": [
"alias",
"description",
"availability",
"owner",
"product",
"productType",
"entityCode",
"contractCode",
"bic",
"number",
"iban",
"amount",
"numOwners",
"joint",
"mobileWarning"
],
"properties": {
"alias": {
"type": "string"
},
"description": {
"type": "string"
},
"availability": {
"type": "string"
},
"owner": {
"type": "string"
},
"product": {
"type": "string"
},
"productType": {
"type": "string"
},
"entityCode": {
"type": "string"
},
"contractCode": {
"type": "string"
},
"bic": {
"type": "string"
},
"number": {
"type": "string"
},
"iban": {
"type": "string"
},
"amount": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"numOwners": {
"type": "integer"
},
"isOwner": {
"type": "boolean"
},
"isSBPManaged": {
"type": "boolean"
},
"isIberSecurities": {
"type": "boolean"
},
"joint": {
"type": "string"
},
"mobileWarning": {
"type": "string"
}
}
}
}
}
},
"cardProduct": {
"type": "object",
"required": [
"amount",
"cards"
],
"properties": {
"amount": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"cards": {
"type": "array",
"minItems": 1,
"_uniqueItems": true,
"items": {
"type": "object",
"required": [
"bsprotect",
"description",
"isMarsans",
"name",
"productType",
"reference",
"type",
"shortDescription",
"number",
"realNumber",
"numcard",
"isOwner",
"activatedLE",
"codret",
"contractCCC",
"operativeCode",
"cvv2",
"dni",
"entity",
"mail",
"mailChecked",
"phoneNumber",
"phoneNumberChecked",
"alias",
"expirationDate",
"balance",
"availableBalance",
"dms",
"indAlert",
"selectableIndex",
"cardType",
"status",
"availableOperations",
"isInternational",
"isInternet",
"isSticker",
"nfcCard",
"stickerPan"
],
"properties": {
"bsprotect": {
"type": "string"
},
"description": {
"type": "string"
},
"isMarsans": {
"type": "string"
},
"name": {
"type": "string"
},
"productType": {
"type": "string"
},
"reference": {
"type": "string"
},
"type": {
"type": "string"
},
"shortDescription": {
"type": "string"
},
"number": {
"type": "string"
},
"realNumber": {
"type": "string"
},
"numcard": {
"type": "string"
},
"isOwner": {
"type": "boolean"
},
"activatedLE": {
"type": "string"
},
"codret": {
"type": "string"
},
"contractCCC": {
"type": "string"
},
"operativeCode": {
"type": "string"
},
"cvv2": {
"type": "string"
},
"dni": {
"type": "string"
},
"entity": {
"type": "string"
},
"mail": {
"type": "string"
},
"mailChecked": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"phoneNumberChecked": {
"type": "string"
},
"alias": {
"type": "string"
},
"expirationDate": {
"type": "string"
},
"balance": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"availableBalance": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"dms": {
"type": "string"
},
"indAlert": {
"type": "string"
},
"selectableIndex": {
"type": "string"
},
"canActivate": {
"type": "boolean"
},
"cardType": {
"type": "object",
"required": [
"background",
"type",
"subtype",
"textColor",
"iconColor",
"logo"
],
"properties": {
"background": {
"type": "string"
},
"type": {
"type": "string"
},
"subtype": {
"type": "string"
},
"textColor": {
"type": "string"
},
"iconColor": {
"type": "string"
},
"logo": {
"type": "string"
}
}
},
"status": {
"type": "string"
},
"availableOperations": {
"type": "array",
"minItems": 0,
"_uniqueItems": true,
"items": {}
},
"isInternational": {
"type": "boolean"
},
"isInternet": {
"type": "boolean"
},
"isSticker": {
"type": "boolean"
},
"stickerCard": {
"type": "boolean"
},
"nfcCard": {
"type": "object",
"required": [
"isNfc",
"isActive",
"expirationDate"
],
"properties": {
"isNfc": {
"type": "boolean"
},
"isActive": {
"type": "boolean"
},
"expirationDate": {
"type": "string"
}
}
},
"stickerPan": {
"type": "string"
},
"deteriorationLock": {
"type": "boolean"
},
"isPrepaidAnonymous": {
"type": "boolean"
}
}
}
}
}
},
"investmentProduct": {
"type": "object",
"required": [
"amount",
"securities",
"pensionPlan",
"insuredPlanForecast",
"investmentFund",
"depositProduct",
"unknowns"
],
"properties": {
"amount": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"securities": {
"type": "object",
"required": [
"amount",
"accounts",
"type"
],
"properties": {
"amount": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"accounts": {
"type": "array",
"minItems": 0,
"_uniqueItems": true,
"items": {}
},
"type": {
"type": "string"
}
}
},
"pensionPlan": {
"type": "object",
"required": [
"amount",
"accounts",
"type"
],
"properties": {
"amount": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"accounts": {
"type": "array",
"minItems": 0,
"_uniqueItems": true,
"items": {}
},
"type": {
"type": "string"
}
}
},
"insuredPlanForecast": {
"type": "object",
"required": [
"amount",
"policies"
],
"properties": {
"amount": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"policies": {
"type": "array",
"minItems": 0,
"_uniqueItems": true,
"items": {}
}
}
},
"investmentFund": {
"type": "object",
"required": [
"amount",
"accounts",
"type"
],
"properties": {
"amount": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"accounts": {
"type": "array",
"minItems": 0,
"_uniqueItems": true,
"items": {}
},
"type": {
"type": "string"
}
}
},
"depositProduct": {
"type": "object",
"required": [
"amount",
"accounts"
],
"properties": {
"amount": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"accounts": {
"type": "array",
"minItems": 0,
"_uniqueItems": true,
"items": {}
}
}
},
"unknowns": {
"type": "array",
"minItems": 0,
"_uniqueItems": true,
"items": {}
}
}
},
"financialProduct": {
"type": "object",
"required": [
"amount",
"loan",
"credit",
"expansionLineGP",
"unknowns"
],
"properties": {
"amount": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"loan": {
"type": "object",
"required": [
"amount",
"accounts"
],
"properties": {
"amount": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"accounts": {
"type": "array",
"minItems": 0,
"_uniqueItems": true,
"items": {}
}
}
},
"credit": {
"type": "object",
"required": [
"amount",
"accounts"
],
"properties": {
"amount": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"accounts": {
"type": "array",
"minItems": 0,
"_uniqueItems": true,
"items": {}
}
}
},
"expansionLineGP": {
"type": "object",
"required": [
"amount",
"expansionLines"
],
"properties": {
"amount": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"expansionLines": {
"type": "array",
"minItems": 1,
"_uniqueItems": true,
"items": {
"type": "object",
"required": [
"availableBalance",
"claimFee",
"contractCCC",
"disposeTerms",
"description",
"expansionAccount",
"interest",
"minDisposeAmount",
"numCard",
"number",
"openingFee",
"owner",
"reference",
"creditLimit",
"studyFee",
"tae"
],
"properties": {
"availableBalance": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"claimFee": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"contractCCC": {
"type": "string"
},
"disposeTerms": {
"type": "array",
"minItems": 0,
"_uniqueItems": true,
"items": {}
},
"description": {
"type": "string"
},
"expansionAccount": {
"type": "object",
"required": [
"alias",
"description",
"availability",
"owner",
"product",
"productType",
"entityCode",
"contractCode",
"bic",
"number",
"iban",
"amount",
"numOwners",
"isOwner",
"isSBPManaged",
"isIberSecurities",
"joint",
"mobileWarning"
],
"properties": {
"alias": {
"type": "string"
},
"description": {
"type": "string"
},
"availability": {
"type": "string"
},
"owner": {
"type": "string"
},
"product": {
"type": "string"
},
"productType": {
"type": "string"
},
"entityCode": {
"type": "string"
},
"contractCode": {
"type": "string"
},
"bic": {
"type": "string"
},
"number": {
"type": "string"
},
"iban": {
"type": "string"
},
"amount": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"numOwners": {
"type": "integer"
},
"isOwner": {
"type": "boolean"
},
"isSBPManaged": {
"type": "boolean"
},
"isIberSecurities": {
"type": "boolean"
},
"joint": {
"type": "string"
},
"mobileWarning": {
"type": "string"
}
}
},
"interest": {
"type": "string"
},
"minDisposeAmount": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"numCard": {
"type": "string"
},
"number": {
"type": "string"
},
"openingFee": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"owner": {
"type": "string"
},
"reference": {
"type": "string"
},
"creditLimit": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"studyFee": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"tae": {
"type": "string"
},
"active": {
"type": "boolean"
}
}
}
}
}
},
"unknowns": {
"type": "array",
"minItems": 0,
"_uniqueItems": true,
"items": {}
}
}
},
"other": {
"type": "object",
"required": [
"amount",
"unknowns"
],
"properties": {
"amount": {
"type": "object",
"required": [
"value",
"currency"
],
"properties": {
"value": {
"type": "string"
},
"currency": {
"type": "string"
}
}
},
"unknowns": {
"type": "array",
"minItems": 0,
"_uniqueItems": true,
"items": {}
}
}
}
}
} | o60790 |
{
"properties": {
"customer_name": {
"description": "The name of the customer",
"type": "string"
},
"order_items": {
"items": {
"properties": {
"product_name": {
"description": "The name of the product",
"type": "string"
},
"quantity": {
"description": "The quantity of the product",
"type": "integer"
},
"unit_price": {
"description": "The unit price of the product",
"type": "number"
}
},
"required": [
"product_name",
"quantity",
"unit_price"
],
"type": "object"
},
"type": "array"
},
"tax_rate": {
"description": "The tax rate",
"type": "number"
}
},
"required": [
"customer_name",
"order_items"
],
"type": "object"
} | generate_invoice_6b7d91be |
{
"properties": {
"customer_name": {
"description": "The name of the customer",
"type": "string"
},
"items": {
"items": {
"properties": {
"price": {
"description": "The price per unit",
"type": "number"
},
"product_name": {
"description": "The name of the product",
"type": "string"
},
"quantity": {
"description": "The quantity of the product",
"type": "integer"
}
},
"required": [
"product_name",
"quantity",
"price"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"customer_name",
"items"
],
"type": "object"
} | create_invoice_5423b949 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "openrtb-v1_0-schema-bid_response",
"description": "json schema for an openrtb v1.0 bid response (http://openrtb.googlecode.com/files/OpenRTB%20Mobile%20RTB%20API%20-%201.0.pdf)",
"type": "object",
"required": [
"id"
],
"additionalProperties": false,
"properties": {
"id": {
"$ref": "#/definitions/string_40"
},
"bidid": {
"$ref": "#/definitions/string_40"
},
"nbr": {
"$ref": "#/definitions/no_bid_reason"
},
"cur": {
"$ref": "#/definitions/currency"
},
"units": {
"$ref": "#/definitions/price_units"
},
"seatbid": {
"type": "array",
"items": {
"$ref": "#/definitions/seatbid"
}
}
},
"definitions": {
"seatbid": {
"type": "object",
"required": [
"bid"
],
"additionalProperties": false,
"properties": {
"seat": {
"$ref": "#/definitions/string_40"
},
"group": {
"$ref": "#/definitions/boolean_int"
},
"bid": {
"type": "array",
"items": {
"$ref": "#/definitions/bid"
}
}
}
},
"bid": {
"type": "object",
"required": [
"impid",
"price"
],
"additionalProperties": false,
"properties": {
"impid": {
"$ref": "#/definitions/string_40"
},
"price": {
"type": "number",
"minimum": 0
},
"adid": {
"$ref": "#/definitions/string_40"
},
"nurl": {
"type": "string",
"maxLength": 256
},
"adm": {
"type": "string",
"maxLength": 1024
},
"adomain": {
"type": "string"
},
"iurl": {
"type": "string"
},
"cid": {
"type": "string"
},
"crid": {
"type": "string"
},
"attr": {
"type": "array",
"items": {
"$ref": "#/definitions/creative_attribute"
}
}
}
},
"creative_attribute": {
"type": "integer",
"minimum": 1,
"maximum": 14
},
"price_units": {
"type": "integer",
"minimum": 0,
"maximum": 2
},
"no_bid_reason": {
"type": "integer",
"minimum": 0,
"maximum": 3
},
"boolean_int": {
"type": "integer",
"minimum": 0,
"maximum": 1
},
"currency": {
"type": "string",
"minLength": 3,
"maxLength": 4
},
"string_40": {
"type": "string",
"maxLength": 40
}
}
} | o65677 |
{
"properties": {
"networking": {
"description": "registry networking configuration properties",
"properties": {
"external_access": {
"description": "Enable access from outside the cluster through Marathon-LB.\nNOTE: this connection is unencrypted.",
"properties": {
"enable": {
"default": false,
"description": "Enable or disable creating a VIP for external access through a public node running Marathon-LB.",
"type": "boolean"
},
"external_access_port": {
"default": 15000,
"description": "For external access, port number to be used for clear communication in the external Marathon-LB load balancer",
"type": "number"
}
},
"type": "object"
},
"port": {
"default": 5000,
"description": "Port number to be used for clear communication internally to the cluster.",
"type": "number"
}
},
"type": "object"
},
"security": {
"description": "registry security configuration properties",
"properties": {
"enable": {
"default": false,
"description": "Enable TLS secure registry.",
"type": "boolean"
},
"http_tls_certificate_filename": {
"default": "domain.crt",
"description": "Name of the file holding the HTTP TLS certificate to download from the host with the IP address configured in http_tls_download_ip.",
"type": "string"
},
"http_tls_download_ip": {
"description": "IP address of the host to download the HTTP TLS certificate and key from. Files need to be in the root subdirectory of the server.",
"type": "string"
},
"http_tls_download_port": {
"default": "80",
"description": "TCP port of the host to download the HTTP TLS certificate and key from (i.e. the port where the server is listening on). Files need to be in the root subdirectory of the server.",
"type": "string"
},
"http_tls_key_filename": {
"default": "domain.key",
"description": "Name of the file holding the HTTP TLS key to download from the host with the IP address configured in http_tls_download_ip.",
"type": "string"
}
},
"type": "object"
},
"service": {
"description": "DC/OS service configuration properties",
"properties": {
"cpus": {
"default": 0.2,
"description": "CPU shares to allocate to each service instance.",
"minimum": 0.2,
"type": "number"
},
"mem": {
"default": 256.0,
"description": "Memory to allocate to each service instance.",
"minimum": 256.0,
"type": "number"
},
"name": {
"default": "registry",
"description": "Name of this service instance",
"type": "string"
},
"proxy": {
"description": "Configure this registry as a remote proxy for another registry.",
"properties": {
"enable": {
"default": false,
"description": "Enable or disable proxy mode.",
"type": "boolean"
},
"password": {
"default": "password",
"description": "Password to use in the remote proxy.",
"type": "string"
},
"remote_url": {
"default": "https://registry-1.docker.io",
"description": "URL of the remote proxy to connect to.",
"type": "string"
},
"username": {
"default": "username",
"description": "Username to use in the remote proxy.",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"cpus",
"mem"
],
"type": "object"
},
"storage": {
"description": "registry storage configuration properties",
"properties": {
"host_volume_registry": {
"default": "/tmp",
"description": "If using non-persistent volumes (local volumes), this sets the location of a volume on the host to be used for the registry service to store the contents of the registry. The final location will be derived from this value plus the name set in `name` (e.g. `/mnt/host_volume/service_name`). This can be a mounted NFS drive. Note that this path must be the same on all DC/OS agents. NOTE: if you don't change the default /tmp value, YOUR DATA WILL NOT BE SAVED IN ANY WAY.",
"type": "string"
},
"persistence": {
"description": "Enable persistent storage.",
"properties": {
"enable": {
"default": false,
"description": "Enable or disable persistent storage.",
"type": "boolean"
},
"external": {
"description": "External persistent storage properties",
"properties": {
"driver": {
"default": "rexray",
"description": "Volume driver to use for storage. The default value should be correct for most use cases.",
"type": "string"
},
"enable": {
"default": false,
"description": "Enable or disable external persistent storage. The `persistence` option must also be selected. Please note that for these to work, your DC/OS cluster MUST have been installed with the right options in `config.yaml`. Also, please note this requires a working configuration file for the driver (e.g. `rexray.yaml`).",
"type": "boolean"
},
"provider": {
"default": "dvdi",
"description": "Provider of the external persistent volume. The default value should be correct for most use cases.",
"type": "string"
},
"volume_name_registry": {
"default": "registry",
"description": "Name that your volume driver uses to look up your external volume. When your task is staged on an agent, the volume driver queries the storage service for a volume with this name. If one does not exist, it is created implicitly. Otherwise, the existing volume is reused.",
"type": "string"
}
},
"type": "object"
},
"volume_size_registry": {
"default": 1024,
"description": "If a new volume is to be created, this controls its size in MBs.",
"type": "number"
}
},
"type": "object"
},
"storage_path": {
"default": "/var/lib/registry",
"description": "Storage path to be used inside the registry container.",
"type": "string"
}
},
"type": "object"
}
}
} | o90821 |
{
"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": "PodTemplate describes a template for creating copies of a predefined pod.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"enum": [
"v1"
],
"type": [
"string",
"null"
]
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"enum": [
"PodTemplate"
],
"type": [
"string",
"null"
]
},
"metadata": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta",
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"template": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PodTemplateSpec",
"description": "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
}
},
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "",
"kind": "PodTemplate",
"version": "v1"
}
]
} | kb_738_Normalized |
{
"properties": {
"cuisine": {
"description": "The cuisine type",
"type": "string"
},
"diet": {
"description": "The diet type",
"type": "string"
},
"exclude_ingredients": {
"description": "The ingredients to exclude from the recipes",
"items": {
"type": "string"
},
"type": "array"
},
"include_ingredients": {
"description": "The ingredients to include in the recipes",
"items": {
"type": "string"
},
"type": "array"
},
"query": {
"description": "The search query",
"type": "string"
}
},
"type": "object"
} | search_recipes_fb66ed5b |
{
"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": "NamespaceCondition contains details about state of namespace.",
"properties": {
"lastTransitionTime": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time"
},
"message": {
"type": [
"string",
"null"
]
},
"reason": {
"type": [
"string",
"null"
]
},
"status": {
"description": "Status of the condition, one of True, False, Unknown.",
"type": [
"string",
"null"
]
},
"type": {
"description": "Type of namespace controller condition.",
"type": [
"string",
"null"
]
}
},
"required": [
"type",
"status"
],
"type": "object"
} | kb_575_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "getFeeParameters",
"description": "Parameters for getFee",
"type": "object",
"properties": {
"cushion": {
"type": "number",
"description": "The fee is the product of the base fee, the `load_factor`, and this cushion. Default is provided by the `RippleAPI` constructor's `feeCushion`."
}
},
"additionalProperties": false
} | o70473 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Event",
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"event"
]
},
"division_id": {
"type": "string",
"pattern": "^ocd-division/country:[a-z]{2}$"
},
"gid": {
"type": "integer"
},
"row": {
"type": "integer"
},
"id": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$"
},
"start_date": {
"$ref": "#/definitions/simple_date"
},
"end_date": {
"$ref": "#/definitions/simple_date"
},
"location": {
"$ref": "#/definitions/simple_string"
},
"geonames_name": {
"$ref": "#/definitions/simple_string"
},
"geonames_id": {
"$ref": "#/definitions/simple_integer"
},
"admin_level_1_geonames_name": {
"$ref": "#/definitions/simple_string"
},
"admin_level_1_geonames_id": {
"$ref": "#/definitions/simple_integer"
},
"classification": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"type": "string",
"enum": [
"Arbitrary Detention",
"Assault",
"Attacking Hospital",
"Beating",
"Death in Custody",
"Death in Detention",
"Denial of Medical Attention",
"Disappearance",
"Excessive Force",
"Illegal Detention",
"Inhuman Detention",
"Killing",
"Rape",
"Restricting freedom of speech and press",
"Restricting of freedom of association",
"Torture",
"Use of Child Soldiers",
"Violations against personal integrity",
"Violations against the right to liberty",
"Violations of rights of detained or imprisoned persons",
"Violations of the right to adequate housing",
"Violations of the right to life"
]
}
}
},
"additionalProperties": false,
"required": [
"value"
]
},
"description": {
"$ref": "#/definitions/simple_string"
},
"perpetrator_name": {
"$ref": "#/definitions/simple_string"
},
"perpetrator_organization_id": {
"$ref": "#/definitions/simple_string"
},
"perpetrator_organization_classification": {
"$ref": "#/definitions/simple_string_array"
},
"sources": {
"$ref": "#/definitions/simple_string_array"
}
},
"additionalProperties": false,
"required": [
"type",
"division_id",
"gid",
"row",
"id",
"start_date",
"classification",
"description"
],
"definitions": {
"simple_date": {
"type": "object",
"properties": {
"value": {
"type": "string",
"pattern": "^[0-9]{4}(-[0-9]{2}){0,2}$"
}
},
"additionalProperties": false,
"required": [
"value"
]
},
"simple_integer": {
"type": "object",
"properties": {
"value": {
"type": "integer"
}
},
"additionalProperties": false,
"required": [
"value"
]
},
"simple_string": {
"type": "object",
"properties": {
"value": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"value"
]
},
"simple_string_array": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false,
"required": [
"value"
]
}
}
}
| o74444 |
{
"properties": {
"end_time": {
"description": "The end time of the event in ISO 8601 format",
"format": "date-time",
"type": "string"
},
"location": {
"description": "The location of the event",
"type": "string"
},
"start_time": {
"description": "The start time of the event in ISO 8601 format",
"format": "date-time",
"type": "string"
},
"title": {
"description": "The title of the event",
"type": "string"
}
},
"required": [
"title",
"start_time",
"end_time"
],
"type": "object"
} | create_calendar_event_ede3b10f |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Inventory",
"description": "Inventory with current stock count",
"type": "array",
"items": {
"properties": {
"id": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0
}
},
"required": [
"id",
"count"
],
"additionalProperties": false
}
} | o83726 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"protocol": {
"type": "string",
"enum": [
"choria:secure:reply:1"
]
},
"message": {
"type": "string",
"description": "YAML encoded choria:reply:1"
},
"hash": {
"type": "string",
"description": "SHA256 has of the message"
}
},
"required": [
"protocol",
"message",
"hash"
]
} | o31276 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_rbac_v1alpha1_AggregationRule": {
"description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole",
"properties": {
"clusterRoleSelectors": {
"description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector"
},
"type": "array"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_rbac_v1alpha1_PolicyRule": {
"description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.",
"properties": {
"apiGroups": {
"description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.",
"items": {
"type": "string"
},
"type": "array"
},
"nonResourceURLs": {
"description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.",
"items": {
"type": "string"
},
"type": "array"
},
"resourceNames": {
"description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.",
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"verbs"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1": {
"description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff",
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector": {
"description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
"properties": {
"matchExpressions": {
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement"
},
"type": "array"
},
"matchLabels": {
"additionalProperties": {
"type": "string"
},
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"type": "object"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement": {
"description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
"properties": {
"key": {
"description": "key is the label key that the selector applies to.",
"type": "string",
"x-kubernetes-patch-merge-key": "key",
"x-kubernetes-patch-strategy": "merge"
},
"operator": {
"description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
"type": "string"
},
"values": {
"description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"key",
"operator"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry": {
"description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.",
"type": "string"
},
"fieldsType": {
"description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
"type": "string"
},
"fieldsV1": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1",
"description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type."
},
"manager": {
"description": "Manager is an identifier of the workflow managing these fields.",
"type": "string"
},
"operation": {
"description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.",
"type": "string"
},
"time": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta": {
"description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations",
"type": "object"
},
"clusterName": {
"description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.",
"type": "string"
},
"creationTimestamp": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"deletionGracePeriodSeconds": {
"_format": "int64",
"description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"finalizers": {
"description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.",
"items": {
"type": "string"
},
"type": "array",
"x-kubernetes-patch-strategy": "merge"
},
"generateName": {
"description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency",
"type": "string"
},
"generation": {
"_format": "int64",
"description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
"type": "integer"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels",
"type": "object"
},
"managedFields": {
"description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
"type": "string"
},
"namespace": {
"description": "Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces",
"type": "string"
},
"ownerReferences": {
"description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_OwnerReference"
},
"type": "array",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
},
"resourceVersion": {
"description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
"type": "string"
},
"selfLink": {
"description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.",
"type": "string"
},
"uid": {
"description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_OwnerReference": {
"description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.",
"properties": {
"apiVersion": {
"description": "API version of the referent.",
"type": "string"
},
"blockOwnerDeletion": {
"description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.",
"type": "boolean"
},
"controller": {
"description": "If true, this reference points to the managing controller.",
"type": "boolean"
},
"kind": {
"description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"name": {
"description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
"type": "string"
},
"uid": {
"description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time": {
"_format": "date-time",
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": "string"
}
},
"description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.",
"properties": {
"aggregationRule": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_rbac_v1alpha1_AggregationRule",
"description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."
},
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"enum": [
"rbac.authorization.k8s.io/v1alpha1"
],
"type": [
"string",
"null"
]
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"enum": [
"ClusterRole"
],
"type": [
"string",
"null"
]
},
"metadata": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta",
"description": "Standard object's metadata."
},
"rules": {
"description": "Rules holds all the PolicyRules for this ClusterRole",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_rbac_v1alpha1_PolicyRule"
},
"type": [
"array",
"null"
]
}
},
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "rbac.authorization.k8s.io",
"kind": "ClusterRole",
"version": "v1alpha1"
}
]
} | kb_84_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"eventTags": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 255
}
},
"required": [
"key",
"value"
],
"additionalProperties": false
}
}
}
} | o9863 |
{
"properties": {
"include_lowercase": {
"description": "Include lowercase letters in the password",
"type": "boolean"
},
"include_numbers": {
"description": "Include numbers in the password",
"type": "boolean"
},
"include_symbols": {
"description": "Include symbols in the password",
"type": "boolean"
},
"include_uppercase": {
"description": "Include uppercase letters in the password",
"type": "boolean"
},
"length": {
"description": "The length of the password",
"type": "integer"
}
},
"required": [
"length"
],
"type": "object"
} | generate_random_password_94008584 |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base of the shape",
"type": "number"
},
"height": {
"description": "The height 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 shape (e.g., rectangle, circle, triangle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_4a532765 |
{
"properties": {
"dimensions": {
"oneOf": [
{
"required": [
"radius"
]
},
{
"required": [
"length",
"width"
]
},
{
"required": [
"base",
"height"
]
}
],
"properties": {
"base": {
"description": "The base of the triangle",
"type": "number"
},
"height": {
"description": "The height of the triangle",
"type": "number"
},
"length": {
"description": "The length of the rectangle",
"type": "number"
},
"radius": {
"description": "The radius of the circle",
"type": "number"
},
"width": {
"description": "The width of the rectangle",
"type": "number"
}
},
"type": "object"
},
"shape": {
"description": "The shape for which the area needs to be calculated",
"enum": [
"circle",
"rectangle",
"triangle"
],
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_2503b276 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"mitigation-scope": {
"client-identifier": {
"type": "array",
"items": {
"type": "string"
}
},
"scope": {
"type": "array",
"items": {
"mitigation-id": {
"type": "integer"
},
"target-ip": {
"type": "array",
"items": {
"type": "string"
}
},
"target-prefix": {
"type": "array",
"items": {
"type": "string"
}
},
"target-port-range": {
"type": "array",
"items": {
"type": "object",
"properties": {
"lower-port": "integer",
"upper-port": "integer"
}
},
"target-protocol": {
"type": "array",
"items": {
"type": "integer"
}
},
"FQDN": {
"type": "array",
"items": {
"type": "string"
}
},
"URI": {
"type": "array",
"items": {
"type": "string"
}
},
"alias": {
"type": "array",
"items": {
"type": "string"
}
},
"lifetime": {
"type": "integer"
},
"attack-status": {
"type": "integer"
}
}
}
}
}
}
} | o64612 |
{
"items": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"href": {
"format": "uri",
"type": "string"
},
"rel": {
"type": "string"
}
},
"required": [
"href",
"rel"
],
"type": "object"
},
"readOnly": true,
"type": "array"
} | o10318 |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"Violation": {
"description": "The result of user doing warn, message or fail, built this way for\nexpansion later.",
"properties": {
"file": {
"description": "Optional path to the file",
"type": "string"
},
"icon": {
"description": "Optional icon for table (Only valid for messages)",
"type": "string"
},
"line": {
"description": "Optional line in the file",
"type": "number"
},
"message": {
"description": "The string representation",
"type": "string"
}
},
"type": "object"
}
},
"description": "The representation of what running a Dangerfile generates.\nThis needs to be passed between processes, so data only please.",
"properties": {
"fails": {
"description": "Failed messages",
"items": {
"$ref": "#/definitions/Violation"
},
"type": "array"
},
"markdowns": {
"description": "Markdown messages to attach at the bottom of the comment",
"items": {
"$ref": "#/definitions/Violation"
},
"type": "array"
},
"messages": {
"description": "A set of messages to show inline",
"items": {
"$ref": "#/definitions/Violation"
},
"type": "array"
},
"meta": {
"description": "Meta information about the runtime evaluation",
"properties": {
"runtimeHref": {
"description": "e.g. \"https://danger.systems/js\"",
"type": "string"
},
"runtimeName": {
"description": "E.g. \"dangerJS\", or \"Danger Swift\"",
"type": "string"
}
},
"type": "object"
},
"warnings": {
"description": "Messages for info",
"items": {
"$ref": "#/definitions/Violation"
},
"type": "array"
}
},
"type": "object"
} | o34384 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"items": {
"type": "object",
"properties": {
"count": {
"type": "string"
}
}
}
},
"required": [
"items"
]
} | o69525 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"label": {
"type": "string"
},
"additional-classes": {
"type": "string"
},
"wrapper-class": {
"type": "string"
},
"validation": {
"type": "object",
"properties": {
"save-rules": {
"type": "array",
"items": {
"type": "string",
"default": "required"
}
},
"validation-id": {
"type": "string"
},
"focus-id": {
"type": "string"
},
"validation-messages": {
"type": "object",
"properties": {
"required": {
"type": "string"
}
}
}
}
}
}
} | o69844 |
{
"id": "https://almanak.github.io/schemas/events.aarhusteater.json",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "events.aarhusteater",
"description": "Schema for all plays at Aarhus Teater. Must extend the generic people-schema.",
"type": "object",
"_meta": {
"indexProperties": [
"id",
"domain",
"schema",
"from_date",
"to_date"
],
"systemProperties": [
"uuid",
"id",
"domain",
"schema",
"scheme",
"created",
"created_by",
"updated",
"updated_by",
"ext_data.scope",
"status"
],
"fulltextProperties": [
"description"
],
"autocompleteProperties": [
"display_label"
]
},
"properties": {
"uuid": {
"type": "string",
"title": "Universal unique identifier",
"description": "UUID1. Assigned by system",
"pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
},
"id": {
"type": "string",
"title": "Resourcespecifik ID",
"description": "9-cifret l\u00f8benummer semi-specifik for resourcetypen. Assigned by system",
"pattern": "^[0-9]+$"
},
"domain": {
"type": "string",
"enum": [
"records",
"people",
"organisations",
"families",
"events",
"places",
"concepts",
"things"
],
"title": "Resourcetype",
"description": "S\u00e6ttes kun n\u00e5r der v\u00e6lges skema til oprettelse. Ellers fastsat."
},
"schema": {
"type": "string",
"title": "Skema",
"description": "S\u00e6ttes kun n\u00e5r der v\u00e6lges skema til oprettelse. Ellers fastsat."
},
"created": {
"type": "string",
"format": "date-time",
"title": "Skabt",
"description": "Datetime for skabelse af metadata-ressourcen"
},
"created_by": {
"type": "string",
"maxLength": 255,
"title": "Skabt af",
"description": "Brugernavn/ID p\u00e5 skaber/oploader af metadata-ressourcen"
},
"updated": {
"type": "string",
"format": "date-time",
"title": "Senest opdateret",
"description": "Datetime for seneste opdatering af ressourcen"
},
"updated_by": {
"type": "string",
"maxLength": 255,
"title": "Senest opdateret af",
"description": "Brugernavn p\u00e5 seneste opdaterer af metadata-ressourcen"
},
"status": {
"type": "string",
"enum": [
"validated",
"machine-generated",
"user-generated"
],
"title": "Status",
"default": "user-generated"
},
"name": {
"type": "string",
"maxLength": 255,
"title": "Forestillingsnavn",
"description": "Navnet p\u00e5 forestillingen (uden \u00e5rstal)"
},
"display_label": {
"type": "string",
"maxLength": 255,
"title": "Displaynavn",
"description": "Den label, som entiteten repr\u00e6senteres med"
},
"description": {
"type": "string",
"maxLength": 5000,
"title": "Beskrivelse"
},
"sources": {
"type": "string",
"title": "Kilder",
"description": "URL-links eller enkeltlinje referencer"
},
"portrait": {
"type": "string",
"maxLength": 255,
"format": "uri",
"title": "Portr\u00e6t"
},
"date_from": {
"type": "string",
"format": "date",
"title": "F\u00f8dselsdato (\u00e5\u00e5\u00e5\u00e5-mm-dd)",
"pattern": "^([0-9]{4})(-([0-9]{2}))?(-([0-9]{2}))?$"
},
"date_to": {
"type": "string",
"format": "date",
"title": "D\u00f8dsdato (\u00e5\u00e5\u00e5\u00e5-mm-dd)",
"pattern": "^([0-9]{4})(-([0-9]{2}))?(-([0-9]{2}))?$"
},
"ext_data": {
"type": "object",
"title": "Udvided metadata",
"properties": {
"original_id": {
"type": "string",
"title": "Originalt ID"
},
"poster": {
"type": "boolean",
"title": "Plakat"
},
"stagename": {
"type": "string",
"title": "Scene"
},
"composer": {
"type": "string",
"title": "Komponist"
},
"translater": {
"type": "string",
"title": "Overs\u00e6tter"
},
"publisher": {
"type": "string",
"title": "Udgiver"
},
"programme": {
"type": "boolean",
"title": "Program"
},
"season": {
"type": "string",
"title": "S\u00e6son"
},
"playwright": {
"type": "string",
"title": "Forfatter"
},
"director": {
"type": "string",
"title": "Instrukt\u00f8r"
},
"scenographer": {
"type": "string",
"title": "Scenograf"
}
}
}
}
} | o1051 |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/marmeladema/Peggy/tree/master/peggy/grammar.json",
"title": "Peggy PEG Grammar Schema",
"definitions": {
"node": {
"type": "object",
"properties": {
"ast": {
"type": "string",
"enum": [
"BUILD",
"SKIP",
"VOID",
"PRUNE"
]
},
"type": {
"type": "string",
"enum": [
"RULE",
"CALL",
"SEQUENCE",
"CHOICE",
"RANGE",
"WILDCARD",
"STRING",
"STRINGI"
]
},
"min": {
"type": "integer"
},
"max": {
"type": "integer"
}
},
"anyOf": [
{
"properties": {
"type": {
"type": "string",
"enum": [
"RULE"
]
},
"data": {
"$ref": "#/definitions/node"
}
}
},
{
"properties": {
"type": {
"type": "string",
"enum": [
"CALL",
"STRING",
"STRINGI"
]
},
"data": {
"type": "string",
"minLength": 1
}
}
},
{
"properties": {
"type": {
"type": "string",
"enum": [
"RANGE"
]
},
"data": {
"type": "array",
"items": {
"type": "integer"
}
}
}
},
{
"properties": {
"type": {
"type": "string",
"enum": [
"SEQUENCE",
"CHOICE"
]
},
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/node"
}
}
}
},
{
"properties": {
"type": {
"type": "string",
"enum": [
"WILDCARD"
]
}
}
}
],
"required": [
"ast",
"type"
]
}
},
"type": "object",
"patternProperties": {
"^[a-zA-Z0-8_]+$": {
"$ref": "#/definitions/node"
}
},
"additionalProperties": false
} | o58839 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"required": [
"config",
"inputs"
],
"type": "object",
"properties": {
"inputs": {
"required": [
"StructZip",
"FuncZip"
],
"type": "object",
"properties": {
"CustomClassifier": {
"type": "object",
"properties": {}
},
"FuncZip10": {
"type": "object",
"properties": {
"type": {
"enum": [
"zip"
]
}
}
},
"StructZip": {
"type": "object",
"properties": {
"type": {
"enum": [
"zip"
]
}
}
},
"FuncZip": {
"type": "object",
"properties": {
"type": {
"enum": [
"zip"
]
}
}
},
"FuncZip9": {
"type": "object",
"properties": {
"type": {
"enum": [
"zip"
]
}
}
},
"FuncZip8": {
"type": "object",
"properties": {
"type": {
"enum": [
"zip"
]
}
}
},
"FuncZip5": {
"type": "object",
"properties": {
"type": {
"enum": [
"zip"
]
}
}
},
"FuncZip4": {
"type": "object",
"properties": {
"type": {
"enum": [
"zip"
]
}
}
},
"FuncZip7": {
"type": "object",
"properties": {
"type": {
"enum": [
"zip"
]
}
}
},
"FuncZip6": {
"type": "object",
"properties": {
"type": {
"enum": [
"zip"
]
}
}
},
"FuncZip3": {
"type": "object",
"properties": {
"type": {
"enum": [
"zip"
]
}
}
},
"FuncZip2": {
"type": "object",
"properties": {
"type": {
"enum": [
"zip"
]
}
}
}
}
},
"config": {
"required": [
"PreserveOnError",
"HighPassFilter",
"RegName",
"FIXClassifier"
],
"type": "object",
"properties": {
"PreserveOnError": {
"default": false,
"type": "boolean"
},
"HighPassFilter": {
"default": 2000,
"type": "integer"
},
"RegName": {
"default": "Empty",
"type": "string"
},
"FIXClassifier": {
"default": "HCP_hp2000",
"type": "string"
}
}
}
},
"title": "Invocation manifest for HCP: ICAFIX Functional Pipeline"
} | o41311 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Animation program",
"description": "A program describing an animation run",
"type": "object",
"required": [
"resources",
"program"
],
"additionalProperties": false,
"properties": {
"resources": {
"description": "The resources used by this program",
"type": "object",
"required": [
"images"
],
"additionalProperties": false,
"properties": {
"images": {
"description": "A list of image resources to load",
"type": "array",
"items": {
"description": "A particular image",
"type": "object",
"required": [
"key",
"uri",
"targetLayer"
],
"additionalProperties": false,
"properties": {
"key": {
"description": "The unique ID of this image",
"type": "string"
},
"uri": {
"description": "The location where to find this image",
"type": "string"
},
"targetLayer": {
"description": "The ID of the layer in the view port onto which to draw this image",
"type": "string"
}
}
}
}
}
},
"program": {
"description": "The program steps",
"type": "array",
"items": {
"type": "object",
"description": "A particular step within the program",
"required": [
"cmd",
"args"
],
"additionalProperties": false,
"properties": {
"cmd": {
"description": "The command to be executed",
"type": "string",
"enum": [
"moveTo",
"setTransparency"
]
},
"args": {
"description": "A map of arguments for the command",
"type": "object"
}
}
}
}
}
} | o83745 |
{
"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",
"null"
]
},
"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",
"null"
]
},
"name": {
"description": "This must match the Name of a Volume.",
"type": [
"string",
"null"
]
},
"readOnly": {
"description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.",
"type": [
"boolean",
"null"
]
},
"subPath": {
"description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).",
"type": [
"string",
"null"
]
},
"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",
"null"
]
}
},
"required": [
"name",
"mountPath"
],
"type": "object"
} | kb_1131_Normalized |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TypedLocalObjectReference": {
"description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.",
"properties": {
"apiGroup": {
"description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.",
"type": "string"
},
"kind": {
"description": "Kind is the type of resource being referenced",
"type": "string"
},
"name": {
"description": "Name is the name of resource being referenced",
"type": "string"
}
},
"required": [
"kind",
"name"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_HTTPIngressPath": {
"description": "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.",
"properties": {
"backend": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_IngressBackend",
"description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to."
},
"path": {
"description": "Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched.",
"type": "string"
},
"pathType": {
"description": "PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types. Defaults to ImplementationSpecific.",
"type": "string"
}
},
"required": [
"backend"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_HTTPIngressRuleValue": {
"description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.",
"properties": {
"paths": {
"description": "A collection of paths that map requests to backends.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_HTTPIngressPath"
},
"type": "array"
}
},
"required": [
"paths"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_IngressBackend": {
"description": "IngressBackend describes all endpoints for a given service and port.",
"properties": {
"resource": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TypedLocalObjectReference",
"description": "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified."
},
"serviceName": {
"description": "Specifies the name of the referenced service.",
"type": "string"
},
"servicePort": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_util_intstr_IntOrString",
"description": "Specifies the port of the referenced service."
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_IngressRule": {
"description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.",
"properties": {
"host": {
"description": "Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.\n\nHost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.",
"type": "string"
},
"http": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_HTTPIngressRuleValue"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_IngressTLS": {
"description": "IngressTLS describes the transport layer security associated with an Ingress.",
"properties": {
"hosts": {
"description": "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.",
"items": {
"type": "string"
},
"type": "array"
},
"secretName": {
"description": "SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_util_intstr_IntOrString": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
},
"description": "IngressSpec describes the Ingress the user wishes to exist.",
"properties": {
"backend": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_IngressBackend",
"description": "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default."
},
"ingressClassName": {
"description": "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.",
"type": [
"string",
"null"
]
},
"rules": {
"description": "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_IngressRule"
},
"type": [
"array",
"null"
]
},
"tls": {
"description": "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_networking_v1beta1_IngressTLS"
},
"type": [
"array",
"null"
]
}
},
"type": "object"
} | kb_455_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"wildCardCondition": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"description": "the SAML attribute to run the wildcard against"
},
"wildCard": {
"type": "string",
"description": "the wildcard, with * supported"
}
},
"additionalProperties": false,
"required": [
"attribute",
"wildCard"
]
},
"alwaysCondition": {
"type": "boolean"
},
"notCondition": {
"type": "object",
"properties": {
"not": {
"$ref": "#/definitions/condition"
}
},
"additionalProperties": false,
"required": [
"not"
]
},
"condition": {
"oneOf": [
{
"$ref": "#/definitions/wildCardCondition"
},
{
"$ref": "#/definitions/notCondition"
},
{
"$ref": "#/definitions/alwaysCondition"
}
]
},
"injectRoles": {
"type": "object",
"properties": {
"injectRoles": {
"type": "object",
"properties": {
"condition": {
"$ref": "#/definitions/condition"
},
"roles": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"condition",
"roles"
]
}
},
"required": [
"injectRoles"
]
},
"allowLogin": {
"type": "object",
"properties": {
"allowLogin": {
"type": "object",
"properties": {
"condition": {
"$ref": "#/definitions/condition"
}
},
"required": [
"condition"
]
}
},
"required": [
"allowLogin"
]
}
},
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/allowLogin"
},
{
"$ref": "#/definitions/injectRoles"
}
]
}
} | o79474 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.5.3/utils/reference.json",
"title": "Representation of a normalized element",
"description": "This represents a reference to external content that should be denormalized",
"properties": {
"type": {
"type": "string",
"enum": [
"reference"
]
},
"referent": {
"type": "object",
"properties": {
"type": {
"description": "The ANS type that the provider should return.",
"type": "string"
},
"service": {
"description": "The type of interaction the provider expects. E.g., 'oembed'",
"type": "string"
},
"id": {
"description": "The id passed to the provider to retrieve an ANS document",
"type": "string"
},
"provider": {
"description": "A URL that can resolve the id into an ANS element",
"type": "string"
}
},
"required": [
"provider",
"id"
]
}
},
"required": [
"type",
"referent"
]
} | o86241 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"timestamp": {
"description": "the number of seconds since the Unix epoch",
"type": "string",
"minLength": 10,
"maxLength": 10,
"pattern": "[0-9]{10,10}"
},
"requester": {
"type": "string"
},
"baseCommit": {
"type": "string"
},
"reviewRef": {
"description": "used to specify a git ref that tracks the current revision under review",
"type": "string"
},
"targetRef": {
"description": "used to specify the git ref that should be updated once the review is approved",
"type": "string"
},
"reviewers": {
"type": "array",
"items": {
"type": "string"
}
},
"description": {
"type": "string"
},
"v": {
"type": "integer",
"enum": [
0
]
},
"alias": {
"description": "used to specify a post-rebase commit hash for the review",
"type": "string"
}
},
"required": [
"timestamp",
"requester"
]
} | o44206 |
{
"additionalProperties": false,
"description": "Schema for a Google Analytics hit entity",
"properties": {
"nonInteractionHit": {
"type": [
"boolean",
"null"
]
},
"type": {
"enum": [
"event",
"exception",
"item",
"pageview",
"screenview",
"social",
"timing",
"transaction"
]
}
},
"self": {
"format": "jsonschema",
"name": "hit",
"vendor": "com.google.analytics.measurement-protocol",
"version": "1-0-0"
},
"type": "object"
} | sp_46_Normalized |
{
"properties": {
"authentication": {
"description": "Web interface authentication",
"properties": {
"basic": {
"description": "Basic authentication",
"properties": {
"password": {
"description": "Secret password",
"type": "string"
},
"user": {
"default": "admin",
"description": "Username",
"type": "string"
}
},
"type": "object"
},
"ldap": {
"description": "LDAP",
"properties": {
"base": {
"description": "Base DN, e.g.: ou=active,ou=Employee",
"type": "string"
},
"domain": {
"description": "Domain, e.g. example.com",
"type": "string"
},
"method": {
"description": "Method, e.g. simple",
"type": "string"
},
"url": {
"description": "LDAP server ldaps://host:port",
"type": "string"
}
},
"type": "object"
},
"type": {
"default": "none",
"description": "Authentication method. Either 'none', 'basic' or 'ldap'",
"enum": [
"none",
"basic",
"ldap"
],
"type": "string"
}
},
"type": "object"
},
"cerebro": {
"additionalProperties": false,
"description": "Cerebro configuration",
"properties": {
"config_path": {
"default": "./application.conf",
"description": "Configuration file",
"type": "string"
},
"db_driver": {
"default": "org.sqlite.JDBC",
"description": "DB driver",
"type": "string"
},
"db_url": {
"default": "jdbc:sqlite:./cerebro.db",
"description": "DB connection",
"type": "string"
},
"hist_size": {
"default": 50,
"description": "REST request history max size per user",
"type": "integer"
},
"secret": {
"description": "Secret will be used to sign session cookies, CSRF tokens and for other encryption utilities.",
"type": "string"
}
},
"required": [
"config_path"
],
"type": "object"
},
"elastic": {
"description": "Elasticsearch clusters",
"properties": {
"cluster_1": {
"default": "http://master.elastic.l4lb.thisdcos.directory:9200",
"description": "Elasticsearch URI",
"type": "string"
},
"cluster_2": {
"description": "Elasticsearch URI",
"type": "string"
},
"cluster_3": {
"description": "Elasticsearch URI",
"type": "string"
},
"cluster_4": {
"description": "Elasticsearch URI",
"type": "string"
},
"cluster_5": {
"description": "Elasticsearch URI",
"type": "string"
}
},
"type": "object"
},
"networking": {
"description": "Cerebro networking configuration properties",
"properties": {
"external_access": {
"description": "Enable access from outside the cluster through Marathon-LB.\nNOTE: this connection is unencrypted.",
"properties": {
"port": {
"default": 13001,
"description": "For external access, port number to be used for clear communication in the external Marathon-LB load balancer",
"type": "number"
},
"virtual_host": {
"description": "For external access, Virtual Hostname to be used in the external load balancer.",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"service": {
"description": "DC/OS service configuration properties",
"properties": {
"cpus": {
"default": 0.5,
"description": "CPU shares to allocate",
"minimum": 0.5,
"type": "number"
},
"heap": {
"default": 1024.0,
"description": "Java heap size (-Xmx)",
"minimum": 256.0,
"type": "number"
},
"instances": {
"default": 1,
"description": "Number of desired instances",
"type": "integer"
},
"mem": {
"default": 1180.0,
"description": "Memory to allocate",
"minimum": 300.0,
"type": "number"
},
"name": {
"default": "cerebro",
"description": "The name of the Cerebro service instance.",
"type": "string"
},
"user": {
"default": "nobody",
"description": "The user that runs the Cerebro service and owns the Mesos sandbox.",
"type": "string"
}
},
"required": [
"name",
"cpus",
"mem",
"heap",
"instances"
],
"type": "object"
}
},
"type": "object"
} | o90650 |
{
"id": "http://schemas.triniti.io/json-schema/triniti/canvas/mixin/page/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"
}
},
"image_ref": {
"type": "string",
"pattern": "^[\\w\\/\\.:-]+$",
"description": "A reference to the image asset to use for widgets, sharing, seo.",
"pbj": {
"type": "identifier",
"rule": "single"
}
},
"description": {
"type": "string",
"minLength": 0,
"maxLength": 5000,
"description": "A description of the page (usually a few sentences). It should typically not have HTML as it is used in metadata, feeds, SERP and social.",
"pbj": {
"type": "text",
"rule": "single"
}
},
"amp_enabled": {
"type": "boolean",
"default": true,
"description": "Determines if AMP (Accelerated Mobile Pages) should be enabled for this page.",
"pbj": {
"type": "boolean",
"rule": "single"
}
},
"layout": {
"type": "string",
"pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$",
"minLength": 0,
"maxLength": 255,
"description": "Visual layout for the page. e.g. \"two-column\", \"one-column\".",
"pbj": {
"type": "string",
"rule": "single",
"format": "slug"
}
}
},
"required": [
"_id"
],
"additionalProperties": true
} | o82680 |
{
"additionalProperties": false,
"description": "Schema for an push message event",
"properties": {
"actionCategoryIdentifier": {
"type": "string"
},
"actionIdentifier": {
"type": "string"
},
"actionName": {
"type": "string"
},
"applicationStateType": {
"type": "string"
},
"attributes": {},
"contentId": {
"type": "integer"
},
"jsonPayload": {
"type": "string"
},
"message": {
"type": "string"
},
"name": {
"type": "string"
},
"network": {
"type": "string"
},
"pushMessageType": {
"type": "string"
},
"token": {
"type": "string"
}
},
"required": [
"name"
],
"self": {
"format": "jsonschema",
"name": "pushmessage_event",
"vendor": "com.mparticle.snowplow",
"version": "1-0-0"
},
"type": "object"
} | sp_145_Normalized |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LoadBalancerIngress": {
"description": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.",
"properties": {
"hostname": {
"description": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)",
"type": "string"
},
"ip": {
"description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LoadBalancerStatus": {
"description": "LoadBalancerStatus represents the status of a load-balancer.",
"properties": {
"ingress": {
"description": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LoadBalancerIngress"
},
"type": "array"
}
},
"type": "object"
}
},
"description": "ServiceStatus represents the current status of a service.",
"properties": {
"loadBalancer": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LoadBalancerStatus",
"description": "LoadBalancer contains the current status of the load-balancer, if one is present."
}
},
"type": "object"
} | kb_992_Normalized |
{
"description": "CDN provider settings\nhttps://ppoffice.github.io/hexo-theme-icarus/Configuration/Theme/speed-up-your-site-with-custom-cdn/",
"properties": {
"cdn": {
"default": "jsdelivr",
"description": "Name or URL template of the JavaScript and/or stylesheet CDN provider",
"nullable": true,
"type": "string"
},
"fontcdn": {
"default": "google",
"description": "Name or URL template of the webfont CDN provider",
"nullable": true,
"type": "string"
},
"iconcdn": {
"default": "fontawesome",
"description": "Name or URL of the fontawesome icon font CDN provider",
"nullable": true,
"type": "string"
}
},
"type": "object"
} | o67682 |
{
"$schema": "http://json-schema.org/draft-07/schema",
"additionalProperties": false,
"allOf": [
{
"anyOf": [
{
"required": [
"num_input"
]
},
{
"required": [
"enum_input"
]
}
]
}
],
"dependencies": {
"enum_input": {
"properties": {
"num_input": {
"not": {}
}
}
},
"flag_input": {
"anyOf": [
{
"properties": {
"num_input": {
"not": {}
}
},
"required": [
"file_input"
]
},
{
"properties": {
"flag_input": {
"enum": [
false
]
}
}
}
]
},
"num_input": {
"properties": {
"enum_input": {
"not": {}
}
}
}
},
"description": "Invocation schema for example boutiques tool.",
"properties": {
"config_num": {
"enum": [
4
]
},
"enum_input": {
"enum": [
"val1",
"val2",
"val3"
]
},
"file_input": {
"type": "string"
},
"flag_input": {
"type": "boolean"
},
"list_int_input": {
"items": {
"type": "integer"
},
"minItems": 1,
"type": "array"
},
"num_input": {
"exclusiveMinimum": 0,
"maximum": 1,
"type": "number"
},
"str_input": {
"items": {
"type": "string"
},
"maxItems": 3,
"minItems": 1,
"type": "array"
}
},
"required": [
"str_input",
"list_int_input",
"config_num"
],
"title": "Example Boutiques Tool.invocationSchema",
"type": "object"
} | o27154 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"definitions": {
"absolute_path": {
"description": "A path only. Query string and/or fragment are not allowed.",
"pattern": "^/(([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})+(/([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})*)*)?$",
"type": "string"
},
"analytics_identifier": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "A short identifier we send to Google Analytics for multi-valued fields. This means we avoid the truncated values we would get if we sent the path or slug of eg organisations."
},
"change_history": {
"items": {
"additionalProperties": false,
"properties": {
"note": {
"description": "A summary of the change",
"type": "string"
},
"public_timestamp": {
"_format": "date-time",
"type": "string"
}
},
"required": [
"public_timestamp",
"note"
],
"type": "object"
},
"type": "array"
},
"change_note": {
"description": "Change note for the most recent update",
"type": [
"string",
"null"
]
},
"description": {
"type": "string"
},
"description_optional": {
"anyOf": [
{
"$ref": "#/definitions/description"
},
{
"type": "null"
}
]
},
"details": {
"additionalProperties": false,
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"brand": {
"description": "Used for organisations, to allow us to publish branding / logo information. Remove when organisations are migrated.",
"type": [
"string",
"null"
]
},
"change_history": {
"$ref": "#/definitions/change_history"
},
"change_note": {
"$ref": "#/definitions/change_note"
},
"end_date": {
"_format": "date-time",
"description": "Used for topical events, so that related documents can get the date. Remove when topical events are migrated.",
"type": "string"
},
"external_related_links": {
"$ref": "#/definitions/external_related_links"
},
"logo": {
"description": "Used for organisations, to allow us to publish branding / logo information. Remove when organisations are migrated.",
"properties": {
"crest": {
"enum": [
"bis",
"dit",
"eo",
"hmrc",
"ho",
"mod",
"portcullis",
"single-identity",
"so",
"ukaea",
"wales",
null
],
"type": [
"string",
"null"
]
},
"formatted_title": {
"type": "string"
},
"image": {
"$ref": "#/definitions/image"
}
},
"type": "object"
},
"start_date": {
"_format": "date-time",
"description": "Used for topical events, so that related documents can get the date. Remove when topical events are migrated.",
"type": "string"
},
"tags": {
"$ref": "#/definitions/tags"
}
},
"type": "object"
},
"external_link": {
"additionalProperties": false,
"properties": {
"title": {
"type": "string"
},
"url": {
"_format": "uri",
"type": "string"
}
},
"required": [
"title",
"url"
],
"type": "object"
},
"external_related_links": {
"items": {
"$ref": "#/definitions/external_link"
},
"type": "array"
},
"first_published_at": {
"_format": "date-time",
"description": "The date the content was first published. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string"
},
"frontend_links": {
"items": {
"additionalProperties": true,
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"api_path": {
"$ref": "#/definitions/absolute_path"
},
"api_url": {
"_format": "uri",
"description": "DEPRECATED: api_path should be used instead of api_url. This is due to values of api_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"document_type": {
"type": "string"
},
"links": {
"patternProperties": {
"^[a-z_]+$": {
"$ref": "#/definitions/frontend_links"
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"public_updated_at": {
"oneOf": [
{
"$ref": "#/definitions/public_updated_at"
},
{
"type": "null"
}
]
},
"schema_name": {
"type": "string"
},
"title": {
"type": "string"
},
"web_url": {
"_format": "uri",
"description": "DEPRECATED: base_path should be used instead of web_url. This is due to values of web_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
}
},
"required": [
"content_id",
"locale",
"title"
],
"type": "object"
},
"type": "array"
},
"frontend_links_with_base_path": {
"items": {
"additionalProperties": true,
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"api_path": {
"$ref": "#/definitions/absolute_path"
},
"api_url": {
"_format": "uri",
"description": "DEPRECATED: api_path should be used instead of api_url. This is due to values of api_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"document_type": {
"type": "string"
},
"links": {
"patternProperties": {
"^[a-z_]+$": {
"$ref": "#/definitions/frontend_links_with_base_path"
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"public_updated_at": {
"oneOf": [
{
"$ref": "#/definitions/public_updated_at"
},
{
"type": "null"
}
]
},
"schema_name": {
"type": "string"
},
"title": {
"type": "string"
},
"web_url": {
"_format": "uri",
"description": "DEPRECATED: base_path should be used instead of web_url. This is due to values of web_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
}
},
"required": [
"base_path",
"content_id",
"locale",
"title"
],
"type": "object"
},
"type": "array"
},
"guid": {
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
"type": "string"
},
"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"
},
"public_updated_at": {
"_format": "date-time",
"description": "When the content was last significantly changed (a major update). Shown to users. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string"
},
"publishing_app_name": {
"description": "The application that published this item.",
"enum": [
"calculators",
"calendars",
"collections-publisher",
"contacts",
"content-publisher",
"content-tagger",
"email-alert-frontend",
"external-link-tracker",
"feedback",
"frontend",
"government-frontend",
"hmrc-manuals-api",
"info-frontend",
"licencefinder",
"local-links-manager",
"manuals-frontend",
"manuals-publisher",
"maslow",
"performanceplatform-big-screen-view",
"publisher",
"rummager",
"search-admin",
"search-api",
"service-manual-publisher",
"share-sale-publisher",
"short-url-manager",
"smartanswers",
"special-route-publisher",
"specialist-publisher",
"static",
"tariff",
"travel-advice-publisher",
"whitehall"
],
"type": "string"
},
"publishing_request_id": {
"description": "A unique identifier used to track publishing requests to rendered content",
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"publishing_scheduled_at": {
"_format": "date-time",
"description": "When this content was last scheduled for publishing. Determined by the publishing intent sent by the publishing API.",
"type": "string"
},
"rendering_app": {
"description": "The application that renders this item.",
"enum": [
"calculators",
"calendars",
"collections",
"content-store",
"email-alert-frontend",
"email-campaign-frontend",
"feedback",
"finder-frontend",
"frontend",
"government-frontend",
"info-frontend",
"licencefinder",
"manuals-frontend",
"performanceplatform-big-screen-view",
"rummager",
"search-api",
"service-manual-frontend",
"smartanswers",
"spotlight",
"static",
"tariff",
"whitehall-admin",
"whitehall-frontend"
],
"type": "string"
},
"scheduled_publishing_delay_seconds": {
"description": "The delay between the most recent scheduled and actual publishing times. Determined by the content store based on the publishing intent.",
"type": "integer"
},
"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"
},
"withdrawn_notice": {
"additionalProperties": false,
"properties": {
"explanation": {
"type": "string"
},
"withdrawn_at": {
"format": "date-time"
}
},
"type": "object"
}
},
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"description": {
"$ref": "#/definitions/description_optional"
},
"details": {
"$ref": "#/definitions/details"
},
"document_type": {
"enum": [
"aaib_report",
"about",
"about_our_services",
"accessible_documents_policy",
"access_and_opening",
"ambassador_role",
"answer",
"asylum_support_decision",
"authored_article",
"board_member_role",
"business_finance_support_scheme",
"calculator",
"calendar",
"case_study",
"chief_professional_officer_role",
"chief_scientific_officer_role",
"chief_scientific_advisor_role",
"closed_consultation",
"cma_case",
"coming_soon",
"complaints_procedure",
"completed_transaction",
"consultation",
"consultation_outcome",
"contact",
"coronavirus_landing_page",
"corporate_report",
"correspondence",
"countryside_stewardship_grant",
"decision",
"deputy_head_of_mission_role",
"detailed_guidance",
"detailed_guide",
"dfid_research_output",
"document_collection",
"drug_safety_update",
"email_alert_signup",
"employment_appeal_tribunal_decision",
"employment_tribunal_decision",
"equality_and_diversity",
"esi_fund",
"export_health_certificate",
"external_content",
"facet",
"facet_group",
"facet_value",
"fatality_notice",
"field_of_operation",
"finder",
"finder_email_signup",
"foi_release",
"form",
"gone",
"government",
"government_response",
"governor_role",
"guidance",
"guide",
"help_page",
"high_commissioner_role",
"history",
"hmrc_manual",
"hmrc_manual_section",
"homepage",
"html_publication",
"impact_assessment",
"imported",
"independent_report",
"international_development_fund",
"international_treaty",
"knowledge_alpha",
"licence",
"license_finder",
"local_transaction",
"maib_report",
"mainstream_browse_page",
"manual",
"manual_section",
"map",
"marine_notice",
"media_enquiries",
"medical_safety_alert",
"membership",
"military_role",
"ministerial_role",
"ministers_index",
"national",
"national_statistics",
"national_statistics_announcement",
"need",
"news_article",
"news_story",
"notice",
"official",
"official_statistics",
"official_statistics_announcement",
"open_consultation",
"oral_statement",
"organisation",
"our_energy_use",
"our_governance",
"person",
"personal_information_charter",
"petitions_and_campaigns",
"place",
"placeholder",
"placeholder_ministerial_role",
"placeholder_organisation",
"placeholder_person",
"placeholder_policy_area",
"placeholder_topical_event",
"placeholder_world_location",
"placeholder_world_location_news_page",
"placeholder_worldwide_organisation",
"policy_area",
"policy_paper",
"press_release",
"procurement",
"promotional",
"publication_scheme",
"raib_report",
"recruitment",
"redirect",
"regulation",
"research",
"residential_property_tribunal_decision",
"role_appointment",
"search",
"service_manual_guide",
"service_manual_homepage",
"service_manual_service_standard",
"service_manual_service_toolkit",
"service_manual_topic",
"service_sign_in",
"service_standard_report",
"services_and_information",
"simple_smart_answer",
"smart_answer",
"social_media_use",
"special_representative_role",
"special_route",
"speech",
"staff_update",
"statistical_data_set",
"statistics",
"statistics_announcement",
"statutory_guidance",
"statutory_instrument",
"step_by_step_nav",
"take_part",
"tax_tribunal_decision",
"taxon",
"terms_of_reference",
"topic",
"topical_event",
"topical_event_about_page",
"traffic_commissioner_regulatory_decision",
"traffic_commissioner_role",
"transaction",
"transparency",
"travel_advice",
"travel_advice_index",
"unpublishing",
"uk_market_conformity_assessment_body",
"utaac_decision",
"vanish",
"welsh_language_scheme",
"working_group",
"world_location",
"world_location_news_article",
"world_news_story",
"worldwide_office_staff_role",
"worldwide_organisation",
"written_statement"
],
"type": "string"
},
"first_published_at": {
"anyOf": [
{
"$ref": "#/definitions/first_published_at"
},
{
"type": "null"
}
]
},
"links": {
"additionalProperties": false,
"properties": {
"available_translations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"child_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"children": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"document_collections": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"facet_groups": {
"$ref": "#/definitions/frontend_links",
"description": "Prototype-stage metadata tagging tree roots for this content item. A content item my belong to many facet groups without having any specific facet_values links."
},
"facet_values": {
"$ref": "#/definitions/frontend_links",
"description": "Prototype-stage metadata tagging values for this content item, a content item can be linked to many facet values from varying facet groups."
},
"featured_policies": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Featured policies primarily for use with Whitehall organisations. Deprecated in favour of ordered_featured_policies."
},
"finder": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers links from content back to finders the content is surfaced on"
},
"lead_organisations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "DEPRECATED: A subset of organisations that should be emphasised in relation to this content item. All organisations specified here should also be part of the organisations array."
},
"level_one_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"mainstream_browse_pages": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers the /browse section of the site. These are known as sections in some legacy apps."
},
"meets_user_needs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The user needs this piece of content meets."
},
"ministers": {
"$ref": "#/definitions/frontend_links",
"description": "Link type automatically added by Publishing API"
},
"ordered_related_items": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger."
},
"ordered_related_items_overrides": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation."
},
"organisations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "All organisations linked to this content item. This should include lead organisations."
},
"original_primary_publishing_organisation": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The organisation that published the original version of the page. Corresponds to the first of the 'Lead organisations' in Whitehall for the first edition, and is empty for all other publishing applications."
},
"parent": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The parent content item.",
"maxItems": 1
},
"part_of_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"policies": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"policy_areas": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "A largely deprecated tag currently only used to power email alerts."
},
"primary_publishing_organisation": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The organisation that published the page. Corresponds to the first of the 'Lead organisations' in Whitehall, and is empty for all other publishing applications.",
"maxItems": 1
},
"related_to_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"role_appointments": {
"$ref": "#/definitions/frontend_links",
"description": "Link type automatically added by Publishing API"
},
"secondary_to_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"suggested_ordered_related_items": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "New A/B test suggestions for related items. Used for displaying related content on most pages, except for step-by-step and fatality notices. Links and their ordering are determined by the machine learning algorithms included in this A/B test."
},
"taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Prototype-stage taxonomy label for this content item"
},
"topic_taxonomy_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"topics": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers the /topic section of the site. These are known as specialist sectors in some legacy apps."
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"need_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"phase": {
"description": "The service design phase of this content item - https://www.gov.uk/service-manual/phases",
"enum": [
"alpha",
"beta",
"live"
],
"type": "string"
},
"public_updated_at": {
"anyOf": [
{
"$ref": "#/definitions/public_updated_at"
},
{
"type": "null"
}
]
},
"publishing_app": {
"$ref": "#/definitions/publishing_app_name"
},
"publishing_request_id": {
"$ref": "#/definitions/publishing_request_id"
},
"publishing_scheduled_at": {
"anyOf": [
{
"$ref": "#/definitions/publishing_scheduled_at"
},
{
"type": "null"
}
]
},
"rendering_app": {
"$ref": "#/definitions/rendering_app"
},
"scheduled_publishing_delay_seconds": {
"anyOf": [
{
"$ref": "#/definitions/scheduled_publishing_delay_seconds"
},
{
"type": "null"
}
]
},
"schema_name": {
"description": "Should be of the form 'placeholder_my_format_name'. 'placeholder' is allowed for backwards compatibility.",
"pattern": "^(placeholder|placeholder_.+)$",
"type": "string"
},
"title": {
"$ref": "#/definitions/title"
},
"updated_at": {
"_format": "date-time",
"type": "string"
},
"withdrawn_notice": {
"$ref": "#/definitions/withdrawn_notice"
}
},
"required": [
"base_path",
"content_id",
"description",
"details",
"document_type",
"links",
"locale",
"public_updated_at",
"schema_name",
"title",
"updated_at"
],
"type": "object"
} | o21323 |
{
"definitions": {
"properties": {
"minProperties": 1,
"patternProperties": {
"^\\w+$": {
"properties": {
"column": {
"type": "string"
},
"country": {
"type": "string"
},
"format": {
"type": "string"
},
"literal": {},
"nulls": {
"type": "array"
},
"transform": {
"type": "string"
},
"transforms": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
}
},
"properties": {
"collection": {
"type": "string"
},
"database": {
"type": "string"
},
"edges": {
"items": {
"properties": {
"label": {
"type": "string"
},
"properties": {
"$ref": "#/definitions/properties"
},
"source": {
"type": "string"
},
"target": {
"type": "string"
}
},
"required": [
"label",
"source",
"target"
],
"type": "object"
},
"type": "array"
},
"nodes": {
"minProperties": 1,
"patternProperties": {
"^\\w+$": {
"properties": {
"label": {
"type": "string"
},
"properties": {
"$ref": "#/definitions/properties"
}
},
"required": [
"label",
"properties"
],
"type": "object"
}
},
"type": "object"
},
"query": {
"type": "string"
},
"table": {
"type": "string"
}
},
"required": [
"database",
"collection",
"nodes"
],
"type": "object"
} | o76905 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/Config",
"definitions": {
"BazelStep": {
"properties": {
"build_targets": {
"items": {
"type": "string"
},
"type": "array",
"description": "List of bazel targets to build"
},
"test_targets": {
"items": {
"type": "string"
},
"type": "array",
"description": "List of bazel targets to test"
},
"build_flags": {
"items": {
"type": "string"
},
"type": "array",
"description": "Build flags to use in addition to defined in /etc/bazel.bazelrc"
},
"test_flags": {
"items": {
"type": "string"
},
"type": "array",
"description": "Test flags to use in addition to defined in /etc/bazel.bazelrc"
}
},
"additionalProperties": false,
"type": "object"
},
"BranchesAndPaths": {
"required": [
"branches"
],
"properties": {
"branches": {
"items": {
"type": "string"
},
"type": "array",
"description": "List of branch name masks (doubleglob) to match"
},
"paths": {
"items": {
"type": "string"
},
"type": "array",
"description": "List of path masks (doubleglob) to match. If not specified, all paths are matched"
},
"branches-ignore": {
"items": {
"type": "string"
},
"type": "array",
"description": "List of branch name masks (doubleglob) to ignore"
},
"paths-ignore": {
"items": {
"type": "string"
},
"type": "array",
"description": "List of path masks (doubleglob) to match. If not specified, all paths are ignored"
}
},
"additionalProperties": false,
"type": "object"
},
"BranchesOrTags": {
"anyOf": [
{
"required": [
"branches"
]
},
{
"required": [
"tags"
]
}
],
"properties": {
"branches": {
"items": {
"type": "string"
},
"type": "array",
"description": "List of branch name masks (doubleglob) to match"
},
"tags": {
"items": {
"type": "string"
},
"type": "array",
"description": "List of tag masks (doubleglob) to match"
},
"branches-ignore": {
"items": {
"type": "string"
},
"type": "array",
"description": "List of branch name masks (doubleglob) to ignore"
},
"tags-ignore": {
"items": {
"type": "string"
},
"type": "array",
"description": "List of tag masks (doubleglob) to ignore"
}
},
"additionalProperties": false,
"type": "object"
},
"Config": {
"required": [
"workflows"
],
"properties": {
"workflows": {
"items": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/Workflow"
},
"type": "array",
"description": "The list of FasterCI workflows"
}
},
"additionalProperties": false,
"type": "object"
},
"On": {
"anyOf": [
{
"required": [
"push"
]
},
{
"required": [
"pull_request"
]
}
],
"properties": {
"push": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/BranchesOrTags",
"description": "Run the workflow on code push"
},
"pull_request": {
"$ref": "#/definitions/BranchesAndPaths",
"description": "Run the workflow on pull request"
}
},
"additionalProperties": false,
"type": "object"
},
"Step": {
"anyOf": [
{
"required": [
"github_check_md_file"
]
},
{
"required": [
"run"
]
},
{
"required": [
"bazel"
]
}
],
"dependencies": {
"github_check": [
"name"
],
"github_check_md_file": [
"name"
]
},
"properties": {
"name": {
"type": "string",
"description": "Step name, optional"
},
"working-directory": {
"type": "string",
"description": "Directory to run the step instead of default repo directory"
},
"github_check": {
"type": "boolean",
"description": "Report the result of the step as a separate github check"
},
"github_check_md_file": {
"type": "string",
"description": "After completing the step, report as a separate Github Check, using the content of the file as a report body, optional"
},
"run": {
"type": "string",
"description": "Arbitrary command execution; Could be multiline"
},
"bazel": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/BazelStep",
"description": "Bazel step"
}
},
"additionalProperties": false,
"type": "object"
},
"Workflow": {
"required": [
"name",
"on"
],
"properties": {
"name": {
"type": "string",
"description": "Workflow name"
},
"on": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/On",
"description": "Event to activate the workflow on"
},
"image": {
"type": "string",
"description": "Docker image to run the workflow"
},
"cleanup": {
"type": "string",
"description": "optional cleanup command, executed after the workflow"
},
"max_parallel": {
"type": "integer",
"description": "optional maximum number of parallel runs of this workflow"
},
"env": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object",
"description": "Environment variables"
},
"secrets": {
"items": {
"type": "string"
},
"type": "array",
"description": "List of secrets to mount as environment variables"
},
"hide_from_github": {
"type": "boolean",
"description": "Do not notify github"
},
"init": {
"type": "string",
"description": "Optional command to run before the workflow. Use multiline for multiple commands"
},
"steps": {
"items": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/Step"
},
"type": "array",
"description": "List of workflow steps to execute"
}
},
"additionalProperties": false,
"type": "object"
}
}
} | config |
{
"properties": {
"billing_address": {
"description": "The billing address",
"type": "string"
},
"customer_name": {
"description": "The name of the customer",
"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",
"billing_address",
"items"
],
"type": "object"
} | create_invoice_a5c0684c |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://www.52north.org/schema/json/sos/response/Response#",
"type": "object",
"required": [
"request",
"service",
"version"
],
"properties": {
"request": {
"type": "string"
},
"version": {
"type": "string",
"enum": [
"1.0.0",
"2.0.0"
]
},
"service": {
"type": "string",
"enum": [
"SOS"
]
}
}
} | o75145 |
{
"$schema": "http://json-schema.org/draft-04/schema",
"_format": "date-time",
"description": "The RFC3339-formatted dated time of the most recent date the story was (re)displayed on a public site.",
"title": "Display_Date",
"type": "string"
} | wp_56_Normalized |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"pipetteName": {
"description": "Name of a pipette. Does not contain info about specific model/version. Should match keys in pipetteNameSpecs.json file",
"type": "string",
"enum": [
"p10_single",
"p10_multi",
"p50_single",
"p50_multi",
"p300_single",
"p300_multi",
"p1000_single",
"p1000_multi"
]
},
"pipette-model": {
"description": "DEPRECATED. Exists to support backwards compatibility",
"type": "string",
"$comment": "TODO: Ian 2018-11-06 remove this def and every usage of it",
"enum": [
"p10_single_v1",
"p10_multi_v1",
"p50_single_v1",
"p50_multi_v1",
"p300_single_v1",
"p300_multi_v1",
"p1000_single_v1",
"p1000_multi_v1",
"p10_single_v1.3",
"p10_multi_v1.3",
"p50_single_v1.3",
"p50_multi_v1.3",
"p300_single_v1.3",
"p300_multi_v1.3",
"p1000_single_v1.3",
"p1000_multi_v1.3"
]
},
"mm-offset": {
"description": "Millimeters for pipette location offsets",
"type": "number"
},
"flow-rate-for-pipettes": {
"description": "Flow rate in mm/sec for each pipette model used in the protocol",
"type": "object",
"propertyNames": {
"$ref": "#/definitions/pipetteName"
},
"patternProperties": {
".*": {
"type": "number"
}
},
"additionalProperties": false
},
"flow-rate-params": {
"properties": {
"flow-rate": {
"description": "Flow rate for aspirate/dispense. If omitted, defaults to the corresponding values in \"default-values\"",
"type": "number"
}
}
},
"offsetFromBottomMm": {
"description": "Offset from bottom of well in millimeters",
"properties": {
"offsetFromBottomMm": {
"$ref": "#/definitions/mm-offset"
}
}
},
"pipette-access-params": {
"required": [
"pipette",
"labware",
"well"
],
"properties": {
"pipette": {
"type": "string"
},
"labware": {
"type": "string"
},
"well": {
"type": "string"
}
}
},
"volume-params": {
"required": [
"volume"
],
"volume": {
"type": "number"
}
}
},
"type": "object",
"additionalProperties": false,
"required": [
"protocol-schema",
"default-values",
"metadata",
"robot",
"pipettes",
"labware",
"procedure"
],
"properties": {
"protocol-schema": {
"description": "A version string for the Opentrons JSON Protocol schema being used. \"<major>.<minor>.<patch>\"",
"type": "string"
},
"metadata": {
"description": "Optional metadata about the protocol",
"type": "object",
"properties": {
"protocol-name": {
"description": "A short, human-readable name for the protocol",
"type": "string"
},
"author": {
"description": "The author or organization who created the protocol",
"type": "string"
},
"description": {
"description": "A text description of the protocol. For guidelines about how to write a good description, see (TODO WRITE DOCS & LINK HERE)",
"type": [
"string",
"null"
]
},
"created": {
"description": "UNIX timestamp when this file was created",
"type": "number"
},
"last-modified": {
"description": "UNIX timestamp when this file was last modified",
"type": [
"number",
"null"
]
},
"category": {
"description": "Category of protocol (eg, \"Basic Pipetting\")",
"type": [
"string",
"null"
]
},
"subcategory": {
"description": "Subcategory of protocol (eg, \"Cell Plating\")",
"type": [
"string",
"null"
]
},
"tags": {
"description": "Tags to be used in searching for this protocol",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"default-values": {
"description": "Default values required for protocol execution",
"type": "object",
"$note": "TODO: Ian 2018-10-29 make touch-tip-mm-from-top required (breaking change)",
"required": [
"aspirate-flow-rate",
"dispense-flow-rate",
"aspirate-mm-from-bottom",
"dispense-mm-from-bottom"
],
"properties": {
"aspirate-flow-rate": {
"$ref": "#/definitions/flow-rate-for-pipettes"
},
"dispense-flow-rate": {
"$ref": "#/definitions/flow-rate-for-pipettes"
},
"aspirate-mm-from-bottom": {
"$ref": "#/definitions/mm-offset"
},
"dispense-mm-from-bottom": {
"$ref": "#/definitions/mm-offset"
},
"touch-tip-mm-from-top": {
"$ref": "#/definitions/mm-offset"
}
}
},
"designer-application": {
"description": "Optional data & metadata not required to execute the protocol, used by the application that created this protocol",
"type": "object",
"properties": {
"application-name": {
"description": "Name of the application that created the protocol. Should be namespaced under the organization or individual who owns the organization, and be kebab-cased, eg \"opentrons/protocol-designer\"",
"type": "string"
},
"application-version": {
"description": "Version of the application that created the protocol",
"type": "string"
},
"data": {
"description": "Any data used by the application that created this protocol)",
"type": "object"
}
}
},
"robot": {
"required": [
"model"
],
"properties": {
"model": {
"description": "Model of the robot this (currently only OT-2 Standard is supported)",
"type": "string",
"enum": [
"OT-2 Standard"
]
}
}
},
"pipettes": {
"description": "The pipettes used in this protocol, keyed by an arbitrary unique ID",
"additionalProperties": false,
"$comment": "TODO: Ian 2018-11-06 next breaking change, drop 'model' and require 'name' field",
"patternProperties": {
".+": {
"description": "Fields describing an individual pipette",
"type": "object",
"required": [
"mount",
"model"
],
"properties": {
"mount": {
"description": "Where the pipette is mounted",
"type": "string",
"enum": [
"left",
"right"
]
},
"name": {
"$ref": "#/definitions/pipetteName"
},
"model": {
"$ref": "#/definitions/pipette-model"
}
}
}
}
},
"labware": {
"description": "The labware used in this protocol, keyed by an arbitrary unique ID",
"patternProperties": {
".+": {
"description": "Fields describing a single labware on the deck",
"type": "object",
"required": [
"slot",
"model"
],
"properties": {
"slot": {
"description": "Which slot on the deck of an OT-2 robot the labware is placed into",
"type": "string",
"enum": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12"
]
},
"model": {
"description": "Labware type, eg \"96-flat\". See http://docs.opentrons.com/containers.html for a full list of supported labware. TODO support custom labware in JSON",
"type": "string"
},
"display-name": {
"description": "An optional human-readable nickname for this labware. Eg \"Buffer Trough\"",
"type": "string"
}
}
}
}
},
"procedure": {
"description": "An array of \"subprocedure\" objects representing the steps to be executed on the robot",
"type": "array",
"items": {
"type": "object",
"required": [
"subprocedure"
],
"properties": {
"annotation": {
"description": "Optional info annotating the subprocedure",
"type": "object",
"required": [
"name",
"description"
],
"properties": {
"name": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
}
}
},
"subprocedure": {
"type": "array",
"items": {
"anyOf": [
{
"description": "Aspirate / dispense / air gap commands",
"type": "object",
"required": [
"command",
"params"
],
"additionalProperties": false,
"properties": {
"command": {
"enum": [
"aspirate",
"dispense",
"air-gap"
]
},
"params": {
"allOf": [
{
"$ref": "#/definitions/flow-rate-params"
},
{
"$ref": "#/definitions/pipette-access-params"
},
{
"$ref": "#/definitions/volume-params"
},
{
"$ref": "#/definitions/offsetFromBottomMm"
}
]
}
}
},
{
"description": "Touch tip commands",
"type": "object",
"required": [
"command",
"params"
],
"additionalProperties": false,
"properties": {
"command": {
"enum": [
"touch-tip"
]
},
"params": {
"allOf": [
{
"$ref": "#/definitions/pipette-access-params"
},
{
"$ref": "#/definitions/offsetFromBottomMm"
}
]
}
}
},
{
"description": "Pick up tip / drop tip / blowout commands",
"type": "object",
"required": [
"command",
"params"
],
"additionalProperties": false,
"properties": {
"command": {
"enum": [
"pick-up-tip",
"drop-tip",
"blowout"
]
},
"params": {
"allOf": [
{
"$ref": "#/definitions/pipette-access-params"
}
]
}
}
},
{
"description": "Delay command",
"type": "object",
"required": [
"command",
"params"
],
"additionalProperties": false,
"properties": {
"command": {
"enum": [
"delay"
]
},
"params": {
"type": "object",
"additionalProperties": false,
"required": [
"wait"
],
"properties": {
"wait": {
"description": "either a number of seconds to wait (fractional values OK), or `true` to wait indefinitely until the user manually resumes the protocol",
"anyOf": [
{
"type": "number"
},
{
"enum": [
true
]
}
]
},
"message": {
"description": "optional message describing the delay"
}
}
}
}
}
]
}
}
}
}
}
}
} | o12459 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Root iAgree states schema.",
"description": "iAgree v2 states JSON schema",
"type": "object",
"properties": {
"agreementId": {
"type": "string"
},
"stateType": {
"type": "string"
},
"id": {
"type": "string"
},
"period": {
"type": "object",
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
}
},
"required": [
"from",
"to"
]
},
"scope": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9]*$": {}
}
},
"window": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9]*$": {}
}
},
"records": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
},
"time": {
"type": "string"
}
},
"required": [
"value",
"time"
]
}
}
},
"required": [
"agreementId",
"stateType",
"id",
"period",
"scope",
"window",
"records"
]
} | o48095 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"definitions": {
"valuePath": {
"title": "Value Path",
"description": "JSON Path of where to find value to check in payload",
"type": "string",
"minLength": 1
},
"_changeTypeOthers": {
"title": "Change Type",
"enum": [
"percent",
"percentInc",
"percentDec",
"value",
"valueInc",
"valueDec"
]
},
"_changeTypeAny": {
"title": "Change Type",
"enum": [
"any"
]
},
"changeThreshold": {
"title": "Change Threshold",
"description": "Amount of change required",
"type": "number"
},
"prevValuePath": {
"title": "Previous Value Path",
"description": "JSON path of where to put the previous triggering value and time",
"type": "string",
"minLength": 1
}
},
"oneOf": [
{
"properties": {
"valuePath": {
"$ref": "#/definitions/valuePath"
},
"changeType": {
"$ref": "#/definitions/_changeTypeOthers"
},
"changeThreshold": {
"$ref": "#/definitions/changeThreshold"
},
"prevValuePath": {
"$ref": "#/definitions/prevValuePath"
}
},
"required": [
"valuePath",
"changeType",
"changeThreshold"
],
"additionalProperties": false
},
{
"properties": {
"valuePath": {
"$ref": "#/definitions/valuePath"
},
"changeType": {
"$ref": "#/definitions/_changeTypeAny"
},
"prevValuePath": {
"$ref": "#/definitions/prevValuePath"
}
},
"required": [
"valuePath",
"changeType"
],
"additionalProperties": false
}
]
} | o6227 |
{
"additionalProperties": false,
"properties": {
"algorithm": {
"maximum": 2,
"minimum": 1,
"type": "integer"
},
"fingerprint": {
"pattern": "^[0-9A-Fa-f]{40}$",
"type": "string"
},
"type": {
"maximum": 1,
"minimum": 1,
"type": "integer"
}
},
"required": [
"algorithm",
"type",
"fingerprint"
]
} | o55349 |
{
"additionalProperties": false,
"description": "TSIG Key",
"properties": {
"tsigkey": {
"additionalProperties": false,
"properties": {
"algorithm": {
"description": "TSIG Algorithm",
"enum": [
"hmac-md5",
"hmac-sha1",
"hmac-sha224",
"hmac-sha256",
"hmac-sha384",
"hmac-sha512"
],
"type": "string"
},
"created_at": {
"description": "Date and time of tsigkeyed zone creation",
"format": "date-time",
"readOnly": true,
"type": "string"
},
"id": {
"description": "TSIG Key Identifier",
"format": "uuid",
"readOnly": true,
"type": "string"
},
"links": {
"additionalProperties": false,
"properties": {
"self": {
"format": "url",
"type": "string"
}
},
"type": "object"
},
"name": {
"description": "TSIG Key Name",
"maxLength": 255,
"type": "string"
},
"resource_id": {
"description": "TSIG Key Resource ID",
"format": "uuid",
"type": "string"
},
"scope": {
"description": "TSIG Key Scope",
"enum": [
"POOL",
"ZONE"
],
"type": "string"
},
"secret": {
"description": "TSIG Secret",
"maxLength": 255,
"type": "string"
},
"updated_at": {
"description": "Date and time of last tsigkeyed zone update",
"format": "date-time",
"readOnly": true,
"type": [
"string",
"null"
]
}
},
"required": [
"name",
"algorithm",
"secret",
"scope",
"resource_id"
],
"type": "object"
}
},
"required": [
"tsigkey"
],
"title": "tsigkey"
} | o55359 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1_NonResourceAttributes": {
"description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface",
"properties": {
"path": {
"description": "Path is the URL path of the request",
"type": "string"
},
"verb": {
"description": "Verb is the standard HTTP verb",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1_ResourceAttributes": {
"description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface",
"properties": {
"group": {
"description": "Group is the API Group of the Resource. \"*\" means all.",
"type": "string"
},
"name": {
"description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview",
"type": "string"
},
"resource": {
"description": "Resource is one of the existing resource types. \"*\" means all.",
"type": "string"
},
"subresource": {
"description": "Subresource is one of the existing resource types. \"\" means none.",
"type": "string"
},
"verb": {
"description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.",
"type": "string"
},
"version": {
"description": "Version is the API Version of the Resource. \"*\" means all.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1_SubjectAccessReviewSpec": {
"description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set",
"properties": {
"extra": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.",
"type": "object"
},
"groups": {
"description": "Groups is the groups you're testing for.",
"items": {
"type": "string"
},
"type": "array"
},
"nonResourceAttributes": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1_NonResourceAttributes",
"description": "NonResourceAttributes describes information for a non-resource access request"
},
"resourceAttributes": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1_ResourceAttributes",
"description": "ResourceAuthorizationAttributes describes information for a resource access request"
},
"uid": {
"description": "UID information about the requesting user.",
"type": "string"
},
"user": {
"description": "User is the user you're testing for. If you specify \"User\" but not \"Groups\", then is it interpreted as \"What if User were not a member of any groups",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1_SubjectAccessReviewStatus": {
"description": "SubjectAccessReviewStatus",
"properties": {
"allowed": {
"description": "Allowed is required. True if the action would be allowed, false otherwise.",
"type": "boolean"
},
"denied": {
"description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.",
"type": "boolean"
},
"evaluationError": {
"description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.",
"type": "string"
},
"reason": {
"description": "Reason is optional. It indicates why a request was allowed or denied.",
"type": "string"
}
},
"required": [
"allowed"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1": {
"description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff",
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry": {
"description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.",
"type": "string"
},
"fieldsType": {
"description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
"type": "string"
},
"fieldsV1": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1",
"description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type."
},
"manager": {
"description": "Manager is an identifier of the workflow managing these fields.",
"type": "string"
},
"operation": {
"description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.",
"type": "string"
},
"time": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta": {
"description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations",
"type": "object"
},
"clusterName": {
"description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.",
"type": "string"
},
"creationTimestamp": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"deletionGracePeriodSeconds": {
"_format": "int64",
"description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"finalizers": {
"description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.",
"items": {
"type": "string"
},
"type": "array",
"x-kubernetes-patch-strategy": "merge"
},
"generateName": {
"description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency",
"type": "string"
},
"generation": {
"_format": "int64",
"description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
"type": "integer"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels",
"type": "object"
},
"managedFields": {
"description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
"type": "string"
},
"namespace": {
"description": "Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces",
"type": "string"
},
"ownerReferences": {
"description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_OwnerReference"
},
"type": "array",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
},
"resourceVersion": {
"description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
"type": "string"
},
"selfLink": {
"description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.",
"type": "string"
},
"uid": {
"description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_OwnerReference": {
"description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.",
"properties": {
"apiVersion": {
"description": "API version of the referent.",
"type": "string"
},
"blockOwnerDeletion": {
"description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.",
"type": "boolean"
},
"controller": {
"description": "If true, this reference points to the managing controller.",
"type": "boolean"
},
"kind": {
"description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"name": {
"description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
"type": "string"
},
"uid": {
"description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time": {
"_format": "date-time",
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": "string"
}
},
"description": "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.",
"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": [
"authorization.k8s.io/v1"
],
"type": [
"string",
"null"
]
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"enum": [
"LocalSubjectAccessReview"
],
"type": [
"string",
"null"
]
},
"metadata": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta"
},
"spec": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1_SubjectAccessReviewSpec",
"description": "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted."
},
"status": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_authorization_v1_SubjectAccessReviewStatus",
"description": "Status is filled in by the server and indicates whether the request is allowed or not"
}
},
"required": [
"spec"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "authorization.k8s.io",
"kind": "LocalSubjectAccessReview",
"version": "v1"
}
]
} | kb_543_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Pass",
"description": "A Pass Data Json Format",
"type": "object",
"properties": {
"passTypeIdentifier": {
"type": "string"
},
"formatVersion": {
"type": "integer",
"default": 1
},
"organizationName": {
"type": "string"
},
"serialNumber": {
"type": "string"
},
"teamIdentifier": {
"type": "string"
},
"webServiceURL": {
"type": "string"
},
"authenticationToken": {
"type": "string"
},
"description": {
"type": "string"
},
"foregroundColor": {
"type": "string",
"default": "rgb(255, 255, 255)"
},
"backgroundColor": {
"type": "string",
"default": "rgb(55, 117, 50)"
},
"logoText": {
"type": "string",
"default": "iVeew"
},
"locations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"latitude": {
"type": "number",
"default": 52.497181
},
"longitude": {
"type": "number",
"default": 13.384972
}
}
}
},
"relevantDate": {
"type": "string",
"default": "2014-06-07"
},
"barcode": {
"type": "object",
"properties": {
"messageEncoding": {
"type": "string",
"default": "utf-8"
},
"format": {
"type": "string",
"default": "PKBarcodeFormatQR"
},
"message": {
"type": "string",
"default": "---"
}
}
},
"storeCard": {
"type": "object"
}
},
"required": [
"passTypeIdentifier",
"organizationName",
"description"
]
}
| o45596 |
{
"$schema": "http://json-schema.org/draft-04/schema",
"allOf": [
{
"properties": {
"body": {
"$ref": "#/definitions/https:__raw_githubusercontent_com_washingtonpost_ans-schema_master_src_main_resources_schema_ans_0_10_9_traits_trait_platform_pitch_json",
"description": "The object being inserted/updated"
},
"date": {
"_format": "date-time",
"description": "When the operation should be considered performed",
"type": "string"
},
"id": {
"description": "The id of the item being operated",
"type": "string"
},
"operation": {
"description": "The identifier of the operation being performed",
"enum": [
"create",
"update"
],
"type": "string"
},
"organization_id": {
"description": "The id of the organization",
"type": "string"
},
"type": {
"description": "Identifies this as an ANS operation",
"enum": [
"platform-pitch-operation"
],
"type": "string"
},
"version": {
"description": "The version of ANS this item is written in",
"type": "string"
}
},
"required": [
"type",
"operation",
"id",
"organization_id",
"body"
]
}
],
"definitions": {
"https:__raw_githubusercontent_com_washingtonpost_ans-schema_master_src_main_resources_schema_ans_0_10_9_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"
},
"https:__raw_githubusercontent_com_washingtonpost_ans-schema_master_src_main_resources_schema_ans_0_10_9_traits_trait_platform_pitch_event_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "Trait that represents an update event for a pitch to a platform. In the Arc ecosystem, this data is generated by WebSked.",
"properties": {
"additional_properties": {
"$ref": "#/definitions/https:__raw_githubusercontent_com_washingtonpost_ans-schema_master_src_main_resources_schema_ans_0_10_9_traits_trait_additional_properties_json"
},
"note": {
"description": "Optional note associated with this update.",
"type": "string"
},
"status": {
"description": "The current status of the pitch.",
"pattern": "^([a-z]|[ ])*$",
"type": "string"
},
"time": {
"_format": "date-time",
"description": "The time of this update.",
"type": "string"
},
"user_id": {
"description": "The ID of the user who made this update.",
"type": "string"
}
},
"title": "Platform pitch event",
"type": "object"
},
"https:__raw_githubusercontent_com_washingtonpost_ans-schema_master_src_main_resources_schema_ans_0_10_9_traits_trait_platform_pitch_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "Trait that represents a pitch to a platform. In the Arc ecosystem, this data is generated by WebSked.",
"properties": {
"additional_properties": {
"$ref": "#/definitions/https:__raw_githubusercontent_com_washingtonpost_ans-schema_master_src_main_resources_schema_ans_0_10_9_traits_trait_additional_properties_json"
},
"creation_event": {
"$ref": "#/definitions/https:__raw_githubusercontent_com_washingtonpost_ans-schema_master_src_main_resources_schema_ans_0_10_9_traits_trait_platform_pitch_event_json"
},
"latest_event": {
"$ref": "#/definitions/https:__raw_githubusercontent_com_washingtonpost_ans-schema_master_src_main_resources_schema_ans_0_10_9_traits_trait_platform_pitch_event_json"
},
"platform_path": {
"description": "The path of the platform that this pitch targets.",
"type": "string"
}
},
"title": "Platform pitch",
"type": "object"
}
},
"description": "An operation to add or update a story's pitch to a WebSked platform.",
"type": "object"
} | wp_11_Normalized |
{
"properties": {
"person1": {
"properties": {
"birthdate": {
"description": "The birthdate of the first person in YYYY-MM-DD format",
"format": "date",
"type": "string"
}
},
"required": [
"birthdate"
],
"type": "object"
},
"person2": {
"properties": {
"birthdate": {
"description": "The birthdate of the second person in YYYY-MM-DD format",
"format": "date",
"type": "string"
}
},
"required": [
"birthdate"
],
"type": "object"
}
},
"required": [
"person1",
"person2"
],
"type": "object"
} | calculate_age_difference_69307974 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_certificates_v1beta1_CertificateSigningRequestCondition": {
"properties": {
"lastUpdateTime": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "timestamp for the last update to this condition"
},
"message": {
"description": "human readable message with details about the request state",
"type": "string"
},
"reason": {
"description": "brief reason for the request state",
"type": "string"
},
"type": {
"description": "request approval state, currently Approved or Denied.",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_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"
}
},
"properties": {
"certificate": {
"description": "If request was approved, the controller will place the issued certificate here.",
"format": "byte",
"type": [
"string",
"null"
]
},
"conditions": {
"description": "Conditions applied to the request, such as approval or denial.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_certificates_v1beta1_CertificateSigningRequestCondition"
},
"type": [
"array",
"null"
]
}
},
"type": "object"
} | kb_75_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "VS Code Debug Protocol",
"description": "A json schema for the VS Code Debug Protocol",
"type": "object",
"definitions": {
"ProtocolMessage": {
"type": "object",
"description": "Base class of requests, responses, and events.",
"properties": {
"seq": {
"type": "integer",
"description": "Sequence number."
},
"type": {
"type": "string",
"description": "One of 'request', 'response', or 'event'.",
"_enum": [
"request",
"response",
"event"
]
}
},
"required": [
"seq",
"type"
]
},
"Request": {
"allOf": [
{
"$ref": "#/definitions/ProtocolMessage"
},
{
"type": "object",
"description": "A client or server-initiated request.",
"properties": {
"type": {
"type": "string",
"enum": [
"request"
]
},
"command": {
"type": "string",
"description": "The command to execute."
},
"arguments": {
"type": [
"array",
"boolean",
"integer",
"null",
"number",
"object",
"string"
],
"description": "Object containing arguments for the command."
}
},
"required": [
"type",
"command"
]
}
]
},
"Event": {
"allOf": [
{
"$ref": "#/definitions/ProtocolMessage"
},
{
"type": "object",
"description": "Server-initiated event.",
"properties": {
"type": {
"type": "string",
"enum": [
"event"
]
},
"event": {
"type": "string",
"description": "Type of event."
},
"body": {
"type": [
"array",
"boolean",
"integer",
"null",
"number",
"object",
"string"
],
"description": "Event-specific information."
}
},
"required": [
"type",
"event"
]
}
]
},
"Response": {
"allOf": [
{
"$ref": "#/definitions/ProtocolMessage"
},
{
"type": "object",
"description": "Response to a request.",
"properties": {
"type": {
"type": "string",
"enum": [
"response"
]
},
"request_seq": {
"type": "integer",
"description": "Sequence number of the corresponding request."
},
"success": {
"type": "boolean",
"description": "Outcome of the request."
},
"command": {
"type": "string",
"description": "The command requested."
},
"message": {
"type": "string",
"description": "Contains error message if success == false."
},
"body": {
"type": [
"array",
"boolean",
"integer",
"null",
"number",
"object",
"string"
],
"description": "Contains request result if success is true and optional error details if success is false."
}
},
"required": [
"type",
"request_seq",
"success",
"command"
]
}
]
},
"InitializedEvent": {
"allOf": [
{
"$ref": "#/definitions/Event"
},
{
"type": "object",
"description": "Event message for 'initialized' event type.\nThis event indicates that the debug adapter is ready to accept configuration requests (e.g. SetBreakpointsRequest, SetExceptionBreakpointsRequest).\nA debug adapter is expected to send this event when it is ready to accept configuration requests (but not before the InitializeRequest has finished).\nThe sequence of events/requests is as follows:\n- adapters sends InitializedEvent (after the InitializeRequest has returned)\n- frontend sends zero or more SetBreakpointsRequest\n- frontend sends one SetFunctionBreakpointsRequest\n- frontend sends a SetExceptionBreakpointsRequest if one or more exceptionBreakpointFilters have been defined (or if supportsConfigurationDoneRequest is not defined or false)\n- frontend sends other future configuration requests\n- frontend sends one ConfigurationDoneRequest to indicate the end of the configuration",
"properties": {
"event": {
"type": "string",
"enum": [
"initialized"
]
}
},
"required": [
"event"
]
}
]
},
"StoppedEvent": {
"allOf": [
{
"$ref": "#/definitions/Event"
},
{
"type": "object",
"description": "Event message for 'stopped' event type.\nThe event indicates that the execution of the debuggee has stopped due to some condition.\nThis can be caused by a break point previously set, a stepping action has completed, by executing a debugger statement etc.",
"properties": {
"event": {
"type": "string",
"enum": [
"stopped"
]
},
"body": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"description": "The reason for the event (such as: 'step', 'breakpoint', 'exception', 'pause'). This string is shown in the UI.",
"_enum": [
"step",
"breakpoint",
"exception",
"pause"
]
},
"threadId": {
"type": "integer",
"description": "The thread which was stopped."
},
"text": {
"type": "string",
"description": "Additional information. E.g. if reason is 'exception', text contains the exception name. This string is shown in the UI."
},
"allThreadsStopped": {
"type": "boolean",
"description": "If allThreadsStopped is true, a debug adapter can announce that all threads have stopped.\n* The client should use this information to enable that all threads can be expanded to access their stacktraces.\n* If the attribute is missing or false, only the thread with the given threadId can be expanded."
}
},
"required": [
"reason"
]
}
},
"required": [
"event",
"body"
]
}
]
},
"ContinuedEvent": {
"allOf": [
{
"$ref": "#/definitions/Event"
},
{
"type": "object",
"description": "Event message for 'continued' event type.\nThe event indicates that the execution of the debuggee has continued.\nPlease note: a debug adapter is not expected to send this event in response to a request that implies that execution continues, e.g. 'launch' or 'continue'.\nIt is only necessary to send a ContinuedEvent if there was no previous request that implied this.",
"properties": {
"event": {
"type": "string",
"enum": [
"continued"
]
},
"body": {
"type": "object",
"properties": {
"threadId": {
"type": "integer",
"description": "The thread which was continued."
},
"allThreadsContinued": {
"type": "boolean",
"description": "If allThreadsContinued is true, a debug adapter can announce that all threads have continued."
}
},
"required": [
"threadId"
]
}
},
"required": [
"event",
"body"
]
}
]
},
"ExitedEvent": {
"allOf": [
{
"$ref": "#/definitions/Event"
},
{
"type": "object",
"description": "Event message for 'exited' event type.\nThe event indicates that the debuggee has exited.",
"properties": {
"event": {
"type": "string",
"enum": [
"exited"
]
},
"body": {
"type": "object",
"properties": {
"exitCode": {
"type": "integer",
"description": "The exit code returned from the debuggee."
}
},
"required": [
"exitCode"
]
}
},
"required": [
"event",
"body"
]
}
]
},
"TerminatedEvent": {
"allOf": [
{
"$ref": "#/definitions/Event"
},
{
"type": "object",
"description": "Event message for 'terminated' event types.\nThe event indicates that debugging of the debuggee has terminated.",
"properties": {
"event": {
"type": "string",
"enum": [
"terminated"
]
},
"body": {
"type": "object",
"properties": {
"restart": {
"type": "boolean",
"description": "A debug adapter may set 'restart' to true to request that the front end restarts the session."
}
}
}
},
"required": [
"event"
]
}
]
},
"ThreadEvent": {
"allOf": [
{
"$ref": "#/definitions/Event"
},
{
"type": "object",
"description": "Event message for 'thread' event type.\nThe event indicates that a thread has started or exited.",
"properties": {
"event": {
"type": "string",
"enum": [
"thread"
]
},
"body": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"description": "The reason for the event (such as: 'started', 'exited').",
"_enum": [
"started",
"exited"
]
},
"threadId": {
"type": "integer",
"description": "The identifier of the thread."
}
},
"required": [
"reason",
"threadId"
]
}
},
"required": [
"event",
"body"
]
}
]
},
"OutputEvent": {
"allOf": [
{
"$ref": "#/definitions/Event"
},
{
"type": "object",
"description": "Event message for 'output' event type.\nThe event indicates that the target has produced output.",
"properties": {
"event": {
"type": "string",
"enum": [
"output"
]
},
"body": {
"type": "object",
"properties": {
"category": {
"type": "string",
"description": "The category of output (such as: 'console', 'stdout', 'stderr', 'telemetry'). If not specified, 'console' is assumed.",
"_enum": [
"console",
"stdout",
"stderr",
"telemetry"
]
},
"output": {
"type": "string",
"description": "The output to report."
},
"data": {
"type": [
"array",
"boolean",
"integer",
"null",
"number",
"object",
"string"
],
"description": "Optional data to report. For the 'telemetry' category the data will be sent to telemetry, for the other categories the data is shown in JSON format."
}
},
"required": [
"output"
]
}
},
"required": [
"event",
"body"
]
}
]
},
"BreakpointEvent": {
"allOf": [
{
"$ref": "#/definitions/Event"
},
{
"type": "object",
"description": "Event message for 'breakpoint' event type.\nThe event indicates that some information about a breakpoint has changed.",
"properties": {
"event": {
"type": "string",
"enum": [
"breakpoint"
]
},
"body": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"description": "The reason for the event (such as: 'changed', 'new').",
"_enum": [
"changed",
"new"
]
},
"breakpoint": {
"$ref": "#/definitions/Breakpoint",
"description": "The breakpoint."
}
},
"required": [
"reason",
"breakpoint"
]
}
},
"required": [
"event",
"body"
]
}
]
},
"ModuleEvent": {
"allOf": [
{
"$ref": "#/definitions/Event"
},
{
"type": "object",
"description": "Event message for 'module' event type.\nThe event indicates that some information about a module has changed.",
"properties": {
"event": {
"type": "string",
"enum": [
"module"
]
},
"body": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"description": "The reason for the event.",
"enum": [
"new",
"changed",
"removed"
]
},
"module": {
"$ref": "#/definitions/Module",
"description": "The new, changed, or removed module. In case of 'removed' only the module id is used."
}
},
"required": [
"reason",
"module"
]
}
},
"required": [
"event",
"body"
]
}
]
},
"RunInTerminalRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "runInTerminal request; value of command field is 'runInTerminal'.\nWith this request a debug adapter can run a command in a terminal.",
"properties": {
"command": {
"type": "string",
"enum": [
"runInTerminal"
]
},
"arguments": {
"$ref": "#/definitions/RunInTerminalRequestArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"RunInTerminalRequestArguments": {
"type": "object",
"description": "Arguments for 'runInTerminal' request.",
"properties": {
"kind": {
"type": "string",
"enum": [
"integrated",
"external"
],
"description": "What kind of terminal to launch."
},
"title": {
"type": "string",
"description": "Optional title of the terminal."
},
"cwd": {
"type": "string",
"description": "Working directory of the command."
},
"args": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of arguments. The first argument is the command to run."
},
"env": {
"type": "object",
"description": "Environment key-value pairs that are added to the default environment.",
"additionalProperties": {
"type": "string",
"description": "Values must be strings."
}
}
},
"required": [
"args",
"cwd"
]
},
"RunInTerminalResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to Initialize request.",
"properties": {
"body": {
"type": "object",
"properties": {
"processId": {
"type": "number",
"description": "The process ID."
}
}
}
},
"required": [
"body"
]
}
]
},
"ErrorResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "On error that is whenever 'success' is false, the body can provide more details.",
"properties": {
"body": {
"type": "object",
"properties": {
"error": {
"$ref": "#/definitions/Message",
"description": "An optional, structured error message."
}
}
}
},
"required": [
"body"
]
}
]
},
"InitializeRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "Initialize request; value of command field is 'initialize'.",
"properties": {
"command": {
"type": "string",
"enum": [
"initialize"
]
},
"arguments": {
"$ref": "#/definitions/InitializeRequestArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"InitializeRequestArguments": {
"type": "object",
"description": "Arguments for 'initialize' request.",
"properties": {
"adapterID": {
"type": "string",
"description": "The ID of the debugger adapter. Used to select or verify debugger adapter."
},
"linesStartAt1": {
"type": "boolean",
"description": "If true all line numbers are 1-based (default)."
},
"columnsStartAt1": {
"type": "boolean",
"description": "If true all column numbers are 1-based (default)."
},
"pathFormat": {
"type": "string",
"_enum": [
"path",
"uri"
],
"description": "Determines in what format paths are specified. Possible values are 'path' or 'uri'. The default is 'path', which is the native format."
},
"supportsVariableType": {
"type": "boolean",
"description": "Client supports the optional type attribute for variables."
},
"supportsVariablePaging": {
"type": "boolean",
"description": "Client supports the paging of variables."
},
"supportsRunInTerminalRequest": {
"type": "boolean",
"description": "Client supports the runInTerminal request."
}
},
"required": [
"adapterID"
]
},
"InitializeResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'initialize' request.",
"properties": {
"body": {
"$ref": "#/definitions/Capabilities",
"description": "The capabilities of this debug adapter."
}
}
}
]
},
"ConfigurationDoneRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "ConfigurationDone request; value of command field is 'configurationDone'.\nThe client of the debug protocol must send this request at the end of the sequence of configuration requests (which was started by the InitializedEvent).",
"properties": {
"command": {
"type": "string",
"enum": [
"configurationDone"
]
},
"arguments": {
"$ref": "#/definitions/ConfigurationDoneArguments"
}
},
"required": [
"command"
]
}
]
},
"ConfigurationDoneArguments": {
"type": "object",
"description": "Arguments for 'configurationDone' request.\nThe configurationDone request has no standardized attributes."
},
"ConfigurationDoneResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'configurationDone' request. This is just an acknowledgement, so no body field is required."
}
]
},
"LaunchRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "Launch request; value of command field is 'launch'.",
"properties": {
"command": {
"type": "string",
"enum": [
"launch"
]
},
"arguments": {
"$ref": "#/definitions/LaunchRequestArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"LaunchRequestArguments": {
"type": "object",
"description": "Arguments for 'launch' request.",
"properties": {
"noDebug": {
"type": "boolean",
"description": "If noDebug is true the launch request should launch the program without enabling debugging."
}
}
},
"LaunchResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'launch' request. This is just an acknowledgement, so no body field is required."
}
]
},
"AttachRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "Attach request; value of command field is 'attach'.",
"properties": {
"command": {
"type": "string",
"enum": [
"attach"
]
},
"arguments": {
"$ref": "#/definitions/AttachRequestArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"AttachRequestArguments": {
"type": "object",
"description": "Arguments for 'attach' request.\nThe attach request has no standardized attributes."
},
"AttachResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'attach' request. This is just an acknowledgement, so no body field is required."
}
]
},
"DisconnectRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "Disconnect request; value of command field is 'disconnect'.",
"properties": {
"command": {
"type": "string",
"enum": [
"disconnect"
]
},
"arguments": {
"$ref": "#/definitions/DisconnectArguments"
}
},
"required": [
"command"
]
}
]
},
"DisconnectArguments": {
"type": "object",
"description": "Arguments for 'disconnect' request.\nThe disconnect request has no standardized attributes."
},
"DisconnectResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'disconnect' request. This is just an acknowledgement, so no body field is required."
}
]
},
"SetBreakpointsRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "SetBreakpoints request; value of command field is 'setBreakpoints'.\nSets multiple breakpoints for a single source and clears all previous breakpoints in that source.\nTo clear all breakpoint for a source, specify an empty array.\nWhen a breakpoint is hit, a StoppedEvent (event type 'breakpoint') is generated.",
"properties": {
"command": {
"type": "string",
"enum": [
"setBreakpoints"
]
},
"arguments": {
"$ref": "#/definitions/SetBreakpointsArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"SetBreakpointsArguments": {
"type": "object",
"description": "Arguments for 'setBreakpoints' request.",
"properties": {
"source": {
"$ref": "#/definitions/Source",
"description": "The source location of the breakpoints; either source.path or source.reference must be specified."
},
"breakpoints": {
"type": "array",
"items": {
"$ref": "#/definitions/SourceBreakpoint"
},
"description": "The code locations of the breakpoints."
},
"lines": {
"type": "array",
"items": {
"type": "integer"
},
"description": "Deprecated: The code locations of the breakpoints."
},
"sourceModified": {
"type": "boolean",
"description": "A value of true indicates that the underlying source has been modified which results in new breakpoint locations."
}
},
"required": [
"source"
]
},
"SetBreakpointsResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'setBreakpoints' request.\nReturned is information about each breakpoint created by this request.\nThis includes the actual code location and whether the breakpoint could be verified.\nThe breakpoints returned are in the same order as the elements of the 'breakpoints'\n(or the deprecated 'lines') in the SetBreakpointsArguments.",
"properties": {
"body": {
"type": "object",
"properties": {
"breakpoints": {
"type": "array",
"items": {
"$ref": "#/definitions/Breakpoint"
},
"description": "Information about the breakpoints. The array elements are in the same order as the elements of the 'breakpoints' (or the deprecated 'lines') in the SetBreakpointsArguments."
}
},
"required": [
"breakpoints"
]
}
},
"required": [
"body"
]
}
]
},
"SetFunctionBreakpointsRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "SetFunctionBreakpoints request; value of command field is 'setFunctionBreakpoints'.\nSets multiple function breakpoints and clears all previous function breakpoints.\nTo clear all function breakpoint, specify an empty array.\nWhen a function breakpoint is hit, a StoppedEvent (event type 'function breakpoint') is generated.",
"properties": {
"command": {
"type": "string",
"enum": [
"setFunctionBreakpoints"
]
},
"arguments": {
"$ref": "#/definitions/SetFunctionBreakpointsArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"SetFunctionBreakpointsArguments": {
"type": "object",
"description": "Arguments for 'setFunctionBreakpoints' request.",
"properties": {
"breakpoints": {
"type": "array",
"items": {
"$ref": "#/definitions/FunctionBreakpoint"
},
"description": "The function names of the breakpoints."
}
},
"required": [
"breakpoints"
]
},
"SetFunctionBreakpointsResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'setFunctionBreakpoints' request.\nReturned is information about each breakpoint created by this request.",
"properties": {
"body": {
"type": "object",
"properties": {
"breakpoints": {
"type": "array",
"items": {
"$ref": "#/definitions/Breakpoint"
},
"description": "Information about the breakpoints. The array elements correspond to the elements of the 'breakpoints' array."
}
},
"required": [
"breakpoints"
]
}
},
"required": [
"body"
]
}
]
},
"SetExceptionBreakpointsRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "SetExceptionBreakpoints request; value of command field is 'setExceptionBreakpoints'.\nEnable that the debuggee stops on exceptions with a StoppedEvent (event type 'exception').",
"properties": {
"command": {
"type": "string",
"enum": [
"setExceptionBreakpoints"
]
},
"arguments": {
"$ref": "#/definitions/SetExceptionBreakpointsArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"SetExceptionBreakpointsArguments": {
"type": "object",
"description": "Arguments for 'setExceptionBreakpoints' request.",
"properties": {
"filters": {
"type": "array",
"items": {
"type": "string"
},
"description": "Names of enabled exception breakpoints."
}
},
"required": [
"filters"
]
},
"SetExceptionBreakpointsResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'setExceptionBreakpoints' request. This is just an acknowledgement, so no body field is required."
}
]
},
"ContinueRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "Continue request; value of command field is 'continue'.\nThe request starts the debuggee to run again.",
"properties": {
"command": {
"type": "string",
"enum": [
"continue"
]
},
"arguments": {
"$ref": "#/definitions/ContinueArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"ContinueArguments": {
"type": "object",
"description": "Arguments for 'continue' request.",
"properties": {
"threadId": {
"type": "integer",
"description": "Continue execution for the specified thread (if possible). If the backend cannot continue on a single thread but will continue on all threads, it should set the allThreadsContinued attribute in the response to true."
}
},
"required": [
"threadId"
]
},
"ContinueResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'continue' request.",
"properties": {
"body": {
"type": "object",
"properties": {
"allThreadsContinued": {
"type": "boolean",
"description": "If true, the continue request has ignored the specified thread and continued all threads instead. If this attribute is missing a value of 'true' is assumed for backward compatibility."
}
}
}
},
"required": [
"body"
]
}
]
},
"NextRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "Next request; value of command field is 'next'.\nThe request starts the debuggee to run again for one step.\nThe debug adapter first sends the NextResponse and then a StoppedEvent (event type 'step') after the step has completed.",
"properties": {
"command": {
"type": "string",
"enum": [
"next"
]
},
"arguments": {
"$ref": "#/definitions/NextArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"NextArguments": {
"type": "object",
"description": "Arguments for 'next' request.",
"properties": {
"threadId": {
"type": "integer",
"description": "Continue execution for this thread."
}
},
"required": [
"threadId"
]
},
"NextResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'next' request. This is just an acknowledgement, so no body field is required."
}
]
},
"StepInRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "StepIn request; value of command field is 'stepIn'.\nThe request starts the debuggee to step into a function/method if possible.\nIf it cannot step into a target, 'stepIn' behaves like 'next'.\nThe debug adapter first sends the StepInResponse and then a StoppedEvent (event type 'step') after the step has completed.\nIf there are multiple function/method calls (or other targets) on the source line,\nthe optional argument 'targetId' can be used to control into which target the 'stepIn' should occur.\nThe list of possible targets for a given source line can be retrieved via the 'stepInTargets' request.",
"properties": {
"command": {
"type": "string",
"enum": [
"stepIn"
]
},
"arguments": {
"$ref": "#/definitions/StepInArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"StepInArguments": {
"type": "object",
"description": "Arguments for 'stepIn' request.",
"properties": {
"threadId": {
"type": "integer",
"description": "Continue execution for this thread."
},
"targetId": {
"type": "integer",
"description": "Optional id of the target to step into."
}
},
"required": [
"threadId"
]
},
"StepInResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'stepIn' request. This is just an acknowledgement, so no body field is required."
}
]
},
"StepOutRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "StepOut request; value of command field is 'stepOut'.\nThe request starts the debuggee to run again for one step.\nThe debug adapter first sends the StepOutResponse and then a StoppedEvent (event type 'step') after the step has completed.",
"properties": {
"command": {
"type": "string",
"enum": [
"stepOut"
]
},
"arguments": {
"$ref": "#/definitions/StepOutArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"StepOutArguments": {
"type": "object",
"description": "Arguments for 'stepOut' request.",
"properties": {
"threadId": {
"type": "integer",
"description": "Continue execution for this thread."
}
},
"required": [
"threadId"
]
},
"StepOutResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'stepOut' request. This is just an acknowledgement, so no body field is required."
}
]
},
"StepBackRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "StepBack request; value of command field is 'stepBack'.\nThe request starts the debuggee to run one step backwards.\nThe debug adapter first sends the StepBackResponse and then a StoppedEvent (event type 'step') after the step has completed.",
"properties": {
"command": {
"type": "string",
"enum": [
"stepBack"
]
},
"arguments": {
"$ref": "#/definitions/StepBackArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"StepBackArguments": {
"type": "object",
"description": "Arguments for 'stepBack' request.",
"properties": {
"threadId": {
"type": "integer",
"description": "Continue execution for this thread."
}
},
"required": [
"threadId"
]
},
"StepBackResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'stepBack' request. This is just an acknowledgement, so no body field is required."
}
]
},
"RestartFrameRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "RestartFrame request; value of command field is 'restartFrame'.\nThe request restarts execution of the specified stackframe.\nThe debug adapter first sends the RestartFrameResponse and then a StoppedEvent (event type 'restart') after the restart has completed.",
"properties": {
"command": {
"type": "string",
"enum": [
"restartFrame"
]
},
"arguments": {
"$ref": "#/definitions/RestartFrameArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"RestartFrameArguments": {
"type": "object",
"description": "Arguments for 'restartFrame' request.",
"properties": {
"frameId": {
"type": "integer",
"description": "Restart this stackframe."
}
},
"required": [
"frameId"
]
},
"RestartFrameResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'restartFrame' request. This is just an acknowledgement, so no body field is required."
}
]
},
"GotoRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "Goto request; value of command field is 'goto'.\nThe request sets the location where the debuggee will continue to run.\nThis makes it possible to skip the execution of code or to executed code again.\nThe code between the current location and the goto target is not executed but skipped.\nThe debug adapter first sends the GotoResponse and then a StoppedEvent (event type 'goto').",
"properties": {
"command": {
"type": "string",
"enum": [
"goto"
]
},
"arguments": {
"$ref": "#/definitions/GotoArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"GotoArguments": {
"type": "object",
"description": "Arguments for 'goto' request.",
"properties": {
"threadId": {
"type": "integer",
"description": "Set the goto target for this thread."
},
"targetId": {
"type": "integer",
"description": "The location where the debuggee will continue to run."
}
},
"required": [
"threadId",
"targetId"
]
},
"GotoResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'goto' request. This is just an acknowledgement, so no body field is required."
}
]
},
"PauseRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "Pause request; value of command field is 'pause'.\nThe request suspenses the debuggee.\nThe debug adapter first sends the PauseResponse and then a StoppedEvent (event type 'pause') after the thread has been paused successfully.",
"properties": {
"command": {
"type": "string",
"enum": [
"pause"
]
},
"arguments": {
"$ref": "#/definitions/PauseArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"PauseArguments": {
"type": "object",
"description": "Arguments for 'pause' request.",
"properties": {
"threadId": {
"type": "integer",
"description": "Pause execution for this thread."
}
},
"required": [
"threadId"
]
},
"PauseResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'pause' request. This is just an acknowledgement, so no body field is required."
}
]
},
"StackTraceRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "StackTrace request; value of command field is 'stackTrace'. The request returns a stacktrace from the current execution state.",
"properties": {
"command": {
"type": "string",
"enum": [
"stackTrace"
]
},
"arguments": {
"$ref": "#/definitions/StackTraceArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"StackTraceArguments": {
"type": "object",
"description": "Arguments for 'stackTrace' request.",
"properties": {
"threadId": {
"type": "integer",
"description": "Retrieve the stacktrace for this thread."
},
"startFrame": {
"type": "integer",
"description": "The index of the first frame to return; if omitted frames start at 0."
},
"levels": {
"type": "integer",
"description": "The maximum number of frames to return. If levels is not specified or 0, all frames are returned."
}
},
"required": [
"threadId"
]
},
"StackTraceResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'stackTrace' request.",
"properties": {
"body": {
"type": "object",
"properties": {
"stackFrames": {
"type": "array",
"items": {
"$ref": "#/definitions/StackFrame"
},
"description": "The frames of the stackframe. If the array has length zero, there are no stackframes available.\nThis means that there is no location information available."
},
"totalFrames": {
"type": "integer",
"description": "The total number of frames available."
}
},
"required": [
"stackFrames"
]
}
},
"required": [
"body"
]
}
]
},
"ScopesRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "Scopes request; value of command field is 'scopes'.\nThe request returns the variable scopes for a given stackframe ID.",
"properties": {
"command": {
"type": "string",
"enum": [
"scopes"
]
},
"arguments": {
"$ref": "#/definitions/ScopesArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"ScopesArguments": {
"type": "object",
"description": "Arguments for 'scopes' request.",
"properties": {
"frameId": {
"type": "integer",
"description": "Retrieve the scopes for this stackframe."
}
},
"required": [
"frameId"
]
},
"ScopesResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'scopes' request.",
"properties": {
"body": {
"type": "object",
"properties": {
"scopes": {
"type": "array",
"items": {
"$ref": "#/definitions/Scope"
},
"description": "The scopes of the stackframe. If the array has length zero, there are no scopes available."
}
},
"required": [
"scopes"
]
}
},
"required": [
"body"
]
}
]
},
"VariablesRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "Variables request; value of command field is 'variables'.\nRetrieves all child variables for the given variable reference.\nAn optional filter can be used to limit the fetched children to either named or indexed children.",
"properties": {
"command": {
"type": "string",
"enum": [
"variables"
]
},
"arguments": {
"$ref": "#/definitions/VariablesArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"VariablesArguments": {
"type": "object",
"description": "Arguments for 'variables' request.",
"properties": {
"variablesReference": {
"type": "integer",
"description": "The Variable reference."
},
"filter": {
"type": "string",
"enum": [
"indexed",
"named"
],
"description": "Optional filter to limit the child variables to either named or indexed. If ommited, both types are fetched."
},
"start": {
"type": "integer",
"description": "The index of the first variable to return; if omitted children start at 0."
},
"count": {
"type": "integer",
"description": "The number of variables to return. If count is missing or 0, all variables are returned."
}
},
"required": [
"variablesReference"
]
},
"VariablesResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'variables' request.",
"properties": {
"body": {
"type": "object",
"properties": {
"variables": {
"type": "array",
"items": {
"$ref": "#/definitions/Variable"
},
"description": "All (or a range) of variables for the given variable reference."
}
},
"required": [
"variables"
]
}
},
"required": [
"body"
]
}
]
},
"SetVariableRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "setVariable request; value of command field is 'setVariable'.\nSet the variable with the given name in the variable container to a new value.",
"properties": {
"command": {
"type": "string",
"enum": [
"setVariable"
]
},
"arguments": {
"$ref": "#/definitions/SetVariableArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"SetVariableArguments": {
"type": "object",
"description": "Arguments for 'setVariable' request.",
"properties": {
"variablesReference": {
"type": "integer",
"description": "The reference of the variable container."
},
"name": {
"type": "string",
"description": "The name of the variable."
},
"value": {
"type": "string",
"description": "The value of the variable."
}
},
"required": [
"variablesReference",
"name",
"value"
]
},
"SetVariableResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'setVariable' request.",
"properties": {
"body": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The new value of the variable."
},
"type": {
"type": "string",
"description": "The type of the new value. Typically shown in the UI when hovering over the value."
},
"variablesReference": {
"type": "number",
"description": "If variablesReference is > 0, the new value is structured and its children can be retrieved by passing variablesReference to the VariablesRequest."
},
"namedVariables": {
"type": "number",
"description": "The number of named child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks."
},
"indexedVariables": {
"type": "number",
"description": "The number of indexed child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks."
}
},
"required": [
"value"
]
}
},
"required": [
"body"
]
}
]
},
"SourceRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "Source request; value of command field is 'source'.\nThe request retrieves the source code for a given source reference.",
"properties": {
"command": {
"type": "string",
"enum": [
"source"
]
},
"arguments": {
"$ref": "#/definitions/SourceArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"SourceArguments": {
"type": "object",
"description": "Arguments for 'source' request.",
"properties": {
"sourceReference": {
"type": "integer",
"description": "The reference to the source. This is the value received in Source.reference."
}
},
"required": [
"sourceReference"
]
},
"SourceResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'source' request.",
"properties": {
"body": {
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "Content of the source reference."
},
"mimeType": {
"type": "string",
"description": "Optional content type (mime type) of the source."
}
},
"required": [
"content"
]
}
},
"required": [
"body"
]
}
]
},
"ThreadsRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "Thread request; value of command field is 'threads'.\nThe request retrieves a list of all threads.",
"properties": {
"command": {
"type": "string",
"enum": [
"threads"
]
}
},
"required": [
"command"
]
}
]
},
"ThreadsResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'threads' request.",
"properties": {
"body": {
"type": "object",
"properties": {
"threads": {
"type": "array",
"items": {
"$ref": "#/definitions/Thread"
},
"description": "All threads."
}
},
"required": [
"threads"
]
}
},
"required": [
"body"
]
}
]
},
"ModulesRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "Modules can be retrieved from the debug adapter with the ModulesRequest which can either return all modules or a range of modules to support paging.",
"properties": {
"command": {
"type": "string",
"enum": [
"modules"
]
},
"arguments": {
"$ref": "#/definitions/ModulesArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"ModulesArguments": {
"type": "object",
"description": "Arguments for 'modules' request.",
"properties": {
"startModule": {
"type": "integer",
"description": "The index of the first module to return; if omitted modules start at 0."
},
"moduleCount": {
"type": "integer",
"description": "The number of modules to return. If moduleCount is not specified or 0, all modules are returned."
}
}
},
"ModulesResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'modules' request.",
"properties": {
"body": {
"type": "object",
"properties": {
"modules": {
"type": "array",
"items": {
"$ref": "#/definitions/Module"
},
"description": "All modules or range of modules."
},
"totalModules": {
"type": "integer",
"description": "The total number of modules available."
}
},
"required": [
"modules"
]
}
},
"required": [
"body"
]
}
]
},
"EvaluateRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "Evaluate request; value of command field is 'evaluate'.\nEvaluates the given expression in the context of the top most stack frame.\nThe expression has access to any variables and arguments that are in scope.",
"properties": {
"command": {
"type": "string",
"enum": [
"evaluate"
]
},
"arguments": {
"$ref": "#/definitions/EvaluateArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"EvaluateArguments": {
"type": "object",
"description": "Arguments for 'evaluate' request.",
"properties": {
"expression": {
"type": "string",
"description": "The expression to evaluate."
},
"frameId": {
"type": "integer",
"description": "Evaluate the expression in the scope of this stack frame. If not specified, the expression is evaluated in the global scope."
},
"context": {
"type": "string",
"_enum": [
"watch",
"repl",
"hover"
],
"description": "The context in which the evaluate request is run. Possible values are 'watch' if evaluate is run in a watch, 'repl' if run from the REPL console, or 'hover' if run from a data hover."
}
},
"required": [
"expression"
]
},
"EvaluateResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'evaluate' request.",
"properties": {
"body": {
"type": "object",
"properties": {
"result": {
"type": "string",
"description": "The result of the evaluate request."
},
"type": {
"type": "string",
"description": "The optional type of the evaluate result."
},
"variablesReference": {
"type": "number",
"description": "If variablesReference is > 0, the evaluate result is structured and its children can be retrieved by passing variablesReference to the VariablesRequest."
},
"namedVariables": {
"type": "number",
"description": "The number of named child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks."
},
"indexedVariables": {
"type": "number",
"description": "The number of indexed child variables.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks."
}
},
"required": [
"result",
"variablesReference"
]
}
},
"required": [
"body"
]
}
]
},
"StepInTargetsRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "StepInTargets request; value of command field is 'stepInTargets'.\nThis request retrieves the possible stepIn targets for the specified stack frame.\nThese targets can be used in the 'stepIn' request.\nThe StepInTargets may only be called if the 'supportsStepInTargetsRequest' capability exists and is true.",
"properties": {
"command": {
"type": "string",
"enum": [
"stepInTargets"
]
},
"arguments": {
"$ref": "#/definitions/StepInTargetsArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"StepInTargetsArguments": {
"type": "object",
"description": "Arguments for 'stepInTargets' request.",
"properties": {
"frameId": {
"type": "integer",
"description": "The stack frame for which to retrieve the possible stepIn targets."
}
},
"required": [
"frameId"
]
},
"StepInTargetsResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'stepInTargets' request.",
"properties": {
"body": {
"type": "object",
"properties": {
"targets": {
"type": "array",
"items": {
"$ref": "#/definitions/StepInTarget"
},
"description": "The possible stepIn targets of the specified source location."
}
},
"required": [
"targets"
]
}
},
"required": [
"body"
]
}
]
},
"GotoTargetsRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "GotoTargets request; value of command field is 'gotoTargets'.\nThis request retrieves the possible goto targets for the specified source location.\nThese targets can be used in the 'goto' request.\nThe GotoTargets request may only be called if the 'supportsGotoTargetsRequest' capability exists and is true.",
"properties": {
"command": {
"type": "string",
"enum": [
"gotoTargets"
]
},
"arguments": {
"$ref": "#/definitions/GotoTargetsArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"GotoTargetsArguments": {
"type": "object",
"description": "Arguments for 'gotoTargets' request.",
"properties": {
"source": {
"$ref": "#/definitions/Source",
"description": "The source location for which the goto targets are determined."
},
"line": {
"type": "integer",
"description": "The line location for which the goto targets are determined."
},
"column": {
"type": "integer",
"description": "An optional column location for which the goto targets are determined."
}
},
"required": [
"source",
"line"
]
},
"GotoTargetsResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'gotoTargets' request.",
"properties": {
"body": {
"type": "object",
"properties": {
"targets": {
"type": "array",
"items": {
"$ref": "#/definitions/GotoTarget"
},
"description": "The possible goto targets of the specified location."
}
},
"required": [
"targets"
]
}
},
"required": [
"body"
]
}
]
},
"CompletionsRequest": {
"allOf": [
{
"$ref": "#/definitions/Request"
},
{
"type": "object",
"description": "CompletionsRequest request; value of command field is 'completions'.\nReturns a list of possible completions for a given caret position and text.\nThe CompletionsRequest may only be called if the 'supportsCompletionsRequest' capability exists and is true.",
"properties": {
"command": {
"type": "string",
"enum": [
"completions"
]
},
"arguments": {
"$ref": "#/definitions/CompletionsArguments"
}
},
"required": [
"command",
"arguments"
]
}
]
},
"CompletionsArguments": {
"type": "object",
"description": "Arguments for 'completions' request.",
"properties": {
"frameId": {
"type": "integer",
"description": "Returns completions in the scope of this stack frame. If not specified, the completions are returned for the global scope."
},
"text": {
"type": "string",
"description": "One or more source lines. Typically this is the text a user has typed into the debug console before he asked for completion."
},
"column": {
"type": "integer",
"description": "The character position for which to determine the completion proposals."
},
"line": {
"type": "integer",
"description": "An optional line for which to determine the completion proposals. If missing the first line of the text is assumed."
}
},
"required": [
"text",
"column"
]
},
"CompletionsResponse": {
"allOf": [
{
"$ref": "#/definitions/Response"
},
{
"type": "object",
"description": "Response to 'completions' request.",
"properties": {
"body": {
"type": "object",
"properties": {
"targets": {
"type": "array",
"items": {
"$ref": "#/definitions/CompletionItem"
},
"description": "The possible completions for ."
}
},
"required": [
"targets"
]
}
},
"required": [
"body"
]
}
]
},
"Capabilities": {
"type": "object",
"description": "Information about the capabilities of a debug adapter.",
"properties": {
"supportsConfigurationDoneRequest": {
"type": "boolean",
"description": "The debug adapter supports the configurationDoneRequest."
},
"supportsFunctionBreakpoints": {
"type": "boolean",
"description": "The debug adapter supports function breakpoints."
},
"supportsConditionalBreakpoints": {
"type": "boolean",
"description": "The debug adapter supports conditional breakpoints."
},
"supportsHitConditionalBreakpoints": {
"type": "boolean",
"description": "The debug adapter supports breakpoints that break execution after a specified number of hits."
},
"supportsEvaluateForHovers": {
"type": "boolean",
"description": "The debug adapter supports a (side effect free) evaluate request for data hovers."
},
"exceptionBreakpointFilters": {
"type": "array",
"items": {
"$ref": "#/definitions/ExceptionBreakpointsFilter"
},
"description": "Available filters for the setExceptionBreakpoints request."
},
"supportsStepBack": {
"type": "boolean",
"description": "The debug adapter supports stepping back."
},
"supportsSetVariable": {
"type": "boolean",
"description": "The debug adapter supports setting a variable to a value."
},
"supportsRestartFrame": {
"type": "boolean",
"description": "The debug adapter supports restarting a frame."
},
"supportsGotoTargetsRequest": {
"type": "boolean",
"description": "The debug adapter supports the gotoTargetsRequest."
},
"supportsStepInTargetsRequest": {
"type": "boolean",
"description": "The debug adapter supports the stepInTargetsRequest."
},
"supportsCompletionsRequest": {
"type": "boolean",
"description": "The debug adapter supports the completionsRequest."
},
"supportsModulesRequest": {
"type": "boolean",
"description": "The debug adapter supports the modules request."
},
"additionalModuleColumns": {
"type": "array",
"items": {
"$ref": "#/definitions/ColumnDescriptor"
},
"description": "The set of additional module information exposed by the debug adapter."
},
"supportedChecksumAlgorithms": {
"type": "array",
"items": {
"$ref": "#/definitions/ChecksumAlgorithm"
},
"description": "Checksum algorithms supported by the debug adapter."
}
}
},
"ExceptionBreakpointsFilter": {
"type": "object",
"description": "An ExceptionBreakpointsFilter is shown in the UI as an option for configuring how exceptions are dealt with.",
"properties": {
"filter": {
"type": "string",
"description": "The internal ID of the filter. This value is passed to the setExceptionBreakpoints request."
},
"label": {
"type": "string",
"description": "The name of the filter. This will be shown in the UI."
},
"default": {
"type": "boolean",
"description": "Initial value of the filter. If not specified a value 'false' is assumed."
}
},
"required": [
"filter",
"label"
]
},
"Message": {
"type": "object",
"description": "A structured message object. Used to return errors from requests.",
"properties": {
"id": {
"type": "integer",
"description": "Unique identifier for the message."
},
"format": {
"type": "string",
"description": "A format string for the message. Embedded variables have the form '{name}'.\nIf variable name starts with an underscore character, the variable does not contain user data (PII) and can be safely used for telemetry purposes."
},
"variables": {
"type": "object",
"description": "An object used as a dictionary for looking up the variables in the format string.",
"additionalProperties": {
"type": "string",
"description": "Values must be strings."
}
},
"sendTelemetry": {
"type": "boolean",
"description": "If true send to telemetry."
},
"showUser": {
"type": "boolean",
"description": "If true show user."
},
"url": {
"type": "string",
"description": "An optional url where additional information about this message can be found."
},
"urlLabel": {
"type": "string",
"description": "An optional label that is presented to the user as the UI for opening the url."
}
},
"required": [
"id",
"format"
]
},
"Module": {
"type": "object",
"description": "A Module object represents a row in the modules view.\nTwo attributes are mandatory: an id identifies a module in the modules view and is used in a ModuleEvent for identifying a module for adding, updating or deleting.\nThe name is used to minimally render the module in the UI.\n\nAdditional attributes can be added to the module. They will show up in the module View if they have a corresponding ColumnDescriptor.\n\nTo avoid an unnecessary proliferation of additional attributes with similar semantics but different names\nwe recommend to re-use attributes from the 'recommended' list below first, and only introduce new attributes if nothing appropriate could be found.",
"properties": {
"id": {
"type": [
"integer",
"string"
],
"description": "Unique identifier for the module."
},
"name": {
"type": "string",
"description": "A name of the module."
},
"path": {
"type": "string",
"description": "optional but recommended attributes.\nalways try to use these first before introducing additional attributes.\n\nLogical full path to the module. The exact definition is implementation defined, but usually this would be a full path to the on-disk file for the module."
},
"isOptimized": {
"type": "boolean",
"description": "True if the module is optimized."
},
"isUserCode": {
"type": "boolean",
"description": "True if the module is considered 'user code' by a debugger that supports 'Just My Code'."
},
"version": {
"type": "string",
"description": "Version of Module."
},
"symbolStatus": {
"type": "string",
"description": "User understandable description of if symbols were found for the module (ex: 'Symbols Loaded', 'Symbols not found', etc."
},
"symbolFilePath": {
"type": "string",
"description": "Logical full path to the symbol file. The exact definition is implementation defined."
},
"dateTimeStamp": {
"type": "string",
"description": "Module created or modified."
},
"addressRange": {
"type": "string",
"description": "Address range covered by this module."
}
},
"required": [
"id",
"name"
]
},
"ColumnDescriptor": {
"type": "object",
"description": "A ColumnDescriptor specifies what module attribute to show in a column of the ModulesView, how to format it, and what the column's label should be.\nIt is only used if the underlying UI actually supports this level of customization.",
"properties": {
"attributeName": {
"type": "string",
"description": "Name of the attribute rendered in this column."
},
"label": {
"type": "string",
"description": "Header UI label of column."
},
"format": {
"type": "string",
"description": "Format to use for the rendered values in this column. TBD how the format strings looks like."
},
"type": {
"type": "string",
"enum": [
"string",
"number",
"boolean",
"unixTimestampUTC"
],
"description": "Datatype of values in this column. Defaults to 'string' if not specified."
},
"width": {
"type": "integer",
"description": "Width of this column in characters (hint only)."
}
},
"required": [
"attributeName",
"label"
]
},
"ModulesViewDescriptor": {
"type": "object",
"description": "The ModulesViewDescriptor is the container for all declarative configuration options of a ModuleView.\nFor now it only specifies the columns to be shown in the modules view.",
"properties": {
"columns": {
"type": "array",
"items": {
"$ref": "#/definitions/ColumnDescriptor"
}
}
},
"required": [
"columns"
]
},
"Thread": {
"type": "object",
"description": "A Thread",
"properties": {
"id": {
"type": "integer",
"description": "Unique identifier for the thread."
},
"name": {
"type": "string",
"description": "A name of the thread."
}
},
"required": [
"id",
"name"
]
},
"Source": {
"type": "object",
"description": "A Source is a descriptor for source code. It is returned from the debug adapter as part of a StackFrame and it is used by clients when specifying breakpoints.",
"properties": {
"name": {
"type": "string",
"description": "The short name of the source. Every source returned from the debug adapter has a name. When specifying a source to the debug adapter this name is optional."
},
"path": {
"type": "string",
"description": "The long (absolute) path of the source. It is not guaranteed that the source exists at this location."
},
"sourceReference": {
"type": "number",
"description": "If sourceReference > 0 the contents of the source can be retrieved through the SourceRequest. A sourceReference is only valid for a session, so it must not be used to persist a source."
},
"origin": {
"type": "string",
"description": "The (optional) origin of this source: possible values 'internal module', 'inlined content from source map', etc."
},
"adapterData": {
"type": [
"array",
"boolean",
"integer",
"null",
"number",
"object",
"string"
],
"description": "Optional data that a debug adapter might want to loop through the client. The client should leave the data intact and persist it across sessions. The client should not interpret the data."
},
"checksums": {
"type": "array",
"items": {
"$ref": "#/definitions/Checksum"
},
"description": "The checksums associated with this file."
}
}
},
"StackFrame": {
"type": "object",
"description": "A Stackframe contains the source location.",
"properties": {
"id": {
"type": "integer",
"description": "An identifier for the stack frame. It must be unique across all threads. This id can be used to retrieve the scopes of the frame with the 'scopesRequest' or to restart the execution of a stackframe."
},
"name": {
"type": "string",
"description": "The name of the stack frame, typically a method name."
},
"source": {
"$ref": "#/definitions/Source",
"description": "The optional source of the frame."
},
"line": {
"type": "integer",
"description": "The line within the file of the frame. If source is null or doesn't exist, line is 0 and must be ignored."
},
"column": {
"type": "integer",
"description": "The column within the line. If source is null or doesn't exist, column is 0 and must be ignored."
},
"endLine": {
"type": "integer",
"description": "An optional end line of the range covered by the stack frame."
},
"endColumn": {
"type": "integer",
"description": "An optional end column of the range covered by the stack frame."
},
"moduleId": {
"type": [
"integer",
"string"
],
"description": "The module associated with this frame, if any."
}
},
"required": [
"id",
"name",
"line",
"column"
]
},
"Scope": {
"type": "object",
"description": "A Scope is a named container for variables. Optionally a scope can map to a source or a range within a source.",
"properties": {
"name": {
"type": "string",
"description": "Name of the scope such as 'Arguments', 'Locals'."
},
"variablesReference": {
"type": "integer",
"description": "The variables of this scope can be retrieved by passing the value of variablesReference to the VariablesRequest."
},
"namedVariables": {
"type": "integer",
"description": "The number of named variables in this scope.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks."
},
"indexedVariables": {
"type": "integer",
"description": "The number of indexed variables in this scope.\nThe client can use this optional information to present the variables in a paged UI and fetch them in chunks."
},
"expensive": {
"type": "boolean",
"description": "If true, the number of variables in this scope is large or expensive to retrieve."
},
"source": {
"$ref": "#/definitions/Source",
"description": "Optional source for this scope."
},
"line": {
"type": "integer",
"description": "Optional start line of the range covered by this scope."
},
"column": {
"type": "integer",
"description": "Optional start column of the range covered by this scope."
},
"endLine": {
"type": "integer",
"description": "Optional end line of the range covered by this scope."
},
"endColumn": {
"type": "integer",
"description": "Optional end column of the range covered by this scope."
}
},
"required": [
"name",
"variablesReference",
"expensive"
]
},
"Variable": {
"type": "object",
"description": "A Variable is a name/value pair.\nOptionally a variable can have a 'type' that is shown if space permits or when hovering over the variable's name.\nAn optional 'kind' is used to render additional properties of the variable, e.g. different icons can be used to indicate that a variable is public or private.\nIf the value is structured (has children), a handle is provided to retrieve the children with the VariablesRequest.\nIf the number of named or indexed children is large, the numbers should be returned via the optional 'namedVariables' and 'indexedVariables' attributes.\nThe client can use this optional information to present the children in a paged UI and fetch them in chunks.",
"properties": {
"name": {
"type": "string",
"description": "The variable's name."
},
"value": {
"type": "string",
"description": "The variable's value. For structured objects this can be a multi line text, e.g. for a function the body of a function."
},
"type": {
"type": "string",
"description": "The type of the variable's value. Typically shown in the UI when hovering over the value."
},
"kind": {
"type": "string",
"description": "Properties of a variable that can be used to determine how to render the variable in the UI. Format of the string value: TBD."
},
"evaluateName": {
"type": "string",
"description": "Optional evaluatable name of this variable which can be passed to the 'EvaluateRequest' to fetch the variable's value."
},
"variablesReference": {
"type": "integer",
"description": "If variablesReference is > 0, the variable is structured and its children can be retrieved by passing variablesReference to the VariablesRequest."
},
"namedVariables": {
"type": "integer",
"description": "The number of named child variables.\nThe client can use this optional information to present the children in a paged UI and fetch them in chunks."
},
"indexedVariables": {
"type": "integer",
"description": "The number of indexed child variables.\nThe client can use this optional information to present the children in a paged UI and fetch them in chunks."
}
},
"required": [
"name",
"value",
"variablesReference"
]
},
"SourceBreakpoint": {
"type": "object",
"description": "Properties of a breakpoint passed to the setBreakpoints request.",
"properties": {
"line": {
"type": "integer",
"description": "The source line of the breakpoint."
},
"column": {
"type": "integer",
"description": "An optional source column of the breakpoint."
},
"condition": {
"type": "string",
"description": "An optional expression for conditional breakpoints."
},
"hitCondition": {
"type": "string",
"description": "An optional expression that controls how many hits of the breakpoint are ignored. The backend is expected to interpret the expression as needed."
}
},
"required": [
"line"
]
},
"FunctionBreakpoint": {
"type": "object",
"description": "Properties of a breakpoint passed to the setFunctionBreakpoints request.",
"properties": {
"name": {
"type": "string",
"description": "The name of the function."
},
"condition": {
"type": "string",
"description": "An optional expression for conditional breakpoints."
},
"hitCondition": {
"type": "string",
"description": "An optional expression that controls how many hits of the breakpoint are ignored. The backend is expected to interpret the expression as needed."
}
},
"required": [
"name"
]
},
"Breakpoint": {
"type": "object",
"description": "Information about a Breakpoint created in setBreakpoints or setFunctionBreakpoints.",
"properties": {
"id": {
"type": "integer",
"description": "An optional unique identifier for the breakpoint."
},
"verified": {
"type": "boolean",
"description": "If true breakpoint could be set (but not necessarily at the desired location)."
},
"message": {
"type": "string",
"description": "An optional message about the state of the breakpoint. This is shown to the user and can be used to explain why a breakpoint could not be verified."
},
"source": {
"$ref": "#/definitions/Source",
"description": "The source where the breakpoint is located."
},
"line": {
"type": "integer",
"description": "The start line of the actual range covered by the breakpoint."
},
"column": {
"type": "integer",
"description": "An optional start column of the actual range covered by the breakpoint."
},
"endLine": {
"type": "integer",
"description": "An optional end line of the actual range covered by the breakpoint."
},
"endColumn": {
"type": "integer",
"description": "An optional end column of the actual range covered by the breakpoint. If no end line is given, then the end column is assumed to be in the start line."
}
},
"required": [
"verified"
]
},
"StepInTarget": {
"type": "object",
"description": "A StepInTarget can be used in the 'stepIn' request and determines into which single target the stepIn request should step.",
"properties": {
"id": {
"type": "integer",
"description": "Unique identifier for a stepIn target."
},
"label": {
"type": "string",
"description": "The name of the stepIn target (shown in the UI)."
}
},
"required": [
"id",
"label"
]
},
"GotoTarget": {
"type": "object",
"description": "A GotoTarget describes a code location that can be used as a target in the 'goto' request.\nThe possible goto targets can be determined via the 'gotoTargets' request.",
"properties": {
"id": {
"type": "integer",
"description": "Unique identifier for a goto target. This is used in the goto request."
},
"label": {
"type": "string",
"description": "The name of the goto target (shown in the UI)."
},
"line": {
"type": "integer",
"description": "The line of the goto target."
},
"column": {
"type": "integer",
"description": "An optional column of the goto target."
},
"endLine": {
"type": "integer",
"description": "An optional end line of the range covered by the goto target."
},
"endColumn": {
"type": "integer",
"description": "An optional end column of the range covered by the goto target."
}
},
"required": [
"id",
"label",
"line"
]
},
"CompletionItem": {
"type": "object",
"description": "CompletionItems are the suggestions returned from the CompletionsRequest.",
"properties": {
"label": {
"type": "string",
"description": "The label of this completion item. By default this is also the text that is inserted when selecting this completion."
},
"text": {
"type": "string",
"description": "If text is not falsy then it is inserted instead of the label."
},
"type": {
"$ref": "#/definitions/CompletionItemType",
"description": "The item's type. Typically the client uses this information to render the item in the UI with an icon."
},
"start": {
"type": "integer",
"description": "When a completion is selected it replaces 'length' characters starting at 'start' in the text passed to the CompletionsRequest.\nIf missing the frontend will try to determine these values heuristically."
},
"length": {
"type": "integer"
}
},
"required": [
"label"
]
},
"CompletionItemType": {
"type": "string",
"description": "Some predefined types for the CompletionItem. Please note that not all clients have specific icons for all of them.",
"enum": [
"method",
"function",
"constructor",
"field",
"variable",
"class",
"interface",
"module",
"property",
"unit",
"value",
"enum",
"keyword",
"snippet",
"text",
"color",
"file",
"reference",
"customcolor"
]
},
"ChecksumAlgorithm": {
"type": "string",
"description": "Names of checksum algorithms that may be supported by a debug adapter.",
"enum": [
"MD5",
"SHA1",
"SHA256",
"SHA1Normalized",
"SHA256Normalized",
"timestamp"
]
},
"Checksum": {
"type": "object",
"description": "The checksum of an item calculated by the specified algorithm.",
"properties": {
"algorithm": {
"$ref": "#/definitions/ChecksumAlgorithm",
"description": "The algorithm used to calculate this checksum."
},
"checksum": {
"type": "string",
"description": "Value of the checksum."
}
},
"required": [
"algorithm",
"checksum"
]
}
},
"properties": {
"ProtocolMessage": {
"$ref": "#/definitions/ProtocolMessage"
},
"Request": {
"$ref": "#/definitions/Request"
},
"Event": {
"$ref": "#/definitions/Event"
},
"Response": {
"$ref": "#/definitions/Response"
},
"InitializedEvent": {
"$ref": "#/definitions/InitializedEvent"
},
"StoppedEvent": {
"$ref": "#/definitions/StoppedEvent"
},
"ContinuedEvent": {
"$ref": "#/definitions/ContinuedEvent"
},
"ExitedEvent": {
"$ref": "#/definitions/ExitedEvent"
},
"TerminatedEvent": {
"$ref": "#/definitions/TerminatedEvent"
},
"ThreadEvent": {
"$ref": "#/definitions/ThreadEvent"
},
"OutputEvent": {
"$ref": "#/definitions/OutputEvent"
},
"BreakpointEvent": {
"$ref": "#/definitions/BreakpointEvent"
},
"ModuleEvent": {
"$ref": "#/definitions/ModuleEvent"
},
"RunInTerminalRequest": {
"$ref": "#/definitions/RunInTerminalRequest"
},
"RunInTerminalRequestArguments": {
"$ref": "#/definitions/RunInTerminalRequestArguments"
},
"RunInTerminalResponse": {
"$ref": "#/definitions/RunInTerminalResponse"
},
"ErrorResponse": {
"$ref": "#/definitions/ErrorResponse"
},
"InitializeRequest": {
"$ref": "#/definitions/InitializeRequest"
},
"InitializeRequestArguments": {
"$ref": "#/definitions/InitializeRequestArguments"
},
"InitializeResponse": {
"$ref": "#/definitions/InitializeResponse"
},
"ConfigurationDoneRequest": {
"$ref": "#/definitions/ConfigurationDoneRequest"
},
"ConfigurationDoneResponse": {
"$ref": "#/definitions/ConfigurationDoneResponse"
},
"LaunchRequest": {
"$ref": "#/definitions/LaunchRequest"
},
"LaunchRequestArguments": {
"$ref": "#/definitions/LaunchRequestArguments"
},
"LaunchResponse": {
"$ref": "#/definitions/LaunchResponse"
},
"AttachRequest": {
"$ref": "#/definitions/AttachRequest"
},
"AttachResponse": {
"$ref": "#/definitions/AttachResponse"
},
"DisconnectRequest": {
"$ref": "#/definitions/DisconnectRequest"
},
"DisconnectResponse": {
"$ref": "#/definitions/DisconnectResponse"
},
"SetBreakpointsRequest": {
"$ref": "#/definitions/SetBreakpointsRequest"
},
"SetBreakpointsArguments": {
"$ref": "#/definitions/SetBreakpointsArguments"
},
"SetBreakpointsResponse": {
"$ref": "#/definitions/SetBreakpointsResponse"
},
"SetFunctionBreakpointsRequest": {
"$ref": "#/definitions/SetFunctionBreakpointsRequest"
},
"SetFunctionBreakpointsArguments": {
"$ref": "#/definitions/SetFunctionBreakpointsArguments"
},
"SetFunctionBreakpointsResponse": {
"$ref": "#/definitions/SetFunctionBreakpointsResponse"
},
"SetExceptionBreakpointsRequest": {
"$ref": "#/definitions/SetExceptionBreakpointsRequest"
},
"SetExceptionBreakpointsArguments": {
"$ref": "#/definitions/SetExceptionBreakpointsArguments"
},
"SetExceptionBreakpointsResponse": {
"$ref": "#/definitions/SetExceptionBreakpointsResponse"
},
"ContinueRequest": {
"$ref": "#/definitions/ContinueRequest"
},
"ContinueArguments": {
"$ref": "#/definitions/ContinueArguments"
},
"ContinueResponse": {
"$ref": "#/definitions/ContinueResponse"
},
"NextRequest": {
"$ref": "#/definitions/NextRequest"
},
"NextArguments": {
"$ref": "#/definitions/NextArguments"
},
"NextResponse": {
"$ref": "#/definitions/NextResponse"
},
"StepInRequest": {
"$ref": "#/definitions/StepInRequest"
},
"StepInArguments": {
"$ref": "#/definitions/StepInArguments"
},
"StepInResponse": {
"$ref": "#/definitions/StepInResponse"
},
"StepOutRequest": {
"$ref": "#/definitions/StepOutRequest"
},
"StepOutArguments": {
"$ref": "#/definitions/StepOutArguments"
},
"StepOutResponse": {
"$ref": "#/definitions/StepOutResponse"
},
"StepBackRequest": {
"$ref": "#/definitions/StepBackRequest"
},
"StepBackArguments": {
"$ref": "#/definitions/StepBackArguments"
},
"StepBackResponse": {
"$ref": "#/definitions/StepBackResponse"
},
"RestartFrameRequest": {
"$ref": "#/definitions/RestartFrameRequest"
},
"RestartFrameArguments": {
"$ref": "#/definitions/RestartFrameArguments"
},
"RestartFrameResponse": {
"$ref": "#/definitions/RestartFrameResponse"
},
"GotoRequest": {
"$ref": "#/definitions/GotoRequest"
},
"GotoArguments": {
"$ref": "#/definitions/GotoArguments"
},
"GotoResponse": {
"$ref": "#/definitions/GotoResponse"
},
"PauseRequest": {
"$ref": "#/definitions/PauseRequest"
},
"PauseArguments": {
"$ref": "#/definitions/PauseArguments"
},
"PauseResponse": {
"$ref": "#/definitions/PauseResponse"
},
"StackTraceRequest": {
"$ref": "#/definitions/StackTraceRequest"
},
"StackTraceArguments": {
"$ref": "#/definitions/StackTraceArguments"
},
"StackTraceResponse": {
"$ref": "#/definitions/StackTraceResponse"
},
"ScopesRequest": {
"$ref": "#/definitions/ScopesRequest"
},
"ScopesArguments": {
"$ref": "#/definitions/ScopesArguments"
},
"ScopesResponse": {
"$ref": "#/definitions/ScopesResponse"
},
"VariablesRequest": {
"$ref": "#/definitions/VariablesRequest"
},
"VariablesArguments": {
"$ref": "#/definitions/VariablesArguments"
},
"VariablesResponse": {
"$ref": "#/definitions/VariablesResponse"
},
"SetVariableRequest": {
"$ref": "#/definitions/SetVariableRequest"
},
"SetVariableArguments": {
"$ref": "#/definitions/SetVariableArguments"
},
"SetVariableResponse": {
"$ref": "#/definitions/SetVariableResponse"
},
"SourceRequest": {
"$ref": "#/definitions/SourceRequest"
},
"SourceArguments": {
"$ref": "#/definitions/SourceArguments"
},
"SourceResponse": {
"$ref": "#/definitions/SourceResponse"
},
"ThreadsRequest": {
"$ref": "#/definitions/ThreadsRequest"
},
"ThreadsResponse": {
"$ref": "#/definitions/ThreadsResponse"
},
"ModulesRequest": {
"$ref": "#/definitions/ModulesRequest"
},
"ModulesArguments": {
"$ref": "#/definitions/ModulesArguments"
},
"ModulesResponse": {
"$ref": "#/definitions/ModulesResponse"
},
"EvaluateRequest": {
"$ref": "#/definitions/EvaluateRequest"
},
"EvaluateArguments": {
"$ref": "#/definitions/EvaluateArguments"
},
"EvaluateResponse": {
"$ref": "#/definitions/EvaluateResponse"
},
"StepInTargetsRequest": {
"$ref": "#/definitions/StepInTargetsRequest"
},
"StepInTargetsArguments": {
"$ref": "#/definitions/StepInTargetsArguments"
},
"StepInTargetsResponse": {
"$ref": "#/definitions/StepInTargetsResponse"
},
"GotoTargetsRequest": {
"$ref": "#/definitions/GotoTargetsRequest"
},
"GotoTargetsArguments": {
"$ref": "#/definitions/GotoTargetsArguments"
},
"GotoTargetsResponse": {
"$ref": "#/definitions/GotoTargetsResponse"
},
"CompletionsRequest": {
"$ref": "#/definitions/CompletionsRequest"
},
"CompletionsArguments": {
"$ref": "#/definitions/CompletionsArguments"
},
"CompletionsResponse": {
"$ref": "#/definitions/CompletionsResponse"
},
"Capabilities": {
"$ref": "#/definitions/Capabilities"
},
"ExceptionBreakpointsFilter": {
"$ref": "#/definitions/ExceptionBreakpointsFilter"
},
"Message": {
"$ref": "#/definitions/Message"
},
"Module": {
"$ref": "#/definitions/Module"
},
"ColumnDescriptor": {
"$ref": "#/definitions/ColumnDescriptor"
},
"ModulesViewDescriptor": {
"$ref": "#/definitions/ModulesViewDescriptor"
},
"Thread": {
"$ref": "#/definitions/Thread"
},
"Source": {
"$ref": "#/definitions/Source"
},
"StackFrame": {
"$ref": "#/definitions/StackFrame"
},
"Scope": {
"$ref": "#/definitions/Scope"
},
"Variable": {
"$ref": "#/definitions/Variable"
},
"SourceBreakpoint": {
"$ref": "#/definitions/SourceBreakpoint"
},
"FunctionBreakpoint": {
"$ref": "#/definitions/FunctionBreakpoint"
},
"Breakpoint": {
"$ref": "#/definitions/Breakpoint"
},
"StepInTarget": {
"$ref": "#/definitions/StepInTarget"
},
"GotoTarget": {
"$ref": "#/definitions/GotoTarget"
},
"CompletionItem": {
"$ref": "#/definitions/CompletionItem"
},
"CompletionItemType": {
"$ref": "#/definitions/CompletionItemType"
},
"ChecksumAlgorithm": {
"$ref": "#/definitions/ChecksumAlgorithm"
},
"Checksum": {
"$ref": "#/definitions/Checksum"
}
},
"required": [
"ProtocolMessage",
"Request",
"Event",
"Response",
"InitializedEvent",
"StoppedEvent",
"ContinuedEvent",
"ExitedEvent",
"TerminatedEvent",
"ThreadEvent",
"OutputEvent",
"BreakpointEvent",
"ModuleEvent",
"RunInTerminalRequest",
"RunInTerminalRequestArguments",
"RunInTerminalResponse",
"ErrorResponse",
"InitializeRequest",
"InitializeRequestArguments",
"InitializeResponse",
"ConfigurationDoneRequest",
"ConfigurationDoneResponse",
"LaunchRequest",
"LaunchRequestArguments",
"LaunchResponse",
"AttachRequest",
"AttachResponse",
"DisconnectRequest",
"DisconnectResponse",
"SetBreakpointsRequest",
"SetBreakpointsArguments",
"SetBreakpointsResponse",
"SetFunctionBreakpointsRequest",
"SetFunctionBreakpointsArguments",
"SetFunctionBreakpointsResponse",
"SetExceptionBreakpointsRequest",
"SetExceptionBreakpointsArguments",
"SetExceptionBreakpointsResponse",
"ContinueRequest",
"ContinueArguments",
"ContinueResponse",
"NextRequest",
"NextArguments",
"NextResponse",
"StepInRequest",
"StepInArguments",
"StepInResponse",
"StepOutRequest",
"StepOutArguments",
"StepOutResponse",
"StepBackRequest",
"StepBackArguments",
"StepBackResponse",
"RestartFrameRequest",
"RestartFrameArguments",
"RestartFrameResponse",
"GotoRequest",
"GotoArguments",
"GotoResponse",
"PauseRequest",
"PauseArguments",
"PauseResponse",
"StackTraceRequest",
"StackTraceArguments",
"StackTraceResponse",
"ScopesRequest",
"ScopesArguments",
"ScopesResponse",
"VariablesRequest",
"VariablesArguments",
"VariablesResponse",
"SetVariableRequest",
"SetVariableArguments",
"SetVariableResponse",
"SourceRequest",
"SourceArguments",
"SourceResponse",
"ThreadsRequest",
"ThreadsResponse",
"ModulesRequest",
"ModulesArguments",
"ModulesResponse",
"EvaluateRequest",
"EvaluateArguments",
"EvaluateResponse",
"StepInTargetsRequest",
"StepInTargetsArguments",
"StepInTargetsResponse",
"GotoTargetsRequest",
"GotoTargetsArguments",
"GotoTargetsResponse",
"CompletionsRequest",
"CompletionsArguments",
"CompletionsResponse",
"Capabilities",
"ExceptionBreakpointsFilter",
"Message",
"Module",
"ColumnDescriptor",
"ModulesViewDescriptor",
"Thread",
"Source",
"StackFrame",
"Scope",
"Variable",
"SourceBreakpoint",
"FunctionBreakpoint",
"Breakpoint",
"StepInTarget",
"GotoTarget",
"CompletionItem",
"CompletionItemType",
"ChecksumAlgorithm",
"Checksum"
]
} | o10335 |
{
"additionalProperties": false,
"description": "RGBA color",
"properties": {
"a": {
"default": 1.0,
"maximum": 1.0,
"minimum": 0.0,
"type": "number"
},
"b": {
"default": 0,
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"g": {
"default": 0,
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"r": {
"default": 0,
"maximum": 255,
"minimum": 0,
"type": "integer"
}
},
"title": "color",
"type": "object"
} | o28258 |
{
"anyOf": [
{
"$ref": "#/definitions/SkaffoldConfig"
}
],
"definitions": {
"Activation": {
"additionalProperties": false,
"description": "criteria by which a profile is auto-activated.",
"preferredOrder": [
"env",
"kubeContext",
"command"
],
"properties": {
"command": {
"description": "a Skaffold command for which the profile is auto-activated.",
"examples": [
"dev"
],
"type": "string",
"x-intellij-html-description": "a Skaffold command for which the profile is auto-activated."
},
"env": {
"description": "a `key=value` pair. The profile is auto-activated if an Environment Variable `key` has value `value`.",
"examples": [
"ENV=production"
],
"type": "string",
"x-intellij-html-description": "a <code>key=value</code> pair. The profile is auto-activated if an Environment Variable <code>key</code> has value <code>value</code>."
},
"kubeContext": {
"description": "a Kubernetes context for which the profile is auto-activated.",
"examples": [
"minikube"
],
"type": "string",
"x-intellij-html-description": "a Kubernetes context for which the profile is auto-activated."
}
},
"x-intellij-html-description": "criteria by which a profile is auto-activated."
},
"Artifact": {
"anyOf": [
{
"additionalProperties": false,
"preferredOrder": [
"image",
"context",
"sync",
"plugin"
],
"properties": {
"context": {
"default": ".",
"description": "directory containing the artifact's sources.",
"type": "string",
"x-intellij-html-description": "directory containing the artifact's sources."
},
"image": {
"description": "name of the image to be built.",
"examples": [
"gcr.io/k8s-skaffold/example"
],
"type": "string",
"x-intellij-html-description": "name of the image to be built."
},
"plugin": {
"$ref": "#/definitions/BuilderPlugin",
"description": "plugin used to build this artifact.",
"x-intellij-html-description": "plugin used to build this artifact."
},
"sync": {
"additionalProperties": {
"type": "string"
},
"default": "{}",
"description": "*alpha* local files synced to pods instead of triggering an image build when modified. This is a mapping of local files to sync to remote folders.",
"examples": [
"{\"*.py\": \".\", \"css/**/*.css\": \"app/css\"}"
],
"type": "object",
"x-intellij-html-description": "<em>alpha</em> local files synced to pods instead of triggering an image build when modified. This is a mapping of local files to sync to remote folders."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"image",
"context",
"sync",
"plugin",
"docker"
],
"properties": {
"context": {
"default": ".",
"description": "directory containing the artifact's sources.",
"type": "string",
"x-intellij-html-description": "directory containing the artifact's sources."
},
"docker": {
"$ref": "#/definitions/DockerArtifact",
"description": "*beta* describes an artifact built from a Dockerfile.",
"x-intellij-html-description": "<em>beta</em> describes an artifact built from a Dockerfile."
},
"image": {
"description": "name of the image to be built.",
"examples": [
"gcr.io/k8s-skaffold/example"
],
"type": "string",
"x-intellij-html-description": "name of the image to be built."
},
"plugin": {
"$ref": "#/definitions/BuilderPlugin",
"description": "plugin used to build this artifact.",
"x-intellij-html-description": "plugin used to build this artifact."
},
"sync": {
"additionalProperties": {
"type": "string"
},
"default": "{}",
"description": "*alpha* local files synced to pods instead of triggering an image build when modified. This is a mapping of local files to sync to remote folders.",
"examples": [
"{\"*.py\": \".\", \"css/**/*.css\": \"app/css\"}"
],
"type": "object",
"x-intellij-html-description": "<em>alpha</em> local files synced to pods instead of triggering an image build when modified. This is a mapping of local files to sync to remote folders."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"image",
"context",
"sync",
"plugin",
"bazel"
],
"properties": {
"bazel": {
"$ref": "#/definitions/BazelArtifact",
"description": "*beta* requires bazel CLI to be installed and the sources to contain [Bazel](https://bazel.build/) configuration files.",
"x-intellij-html-description": "<em>beta</em> requires bazel CLI to be installed and the sources to contain <a href=\"https://bazel.build/\">Bazel</a> configuration files."
},
"context": {
"default": ".",
"description": "directory containing the artifact's sources.",
"type": "string",
"x-intellij-html-description": "directory containing the artifact's sources."
},
"image": {
"description": "name of the image to be built.",
"examples": [
"gcr.io/k8s-skaffold/example"
],
"type": "string",
"x-intellij-html-description": "name of the image to be built."
},
"plugin": {
"$ref": "#/definitions/BuilderPlugin",
"description": "plugin used to build this artifact.",
"x-intellij-html-description": "plugin used to build this artifact."
},
"sync": {
"additionalProperties": {
"type": "string"
},
"default": "{}",
"description": "*alpha* local files synced to pods instead of triggering an image build when modified. This is a mapping of local files to sync to remote folders.",
"examples": [
"{\"*.py\": \".\", \"css/**/*.css\": \"app/css\"}"
],
"type": "object",
"x-intellij-html-description": "<em>alpha</em> local files synced to pods instead of triggering an image build when modified. This is a mapping of local files to sync to remote folders."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"image",
"context",
"sync",
"plugin",
"jibMaven"
],
"properties": {
"context": {
"default": ".",
"description": "directory containing the artifact's sources.",
"type": "string",
"x-intellij-html-description": "directory containing the artifact's sources."
},
"image": {
"description": "name of the image to be built.",
"examples": [
"gcr.io/k8s-skaffold/example"
],
"type": "string",
"x-intellij-html-description": "name of the image to be built."
},
"jibMaven": {
"$ref": "#/definitions/JibMavenArtifact",
"description": "*alpha* builds images using the [Jib plugin for Maven](https://github.com/GoogleContainerTools/jib/tree/master/jib-maven-plugin).",
"x-intellij-html-description": "<em>alpha</em> builds images using the <a href=\"https://github.com/GoogleContainerTools/jib/tree/master/jib-maven-plugin\">Jib plugin for Maven</a>."
},
"plugin": {
"$ref": "#/definitions/BuilderPlugin",
"description": "plugin used to build this artifact.",
"x-intellij-html-description": "plugin used to build this artifact."
},
"sync": {
"additionalProperties": {
"type": "string"
},
"default": "{}",
"description": "*alpha* local files synced to pods instead of triggering an image build when modified. This is a mapping of local files to sync to remote folders.",
"examples": [
"{\"*.py\": \".\", \"css/**/*.css\": \"app/css\"}"
],
"type": "object",
"x-intellij-html-description": "<em>alpha</em> local files synced to pods instead of triggering an image build when modified. This is a mapping of local files to sync to remote folders."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"image",
"context",
"sync",
"plugin",
"jibGradle"
],
"properties": {
"context": {
"default": ".",
"description": "directory containing the artifact's sources.",
"type": "string",
"x-intellij-html-description": "directory containing the artifact's sources."
},
"image": {
"description": "name of the image to be built.",
"examples": [
"gcr.io/k8s-skaffold/example"
],
"type": "string",
"x-intellij-html-description": "name of the image to be built."
},
"jibGradle": {
"$ref": "#/definitions/JibGradleArtifact",
"description": "*alpha* builds images using the [Jib plugin for Gradle](https://github.com/GoogleContainerTools/jib/tree/master/jib-gradle-plugin).",
"x-intellij-html-description": "<em>alpha</em> builds images using the <a href=\"https://github.com/GoogleContainerTools/jib/tree/master/jib-gradle-plugin\">Jib plugin for Gradle</a>."
},
"plugin": {
"$ref": "#/definitions/BuilderPlugin",
"description": "plugin used to build this artifact.",
"x-intellij-html-description": "plugin used to build this artifact."
},
"sync": {
"additionalProperties": {
"type": "string"
},
"default": "{}",
"description": "*alpha* local files synced to pods instead of triggering an image build when modified. This is a mapping of local files to sync to remote folders.",
"examples": [
"{\"*.py\": \".\", \"css/**/*.css\": \"app/css\"}"
],
"type": "object",
"x-intellij-html-description": "<em>alpha</em> local files synced to pods instead of triggering an image build when modified. This is a mapping of local files to sync to remote folders."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"image",
"context",
"sync",
"plugin",
"kaniko"
],
"properties": {
"context": {
"default": ".",
"description": "directory containing the artifact's sources.",
"type": "string",
"x-intellij-html-description": "directory containing the artifact's sources."
},
"image": {
"description": "name of the image to be built.",
"examples": [
"gcr.io/k8s-skaffold/example"
],
"type": "string",
"x-intellij-html-description": "name of the image to be built."
},
"kaniko": {
"$ref": "#/definitions/KanikoArtifact",
"description": "*alpha* builds images using [kaniko](https://github.com/GoogleContainerTools/kaniko).",
"x-intellij-html-description": "<em>alpha</em> builds images using <a href=\"https://github.com/GoogleContainerTools/kaniko\">kaniko</a>."
},
"plugin": {
"$ref": "#/definitions/BuilderPlugin",
"description": "plugin used to build this artifact.",
"x-intellij-html-description": "plugin used to build this artifact."
},
"sync": {
"additionalProperties": {
"type": "string"
},
"default": "{}",
"description": "*alpha* local files synced to pods instead of triggering an image build when modified. This is a mapping of local files to sync to remote folders.",
"examples": [
"{\"*.py\": \".\", \"css/**/*.css\": \"app/css\"}"
],
"type": "object",
"x-intellij-html-description": "<em>alpha</em> local files synced to pods instead of triggering an image build when modified. This is a mapping of local files to sync to remote folders."
}
}
}
],
"description": "items that need to be built, along with the context in which they should be built.",
"required": [
"image"
],
"x-intellij-html-description": "items that need to be built, along with the context in which they should be built."
},
"BazelArtifact": {
"additionalProperties": false,
"description": "*beta* describes an artifact built with [Bazel](https://bazel.build/).",
"preferredOrder": [
"target",
"args"
],
"properties": {
"args": {
"default": "[]",
"description": "additional args to pass to `bazel build`.",
"examples": [
"[\"-flag\", \"--otherflag\"]"
],
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "additional args to pass to <code>bazel build</code>."
},
"target": {
"description": "`bazel build` target to run.",
"examples": [
"//:skaffold_example.tar"
],
"type": "string",
"x-intellij-html-description": "<code>bazel build</code> target to run."
}
},
"required": [
"target"
],
"x-intellij-html-description": "<em>beta</em> describes an artifact built with <a href=\"https://bazel.build/\">Bazel</a>."
},
"BuildConfig": {
"anyOf": [
{
"additionalProperties": false,
"preferredOrder": [
"artifacts",
"insecureRegistries",
"tagPolicy",
"executionEnvironment"
],
"properties": {
"artifacts": {
"description": "the images you're going to be building.",
"items": {
"$ref": "#/definitions/Artifact"
},
"type": "array",
"x-intellij-html-description": "the images you're going to be building."
},
"executionEnvironment": {
"$ref": "#/definitions/ExecutionEnvironment",
"description": "environment in which the build should run. Possible values: googleCloudBuild.",
"x-intellij-html-description": "environment in which the build should run. Possible values: googleCloudBuild."
},
"insecureRegistries": {
"default": "[]",
"description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS."
},
"tagPolicy": {
"$ref": "#/definitions/TagPolicy",
"description": "*beta* determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to `gitCommit: {}`.",
"x-intellij-html-description": "<em>beta</em> determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to <code>gitCommit: {}</code>."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"artifacts",
"insecureRegistries",
"tagPolicy",
"executionEnvironment",
"local"
],
"properties": {
"artifacts": {
"description": "the images you're going to be building.",
"items": {
"$ref": "#/definitions/Artifact"
},
"type": "array",
"x-intellij-html-description": "the images you're going to be building."
},
"executionEnvironment": {
"$ref": "#/definitions/ExecutionEnvironment",
"description": "environment in which the build should run. Possible values: googleCloudBuild.",
"x-intellij-html-description": "environment in which the build should run. Possible values: googleCloudBuild."
},
"insecureRegistries": {
"default": "[]",
"description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS."
},
"local": {
"$ref": "#/definitions/LocalBuild",
"description": "*beta* describes how to do a build on the local docker daemon and optionally push to a repository.",
"x-intellij-html-description": "<em>beta</em> describes how to do a build on the local docker daemon and optionally push to a repository."
},
"tagPolicy": {
"$ref": "#/definitions/TagPolicy",
"description": "*beta* determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to `gitCommit: {}`.",
"x-intellij-html-description": "<em>beta</em> determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to <code>gitCommit: {}</code>."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"artifacts",
"insecureRegistries",
"tagPolicy",
"executionEnvironment",
"googleCloudBuild"
],
"properties": {
"artifacts": {
"description": "the images you're going to be building.",
"items": {
"$ref": "#/definitions/Artifact"
},
"type": "array",
"x-intellij-html-description": "the images you're going to be building."
},
"executionEnvironment": {
"$ref": "#/definitions/ExecutionEnvironment",
"description": "environment in which the build should run. Possible values: googleCloudBuild.",
"x-intellij-html-description": "environment in which the build should run. Possible values: googleCloudBuild."
},
"googleCloudBuild": {
"$ref": "#/definitions/GoogleCloudBuild",
"description": "*beta* describes how to do a remote build on [Google Cloud Build](https://cloud.google.com/cloud-build/).",
"x-intellij-html-description": "<em>beta</em> describes how to do a remote build on <a href=\"https://cloud.google.com/cloud-build/\">Google Cloud Build</a>."
},
"insecureRegistries": {
"default": "[]",
"description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS."
},
"tagPolicy": {
"$ref": "#/definitions/TagPolicy",
"description": "*beta* determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to `gitCommit: {}`.",
"x-intellij-html-description": "<em>beta</em> determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to <code>gitCommit: {}</code>."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"artifacts",
"insecureRegistries",
"tagPolicy",
"executionEnvironment",
"cluster"
],
"properties": {
"artifacts": {
"description": "the images you're going to be building.",
"items": {
"$ref": "#/definitions/Artifact"
},
"type": "array",
"x-intellij-html-description": "the images you're going to be building."
},
"cluster": {
"$ref": "#/definitions/ClusterDetails",
"description": "*beta* describes how to do an on-cluster build.",
"x-intellij-html-description": "<em>beta</em> describes how to do an on-cluster build."
},
"executionEnvironment": {
"$ref": "#/definitions/ExecutionEnvironment",
"description": "environment in which the build should run. Possible values: googleCloudBuild.",
"x-intellij-html-description": "environment in which the build should run. Possible values: googleCloudBuild."
},
"insecureRegistries": {
"default": "[]",
"description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS."
},
"tagPolicy": {
"$ref": "#/definitions/TagPolicy",
"description": "*beta* determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to `gitCommit: {}`.",
"x-intellij-html-description": "<em>beta</em> determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to <code>gitCommit: {}</code>."
}
}
}
],
"description": "contains all the configuration for the build steps.",
"x-intellij-html-description": "contains all the configuration for the build steps."
},
"BuilderPlugin": {
"additionalProperties": false,
"description": "contains all fields necessary for specifying a build plugin.",
"preferredOrder": [
"name",
"properties"
],
"properties": {
"name": {
"description": "name of the build plugin.",
"type": "string",
"x-intellij-html-description": "name of the build plugin."
},
"properties": {
"additionalProperties": {},
"default": "{}",
"description": "key-value pairs passed to the plugin.",
"type": "object",
"x-intellij-html-description": "key-value pairs passed to the plugin."
}
},
"x-intellij-html-description": "contains all fields necessary for specifying a build plugin."
},
"ClusterDetails": {
"additionalProperties": false,
"description": "*beta* describes how to do an on-cluster build.",
"preferredOrder": [
"pullSecret",
"pullSecretName",
"namespace",
"timeout",
"dockerConfig",
"resources"
],
"properties": {
"dockerConfig": {
"$ref": "#/definitions/DockerConfig",
"description": "describes how to mount the local Docker configuration into a pod.",
"x-intellij-html-description": "describes how to mount the local Docker configuration into a pod."
},
"namespace": {
"description": "Kubernetes namespace. Defaults to current namespace in Kubernetes configuration.",
"type": "string",
"x-intellij-html-description": "Kubernetes namespace. Defaults to current namespace in Kubernetes configuration."
},
"pullSecret": {
"description": "path to the secret key file.",
"type": "string",
"x-intellij-html-description": "path to the secret key file."
},
"pullSecretName": {
"default": "kaniko-secret",
"description": "name of the Kubernetes secret for pulling the files from the build context and pushing the final image.",
"type": "string",
"x-intellij-html-description": "name of the Kubernetes secret for pulling the files from the build context and pushing the final image."
},
"resources": {
"$ref": "#/definitions/ResourceRequirements",
"description": "define the resource requirements for the kaniko pod.",
"x-intellij-html-description": "define the resource requirements for the kaniko pod."
},
"timeout": {
"description": "amount of time (in seconds) that this build is allowed to run. Defaults to 20 minutes (`20m`).",
"type": "string",
"x-intellij-html-description": "amount of time (in seconds) that this build is allowed to run. Defaults to 20 minutes (<code>20m</code>)."
}
},
"x-intellij-html-description": "<em>beta</em> describes how to do an on-cluster build."
},
"DateTimeTagger": {
"additionalProperties": false,
"description": "*beta* tags images with the build timestamp.",
"preferredOrder": [
"format",
"timezone"
],
"properties": {
"format": {
"default": "2006-01-02_15-04-05.999_MST",
"description": "formats the date and time. See [#Time.Format](https://golang.org/pkg/time/#Time.Format).",
"type": "string",
"x-intellij-html-description": "formats the date and time. See <a href=\"https://golang.org/pkg/time/#Time.Format\">#Time.Format</a>."
},
"timezone": {
"description": "sets the timezone for the date and time. See [Time.LoadLocation](https://golang.org/pkg/time/#Time.LoadLocation). Defaults to the local timezone.",
"type": "string",
"x-intellij-html-description": "sets the timezone for the date and time. See <a href=\"https://golang.org/pkg/time/#Time.LoadLocation\">Time.LoadLocation</a>. Defaults to the local timezone."
}
},
"x-intellij-html-description": "<em>beta</em> tags images with the build timestamp."
},
"DeployConfig": {
"anyOf": [
{
"additionalProperties": false
},
{
"additionalProperties": false,
"preferredOrder": [
"helm"
],
"properties": {
"helm": {
"$ref": "#/definitions/HelmDeploy",
"description": "*beta* uses the `helm` CLI to apply the charts to the cluster.",
"x-intellij-html-description": "<em>beta</em> uses the <code>helm</code> CLI to apply the charts to the cluster."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"kubectl"
],
"properties": {
"kubectl": {
"$ref": "#/definitions/KubectlDeploy",
"description": "*beta* uses a client side `kubectl apply` to deploy manifests. You'll need a `kubectl` CLI version installed that's compatible with your cluster.",
"x-intellij-html-description": "<em>beta</em> uses a client side <code>kubectl apply</code> to deploy manifests. You'll need a <code>kubectl</code> CLI version installed that's compatible with your cluster."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"kustomize"
],
"properties": {
"kustomize": {
"$ref": "#/definitions/KustomizeDeploy",
"description": "*beta* uses the `kustomize` CLI to \"patch\" a deployment for a target environment.",
"x-intellij-html-description": "<em>beta</em> uses the <code>kustomize</code> CLI to "patch" a deployment for a target environment."
}
}
}
],
"description": "contains all the configuration needed by the deploy steps.",
"x-intellij-html-description": "contains all the configuration needed by the deploy steps."
},
"DockerArtifact": {
"additionalProperties": false,
"description": "*beta* describes an artifact built from a Dockerfile, usually using `docker build`.",
"preferredOrder": [
"dockerfile",
"target",
"buildArgs",
"cacheFrom"
],
"properties": {
"buildArgs": {
"additionalProperties": {
"type": "string"
},
"default": "{}",
"description": "arguments passed to the docker build.",
"examples": [
"{\"key1\": \"value1\", \"key2\": \"value2\"}"
],
"type": "object",
"x-intellij-html-description": "arguments passed to the docker build."
},
"cacheFrom": {
"default": "[]",
"description": "the Docker images used as cache sources.",
"examples": [
"[\"golang:1.10.1-alpine3.7\", \"alpine:3.7\"]"
],
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "the Docker images used as cache sources."
},
"dockerfile": {
"default": "Dockerfile",
"description": "locates the Dockerfile relative to workspace.",
"type": "string",
"x-intellij-html-description": "locates the Dockerfile relative to workspace."
},
"target": {
"description": "Dockerfile target name to build.",
"type": "string",
"x-intellij-html-description": "Dockerfile target name to build."
}
},
"x-intellij-html-description": "<em>beta</em> describes an artifact built from a Dockerfile, usually using <code>docker build</code>."
},
"DockerConfig": {
"additionalProperties": false,
"description": "contains information about the docker `config.json` to mount.",
"preferredOrder": [
"path",
"secretName"
],
"properties": {
"path": {
"description": "path to the docker `config.json`.",
"type": "string",
"x-intellij-html-description": "path to the docker <code>config.json</code>."
},
"secretName": {
"description": "Kubernetes secret that will hold the Docker configuration.",
"type": "string",
"x-intellij-html-description": "Kubernetes secret that will hold the Docker configuration."
}
},
"x-intellij-html-description": "contains information about the docker <code>config.json</code> to mount."
},
"EnvTemplateTagger": {
"additionalProperties": false,
"description": "*beta* tags images with a configurable template string.",
"preferredOrder": [
"template"
],
"properties": {
"template": {
"description": "used to produce the image name and tag. See golang [text/template](https://golang.org/pkg/text/template/). The template is executed against the current environment, with those variables injected: IMAGE_NAME | Name of the image being built, as supplied in the artifacts section.",
"examples": [
"{{.RELEASE}}-{{.IMAGE_NAME}}"
],
"type": "string",
"x-intellij-html-description": "used to produce the image name and tag. See golang <a href=\"https://golang.org/pkg/text/template/\">text/template</a>. The template is executed against the current environment, with those variables injected: IMAGE_NAME | Name of the image being built, as supplied in the artifacts section."
}
},
"required": [
"template"
],
"x-intellij-html-description": "<em>beta</em> tags images with a configurable template string."
},
"ExecEnvironment": {
"description": "name of an execution environment.",
"type": "string",
"x-intellij-html-description": "name of an execution environment."
},
"ExecutionEnvironment": {
"additionalProperties": false,
"description": "environment in which the build should run (ex. local or in-cluster, etc.).",
"preferredOrder": [
"name",
"properties"
],
"properties": {
"name": {
"$ref": "#/definitions/ExecEnvironment",
"description": "name of the environment.",
"x-intellij-html-description": "name of the environment."
},
"properties": {
"additionalProperties": {},
"default": "{}",
"description": "key-value pairs passed to the environment.",
"type": "object",
"x-intellij-html-description": "key-value pairs passed to the environment."
}
},
"x-intellij-html-description": "environment in which the build should run (ex. local or in-cluster, etc.)."
},
"GitTagger": {
"description": "*beta* tags images with the git tag or commit of the artifact's workspace.",
"x-intellij-html-description": "<em>beta</em> tags images with the git tag or commit of the artifact's workspace."
},
"GoogleCloudBuild": {
"additionalProperties": false,
"description": "*beta* describes how to do a remote build on [Google Cloud Build](https://cloud.google.com/cloud-build/docs/). Docker and Jib artifacts can be built on Cloud Build. The `projectId` needs to be provided and the currently logged in user should be given permissions to trigger new builds.",
"preferredOrder": [
"projectId",
"diskSizeGb",
"machineType",
"timeout",
"dockerImage",
"mavenImage",
"gradleImage"
],
"properties": {
"diskSizeGb": {
"description": "disk size of the VM that runs the build. See [Cloud Build Reference](https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions).",
"type": "integer",
"x-intellij-html-description": "disk size of the VM that runs the build. See <a href=\"https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions\">Cloud Build Reference</a>."
},
"dockerImage": {
"default": "gcr.io/cloud-builders/docker",
"description": "image that runs a Docker build. See [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders).",
"type": "string",
"x-intellij-html-description": "image that runs a Docker build. See <a href=\"https://cloud.google.com/cloud-build/docs/cloud-builders\">Cloud Builders</a>."
},
"gradleImage": {
"default": "gcr.io/cloud-builders/gradle",
"description": "image that runs a Gradle build. See [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders).",
"type": "string",
"x-intellij-html-description": "image that runs a Gradle build. See <a href=\"https://cloud.google.com/cloud-build/docs/cloud-builders\">Cloud Builders</a>."
},
"machineType": {
"description": "type of the VM that runs the build. See [Cloud Build Reference](https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions).",
"type": "string",
"x-intellij-html-description": "type of the VM that runs the build. See <a href=\"https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions\">Cloud Build Reference</a>."
},
"mavenImage": {
"default": "gcr.io/cloud-builders/mvn",
"description": "image that runs a Maven build. See [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders).",
"type": "string",
"x-intellij-html-description": "image that runs a Maven build. See <a href=\"https://cloud.google.com/cloud-build/docs/cloud-builders\">Cloud Builders</a>."
},
"projectId": {
"description": "ID of your Cloud Platform Project. If it is not provided, Skaffold will guess it from the image name. For example, given the artifact image name `gcr.io/myproject/image`, Skaffold will use the `myproject` GCP project.",
"type": "string",
"x-intellij-html-description": "ID of your Cloud Platform Project. If it is not provided, Skaffold will guess it from the image name. For example, given the artifact image name <code>gcr.io/myproject/image</code>, Skaffold will use the <code>myproject</code> GCP project."
},
"timeout": {
"description": "amount of time (in seconds) that this build should be allowed to run. See [Cloud Build Reference](https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#resource-build).",
"type": "string",
"x-intellij-html-description": "amount of time (in seconds) that this build should be allowed to run. See <a href=\"https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#resource-build\">Cloud Build Reference</a>."
}
},
"x-intellij-html-description": "<em>beta</em> describes how to do a remote build on <a href=\"https://cloud.google.com/cloud-build/docs/\">Google Cloud Build</a>. Docker and Jib artifacts can be built on Cloud Build. The <code>projectId</code> needs to be provided and the currently logged in user should be given permissions to trigger new builds."
},
"HelmConventionConfig": {
"description": "image config in the syntax of image.repository and image.tag.",
"x-intellij-html-description": "image config in the syntax of image.repository and image.tag."
},
"HelmDeploy": {
"additionalProperties": false,
"description": "*beta* uses the `helm` CLI to apply the charts to the cluster.",
"preferredOrder": [
"releases",
"flags"
],
"properties": {
"flags": {
"$ref": "#/definitions/HelmDeployFlags",
"description": "additional option flags that are passed on the command line to `helm`.",
"x-intellij-html-description": "additional option flags that are passed on the command line to <code>helm</code>."
},
"releases": {
"description": "a list of Helm releases.",
"items": {
"$ref": "#/definitions/HelmRelease"
},
"type": "array",
"x-intellij-html-description": "a list of Helm releases."
}
},
"required": [
"releases"
],
"x-intellij-html-description": "<em>beta</em> uses the <code>helm</code> CLI to apply the charts to the cluster."
},
"HelmDeployFlags": {
"additionalProperties": false,
"description": "additional option flags that are passed on the command line to `helm`.",
"preferredOrder": [
"global",
"install",
"upgrade"
],
"properties": {
"global": {
"default": "[]",
"description": "additional flags passed on every command.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "additional flags passed on every command."
},
"install": {
"default": "[]",
"description": "additional flags passed to (`helm install`).",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "additional flags passed to (<code>helm install</code>)."
},
"upgrade": {
"default": "[]",
"description": "additional flags passed to (`helm upgrade`).",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "additional flags passed to (<code>helm upgrade</code>)."
}
},
"x-intellij-html-description": "additional option flags that are passed on the command line to <code>helm</code>."
},
"HelmFQNConfig": {
"additionalProperties": false,
"description": "image config to use the FullyQualifiedImageName as param to set.",
"preferredOrder": [
"property"
],
"properties": {
"property": {
"description": "defines the image config.",
"type": "string",
"x-intellij-html-description": "defines the image config."
}
},
"x-intellij-html-description": "image config to use the FullyQualifiedImageName as param to set."
},
"HelmImageStrategy": {
"anyOf": [
{
"additionalProperties": false
},
{
"additionalProperties": false,
"preferredOrder": [
"fqn"
],
"properties": {
"fqn": {
"$ref": "#/definitions/HelmFQNConfig",
"description": "image configuration uses the syntax `IMAGE-NAME=IMAGE-REPOSITORY:IMAGE-TAG`.",
"x-intellij-html-description": "image configuration uses the syntax <code>IMAGE-NAME=IMAGE-REPOSITORY:IMAGE-TAG</code>."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"helm"
],
"properties": {
"helm": {
"$ref": "#/definitions/HelmConventionConfig",
"description": "image configuration uses the syntax `IMAGE-NAME.repository=IMAGE-REPOSITORY, IMAGE-NAME.tag=IMAGE-TAG`.",
"x-intellij-html-description": "image configuration uses the syntax <code>IMAGE-NAME.repository=IMAGE-REPOSITORY, IMAGE-NAME.tag=IMAGE-TAG</code>."
}
}
}
],
"description": "adds image configurations to the Helm `values` file.",
"x-intellij-html-description": "adds image configurations to the Helm <code>values</code> file."
},
"HelmPackaged": {
"additionalProperties": false,
"description": "parameters for packaging helm chart (`helm package`).",
"preferredOrder": [
"version",
"appVersion"
],
"properties": {
"appVersion": {
"description": "sets the `appVersion` on the chart to this version.",
"type": "string",
"x-intellij-html-description": "sets the <code>appVersion</code> on the chart to this version."
},
"version": {
"description": "sets the `version` on the chart to this semver version.",
"type": "string",
"x-intellij-html-description": "sets the <code>version</code> on the chart to this semver version."
}
},
"x-intellij-html-description": "parameters for packaging helm chart (<code>helm package</code>)."
},
"HelmRelease": {
"additionalProperties": false,
"description": "describes a helm release to be deployed.",
"preferredOrder": [
"name",
"chartPath",
"valuesFiles",
"values",
"namespace",
"version",
"setValues",
"setValueTemplates",
"wait",
"recreatePods",
"skipBuildDependencies",
"useHelmSecrets",
"overrides",
"packaged",
"imageStrategy"
],
"properties": {
"chartPath": {
"description": "path to the Helm chart.",
"type": "string",
"x-intellij-html-description": "path to the Helm chart."
},
"imageStrategy": {
"$ref": "#/definitions/HelmImageStrategy",
"description": "adds image configurations to the Helm `values` file.",
"x-intellij-html-description": "adds image configurations to the Helm <code>values</code> file."
},
"name": {
"description": "name of the Helm release.",
"type": "string",
"x-intellij-html-description": "name of the Helm release."
},
"namespace": {
"description": "Kubernetes namespace.",
"type": "string",
"x-intellij-html-description": "Kubernetes namespace."
},
"overrides": {
"description": "key-value pairs. If present, Skaffold will build a Helm `values` file that overrides the original and use it to call Helm CLI (`--f` flag).",
"x-intellij-html-description": "key-value pairs. If present, Skaffold will build a Helm <code>values</code> file that overrides the original and use it to call Helm CLI (<code>--f</code> flag)."
},
"packaged": {
"$ref": "#/definitions/HelmPackaged",
"description": "parameters for packaging helm chart (`helm package`).",
"x-intellij-html-description": "parameters for packaging helm chart (<code>helm package</code>)."
},
"recreatePods": {
"default": "false",
"description": "if `true`, Skaffold will send `--recreate-pods` flag to Helm CLI.",
"type": "boolean",
"x-intellij-html-description": "if <code>true</code>, Skaffold will send <code>--recreate-pods</code> flag to Helm CLI."
},
"setValueTemplates": {
"additionalProperties": {
"type": "string"
},
"default": "{}",
"description": "key-value pairs. If present, Skaffold will try to parse the value part of each key-value pair using environment variables in the system, then send `--set` flag to Helm CLI and append all parsed pairs after the flag.",
"type": "object",
"x-intellij-html-description": "key-value pairs. If present, Skaffold will try to parse the value part of each key-value pair using environment variables in the system, then send <code>--set</code> flag to Helm CLI and append all parsed pairs after the flag."
},
"setValues": {
"additionalProperties": {
"type": "string"
},
"default": "{}",
"description": "key-value pairs. If present, Skaffold will send `--set` flag to Helm CLI and append all pairs after the flag.",
"type": "object",
"x-intellij-html-description": "key-value pairs. If present, Skaffold will send <code>--set</code> flag to Helm CLI and append all pairs after the flag."
},
"skipBuildDependencies": {
"default": "false",
"description": "should build dependencies be skipped.",
"type": "boolean",
"x-intellij-html-description": "should build dependencies be skipped."
},
"useHelmSecrets": {
"default": "false",
"description": "instructs skaffold to use secrets plugin on deployment.",
"type": "boolean",
"x-intellij-html-description": "instructs skaffold to use secrets plugin on deployment."
},
"values": {
"additionalProperties": {
"type": "string"
},
"default": "{}",
"description": "key-value pairs supplementing the Helm `values` file.",
"type": "object",
"x-intellij-html-description": "key-value pairs supplementing the Helm <code>values</code> file."
},
"valuesFiles": {
"default": "[]",
"description": "paths to the Helm `values` files.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "paths to the Helm <code>values</code> files."
},
"version": {
"description": "version of the chart.",
"type": "string",
"x-intellij-html-description": "version of the chart."
},
"wait": {
"default": "false",
"description": "if `true`, Skaffold will send `--wait` flag to Helm CLI.",
"type": "boolean",
"x-intellij-html-description": "if <code>true</code>, Skaffold will send <code>--wait</code> flag to Helm CLI."
}
},
"required": [
"name",
"chartPath"
],
"x-intellij-html-description": "describes a helm release to be deployed."
},
"JSONPatch": {
"additionalProperties": false,
"description": "patch to be applied by a profile.",
"preferredOrder": [
"op",
"path",
"from",
"value"
],
"properties": {
"from": {
"description": "source position in the yaml, used for `copy` or `move` operations.",
"type": "string",
"x-intellij-html-description": "source position in the yaml, used for <code>copy</code> or <code>move</code> operations."
},
"op": {
"default": "replace",
"description": "operation carried by the patch: `add`, `remove`, `replace`, `move`, `copy` or `test`.",
"type": "string",
"x-intellij-html-description": "operation carried by the patch: <code>add</code>, <code>remove</code>, <code>replace</code>, <code>move</code>, <code>copy</code> or <code>test</code>."
},
"path": {
"description": "position in the yaml where the operation takes place. For example, this targets the `dockerfile` of the first artifact built.",
"examples": [
"/build/artifacts/0/docker/dockerfile"
],
"type": "string",
"x-intellij-html-description": "position in the yaml where the operation takes place. For example, this targets the <code>dockerfile</code> of the first artifact built."
},
"value": {
"description": "value to apply. Can be any portion of yaml.",
"x-intellij-html-description": "value to apply. Can be any portion of yaml."
}
},
"required": [
"path"
],
"x-intellij-html-description": "patch to be applied by a profile."
},
"JibGradleArtifact": {
"additionalProperties": false,
"description": "*alpha* builds images using the [Jib plugin for Gradle](https://github.com/GoogleContainerTools/jib/tree/master/jib-gradle-plugin).",
"preferredOrder": [
"project",
"args"
],
"properties": {
"args": {
"default": "[]",
"description": "additional build flags passed to Gradle.",
"examples": [
"[\"--no-build-cache\"]"
],
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "additional build flags passed to Gradle."
},
"project": {
"description": "selects which Gradle project to build.",
"type": "string",
"x-intellij-html-description": "selects which Gradle project to build."
}
},
"x-intellij-html-description": "<em>alpha</em> builds images using the <a href=\"https://github.com/GoogleContainerTools/jib/tree/master/jib-gradle-plugin\">Jib plugin for Gradle</a>."
},
"JibMavenArtifact": {
"additionalProperties": false,
"description": "*alpha* builds images using the [Jib plugin for Maven](https://github.com/GoogleContainerTools/jib/tree/master/jib-maven-plugin).",
"preferredOrder": [
"module",
"profile",
"args"
],
"properties": {
"args": {
"default": "[]",
"description": "additional build flags passed to Maven.",
"examples": [
"[\"-x\", \"-DskipTests\"]"
],
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "additional build flags passed to Maven."
},
"module": {
"description": "selects which Maven module to build, for a multi module project.",
"type": "string",
"x-intellij-html-description": "selects which Maven module to build, for a multi module project."
},
"profile": {
"description": "selects which Maven profile to activate.",
"type": "string",
"x-intellij-html-description": "selects which Maven profile to activate."
}
},
"x-intellij-html-description": "<em>alpha</em> builds images using the <a href=\"https://github.com/GoogleContainerTools/jib/tree/master/jib-maven-plugin\">Jib plugin for Maven</a>."
},
"KanikoArtifact": {
"additionalProperties": false,
"description": "*alpha* describes an artifact built from a Dockerfile, with kaniko.",
"preferredOrder": [
"flags",
"dockerfile",
"target",
"buildArgs",
"buildContext",
"image",
"cache"
],
"properties": {
"buildArgs": {
"additionalProperties": {
"type": "string"
},
"default": "{}",
"description": "arguments passed to the docker build.",
"examples": [
"{\"key1\": \"value1\", \"key2\": \"value2\"}"
],
"type": "object",
"x-intellij-html-description": "arguments passed to the docker build."
},
"buildContext": {
"$ref": "#/definitions/KanikoBuildContext",
"description": "where the build context for this artifact resides.",
"x-intellij-html-description": "where the build context for this artifact resides."
},
"cache": {
"$ref": "#/definitions/KanikoCache",
"description": "configures Kaniko caching. If a cache is specified, Kaniko will use a remote cache which will speed up builds.",
"x-intellij-html-description": "configures Kaniko caching. If a cache is specified, Kaniko will use a remote cache which will speed up builds."
},
"dockerfile": {
"default": "Dockerfile",
"description": "locates the Dockerfile relative to workspace.",
"type": "string",
"x-intellij-html-description": "locates the Dockerfile relative to workspace."
},
"flags": {
"default": "[]",
"description": "additional flags to be passed to Kaniko command line. See [Kaniko Additional Flags](https://github.com/GoogleContainerTools/kaniko#additional-flags). Deprecated - instead the named, unique fields should be used, e.g. `buildArgs`, `cache`, `target`.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "additional flags to be passed to Kaniko command line. See <a href=\"https://github.com/GoogleContainerTools/kaniko#additional-flags\">Kaniko Additional Flags</a>. Deprecated - instead the named, unique fields should be used, e.g. <code>buildArgs</code>, <code>cache</code>, <code>target</code>."
},
"image": {
"description": "Docker image used by the Kaniko pod. Defaults to the latest released version of `gcr.io/kaniko-project/executor`.",
"type": "string",
"x-intellij-html-description": "Docker image used by the Kaniko pod. Defaults to the latest released version of <code>gcr.io/kaniko-project/executor</code>."
},
"target": {
"description": "Dockerfile target name to build.",
"type": "string",
"x-intellij-html-description": "Dockerfile target name to build."
}
},
"x-intellij-html-description": "<em>alpha</em> describes an artifact built from a Dockerfile, with kaniko."
},
"KanikoBuildContext": {
"additionalProperties": false,
"description": "contains the different fields available to specify a Kaniko build context.",
"preferredOrder": [
"gcsBucket",
"localDir"
],
"properties": {
"gcsBucket": {
"description": "CGS bucket to which sources are uploaded. Kaniko will need access to that bucket to download the sources.",
"type": "string",
"x-intellij-html-description": "CGS bucket to which sources are uploaded. Kaniko will need access to that bucket to download the sources."
},
"localDir": {
"$ref": "#/definitions/LocalDir",
"description": "configures how Kaniko mounts sources directly via an `emptyDir` volume.",
"x-intellij-html-description": "configures how Kaniko mounts sources directly via an <code>emptyDir</code> volume."
}
},
"x-intellij-html-description": "contains the different fields available to specify a Kaniko build context."
},
"KanikoCache": {
"additionalProperties": false,
"description": "configures Kaniko caching. If a cache is specified, Kaniko will use a remote cache which will speed up builds.",
"preferredOrder": [
"repo"
],
"properties": {
"repo": {
"description": "a remote repository to store cached layers. If none is specified, one will be inferred from the image name. See [Kaniko Caching](https://github.com/GoogleContainerTools/kaniko#caching).",
"type": "string",
"x-intellij-html-description": "a remote repository to store cached layers. If none is specified, one will be inferred from the image name. See <a href=\"https://github.com/GoogleContainerTools/kaniko#caching\">Kaniko Caching</a>."
}
},
"x-intellij-html-description": "configures Kaniko caching. If a cache is specified, Kaniko will use a remote cache which will speed up builds."
},
"KubectlDeploy": {
"additionalProperties": false,
"description": "*beta* uses a client side `kubectl apply` to deploy manifests. You'll need a `kubectl` CLI version installed that's compatible with your cluster.",
"preferredOrder": [
"manifests",
"remoteManifests",
"flags"
],
"properties": {
"flags": {
"$ref": "#/definitions/KubectlFlags",
"description": "additional flags passed to `kubectl`.",
"x-intellij-html-description": "additional flags passed to <code>kubectl</code>."
},
"manifests": {
"default": "[\"k8s/*.yaml\"]",
"description": "the Kubernetes yaml or json manifests.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "the Kubernetes yaml or json manifests."
},
"remoteManifests": {
"default": "[]",
"description": "Kubernetes manifests in remote clusters.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "Kubernetes manifests in remote clusters."
}
},
"x-intellij-html-description": "<em>beta</em> uses a client side <code>kubectl apply</code> to deploy manifests. You'll need a <code>kubectl</code> CLI version installed that's compatible with your cluster."
},
"KubectlFlags": {
"additionalProperties": false,
"description": "additional flags passed on the command line to kubectl either on every command (Global), on creations (Apply) or deletions (Delete).",
"preferredOrder": [
"global",
"apply",
"delete"
],
"properties": {
"apply": {
"default": "[]",
"description": "additional flags passed on creations (`kubectl apply`).",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "additional flags passed on creations (<code>kubectl apply</code>)."
},
"delete": {
"default": "[]",
"description": "additional flags passed on deletions (`kubectl delete`).",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "additional flags passed on deletions (<code>kubectl delete</code>)."
},
"global": {
"default": "[]",
"description": "additional flags passed on every command.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "additional flags passed on every command."
}
},
"x-intellij-html-description": "additional flags passed on the command line to kubectl either on every command (Global), on creations (Apply) or deletions (Delete)."
},
"KustomizeDeploy": {
"additionalProperties": false,
"description": "*beta* uses the `kustomize` CLI to \"patch\" a deployment for a target environment.",
"preferredOrder": [
"path",
"flags"
],
"properties": {
"flags": {
"$ref": "#/definitions/KubectlFlags",
"description": "additional flags passed to `kubectl`.",
"x-intellij-html-description": "additional flags passed to <code>kubectl</code>."
},
"path": {
"default": ".",
"description": "path to Kustomization files.",
"type": "string",
"x-intellij-html-description": "path to Kustomization files."
}
},
"x-intellij-html-description": "<em>beta</em> uses the <code>kustomize</code> CLI to "patch" a deployment for a target environment."
},
"LocalBuild": {
"additionalProperties": false,
"description": "*beta* describes how to do a build on the local docker daemon and optionally push to a repository.",
"preferredOrder": [
"push",
"useDockerCLI",
"useBuildkit"
],
"properties": {
"push": {
"description": "should images be pushed to a registry. If not specified, images are pushed only if the current Kubernetes context connects to a remote cluster.",
"type": "boolean",
"x-intellij-html-description": "should images be pushed to a registry. If not specified, images are pushed only if the current Kubernetes context connects to a remote cluster."
},
"useBuildkit": {
"default": "false",
"description": "use BuildKit to build Docker images.",
"type": "boolean",
"x-intellij-html-description": "use BuildKit to build Docker images."
},
"useDockerCLI": {
"default": "false",
"description": "use `docker` command-line interface instead of Docker Engine APIs.",
"type": "boolean",
"x-intellij-html-description": "use <code>docker</code> command-line interface instead of Docker Engine APIs."
}
},
"x-intellij-html-description": "<em>beta</em> describes how to do a build on the local docker daemon and optionally push to a repository."
},
"LocalDir": {
"additionalProperties": false,
"description": "configures how Kaniko mounts sources directly via an `emptyDir` volume.",
"preferredOrder": [
"initImage"
],
"properties": {
"initImage": {
"description": "image used to run init container which mounts kaniko context.",
"type": "string",
"x-intellij-html-description": "image used to run init container which mounts kaniko context."
}
},
"x-intellij-html-description": "configures how Kaniko mounts sources directly via an <code>emptyDir</code> volume."
},
"Profile": {
"additionalProperties": false,
"description": "*beta* profiles are used to override any `build`, `test` or `deploy` configuration.",
"preferredOrder": [
"name",
"build",
"test",
"deploy",
"patches",
"activation"
],
"properties": {
"activation": {
"description": "criteria by which a profile can be auto-activated. The profile is auto-activated if any one of the activations are triggered. An activation is triggered if all of the criteria (env, kubeContext, command) are triggered.",
"items": {
"$ref": "#/definitions/Activation"
},
"type": "array",
"x-intellij-html-description": "criteria by which a profile can be auto-activated. The profile is auto-activated if any one of the activations are triggered. An activation is triggered if all of the criteria (env, kubeContext, command) are triggered."
},
"build": {
"$ref": "#/definitions/BuildConfig",
"description": "describes how images are built.",
"x-intellij-html-description": "describes how images are built."
},
"deploy": {
"$ref": "#/definitions/DeployConfig",
"description": "describes how images are deployed.",
"x-intellij-html-description": "describes how images are deployed."
},
"name": {
"description": "a unique profile name.",
"examples": [
"profile-prod"
],
"type": "string",
"x-intellij-html-description": "a unique profile name."
},
"patches": {
"description": "patches applied to the configuration. Patches use the JSON patch notation.",
"items": {
"$ref": "#/definitions/JSONPatch"
},
"type": "array",
"x-intellij-html-description": "patches applied to the configuration. Patches use the JSON patch notation."
},
"test": {
"description": "describes how images are tested.",
"items": {
"$ref": "#/definitions/TestCase"
},
"type": "array",
"x-intellij-html-description": "describes how images are tested."
}
},
"required": [
"name"
],
"x-intellij-html-description": "<em>beta</em> profiles are used to override any <code>build</code>, <code>test</code> or <code>deploy</code> configuration."
},
"ResourceRequirement": {
"additionalProperties": false,
"description": "stores the CPU/Memory requirements for the pod.",
"preferredOrder": [
"cpu",
"memory"
],
"properties": {
"cpu": {
"description": "the number cores to be used.",
"examples": [
"2`, `2.0` or `200m"
],
"type": "string",
"x-intellij-html-description": "the number cores to be used."
},
"memory": {
"description": "the amount of memory to allocate to the pod.",
"examples": [
"1Gi` or `1000Mi"
],
"type": "string",
"x-intellij-html-description": "the amount of memory to allocate to the pod."
}
},
"x-intellij-html-description": "stores the CPU/Memory requirements for the pod."
},
"ResourceRequirements": {
"additionalProperties": false,
"description": "describes the resource requirements for the kaniko pod.",
"preferredOrder": [
"requests",
"limits"
],
"properties": {
"limits": {
"$ref": "#/definitions/ResourceRequirement",
"description": "[resource limits](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#resource-requests-and-limits-of-pod-and-container) for the Kaniko pod.",
"x-intellij-html-description": "<a href=\"https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#resource-requests-and-limits-of-pod-and-container\">resource limits</a> for the Kaniko pod."
},
"requests": {
"$ref": "#/definitions/ResourceRequirement",
"description": "[resource requests](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#resource-requests-and-limits-of-pod-and-container) for the Kaniko pod.",
"x-intellij-html-description": "<a href=\"https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#resource-requests-and-limits-of-pod-and-container\">resource requests</a> for the Kaniko pod."
}
},
"x-intellij-html-description": "describes the resource requirements for the kaniko pod."
},
"ShaTagger": {
"description": "*beta* tags images with their sha256 digest.",
"x-intellij-html-description": "<em>beta</em> tags images with their sha256 digest."
},
"SkaffoldConfig": {
"additionalProperties": false,
"description": "holds the fields parsed from the Skaffold configuration file (skaffold.yaml).",
"preferredOrder": [
"apiVersion",
"kind",
"build",
"test",
"deploy",
"profiles"
],
"properties": {
"apiVersion": {
"description": "version of the configuration.",
"type": "string",
"x-intellij-html-description": "version of the configuration."
},
"build": {
"$ref": "#/definitions/BuildConfig",
"description": "describes how images are built.",
"x-intellij-html-description": "describes how images are built."
},
"deploy": {
"$ref": "#/definitions/DeployConfig",
"description": "describes how images are deployed.",
"x-intellij-html-description": "describes how images are deployed."
},
"kind": {
"default": "Config",
"description": "always `Config`.",
"type": "string",
"x-intellij-html-description": "always <code>Config</code>."
},
"profiles": {
"description": "*beta* can override be used to `build`, `test` or `deploy` configuration.",
"items": {
"$ref": "#/definitions/Profile"
},
"type": "array",
"x-intellij-html-description": "<em>beta</em> can override be used to <code>build</code>, <code>test</code> or <code>deploy</code> configuration."
},
"test": {
"description": "describes how images are tested.",
"items": {
"$ref": "#/definitions/TestCase"
},
"type": "array",
"x-intellij-html-description": "describes how images are tested."
}
},
"required": [
"apiVersion",
"kind"
],
"x-intellij-html-description": "holds the fields parsed from the Skaffold configuration file (skaffold.yaml)."
},
"TagPolicy": {
"additionalProperties": false,
"description": "contains all the configuration for the tagging step.",
"preferredOrder": [
"gitCommit",
"sha256",
"envTemplate",
"dateTime"
],
"properties": {
"dateTime": {
"$ref": "#/definitions/DateTimeTagger",
"description": "*beta* tags images with the build timestamp.",
"x-intellij-html-description": "<em>beta</em> tags images with the build timestamp."
},
"envTemplate": {
"$ref": "#/definitions/EnvTemplateTagger",
"description": "*beta* tags images with a configurable template string.",
"x-intellij-html-description": "<em>beta</em> tags images with a configurable template string."
},
"gitCommit": {
"$ref": "#/definitions/GitTagger",
"description": "*beta* tags images with the git tag or commit of the artifact's workspace.",
"x-intellij-html-description": "<em>beta</em> tags images with the git tag or commit of the artifact's workspace."
},
"sha256": {
"$ref": "#/definitions/ShaTagger",
"description": "*beta* tags images with their sha256 digest.",
"x-intellij-html-description": "<em>beta</em> tags images with their sha256 digest."
}
},
"x-intellij-html-description": "contains all the configuration for the tagging step."
},
"TestCase": {
"additionalProperties": false,
"description": "a list of structure tests to run on images that Skaffold builds.",
"preferredOrder": [
"image",
"structureTests"
],
"properties": {
"image": {
"description": "artifact on which to run those tests.",
"examples": [
"gcr.io/k8s-skaffold/example"
],
"type": "string",
"x-intellij-html-description": "artifact on which to run those tests."
},
"structureTests": {
"default": "[]",
"description": "the [Container Structure Tests](https://github.com/GoogleContainerTools/container-structure-test) to run on that artifact.",
"examples": [
"[\"./test/*\"]"
],
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "the <a href=\"https://github.com/GoogleContainerTools/container-structure-test\">Container Structure Tests</a> to run on that artifact."
}
},
"required": [
"image"
],
"x-intellij-html-description": "a list of structure tests to run on images that Skaffold builds."
}
},
"type": "object"
} | o6364 |
{
"properties": {
"income": {
"description": "The income amount",
"type": "number"
},
"tax_brackets": {
"description": "The tax brackets and rates",
"items": {
"properties": {
"max_income": {
"description": "The maximum income for the tax bracket",
"type": "number"
},
"min_income": {
"description": "The minimum income for the tax bracket",
"type": "number"
},
"tax_rate": {
"description": "The tax rate for the tax bracket",
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"required": [
"income",
"tax_brackets"
],
"type": "object"
} | calculate_tax_44231160 |
{
"$schema": "http://json-schema.org/draft-04/schema",
"type": "object",
"format": "minimal",
"properties": {
"first_timers": {
"type": "object",
"patternProperties": {
"^[^/#]+$": {
"type": "object",
"format": "minimal_user",
"properties": {
"pull_request": {
"type": "string",
"pattern": "^[^/#]+/[^/#]+#[0123456789]+$"
}
},
"required": [
"pull_request"
]
}
},
"additionalProperties": false
},
"number_of_first_timers": {
"format": "positiveInteger"
},
"number_of_first_timer_pull_requests": {
"format": "positiveInteger"
},
"first_timer_pull_requests": {
"type": "object",
"patternProperties": {
"^[^/#]+/[^/#]+#[0123456789]+$": {
"type": "object",
"format": "minimal_pullrequest",
"properties": {
"first_timer": {
"type": "string",
"pattern": "^[^/#]+$"
}
},
"required": [
"first_timer"
]
}
},
"additionalProperties": false
},
"owner": {
"type": "object",
"format": "minimal_user"
}
},
"required": [
"first_timer_pull_requests",
"number_of_first_timer_pull_requests",
"number_of_first_timers",
"first_timers",
"owner"
]
} | o63383 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"description": "Add publications",
"properties": {
"journal_title": {
"type": "string",
"title": "Journal Title"
},
"persistent_identifiers": {
"items": {
"type": "string"
},
"type": "array",
"title": "Identifiers"
},
"journal_volume": {
"type": "integer",
"title": "Journal Volume"
},
"journal_year": {
"type": "integer",
"title": "Journal Year"
},
"journal_issue": {
"type": "integer",
"title": "Journal Issue"
},
"journal_page": {
"type": "integer",
"title": "Journal Page"
}
},
"title": "Internal Publication"
} | o66186 |
{
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema",
"javaType": "org.apache.streams.datasift.DatasiftWebhookData",
"properties": {
"id": {
"type": "string"
},
"hash": {
"type": "string"
},
"hash_type": {
"type": "string"
},
"count": {
"type": "number"
},
"delivered_at": {
"type": "string",
"_format": "date-time"
},
"interactions": {
"type": "array",
"items": {
"type": "object",
"javaType": "org.apache.streams.datasift.Datasift"
}
}
}
}
| o84908 |
{
"description": "PersistentVolumeStatus is the current status of a persistent volume.",
"properties": {
"message": {
"description": "A human-readable message indicating details about why the volume is in this state.",
"type": [
"string",
"null"
]
},
"phase": {
"description": "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase",
"type": [
"string",
"null"
]
},
"reason": {
"description": "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.",
"type": [
"string",
"null"
]
}
},
"type": "object"
} | kb_679_Normalized |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
},
"description": "LimitRangeItem defines a min/max usage limit for any resource that matches on kind.",
"properties": {
"default": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity"
},
"description": "Default resource requirement limit value by resource name if resource limit is omitted.",
"type": [
"object",
"null"
]
},
"defaultRequest": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity"
},
"description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.",
"type": [
"object",
"null"
]
},
"max": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity"
},
"description": "Max usage constraints on this kind by resource name.",
"type": [
"object",
"null"
]
},
"maxLimitRequestRatio": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity"
},
"description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.",
"type": [
"object",
"null"
]
},
"min": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity"
},
"description": "Min usage constraints on this kind by resource name.",
"type": [
"object",
"null"
]
},
"type": {
"description": "Type of resource that this limit applies to.",
"type": [
"string",
"null"
]
}
},
"required": [
"type"
],
"type": "object"
} | kb_528_Normalized |
{
"anyOf": [
{
"$ref": "#/definitions/SkaffoldConfig"
}
],
"definitions": {
"Activation": {
"additionalProperties": false,
"description": "criteria by which a profile is auto-activated.",
"preferredOrder": [
"env",
"kubeContext",
"command"
],
"properties": {
"command": {
"description": "a Skaffold command for which the profile is auto-activated.",
"examples": [
"dev"
],
"type": "string",
"x-intellij-html-description": "a Skaffold command for which the profile is auto-activated."
},
"env": {
"description": "a `key=pattern` pair. The profile is auto-activated if an Environment Variable `key` matches the pattern. If the pattern starts with `!`, activation happens if the remaining pattern is _not_ matched. The pattern matches if the Environment Variable value is exactly `pattern`, or the regex `pattern` is found in it. An empty `pattern` (e.g. `env: \"key=\"`) always only matches if the Environment Variable is undefined or empty.",
"examples": [
"ENV=production"
],
"type": "string",
"x-intellij-html-description": "a <code>key=pattern</code> pair. The profile is auto-activated if an Environment Variable <code>key</code> matches the pattern. If the pattern starts with <code>!</code>, activation happens if the remaining pattern is <em>not</em> matched. The pattern matches if the Environment Variable value is exactly <code>pattern</code>, or the regex <code>pattern</code> is found in it. An empty <code>pattern</code> (e.g. <code>env: "key="</code>) always only matches if the Environment Variable is undefined or empty."
},
"kubeContext": {
"description": "a Kubernetes context for which the profile is auto-activated.",
"examples": [
"minikube"
],
"type": "string",
"x-intellij-html-description": "a Kubernetes context for which the profile is auto-activated."
}
},
"x-intellij-html-description": "criteria by which a profile is auto-activated."
},
"Artifact": {
"anyOf": [
{
"additionalProperties": false,
"preferredOrder": [
"image",
"context",
"sync"
],
"properties": {
"context": {
"default": ".",
"description": "directory containing the artifact's sources.",
"type": "string",
"x-intellij-html-description": "directory containing the artifact's sources."
},
"image": {
"description": "name of the image to be built.",
"examples": [
"gcr.io/k8s-skaffold/example"
],
"type": "string",
"x-intellij-html-description": "name of the image to be built."
},
"sync": {
"$ref": "#/definitions/Sync",
"description": "*alpha* local files synced to pods instead of triggering an image build when modified.",
"x-intellij-html-description": "<em>alpha</em> local files synced to pods instead of triggering an image build when modified."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"image",
"context",
"sync",
"docker"
],
"properties": {
"context": {
"default": ".",
"description": "directory containing the artifact's sources.",
"type": "string",
"x-intellij-html-description": "directory containing the artifact's sources."
},
"docker": {
"$ref": "#/definitions/DockerArtifact",
"description": "*beta* describes an artifact built from a Dockerfile.",
"x-intellij-html-description": "<em>beta</em> describes an artifact built from a Dockerfile."
},
"image": {
"description": "name of the image to be built.",
"examples": [
"gcr.io/k8s-skaffold/example"
],
"type": "string",
"x-intellij-html-description": "name of the image to be built."
},
"sync": {
"$ref": "#/definitions/Sync",
"description": "*alpha* local files synced to pods instead of triggering an image build when modified.",
"x-intellij-html-description": "<em>alpha</em> local files synced to pods instead of triggering an image build when modified."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"image",
"context",
"sync",
"bazel"
],
"properties": {
"bazel": {
"$ref": "#/definitions/BazelArtifact",
"description": "*beta* requires bazel CLI to be installed and the sources to contain [Bazel](https://bazel.build/) configuration files.",
"x-intellij-html-description": "<em>beta</em> requires bazel CLI to be installed and the sources to contain <a href=\"https://bazel.build/\">Bazel</a> configuration files."
},
"context": {
"default": ".",
"description": "directory containing the artifact's sources.",
"type": "string",
"x-intellij-html-description": "directory containing the artifact's sources."
},
"image": {
"description": "name of the image to be built.",
"examples": [
"gcr.io/k8s-skaffold/example"
],
"type": "string",
"x-intellij-html-description": "name of the image to be built."
},
"sync": {
"$ref": "#/definitions/Sync",
"description": "*alpha* local files synced to pods instead of triggering an image build when modified.",
"x-intellij-html-description": "<em>alpha</em> local files synced to pods instead of triggering an image build when modified."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"image",
"context",
"sync",
"jib"
],
"properties": {
"context": {
"default": ".",
"description": "directory containing the artifact's sources.",
"type": "string",
"x-intellij-html-description": "directory containing the artifact's sources."
},
"image": {
"description": "name of the image to be built.",
"examples": [
"gcr.io/k8s-skaffold/example"
],
"type": "string",
"x-intellij-html-description": "name of the image to be built."
},
"jib": {
"$ref": "#/definitions/JibArtifact",
"description": "*alpha* builds images using the [Jib plugins for Maven or Gradle](https://github.com/GoogleContainerTools/jib/).",
"x-intellij-html-description": "<em>alpha</em> builds images using the <a href=\"https://github.com/GoogleContainerTools/jib/\">Jib plugins for Maven or Gradle</a>."
},
"sync": {
"$ref": "#/definitions/Sync",
"description": "*alpha* local files synced to pods instead of triggering an image build when modified.",
"x-intellij-html-description": "<em>alpha</em> local files synced to pods instead of triggering an image build when modified."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"image",
"context",
"sync",
"kaniko"
],
"properties": {
"context": {
"default": ".",
"description": "directory containing the artifact's sources.",
"type": "string",
"x-intellij-html-description": "directory containing the artifact's sources."
},
"image": {
"description": "name of the image to be built.",
"examples": [
"gcr.io/k8s-skaffold/example"
],
"type": "string",
"x-intellij-html-description": "name of the image to be built."
},
"kaniko": {
"$ref": "#/definitions/KanikoArtifact",
"description": "*alpha* builds images using [kaniko](https://github.com/GoogleContainerTools/kaniko).",
"x-intellij-html-description": "<em>alpha</em> builds images using <a href=\"https://github.com/GoogleContainerTools/kaniko\">kaniko</a>."
},
"sync": {
"$ref": "#/definitions/Sync",
"description": "*alpha* local files synced to pods instead of triggering an image build when modified.",
"x-intellij-html-description": "<em>alpha</em> local files synced to pods instead of triggering an image build when modified."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"image",
"context",
"sync",
"custom"
],
"properties": {
"context": {
"default": ".",
"description": "directory containing the artifact's sources.",
"type": "string",
"x-intellij-html-description": "directory containing the artifact's sources."
},
"custom": {
"$ref": "#/definitions/CustomArtifact",
"description": "*alpha* builds images using a custom build script written by the user.",
"x-intellij-html-description": "<em>alpha</em> builds images using a custom build script written by the user."
},
"image": {
"description": "name of the image to be built.",
"examples": [
"gcr.io/k8s-skaffold/example"
],
"type": "string",
"x-intellij-html-description": "name of the image to be built."
},
"sync": {
"$ref": "#/definitions/Sync",
"description": "*alpha* local files synced to pods instead of triggering an image build when modified.",
"x-intellij-html-description": "<em>alpha</em> local files synced to pods instead of triggering an image build when modified."
}
}
}
],
"description": "items that need to be built, along with the context in which they should be built.",
"required": [
"image"
],
"x-intellij-html-description": "items that need to be built, along with the context in which they should be built."
},
"BazelArtifact": {
"additionalProperties": false,
"description": "*beta* describes an artifact built with [Bazel](https://bazel.build/).",
"preferredOrder": [
"target",
"args"
],
"properties": {
"args": {
"default": "[]",
"description": "additional args to pass to `bazel build`.",
"examples": [
"[\"-flag\", \"--otherflag\"]"
],
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "additional args to pass to <code>bazel build</code>."
},
"target": {
"description": "`bazel build` target to run.",
"examples": [
"//:skaffold_example.tar"
],
"type": "string",
"x-intellij-html-description": "<code>bazel build</code> target to run."
}
},
"required": [
"target"
],
"x-intellij-html-description": "<em>beta</em> describes an artifact built with <a href=\"https://bazel.build/\">Bazel</a>."
},
"BuildConfig": {
"anyOf": [
{
"additionalProperties": false,
"preferredOrder": [
"artifacts",
"insecureRegistries",
"tagPolicy"
],
"properties": {
"artifacts": {
"description": "the images you're going to be building.",
"items": {
"$ref": "#/definitions/Artifact"
},
"type": "array",
"x-intellij-html-description": "the images you're going to be building."
},
"insecureRegistries": {
"default": "[]",
"description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS."
},
"tagPolicy": {
"$ref": "#/definitions/TagPolicy",
"description": "*beta* determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to `gitCommit: {variant: Tags}`.",
"x-intellij-html-description": "<em>beta</em> determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to <code>gitCommit: {variant: Tags}</code>."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"artifacts",
"insecureRegistries",
"tagPolicy",
"local"
],
"properties": {
"artifacts": {
"description": "the images you're going to be building.",
"items": {
"$ref": "#/definitions/Artifact"
},
"type": "array",
"x-intellij-html-description": "the images you're going to be building."
},
"insecureRegistries": {
"default": "[]",
"description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS."
},
"local": {
"$ref": "#/definitions/LocalBuild",
"description": "*beta* describes how to do a build on the local docker daemon and optionally push to a repository.",
"x-intellij-html-description": "<em>beta</em> describes how to do a build on the local docker daemon and optionally push to a repository."
},
"tagPolicy": {
"$ref": "#/definitions/TagPolicy",
"description": "*beta* determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to `gitCommit: {variant: Tags}`.",
"x-intellij-html-description": "<em>beta</em> determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to <code>gitCommit: {variant: Tags}</code>."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"artifacts",
"insecureRegistries",
"tagPolicy",
"googleCloudBuild"
],
"properties": {
"artifacts": {
"description": "the images you're going to be building.",
"items": {
"$ref": "#/definitions/Artifact"
},
"type": "array",
"x-intellij-html-description": "the images you're going to be building."
},
"googleCloudBuild": {
"$ref": "#/definitions/GoogleCloudBuild",
"description": "*beta* describes how to do a remote build on [Google Cloud Build](https://cloud.google.com/cloud-build/).",
"x-intellij-html-description": "<em>beta</em> describes how to do a remote build on <a href=\"https://cloud.google.com/cloud-build/\">Google Cloud Build</a>."
},
"insecureRegistries": {
"default": "[]",
"description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS."
},
"tagPolicy": {
"$ref": "#/definitions/TagPolicy",
"description": "*beta* determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to `gitCommit: {variant: Tags}`.",
"x-intellij-html-description": "<em>beta</em> determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to <code>gitCommit: {variant: Tags}</code>."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"artifacts",
"insecureRegistries",
"tagPolicy",
"cluster"
],
"properties": {
"artifacts": {
"description": "the images you're going to be building.",
"items": {
"$ref": "#/definitions/Artifact"
},
"type": "array",
"x-intellij-html-description": "the images you're going to be building."
},
"cluster": {
"$ref": "#/definitions/ClusterDetails",
"description": "*beta* describes how to do an on-cluster build.",
"x-intellij-html-description": "<em>beta</em> describes how to do an on-cluster build."
},
"insecureRegistries": {
"default": "[]",
"description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "a list of registries declared by the user to be insecure. These registries will be connected to via HTTP instead of HTTPS."
},
"tagPolicy": {
"$ref": "#/definitions/TagPolicy",
"description": "*beta* determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to `gitCommit: {variant: Tags}`.",
"x-intellij-html-description": "<em>beta</em> determines how images are tagged. A few strategies are provided here, although you most likely won't need to care! If not specified, it defaults to <code>gitCommit: {variant: Tags}</code>."
}
}
}
],
"description": "contains all the configuration for the build steps.",
"x-intellij-html-description": "contains all the configuration for the build steps."
},
"ClusterDetails": {
"additionalProperties": false,
"description": "*beta* describes how to do an on-cluster build.",
"preferredOrder": [
"HTTP_PROXY",
"HTTPS_PROXY",
"pullSecret",
"pullSecretName",
"pullSecretMountPath",
"namespace",
"timeout",
"dockerConfig",
"resources",
"concurrency"
],
"properties": {
"HTTPS_PROXY": {
"description": "for kaniko pod.",
"type": "string",
"x-intellij-html-description": "for kaniko pod."
},
"HTTP_PROXY": {
"description": "for kaniko pod.",
"type": "string",
"x-intellij-html-description": "for kaniko pod."
},
"concurrency": {
"description": "how many artifacts can be built concurrently. 0 means \"no-limit\" Defaults to 0.",
"type": "integer",
"x-intellij-html-description": "how many artifacts can be built concurrently. 0 means "no-limit" Defaults to 0."
},
"dockerConfig": {
"$ref": "#/definitions/DockerConfig",
"description": "describes how to mount the local Docker configuration into a pod.",
"x-intellij-html-description": "describes how to mount the local Docker configuration into a pod."
},
"namespace": {
"description": "Kubernetes namespace. Defaults to current namespace in Kubernetes configuration.",
"type": "string",
"x-intellij-html-description": "Kubernetes namespace. Defaults to current namespace in Kubernetes configuration."
},
"pullSecret": {
"description": "path to the Google Cloud service account secret key file.",
"type": "string",
"x-intellij-html-description": "path to the Google Cloud service account secret key file."
},
"pullSecretMountPath": {
"description": "path the pull secret will be mounted at within the running container.",
"type": "string",
"x-intellij-html-description": "path the pull secret will be mounted at within the running container."
},
"pullSecretName": {
"default": "kaniko-secret",
"description": "name of the Kubernetes secret for pulling the files from the build context and pushing the final image. If given, the secret needs to contain the Google Cloud service account secret key under the key `kaniko-secret`.",
"type": "string",
"x-intellij-html-description": "name of the Kubernetes secret for pulling the files from the build context and pushing the final image. If given, the secret needs to contain the Google Cloud service account secret key under the key <code>kaniko-secret</code>."
},
"resources": {
"$ref": "#/definitions/ResourceRequirements",
"description": "define the resource requirements for the kaniko pod.",
"x-intellij-html-description": "define the resource requirements for the kaniko pod."
},
"timeout": {
"description": "amount of time (in seconds) that this build is allowed to run. Defaults to 20 minutes (`20m`).",
"type": "string",
"x-intellij-html-description": "amount of time (in seconds) that this build is allowed to run. Defaults to 20 minutes (<code>20m</code>)."
}
},
"x-intellij-html-description": "<em>beta</em> describes how to do an on-cluster build."
},
"CustomArtifact": {
"additionalProperties": false,
"description": "*alpha* describes an artifact built from a custom build script written by the user. It can be used to build images with builders that aren't directly integrated with skaffold.",
"preferredOrder": [
"buildCommand",
"dependencies"
],
"properties": {
"buildCommand": {
"description": "command executed to build the image.",
"type": "string",
"x-intellij-html-description": "command executed to build the image."
},
"dependencies": {
"$ref": "#/definitions/CustomDependencies",
"description": "file dependencies that skaffold should watch for both rebuilding and file syncing for this artifact.",
"x-intellij-html-description": "file dependencies that skaffold should watch for both rebuilding and file syncing for this artifact."
}
},
"x-intellij-html-description": "<em>alpha</em> describes an artifact built from a custom build script written by the user. It can be used to build images with builders that aren't directly integrated with skaffold."
},
"CustomDependencies": {
"additionalProperties": false,
"description": "*alpha* used to specify dependencies for an artifact built by a custom build script. Either `dockerfile` or `paths` should be specified for file watching to work as expected.",
"preferredOrder": [
"dockerfile",
"command",
"paths",
"ignore"
],
"properties": {
"command": {
"description": "represents a custom command that skaffold executes to obtain dependencies. The output of this command *must* be a valid JSON array.",
"type": "string",
"x-intellij-html-description": "represents a custom command that skaffold executes to obtain dependencies. The output of this command <em>must</em> be a valid JSON array."
},
"dockerfile": {
"$ref": "#/definitions/DockerfileDependency",
"description": "should be set if the artifact is built from a Dockerfile, from which skaffold can determine dependencies.",
"x-intellij-html-description": "should be set if the artifact is built from a Dockerfile, from which skaffold can determine dependencies."
},
"ignore": {
"default": "[]",
"description": "specifies the paths that should be ignored by skaffold's file watcher. If a file exists in both `paths` and in `ignore`, it will be ignored, and will be excluded from both rebuilds and file synchronization. Will only work in conjunction with `paths`.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "specifies the paths that should be ignored by skaffold's file watcher. If a file exists in both <code>paths</code> and in <code>ignore</code>, it will be ignored, and will be excluded from both rebuilds and file synchronization. Will only work in conjunction with <code>paths</code>."
},
"paths": {
"default": "[]",
"description": "should be set to the file dependencies for this artifact, so that the skaffold file watcher knows when to rebuild and perform file synchronization.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "should be set to the file dependencies for this artifact, so that the skaffold file watcher knows when to rebuild and perform file synchronization."
}
},
"x-intellij-html-description": "<em>alpha</em> used to specify dependencies for an artifact built by a custom build script. Either <code>dockerfile</code> or <code>paths</code> should be specified for file watching to work as expected."
},
"DateTimeTagger": {
"additionalProperties": false,
"description": "*beta* tags images with the build timestamp.",
"preferredOrder": [
"format",
"timezone"
],
"properties": {
"format": {
"default": "2006-01-02_15-04-05.999_MST",
"description": "formats the date and time. See [#Time.Format](https://golang.org/pkg/time/#Time.Format).",
"type": "string",
"x-intellij-html-description": "formats the date and time. See <a href=\"https://golang.org/pkg/time/#Time.Format\">#Time.Format</a>."
},
"timezone": {
"description": "sets the timezone for the date and time. See [Time.LoadLocation](https://golang.org/pkg/time/#Time.LoadLocation). Defaults to the local timezone.",
"type": "string",
"x-intellij-html-description": "sets the timezone for the date and time. See <a href=\"https://golang.org/pkg/time/#Time.LoadLocation\">Time.LoadLocation</a>. Defaults to the local timezone."
}
},
"x-intellij-html-description": "<em>beta</em> tags images with the build timestamp."
},
"DeployConfig": {
"anyOf": [
{
"additionalProperties": false,
"preferredOrder": [
"statusCheckDeadlineSeconds",
"kubeContext"
],
"properties": {
"kubeContext": {
"description": "Kubernetes context that Skaffold should deploy to.",
"examples": [
"minikube"
],
"type": "string",
"x-intellij-html-description": "Kubernetes context that Skaffold should deploy to."
},
"statusCheckDeadlineSeconds": {
"description": "*beta* deadline for deployments to stabilize in seconds.",
"type": "integer",
"x-intellij-html-description": "<em>beta</em> deadline for deployments to stabilize in seconds."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"statusCheckDeadlineSeconds",
"kubeContext",
"helm"
],
"properties": {
"helm": {
"$ref": "#/definitions/HelmDeploy",
"description": "*beta* uses the `helm` CLI to apply the charts to the cluster.",
"x-intellij-html-description": "<em>beta</em> uses the <code>helm</code> CLI to apply the charts to the cluster."
},
"kubeContext": {
"description": "Kubernetes context that Skaffold should deploy to.",
"examples": [
"minikube"
],
"type": "string",
"x-intellij-html-description": "Kubernetes context that Skaffold should deploy to."
},
"statusCheckDeadlineSeconds": {
"description": "*beta* deadline for deployments to stabilize in seconds.",
"type": "integer",
"x-intellij-html-description": "<em>beta</em> deadline for deployments to stabilize in seconds."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"statusCheckDeadlineSeconds",
"kubeContext",
"kubectl"
],
"properties": {
"kubeContext": {
"description": "Kubernetes context that Skaffold should deploy to.",
"examples": [
"minikube"
],
"type": "string",
"x-intellij-html-description": "Kubernetes context that Skaffold should deploy to."
},
"kubectl": {
"$ref": "#/definitions/KubectlDeploy",
"description": "*beta* uses a client side `kubectl apply` to deploy manifests. You'll need a `kubectl` CLI version installed that's compatible with your cluster.",
"x-intellij-html-description": "<em>beta</em> uses a client side <code>kubectl apply</code> to deploy manifests. You'll need a <code>kubectl</code> CLI version installed that's compatible with your cluster."
},
"statusCheckDeadlineSeconds": {
"description": "*beta* deadline for deployments to stabilize in seconds.",
"type": "integer",
"x-intellij-html-description": "<em>beta</em> deadline for deployments to stabilize in seconds."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"statusCheckDeadlineSeconds",
"kubeContext",
"kustomize"
],
"properties": {
"kubeContext": {
"description": "Kubernetes context that Skaffold should deploy to.",
"examples": [
"minikube"
],
"type": "string",
"x-intellij-html-description": "Kubernetes context that Skaffold should deploy to."
},
"kustomize": {
"$ref": "#/definitions/KustomizeDeploy",
"description": "*beta* uses the `kustomize` CLI to \"patch\" a deployment for a target environment.",
"x-intellij-html-description": "<em>beta</em> uses the <code>kustomize</code> CLI to "patch" a deployment for a target environment."
},
"statusCheckDeadlineSeconds": {
"description": "*beta* deadline for deployments to stabilize in seconds.",
"type": "integer",
"x-intellij-html-description": "<em>beta</em> deadline for deployments to stabilize in seconds."
}
}
}
],
"description": "contains all the configuration needed by the deploy steps.",
"x-intellij-html-description": "contains all the configuration needed by the deploy steps."
},
"DockerArtifact": {
"additionalProperties": false,
"description": "*beta* describes an artifact built from a Dockerfile, usually using `docker build`.",
"preferredOrder": [
"dockerfile",
"target",
"buildArgs",
"network",
"cacheFrom",
"noCache"
],
"properties": {
"buildArgs": {
"additionalProperties": {
"type": "string"
},
"default": "{}",
"description": "arguments passed to the docker build.",
"examples": [
"{\"key1\": \"value1\", \"key2\": \"value2\"}"
],
"type": "object",
"x-intellij-html-description": "arguments passed to the docker build."
},
"cacheFrom": {
"default": "[]",
"description": "the Docker images used as cache sources.",
"examples": [
"[\"golang:1.10.1-alpine3.7\", \"alpine:3.7\"]"
],
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "the Docker images used as cache sources."
},
"dockerfile": {
"default": "Dockerfile",
"description": "locates the Dockerfile relative to workspace.",
"type": "string",
"x-intellij-html-description": "locates the Dockerfile relative to workspace."
},
"network": {
"description": "passed through to docker and overrides the network configuration of docker builder. If unset, use whatever is configured in the underlying docker daemon. Valid modes are `host`: use the host's networking stack. `bridge`: use the bridged network configuration. `none`: no networking in the container.",
"enum": [
"host",
"bridge",
"none"
],
"type": "string",
"x-intellij-html-description": "passed through to docker and overrides the network configuration of docker builder. If unset, use whatever is configured in the underlying docker daemon. Valid modes are <code>host</code>: use the host's networking stack. <code>bridge</code>: use the bridged network configuration. <code>none</code>: no networking in the container."
},
"noCache": {
"default": "false",
"description": "used to pass in --no-cache to docker build to prevent caching.",
"type": "boolean",
"x-intellij-html-description": "used to pass in --no-cache to docker build to prevent caching."
},
"target": {
"description": "Dockerfile target name to build.",
"type": "string",
"x-intellij-html-description": "Dockerfile target name to build."
}
},
"x-intellij-html-description": "<em>beta</em> describes an artifact built from a Dockerfile, usually using <code>docker build</code>."
},
"DockerConfig": {
"additionalProperties": false,
"description": "contains information about the docker `config.json` to mount.",
"preferredOrder": [
"path",
"secretName"
],
"properties": {
"path": {
"description": "path to the docker `config.json`.",
"type": "string",
"x-intellij-html-description": "path to the docker <code>config.json</code>."
},
"secretName": {
"description": "Kubernetes secret that contains the `config.json` Docker configuration. Note that the expected secret type is not 'kubernetes.io/dockerconfigjson' but 'Opaque'.",
"type": "string",
"x-intellij-html-description": "Kubernetes secret that contains the <code>config.json</code> Docker configuration. Note that the expected secret type is not 'kubernetes.io/dockerconfigjson' but 'Opaque'."
}
},
"x-intellij-html-description": "contains information about the docker <code>config.json</code> to mount."
},
"DockerfileDependency": {
"additionalProperties": false,
"description": "*alpha* used to specify a custom build artifact that is built from a Dockerfile. This allows skaffold to determine dependencies from the Dockerfile.",
"preferredOrder": [
"path",
"buildArgs"
],
"properties": {
"buildArgs": {
"additionalProperties": {
"type": "string"
},
"default": "{}",
"description": "arguments passed to the docker build. It also accepts environment variables via the go template syntax.",
"examples": [
"{\"key1\": \"value1\", \"key2\": \"value2\", \"key3\": \"{{.ENV_VARIABLE}}\"}"
],
"type": "object",
"x-intellij-html-description": "arguments passed to the docker build. It also accepts environment variables via the go template syntax."
},
"path": {
"description": "locates the Dockerfile relative to workspace.",
"type": "string",
"x-intellij-html-description": "locates the Dockerfile relative to workspace."
}
},
"x-intellij-html-description": "<em>alpha</em> used to specify a custom build artifact that is built from a Dockerfile. This allows skaffold to determine dependencies from the Dockerfile."
},
"EnvTemplateTagger": {
"additionalProperties": false,
"description": "*beta* tags images with a configurable template string.",
"preferredOrder": [
"template"
],
"properties": {
"template": {
"description": "used to produce the image name and tag. See golang [text/template](https://golang.org/pkg/text/template/). The template is executed against the current environment, with those variables injected: IMAGE_NAME | Name of the image being built, as supplied in the artifacts section.",
"examples": [
"{{.RELEASE}}-{{.IMAGE_NAME}}"
],
"type": "string",
"x-intellij-html-description": "used to produce the image name and tag. See golang <a href=\"https://golang.org/pkg/text/template/\">text/template</a>. The template is executed against the current environment, with those variables injected: IMAGE_NAME | Name of the image being built, as supplied in the artifacts section."
}
},
"required": [
"template"
],
"x-intellij-html-description": "<em>beta</em> tags images with a configurable template string."
},
"GitTagger": {
"additionalProperties": false,
"description": "*beta* tags images with the git tag or commit of the artifact's workspace.",
"preferredOrder": [
"variant"
],
"properties": {
"variant": {
"description": "determines the behavior of the git tagger. Valid variants are `Tags` (default): use git tags or fall back to abbreviated commit hash. `CommitSha`: use the full git commit sha. `AbbrevCommitSha`: use the abbreviated git commit sha. `TreeSha`: use the full tree hash of the artifact workingdir. `AbbrevTreeSha`: use the abbreviated tree hash of the artifact workingdir.",
"enum": [
"Tags",
"CommitSha",
"AbbrevCommitSha",
"TreeSha",
"AbbrevTreeSha"
],
"type": "string",
"x-intellij-html-description": "determines the behavior of the git tagger. Valid variants are <code>Tags</code> (default): use git tags or fall back to abbreviated commit hash. <code>CommitSha</code>: use the full git commit sha. <code>AbbrevCommitSha</code>: use the abbreviated git commit sha. <code>TreeSha</code>: use the full tree hash of the artifact workingdir. <code>AbbrevTreeSha</code>: use the abbreviated tree hash of the artifact workingdir."
}
},
"x-intellij-html-description": "<em>beta</em> tags images with the git tag or commit of the artifact's workspace."
},
"GoogleCloudBuild": {
"additionalProperties": false,
"description": "*beta* describes how to do a remote build on [Google Cloud Build](https://cloud.google.com/cloud-build/docs/). Docker and Jib artifacts can be built on Cloud Build. The `projectId` needs to be provided and the currently logged in user should be given permissions to trigger new builds.",
"preferredOrder": [
"projectId",
"diskSizeGb",
"machineType",
"timeout",
"dockerImage",
"kanikoImage",
"mavenImage",
"gradleImage",
"concurrency"
],
"properties": {
"concurrency": {
"description": "how many artifacts can be built concurrently. 0 means \"no-limit\" Defaults to 0.",
"type": "integer",
"x-intellij-html-description": "how many artifacts can be built concurrently. 0 means "no-limit" Defaults to 0."
},
"diskSizeGb": {
"description": "disk size of the VM that runs the build. See [Cloud Build Reference](https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions).",
"type": "integer",
"x-intellij-html-description": "disk size of the VM that runs the build. See <a href=\"https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions\">Cloud Build Reference</a>."
},
"dockerImage": {
"default": "gcr.io/cloud-builders/docker",
"description": "image that runs a Docker build. See [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders).",
"type": "string",
"x-intellij-html-description": "image that runs a Docker build. See <a href=\"https://cloud.google.com/cloud-build/docs/cloud-builders\">Cloud Builders</a>."
},
"gradleImage": {
"default": "gcr.io/cloud-builders/gradle",
"description": "image that runs a Gradle build. See [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders).",
"type": "string",
"x-intellij-html-description": "image that runs a Gradle build. See <a href=\"https://cloud.google.com/cloud-build/docs/cloud-builders\">Cloud Builders</a>."
},
"kanikoImage": {
"default": "gcr.io/kaniko-project/executor",
"description": "image that runs a Kaniko build. See [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders).",
"type": "string",
"x-intellij-html-description": "image that runs a Kaniko build. See <a href=\"https://cloud.google.com/cloud-build/docs/cloud-builders\">Cloud Builders</a>."
},
"machineType": {
"description": "type of the VM that runs the build. See [Cloud Build Reference](https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions).",
"type": "string",
"x-intellij-html-description": "type of the VM that runs the build. See <a href=\"https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions\">Cloud Build Reference</a>."
},
"mavenImage": {
"default": "gcr.io/cloud-builders/mvn",
"description": "image that runs a Maven build. See [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders).",
"type": "string",
"x-intellij-html-description": "image that runs a Maven build. See <a href=\"https://cloud.google.com/cloud-build/docs/cloud-builders\">Cloud Builders</a>."
},
"projectId": {
"description": "ID of your Cloud Platform Project. If it is not provided, Skaffold will guess it from the image name. For example, given the artifact image name `gcr.io/myproject/image`, Skaffold will use the `myproject` GCP project.",
"type": "string",
"x-intellij-html-description": "ID of your Cloud Platform Project. If it is not provided, Skaffold will guess it from the image name. For example, given the artifact image name <code>gcr.io/myproject/image</code>, Skaffold will use the <code>myproject</code> GCP project."
},
"timeout": {
"description": "amount of time (in seconds) that this build should be allowed to run. See [Cloud Build Reference](https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#resource-build).",
"type": "string",
"x-intellij-html-description": "amount of time (in seconds) that this build should be allowed to run. See <a href=\"https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#resource-build\">Cloud Build Reference</a>."
}
},
"x-intellij-html-description": "<em>beta</em> describes how to do a remote build on <a href=\"https://cloud.google.com/cloud-build/docs/\">Google Cloud Build</a>. Docker and Jib artifacts can be built on Cloud Build. The <code>projectId</code> needs to be provided and the currently logged in user should be given permissions to trigger new builds."
},
"HelmConventionConfig": {
"additionalProperties": false,
"description": "image config in the syntax of image.repository and image.tag.",
"preferredOrder": [
"explicitRegistry"
],
"properties": {
"explicitRegistry": {
"default": "false",
"description": "separates `image.registry` to the image config syntax. Useful for some charts e.g. `postgresql`.",
"type": "boolean",
"x-intellij-html-description": "separates <code>image.registry</code> to the image config syntax. Useful for some charts e.g. <code>postgresql</code>."
}
},
"x-intellij-html-description": "image config in the syntax of image.repository and image.tag."
},
"HelmDeploy": {
"additionalProperties": false,
"description": "*beta* uses the `helm` CLI to apply the charts to the cluster.",
"preferredOrder": [
"releases",
"flags"
],
"properties": {
"flags": {
"$ref": "#/definitions/HelmDeployFlags",
"description": "additional option flags that are passed on the command line to `helm`.",
"x-intellij-html-description": "additional option flags that are passed on the command line to <code>helm</code>."
},
"releases": {
"description": "a list of Helm releases.",
"items": {
"$ref": "#/definitions/HelmRelease"
},
"type": "array",
"x-intellij-html-description": "a list of Helm releases."
}
},
"required": [
"releases"
],
"x-intellij-html-description": "<em>beta</em> uses the <code>helm</code> CLI to apply the charts to the cluster."
},
"HelmDeployFlags": {
"additionalProperties": false,
"description": "additional option flags that are passed on the command line to `helm`.",
"preferredOrder": [
"global",
"install",
"upgrade"
],
"properties": {
"global": {
"default": "[]",
"description": "additional flags passed on every command.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "additional flags passed on every command."
},
"install": {
"default": "[]",
"description": "additional flags passed to (`helm install`).",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "additional flags passed to (<code>helm install</code>)."
},
"upgrade": {
"default": "[]",
"description": "additional flags passed to (`helm upgrade`).",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "additional flags passed to (<code>helm upgrade</code>)."
}
},
"x-intellij-html-description": "additional option flags that are passed on the command line to <code>helm</code>."
},
"HelmFQNConfig": {
"additionalProperties": false,
"description": "image config to use the FullyQualifiedImageName as param to set.",
"preferredOrder": [
"property"
],
"properties": {
"property": {
"description": "defines the image config.",
"type": "string",
"x-intellij-html-description": "defines the image config."
}
},
"x-intellij-html-description": "image config to use the FullyQualifiedImageName as param to set."
},
"HelmImageStrategy": {
"anyOf": [
{
"additionalProperties": false
},
{
"additionalProperties": false,
"preferredOrder": [
"fqn"
],
"properties": {
"fqn": {
"$ref": "#/definitions/HelmFQNConfig",
"description": "image configuration uses the syntax `IMAGE-NAME=IMAGE-REPOSITORY:IMAGE-TAG`.",
"x-intellij-html-description": "image configuration uses the syntax <code>IMAGE-NAME=IMAGE-REPOSITORY:IMAGE-TAG</code>."
}
}
},
{
"additionalProperties": false,
"preferredOrder": [
"helm"
],
"properties": {
"helm": {
"$ref": "#/definitions/HelmConventionConfig",
"description": "image configuration uses the syntax `IMAGE-NAME.repository=IMAGE-REPOSITORY, IMAGE-NAME.tag=IMAGE-TAG`.",
"x-intellij-html-description": "image configuration uses the syntax <code>IMAGE-NAME.repository=IMAGE-REPOSITORY, IMAGE-NAME.tag=IMAGE-TAG</code>."
}
}
}
],
"description": "adds image configurations to the Helm `values` file.",
"x-intellij-html-description": "adds image configurations to the Helm <code>values</code> file."
},
"HelmPackaged": {
"additionalProperties": false,
"description": "parameters for packaging helm chart (`helm package`).",
"preferredOrder": [
"version",
"appVersion"
],
"properties": {
"appVersion": {
"description": "sets the `appVersion` on the chart to this version.",
"type": "string",
"x-intellij-html-description": "sets the <code>appVersion</code> on the chart to this version."
},
"version": {
"description": "sets the `version` on the chart to this semver version.",
"type": "string",
"x-intellij-html-description": "sets the <code>version</code> on the chart to this semver version."
}
},
"x-intellij-html-description": "parameters for packaging helm chart (<code>helm package</code>)."
},
"HelmRelease": {
"additionalProperties": false,
"description": "describes a helm release to be deployed.",
"preferredOrder": [
"name",
"chartPath",
"valuesFiles",
"values",
"namespace",
"version",
"setValues",
"setValueTemplates",
"setFiles",
"wait",
"recreatePods",
"skipBuildDependencies",
"useHelmSecrets",
"remote",
"overrides",
"packaged",
"imageStrategy"
],
"properties": {
"chartPath": {
"description": "path to the Helm chart.",
"type": "string",
"x-intellij-html-description": "path to the Helm chart."
},
"imageStrategy": {
"$ref": "#/definitions/HelmImageStrategy",
"description": "adds image configurations to the Helm `values` file.",
"x-intellij-html-description": "adds image configurations to the Helm <code>values</code> file."
},
"name": {
"description": "name of the Helm release.",
"type": "string",
"x-intellij-html-description": "name of the Helm release."
},
"namespace": {
"description": "Kubernetes namespace.",
"type": "string",
"x-intellij-html-description": "Kubernetes namespace."
},
"overrides": {
"description": "key-value pairs. If present, Skaffold will build a Helm `values` file that overrides the original and use it to call Helm CLI (`--f` flag).",
"x-intellij-html-description": "key-value pairs. If present, Skaffold will build a Helm <code>values</code> file that overrides the original and use it to call Helm CLI (<code>--f</code> flag)."
},
"packaged": {
"$ref": "#/definitions/HelmPackaged",
"description": "parameters for packaging helm chart (`helm package`).",
"x-intellij-html-description": "parameters for packaging helm chart (<code>helm package</code>)."
},
"recreatePods": {
"default": "false",
"description": "if `true`, Skaffold will send `--recreate-pods` flag to Helm CLI when upgrading a new version of a chart in subsequent dev loop deploy.",
"type": "boolean",
"x-intellij-html-description": "if <code>true</code>, Skaffold will send <code>--recreate-pods</code> flag to Helm CLI when upgrading a new version of a chart in subsequent dev loop deploy."
},
"remote": {
"default": "false",
"description": "specifies whether the chart path is remote, or exists on the host filesystem. `remote: true` implies `skipBuildDependencies: true`.",
"type": "boolean",
"x-intellij-html-description": "specifies whether the chart path is remote, or exists on the host filesystem. <code>remote: true</code> implies <code>skipBuildDependencies: true</code>."
},
"setFiles": {
"additionalProperties": {
"type": "string"
},
"default": "{}",
"description": "key-value pairs. If present, Skaffold will send `--set-file` flag to Helm CLI and append all pairs after the flag.",
"type": "object",
"x-intellij-html-description": "key-value pairs. If present, Skaffold will send <code>--set-file</code> flag to Helm CLI and append all pairs after the flag."
},
"setValueTemplates": {
"additionalProperties": {
"type": "string"
},
"default": "{}",
"description": "key-value pairs. If present, Skaffold will try to parse the value part of each key-value pair using environment variables in the system, then send `--set` flag to Helm CLI and append all parsed pairs after the flag.",
"type": "object",
"x-intellij-html-description": "key-value pairs. If present, Skaffold will try to parse the value part of each key-value pair using environment variables in the system, then send <code>--set</code> flag to Helm CLI and append all parsed pairs after the flag."
},
"setValues": {
"additionalProperties": {
"type": "string"
},
"default": "{}",
"description": "key-value pairs. If present, Skaffold will send `--set` flag to Helm CLI and append all pairs after the flag.",
"type": "object",
"x-intellij-html-description": "key-value pairs. If present, Skaffold will send <code>--set</code> flag to Helm CLI and append all pairs after the flag."
},
"skipBuildDependencies": {
"default": "false",
"description": "should build dependencies be skipped.",
"type": "boolean",
"x-intellij-html-description": "should build dependencies be skipped."
},
"useHelmSecrets": {
"default": "false",
"description": "instructs skaffold to use secrets plugin on deployment.",
"type": "boolean",
"x-intellij-html-description": "instructs skaffold to use secrets plugin on deployment."
},
"values": {
"additionalProperties": {
"type": "string"
},
"default": "{}",
"description": "key-value pairs supplementing the Helm `values` file.",
"type": "object",
"x-intellij-html-description": "key-value pairs supplementing the Helm <code>values</code> file."
},
"valuesFiles": {
"default": "[]",
"description": "paths to the Helm `values` files.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "paths to the Helm <code>values</code> files."
},
"version": {
"description": "version of the chart.",
"type": "string",
"x-intellij-html-description": "version of the chart."
},
"wait": {
"default": "false",
"description": "if `true`, Skaffold will send `--wait` flag to Helm CLI.",
"type": "boolean",
"x-intellij-html-description": "if <code>true</code>, Skaffold will send <code>--wait</code> flag to Helm CLI."
}
},
"required": [
"name",
"chartPath"
],
"x-intellij-html-description": "describes a helm release to be deployed."
},
"JSONPatch": {
"additionalProperties": false,
"description": "patch to be applied by a profile.",
"preferredOrder": [
"op",
"path",
"from",
"value"
],
"properties": {
"from": {
"description": "source position in the yaml, used for `copy` or `move` operations.",
"type": "string",
"x-intellij-html-description": "source position in the yaml, used for <code>copy</code> or <code>move</code> operations."
},
"op": {
"default": "replace",
"description": "operation carried by the patch: `add`, `remove`, `replace`, `move`, `copy` or `test`.",
"type": "string",
"x-intellij-html-description": "operation carried by the patch: <code>add</code>, <code>remove</code>, <code>replace</code>, <code>move</code>, <code>copy</code> or <code>test</code>."
},
"path": {
"description": "position in the yaml where the operation takes place. For example, this targets the `dockerfile` of the first artifact built.",
"examples": [
"/build/artifacts/0/docker/dockerfile"
],
"type": "string",
"x-intellij-html-description": "position in the yaml where the operation takes place. For example, this targets the <code>dockerfile</code> of the first artifact built."
},
"value": {
"description": "value to apply. Can be any portion of yaml.",
"x-intellij-html-description": "value to apply. Can be any portion of yaml."
}
},
"required": [
"path"
],
"x-intellij-html-description": "patch to be applied by a profile."
},
"JibArtifact": {
"additionalProperties": false,
"description": "*alpha* builds images using the [Jib plugins for Maven and Gradle](https://github.com/GoogleContainerTools/jib/).",
"preferredOrder": [
"project",
"args",
"type"
],
"properties": {
"args": {
"default": "[]",
"description": "additional build flags passed to the builder.",
"examples": [
"[\"--no-build-cache\"]"
],
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "additional build flags passed to the builder."
},
"project": {
"description": "selects which sub-project to build for multi-module builds.",
"type": "string",
"x-intellij-html-description": "selects which sub-project to build for multi-module builds."
},
"type": {
"description": "the Jib builder type; normally determined automatically. Valid types are `maven`: for Maven. `gradle`: for Gradle.",
"enum": [
"maven",
"gradle"
],
"type": "string",
"x-intellij-html-description": "the Jib builder type; normally determined automatically. Valid types are <code>maven</code>: for Maven. <code>gradle</code>: for Gradle."
}
},
"x-intellij-html-description": "<em>alpha</em> builds images using the <a href=\"https://github.com/GoogleContainerTools/jib/\">Jib plugins for Maven and Gradle</a>."
},
"KanikoArtifact": {
"additionalProperties": false,
"description": "*alpha* describes an artifact built from a Dockerfile, with kaniko.",
"preferredOrder": [
"flags",
"dockerfile",
"target",
"buildArgs",
"buildContext",
"image",
"cache",
"reproducible",
"skipTLS"
],
"properties": {
"buildArgs": {
"additionalProperties": {
"type": "string"
},
"default": "{}",
"description": "arguments passed to the docker build. It also accepts environment variables via the go template syntax.",
"examples": [
"{\"key1\": \"value1\", \"key2\": \"value2\", \"key3\": \"{{.ENV_VARIABLE}}\"}"
],
"type": "object",
"x-intellij-html-description": "arguments passed to the docker build. It also accepts environment variables via the go template syntax."
},
"buildContext": {
"$ref": "#/definitions/KanikoBuildContext",
"description": "where the build context for this artifact resides.",
"x-intellij-html-description": "where the build context for this artifact resides."
},
"cache": {
"$ref": "#/definitions/KanikoCache",
"description": "configures Kaniko caching. If a cache is specified, Kaniko will use a remote cache which will speed up builds.",
"x-intellij-html-description": "configures Kaniko caching. If a cache is specified, Kaniko will use a remote cache which will speed up builds."
},
"dockerfile": {
"default": "Dockerfile",
"description": "locates the Dockerfile relative to workspace.",
"type": "string",
"x-intellij-html-description": "locates the Dockerfile relative to workspace."
},
"flags": {
"default": "[]",
"description": "additional flags to be passed to Kaniko command line. See [Kaniko Additional Flags](https://github.com/GoogleContainerTools/kaniko#additional-flags). Deprecated - instead the named, unique fields should be used, e.g. `buildArgs`, `cache`, `target`.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "additional flags to be passed to Kaniko command line. See <a href=\"https://github.com/GoogleContainerTools/kaniko#additional-flags\">Kaniko Additional Flags</a>. Deprecated - instead the named, unique fields should be used, e.g. <code>buildArgs</code>, <code>cache</code>, <code>target</code>."
},
"image": {
"description": "Docker image used by the Kaniko pod. Defaults to the latest released version of `gcr.io/kaniko-project/executor`.",
"type": "string",
"x-intellij-html-description": "Docker image used by the Kaniko pod. Defaults to the latest released version of <code>gcr.io/kaniko-project/executor</code>."
},
"reproducible": {
"default": "false",
"description": "used to strip timestamps out of the built image.",
"type": "boolean",
"x-intellij-html-description": "used to strip timestamps out of the built image."
},
"skipTLS": {
"default": "false",
"description": "skips TLS verification when pulling and pushing the image.",
"type": "boolean",
"x-intellij-html-description": "skips TLS verification when pulling and pushing the image."
},
"target": {
"description": "Dockerfile target name to build.",
"type": "string",
"x-intellij-html-description": "Dockerfile target name to build."
}
},
"x-intellij-html-description": "<em>alpha</em> describes an artifact built from a Dockerfile, with kaniko."
},
"KanikoBuildContext": {
"additionalProperties": false,
"description": "contains the different fields available to specify a Kaniko build context.",
"preferredOrder": [
"gcsBucket",
"localDir"
],
"properties": {
"gcsBucket": {
"description": "GCS bucket to which sources are uploaded. Kaniko will need access to that bucket to download the sources.",
"type": "string",
"x-intellij-html-description": "GCS bucket to which sources are uploaded. Kaniko will need access to that bucket to download the sources."
},
"localDir": {
"$ref": "#/definitions/LocalDir",
"description": "configures how Kaniko mounts sources directly via an `emptyDir` volume.",
"x-intellij-html-description": "configures how Kaniko mounts sources directly via an <code>emptyDir</code> volume."
}
},
"x-intellij-html-description": "contains the different fields available to specify a Kaniko build context."
},
"KanikoCache": {
"additionalProperties": false,
"description": "configures Kaniko caching. If a cache is specified, Kaniko will use a remote cache which will speed up builds.",
"preferredOrder": [
"repo",
"hostPath"
],
"properties": {
"hostPath": {
"description": "specifies a path on the host that is mounted to each pod as read only cache volume containing base images. If set, must exist on each node and prepopulated with kaniko-warmer.",
"type": "string",
"x-intellij-html-description": "specifies a path on the host that is mounted to each pod as read only cache volume containing base images. If set, must exist on each node and prepopulated with kaniko-warmer."
},
"repo": {
"description": "a remote repository to store cached layers. If none is specified, one will be inferred from the image name. See [Kaniko Caching](https://github.com/GoogleContainerTools/kaniko#caching).",
"type": "string",
"x-intellij-html-description": "a remote repository to store cached layers. If none is specified, one will be inferred from the image name. See <a href=\"https://github.com/GoogleContainerTools/kaniko#caching\">Kaniko Caching</a>."
}
},
"x-intellij-html-description": "configures Kaniko caching. If a cache is specified, Kaniko will use a remote cache which will speed up builds."
},
"KubectlDeploy": {
"additionalProperties": false,
"description": "*beta* uses a client side `kubectl apply` to deploy manifests. You'll need a `kubectl` CLI version installed that's compatible with your cluster.",
"preferredOrder": [
"manifests",
"remoteManifests",
"flags"
],
"properties": {
"flags": {
"$ref": "#/definitions/KubectlFlags",
"description": "additional flags passed to `kubectl`.",
"x-intellij-html-description": "additional flags passed to <code>kubectl</code>."
},
"manifests": {
"default": "[\"k8s/*.yaml\"]",
"description": "the Kubernetes yaml or json manifests.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "the Kubernetes yaml or json manifests."
},
"remoteManifests": {
"default": "[]",
"description": "Kubernetes manifests in remote clusters.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "Kubernetes manifests in remote clusters."
}
},
"x-intellij-html-description": "<em>beta</em> uses a client side <code>kubectl apply</code> to deploy manifests. You'll need a <code>kubectl</code> CLI version installed that's compatible with your cluster."
},
"KubectlFlags": {
"additionalProperties": false,
"description": "additional flags passed on the command line to kubectl either on every command (Global), on creations (Apply) or deletions (Delete).",
"preferredOrder": [
"global",
"apply",
"delete"
],
"properties": {
"apply": {
"default": "[]",
"description": "additional flags passed on creations (`kubectl apply`).",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "additional flags passed on creations (<code>kubectl apply</code>)."
},
"delete": {
"default": "[]",
"description": "additional flags passed on deletions (`kubectl delete`).",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "additional flags passed on deletions (<code>kubectl delete</code>)."
},
"global": {
"default": "[]",
"description": "additional flags passed on every command.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "additional flags passed on every command."
}
},
"x-intellij-html-description": "additional flags passed on the command line to kubectl either on every command (Global), on creations (Apply) or deletions (Delete)."
},
"KustomizeDeploy": {
"additionalProperties": false,
"description": "*beta* uses the `kustomize` CLI to \"patch\" a deployment for a target environment.",
"preferredOrder": [
"path",
"flags",
"buildArgs"
],
"properties": {
"buildArgs": {
"default": "[]",
"description": "additional args passed to `kustomize build`.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "additional args passed to <code>kustomize build</code>."
},
"flags": {
"$ref": "#/definitions/KubectlFlags",
"description": "additional flags passed to `kubectl`.",
"x-intellij-html-description": "additional flags passed to <code>kubectl</code>."
},
"path": {
"default": ".",
"description": "path to Kustomization files.",
"type": "string",
"x-intellij-html-description": "path to Kustomization files."
}
},
"x-intellij-html-description": "<em>beta</em> uses the <code>kustomize</code> CLI to "patch" a deployment for a target environment."
},
"LocalBuild": {
"additionalProperties": false,
"description": "*beta* describes how to do a build on the local docker daemon and optionally push to a repository.",
"preferredOrder": [
"push",
"useDockerCLI",
"useBuildkit"
],
"properties": {
"push": {
"description": "should images be pushed to a registry. If not specified, images are pushed only if the current Kubernetes context connects to a remote cluster.",
"type": "boolean",
"x-intellij-html-description": "should images be pushed to a registry. If not specified, images are pushed only if the current Kubernetes context connects to a remote cluster."
},
"useBuildkit": {
"default": "false",
"description": "use BuildKit to build Docker images.",
"type": "boolean",
"x-intellij-html-description": "use BuildKit to build Docker images."
},
"useDockerCLI": {
"default": "false",
"description": "use `docker` command-line interface instead of Docker Engine APIs.",
"type": "boolean",
"x-intellij-html-description": "use <code>docker</code> command-line interface instead of Docker Engine APIs."
}
},
"x-intellij-html-description": "<em>beta</em> describes how to do a build on the local docker daemon and optionally push to a repository."
},
"LocalDir": {
"additionalProperties": false,
"description": "configures how Kaniko mounts sources directly via an `emptyDir` volume.",
"preferredOrder": [
"initImage"
],
"properties": {
"initImage": {
"description": "image used to run init container which mounts kaniko context.",
"type": "string",
"x-intellij-html-description": "image used to run init container which mounts kaniko context."
}
},
"x-intellij-html-description": "configures how Kaniko mounts sources directly via an <code>emptyDir</code> volume."
},
"Metadata": {
"additionalProperties": false,
"description": "holds an optional name of the project.",
"preferredOrder": [
"name"
],
"properties": {
"name": {
"description": "an identifier for the project.",
"type": "string",
"x-intellij-html-description": "an identifier for the project."
}
},
"x-intellij-html-description": "holds an optional name of the project."
},
"PortForwardResource": {
"additionalProperties": false,
"description": "describes a resource to port forward.",
"preferredOrder": [
"resourceType",
"resourceName",
"namespace",
"port",
"localPort"
],
"properties": {
"localPort": {
"description": "local port to forward to. If the port is unavailable, Skaffold will choose a random open port to forward to. *Optional*.",
"type": "integer",
"x-intellij-html-description": "local port to forward to. If the port is unavailable, Skaffold will choose a random open port to forward to. <em>Optional</em>."
},
"namespace": {
"description": "namespace of the resource to port forward.",
"type": "string",
"x-intellij-html-description": "namespace of the resource to port forward."
},
"port": {
"description": "resource port that will be forwarded.",
"type": "integer",
"x-intellij-html-description": "resource port that will be forwarded."
},
"resourceName": {
"description": "name of the Kubernetes resource to port forward.",
"type": "string",
"x-intellij-html-description": "name of the Kubernetes resource to port forward."
},
"resourceType": {
"description": "Kubernetes type that should be port forwarded. Acceptable resource types include: `Service`, `Pod` and Controller resource type that has a pod spec: `ReplicaSet`, `ReplicationController`, `Deployment`, `StatefulSet`, `DaemonSet`, `Job`, `CronJob`.",
"type": "string",
"x-intellij-html-description": "Kubernetes type that should be port forwarded. Acceptable resource types include: <code>Service</code>, <code>Pod</code> and Controller resource type that has a pod spec: <code>ReplicaSet</code>, <code>ReplicationController</code>, <code>Deployment</code>, <code>StatefulSet</code>, <code>DaemonSet</code>, <code>Job</code>, <code>CronJob</code>."
}
},
"x-intellij-html-description": "describes a resource to port forward."
},
"Profile": {
"additionalProperties": false,
"description": "*beta* profiles are used to override any `build`, `test` or `deploy` configuration.",
"preferredOrder": [
"name",
"build",
"test",
"deploy",
"portForward",
"patches",
"activation"
],
"properties": {
"activation": {
"description": "criteria by which a profile can be auto-activated. The profile is auto-activated if any one of the activations are triggered. An activation is triggered if all of the criteria (env, kubeContext, command) are triggered.",
"items": {
"$ref": "#/definitions/Activation"
},
"type": "array",
"x-intellij-html-description": "criteria by which a profile can be auto-activated. The profile is auto-activated if any one of the activations are triggered. An activation is triggered if all of the criteria (env, kubeContext, command) are triggered."
},
"build": {
"$ref": "#/definitions/BuildConfig",
"description": "describes how images are built.",
"x-intellij-html-description": "describes how images are built."
},
"deploy": {
"$ref": "#/definitions/DeployConfig",
"description": "describes how images are deployed.",
"x-intellij-html-description": "describes how images are deployed."
},
"name": {
"description": "a unique profile name.",
"examples": [
"profile-prod"
],
"type": "string",
"x-intellij-html-description": "a unique profile name."
},
"patches": {
"description": "patches applied to the configuration. Patches use the JSON patch notation.",
"items": {
"$ref": "#/definitions/JSONPatch"
},
"type": "array",
"x-intellij-html-description": "patches applied to the configuration. Patches use the JSON patch notation."
},
"portForward": {
"description": "describes user defined resources to port-forward.",
"items": {
"$ref": "#/definitions/PortForwardResource"
},
"type": "array",
"x-intellij-html-description": "describes user defined resources to port-forward."
},
"test": {
"description": "describes how images are tested.",
"items": {
"$ref": "#/definitions/TestCase"
},
"type": "array",
"x-intellij-html-description": "describes how images are tested."
}
},
"required": [
"name"
],
"x-intellij-html-description": "<em>beta</em> profiles are used to override any <code>build</code>, <code>test</code> or <code>deploy</code> configuration."
},
"ResourceRequirement": {
"additionalProperties": false,
"description": "stores the CPU/Memory requirements for the pod.",
"preferredOrder": [
"cpu",
"memory"
],
"properties": {
"cpu": {
"description": "the number cores to be used.",
"examples": [
"2`, `2.0` or `200m"
],
"type": "string",
"x-intellij-html-description": "the number cores to be used."
},
"memory": {
"description": "the amount of memory to allocate to the pod.",
"examples": [
"1Gi` or `1000Mi"
],
"type": "string",
"x-intellij-html-description": "the amount of memory to allocate to the pod."
}
},
"x-intellij-html-description": "stores the CPU/Memory requirements for the pod."
},
"ResourceRequirements": {
"additionalProperties": false,
"description": "describes the resource requirements for the kaniko pod.",
"preferredOrder": [
"requests",
"limits"
],
"properties": {
"limits": {
"$ref": "#/definitions/ResourceRequirement",
"description": "[resource limits](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#resource-requests-and-limits-of-pod-and-container) for the Kaniko pod.",
"x-intellij-html-description": "<a href=\"https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#resource-requests-and-limits-of-pod-and-container\">resource limits</a> for the Kaniko pod."
},
"requests": {
"$ref": "#/definitions/ResourceRequirement",
"description": "[resource requests](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#resource-requests-and-limits-of-pod-and-container) for the Kaniko pod.",
"x-intellij-html-description": "<a href=\"https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#resource-requests-and-limits-of-pod-and-container\">resource requests</a> for the Kaniko pod."
}
},
"x-intellij-html-description": "describes the resource requirements for the kaniko pod."
},
"ResourceType": {
"description": "describes the Kubernetes resource types used for port forwarding.",
"type": "string",
"x-intellij-html-description": "describes the Kubernetes resource types used for port forwarding."
},
"ShaTagger": {
"description": "*beta* tags images with their sha256 digest.",
"x-intellij-html-description": "<em>beta</em> tags images with their sha256 digest."
},
"SkaffoldConfig": {
"additionalProperties": false,
"description": "holds the fields parsed from the Skaffold configuration file (skaffold.yaml).",
"preferredOrder": [
"apiVersion",
"kind",
"metadata",
"build",
"test",
"deploy",
"portForward",
"profiles"
],
"properties": {
"apiVersion": {
"description": "version of the configuration.",
"type": "string",
"x-intellij-html-description": "version of the configuration."
},
"build": {
"$ref": "#/definitions/BuildConfig",
"description": "describes how images are built.",
"x-intellij-html-description": "describes how images are built."
},
"deploy": {
"$ref": "#/definitions/DeployConfig",
"description": "describes how images are deployed.",
"x-intellij-html-description": "describes how images are deployed."
},
"kind": {
"default": "Config",
"description": "always `Config`.",
"type": "string",
"x-intellij-html-description": "always <code>Config</code>."
},
"metadata": {
"$ref": "#/definitions/Metadata",
"description": "holds additional information about the config.",
"x-intellij-html-description": "holds additional information about the config."
},
"portForward": {
"description": "describes user defined resources to port-forward.",
"items": {
"$ref": "#/definitions/PortForwardResource"
},
"type": "array",
"x-intellij-html-description": "describes user defined resources to port-forward."
},
"profiles": {
"description": "*beta* can override be used to `build`, `test` or `deploy` configuration.",
"items": {
"$ref": "#/definitions/Profile"
},
"type": "array",
"x-intellij-html-description": "<em>beta</em> can override be used to <code>build</code>, <code>test</code> or <code>deploy</code> configuration."
},
"test": {
"description": "describes how images are tested.",
"items": {
"$ref": "#/definitions/TestCase"
},
"type": "array",
"x-intellij-html-description": "describes how images are tested."
}
},
"required": [
"apiVersion",
"kind"
],
"x-intellij-html-description": "holds the fields parsed from the Skaffold configuration file (skaffold.yaml)."
},
"Sync": {
"additionalProperties": false,
"description": "*alpha* specifies what files to sync into the container. This is a list of sync rules indicating the intent to sync for source files.",
"preferredOrder": [
"manual",
"infer"
],
"properties": {
"infer": {
"default": "[]",
"description": "file patterns which may be synced into the container. The container destination is inferred by the builder. Currently only available for docker artifacts.",
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "file patterns which may be synced into the container. The container destination is inferred by the builder. Currently only available for docker artifacts."
},
"manual": {
"description": "manual sync rules indicating the source and destination.",
"items": {
"$ref": "#/definitions/SyncRule"
},
"type": "array",
"x-intellij-html-description": "manual sync rules indicating the source and destination."
}
},
"x-intellij-html-description": "<em>alpha</em> specifies what files to sync into the container. This is a list of sync rules indicating the intent to sync for source files."
},
"SyncRule": {
"additionalProperties": false,
"description": "specifies which local files to sync to remote folders.",
"preferredOrder": [
"src",
"dest",
"strip"
],
"properties": {
"dest": {
"description": "destination path in the container where the files should be synced to.",
"examples": [
"\"app/\""
],
"type": "string",
"x-intellij-html-description": "destination path in the container where the files should be synced to."
},
"src": {
"description": "a glob pattern to match local paths against. Directories should be delimited by `/` on all platforms.",
"examples": [
"\"css/**/*.css\""
],
"type": "string",
"x-intellij-html-description": "a glob pattern to match local paths against. Directories should be delimited by <code>/</code> on all platforms."
},
"strip": {
"description": "specifies the path prefix to remove from the source path when transplanting the files into the destination folder.",
"examples": [
"\"css/\""
],
"type": "string",
"x-intellij-html-description": "specifies the path prefix to remove from the source path when transplanting the files into the destination folder."
}
},
"required": [
"src",
"dest"
],
"x-intellij-html-description": "specifies which local files to sync to remote folders."
},
"TagPolicy": {
"additionalProperties": false,
"description": "contains all the configuration for the tagging step.",
"preferredOrder": [
"gitCommit",
"sha256",
"envTemplate",
"dateTime"
],
"properties": {
"dateTime": {
"$ref": "#/definitions/DateTimeTagger",
"description": "*beta* tags images with the build timestamp.",
"x-intellij-html-description": "<em>beta</em> tags images with the build timestamp."
},
"envTemplate": {
"$ref": "#/definitions/EnvTemplateTagger",
"description": "*beta* tags images with a configurable template string.",
"x-intellij-html-description": "<em>beta</em> tags images with a configurable template string."
},
"gitCommit": {
"$ref": "#/definitions/GitTagger",
"description": "*beta* tags images with the git tag or commit of the artifact's workspace.",
"x-intellij-html-description": "<em>beta</em> tags images with the git tag or commit of the artifact's workspace."
},
"sha256": {
"$ref": "#/definitions/ShaTagger",
"description": "*beta* tags images with their sha256 digest.",
"x-intellij-html-description": "<em>beta</em> tags images with their sha256 digest."
}
},
"x-intellij-html-description": "contains all the configuration for the tagging step."
},
"TestCase": {
"additionalProperties": false,
"description": "a list of structure tests to run on images that Skaffold builds.",
"preferredOrder": [
"image",
"structureTests"
],
"properties": {
"image": {
"description": "artifact on which to run those tests.",
"examples": [
"gcr.io/k8s-skaffold/example"
],
"type": "string",
"x-intellij-html-description": "artifact on which to run those tests."
},
"structureTests": {
"default": "[]",
"description": "the [Container Structure Tests](https://github.com/GoogleContainerTools/container-structure-test) to run on that artifact.",
"examples": [
"[\"./test/*\"]"
],
"items": {
"type": "string"
},
"type": "array",
"x-intellij-html-description": "the <a href=\"https://github.com/GoogleContainerTools/container-structure-test\">Container Structure Tests</a> to run on that artifact."
}
},
"required": [
"image"
],
"x-intellij-html-description": "a list of structure tests to run on images that Skaffold builds."
}
},
"type": "object"
} | o6356 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"orgId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"creationDate": {
"type": "string",
"format": "date-time"
},
"lastUpdated": {
"type": "string",
"format": "date-time"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"members": {
"type": "array",
"items": {
"type": "object",
"properties": {
"userId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"email": {
"type": "string",
"format": "email",
"maxLength": 1024
},
"role": {
"type": "string",
"enum": [
"admin",
"edit",
"view"
]
}
}
}
},
"summary": {
"type": "object",
"properties": {
"appCount": {
"type": "number"
},
"dashCount": {
"type": "number"
}
}
}
}
}
},
"count": {
"type": "integer"
},
"totalCount": {
"type": "integer"
},
"perPage": {
"type": "integer"
},
"page": {
"type": "integer"
},
"filter": {
"type": "string"
},
"filterField": {
"type": "string"
},
"sortField": {
"type": "string"
},
"sortDirection": {
"type": "string",
"enum": [
"asc",
"desc"
]
}
}
} | o6241 |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"FileFormat.Profile": {
"anyOf": [
{
"$ref": "#/definitions/FileFormat.EventedProfile"
},
{
"$ref": "#/definitions/FileFormat.SampledProfile"
}
]
},
"FileFormat.File": {
"title": "FileFormat.File",
"type": "object",
"properties": {
"$schema": {
"type": "string",
"enum": [
"https://www.speedscope.app/file-format-schema.json"
],
"title": "$schema"
},
"shared": {
"type": "object",
"properties": {
"frames": {
"type": "array",
"items": {
"$ref": "#/definitions/FileFormat.Frame"
},
"title": "frames"
}
},
"required": [
"frames"
],
"title": "shared"
},
"profiles": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/definitions/FileFormat.EventedProfile"
},
{
"$ref": "#/definitions/FileFormat.SampledProfile"
}
]
},
"title": "profiles"
},
"name": {
"type": "string",
"title": "name"
},
"activeProfileIndex": {
"type": "number",
"title": "activeProfileIndex"
},
"exporter": {
"type": "string",
"title": "exporter"
}
},
"required": [
"$schema",
"profiles",
"shared"
]
},
"FileFormat.Frame": {
"title": "FileFormat.Frame",
"type": "object",
"properties": {
"name": {
"type": "string",
"title": "name"
},
"file": {
"type": "string",
"title": "file"
},
"line": {
"type": "number",
"title": "line"
},
"col": {
"type": "number",
"title": "col"
}
},
"required": [
"name"
]
},
"FileFormat.ProfileType": {
"title": "FileFormat.ProfileType",
"enum": [
"evented",
"sampled"
],
"type": "string"
},
"FileFormat.IProfile": {
"title": "FileFormat.IProfile",
"type": "object",
"properties": {
"type": {
"$ref": "#/definitions/FileFormat.ProfileType",
"title": "type"
}
},
"required": [
"type"
]
},
"FileFormat.EventedProfile": {
"title": "FileFormat.EventedProfile",
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"evented"
],
"title": "type"
},
"name": {
"type": "string",
"title": "name"
},
"unit": {
"$ref": "#/definitions/FileFormat.ValueUnit",
"title": "unit"
},
"startValue": {
"type": "number",
"title": "startValue"
},
"endValue": {
"type": "number",
"title": "endValue"
},
"events": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/definitions/OpenFrameEvent"
},
{
"$ref": "#/definitions/CloseFrameEvent"
}
]
},
"title": "events"
}
},
"required": [
"endValue",
"events",
"name",
"startValue",
"type",
"unit"
]
},
"SampledStack": {
"type": "array",
"items": {
"type": "number"
}
},
"FileFormat.SampledProfile": {
"title": "FileFormat.SampledProfile",
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"sampled"
],
"title": "type"
},
"name": {
"type": "string",
"title": "name"
},
"unit": {
"$ref": "#/definitions/FileFormat.ValueUnit",
"title": "unit"
},
"startValue": {
"type": "number",
"title": "startValue"
},
"endValue": {
"type": "number",
"title": "endValue"
},
"samples": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
},
"title": "samples"
},
"weights": {
"type": "array",
"items": {
"type": "number"
},
"title": "weights"
}
},
"required": [
"endValue",
"name",
"samples",
"startValue",
"type",
"unit",
"weights"
]
},
"FileFormat.ValueUnit": {
"title": "FileFormat.ValueUnit",
"enum": [
"bytes",
"microseconds",
"milliseconds",
"nanoseconds",
"none",
"seconds"
],
"type": "string"
},
"FileFormat.EventType": {
"title": "FileFormat.EventType",
"enum": [
"C",
"O"
],
"type": "string"
},
"IEvent": {
"title": "IEvent",
"type": "object",
"properties": {
"type": {
"$ref": "#/definitions/FileFormat.EventType",
"title": "type"
},
"at": {
"type": "number",
"title": "at"
}
},
"required": [
"at",
"type"
]
},
"OpenFrameEvent": {
"title": "OpenFrameEvent",
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"O"
],
"title": "type"
},
"frame": {
"type": "number",
"title": "frame"
},
"at": {
"type": "number",
"title": "at"
}
},
"required": [
"at",
"frame",
"type"
]
},
"CloseFrameEvent": {
"title": "CloseFrameEvent",
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"C"
],
"title": "type"
},
"frame": {
"type": "number",
"title": "frame"
},
"at": {
"type": "number",
"title": "at"
}
},
"required": [
"at",
"frame",
"type"
]
}
},
"$ref": "#/definitions/FileFormat.File"
} | o78081 |
{
"$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"
},
"access_limited": {
"additionalProperties": false,
"properties": {
"auth_bypass_ids": {
"$ref": "#/definitions/guid_list",
"description": "Deprecated: auth_bypass_ids should be sent as a separate field"
},
"organisations": {
"$ref": "#/definitions/guid_list",
"description": "A list of organisation content ids permitted access to this item"
},
"users": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"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."
},
"description": {
"type": "string"
},
"description_optional": {
"anyOf": [
{
"$ref": "#/definitions/description"
},
{
"type": "null"
}
]
},
"details": {
"additionalProperties": false,
"properties": {
"alternative_url": {
"format": "uri",
"type": [
"string",
"null"
]
},
"explanation": {
"type": [
"string",
"null"
]
},
"public_updated_at": {
"$ref": "#/definitions/public_updated_at"
},
"unpublished_at": {
"_format": "date-time",
"type": "string"
}
},
"required": [
"unpublished_at"
],
"type": "object"
},
"first_published_at": {
"_format": "date-time",
"description": "The date the content was first published. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string"
},
"guid": {
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
"type": "string"
},
"guid_list": {
"items": {
"$ref": "#/definitions/guid"
},
"type": "array",
"_uniqueItems": true
},
"locale": {
"enum": [
"ar",
"az",
"be",
"bg",
"bn",
"cs",
"cy",
"da",
"de",
"dr",
"el",
"en",
"es",
"es-419",
"et",
"fa",
"fi",
"fr",
"gd",
"he",
"hi",
"hr",
"hu",
"hy",
"id",
"is",
"it",
"ja",
"ka",
"kk",
"ko",
"lt",
"lv",
"ms",
"mt",
"nl",
"no",
"pl",
"ps",
"pt",
"ro",
"ru",
"si",
"sk",
"sl",
"so",
"sq",
"sr",
"sv",
"sw",
"ta",
"th",
"tk",
"tr",
"uk",
"ur",
"uz",
"vi",
"zh",
"zh-hk",
"zh-tw"
],
"type": "string"
},
"public_updated_at": {
"_format": "date-time",
"description": "When the content was last significantly changed (a major update). Shown to users. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string"
},
"publishing_app_name": {
"description": "The application that published this item.",
"enum": [
"calculators",
"calendars",
"collections-publisher",
"contacts",
"content-publisher",
"content-tagger",
"email-alert-frontend",
"external-link-tracker",
"feedback",
"frontend",
"government-frontend",
"hmrc-manuals-api",
"info-frontend",
"licencefinder",
"local-links-manager",
"manuals-frontend",
"manuals-publisher",
"maslow",
"performanceplatform-big-screen-view",
"publisher",
"rummager",
"search-admin",
"search-api",
"service-manual-publisher",
"share-sale-publisher",
"short-url-manager",
"smartanswers",
"special-route-publisher",
"specialist-publisher",
"static",
"tariff",
"travel-advice-publisher",
"whitehall"
],
"type": "string"
},
"rendering_app": {
"description": "The application that renders this item.",
"enum": [
"calculators",
"calendars",
"collections",
"content-store",
"email-alert-frontend",
"email-campaign-frontend",
"feedback",
"finder-frontend",
"frontend",
"government-frontend",
"info-frontend",
"licencefinder",
"manuals-frontend",
"performanceplatform-big-screen-view",
"rummager",
"search-api",
"service-manual-frontend",
"smartanswers",
"spotlight",
"static",
"tariff",
"whitehall-admin",
"whitehall-frontend"
],
"type": "string"
},
"route": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"type": {
"enum": [
"prefix",
"exact"
]
}
},
"required": [
"path",
"type"
],
"type": "object"
},
"routes": {
"items": {
"$ref": "#/definitions/route"
},
"minItems": 1,
"type": "array"
},
"title": {
"type": "string"
},
"update_type": {
"enum": [
"major",
"minor",
"republish"
]
}
},
"properties": {
"access_limited": {
"$ref": "#/definitions/access_limited"
},
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"auth_bypass_ids": {
"$ref": "#/definitions/guid_list",
"description": "A list of ids that will allow access to this item for non-authenticated users"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"bulk_publishing": {
"type": "boolean"
},
"change_note": {
"type": [
"null",
"string"
]
},
"description": {
"$ref": "#/definitions/description_optional"
},
"details": {
"$ref": "#/definitions/details"
},
"document_type": {
"enum": [
"unpublishing"
],
"type": "string"
},
"first_published_at": {
"$ref": "#/definitions/first_published_at"
},
"last_edited_at": {
"_format": "date-time",
"description": "Last time when the content received a major or minor update.",
"type": "string"
},
"links": {
"additionalProperties": false,
"properties": {
"policy_areas": {
"$ref": "#/definitions/guid_list",
"description": "A largely deprecated tag currently only used to power email alerts."
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"need_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"phase": {
"description": "The service design phase of this content item - https://www.gov.uk/service-manual/phases",
"enum": [
"alpha",
"beta",
"live"
],
"type": "string"
},
"previous_version": {
"type": "string"
},
"public_updated_at": {
"$ref": "#/definitions/public_updated_at"
},
"publishing_app": {
"$ref": "#/definitions/publishing_app_name"
},
"redirects": {
"additionalItems": false,
"items": {},
"type": "array"
},
"rendering_app": {
"$ref": "#/definitions/rendering_app"
},
"routes": {
"$ref": "#/definitions/routes"
},
"schema_name": {
"enum": [
"unpublishing"
],
"type": "string"
},
"title": {
"$ref": "#/definitions/title"
},
"update_type": {
"$ref": "#/definitions/update_type"
}
},
"required": [
"base_path",
"details",
"document_type",
"publishing_app",
"rendering_app",
"routes",
"schema_name",
"title"
],
"type": "object"
} | o21426 |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "choices",
"description": "I've got class.",
"type": "object",
"definitions": {
"item": {
"type": "string",
"enum": [
"one",
"two",
"three",
"marvelous breaking changes",
"GA",
"FL"
]
}
},
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/item"
}
}
}
} | o47149 |
{
"definitions": {
"user": {
"$schema": "http://json-schema.org/draft-04/schema",
"definitions": {
"id": {
"description": "unique identifier of user",
"example": 1,
"readOnly": true,
"type": [
"integer"
]
},
"identity": {
"$ref": "#/definitions/user/definitions/id"
},
"mail": {
"description": "unique user email",
"example": "[email protected]",
"type": [
"string"
]
},
"name": {
"description": "user name",
"example": "kata0hka",
"type": [
"string"
]
},
"password": {
"description": "user password",
"example": "my_password",
"type": [
"string"
]
}
},
"description": "User API",
"links": [
{
"description": "Info for existing user.",
"href": "/users/{(%23%2Fdefinitions%2Fuser%2Fdefinitions%2Fidentity)}",
"method": "GET",
"rel": "self",
"title": "Info"
}
],
"properties": {
"id": {
"$ref": "#/definitions/user/definitions/id"
},
"mail": {
"$ref": "#/definitions/user/definitions/mail"
},
"name": {
"$ref": "#/definitions/user/definitions/name"
},
"password": {
"$ref": "#/definitions/user/definitions/password"
}
},
"stability": "prototype",
"strictProperties": true,
"title": "User",
"type": [
"object"
]
}
},
"description": "Sample Rails5 API",
"links": [
{
"href": "http://0.0.0.0:3000",
"rel": "self"
}
],
"properties": {
"user": {
"$ref": "#/definitions/user"
}
},
"title": "Sample Rails5 API",
"type": [
"object"
]
} | o54930 |
{
"type": "object",
"title": "Profile schema",
"$schema": "http://json-schema.org/draft-04/schema",
"properties": {
"id": {
"type": [
"integer",
"string"
],
"_db_settings": {
"type": "id_field",
"primary_key": true
}
},
"created_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"_db_settings": {
"type": "datetime",
"default": "{{datetime.datetime.utcnow}}"
}
},
"updated_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"_db_settings": {
"type": "datetime",
"onupdate": "{{datetime.datetime.utcnow}}"
}
},
"address": {
"type": [
"string",
"null"
],
"_db_settings": {
"type": "unicode_text"
}
},
"user_id": {
"type": [
"string",
"null"
],
"_db_settings": {
"type": "foreign_key",
"ref_document": "User",
"ref_column": "user.username",
"ref_column_type": "string"
}
},
"user": {
"type": [
"string",
"null"
]
}
}
} | o69469 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"headline": {
"type": "object",
"required": [
"htmlText"
],
"properties": {
"htmlText": {
"type": "string",
"description": "The HTML headline content."
},
"level": {
"type": "integer",
"description": "The hierarchical level of the headline (1 to 6).",
"minimum": 1,
"maximum": 6,
"default": 1
}
}
},
"intro": {
"type": "object",
"properties": {
"htmlText": {
"type": "string",
"description": "Additional introductory HTML text to be shown below the headline."
}
}
}
}
} | o89622 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"definitions": {
"absolute_path": {
"description": "A path only. Query string and/or fragment are not allowed.",
"pattern": "^/(([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})+(/([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})*)*)?$",
"type": "string"
},
"analytics_identifier": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "A short identifier we send to Google Analytics for multi-valued fields. This means we avoid the truncated values we would get if we sent the path or slug of eg organisations."
},
"body": {
"description": "The main content provided as HTML rendered from govspeak",
"type": "string"
},
"change_history": {
"items": {
"additionalProperties": false,
"properties": {
"note": {
"description": "A summary of the change",
"type": "string"
},
"public_timestamp": {
"_format": "date-time",
"type": "string"
}
},
"required": [
"public_timestamp",
"note"
],
"type": "object"
},
"type": "array"
},
"description": {
"type": "string"
},
"description_optional": {
"anyOf": [
{
"$ref": "#/definitions/description"
},
{
"type": "null"
}
]
},
"details": {
"additionalProperties": false,
"properties": {
"body": {
"$ref": "#/definitions/body"
},
"change_history": {
"$ref": "#/definitions/change_history"
},
"change_notes": {
"$ref": "#/definitions/hmrc_manual_change_notes"
},
"child_section_groups": {
"$ref": "#/definitions/hmrc_manual_child_section_groups"
},
"organisations": {
"$ref": "#/definitions/manual_organisations"
},
"tags": {
"$ref": "#/definitions/tags"
}
},
"required": [
"child_section_groups"
],
"type": "object"
},
"first_published_at": {
"_format": "date-time",
"description": "The date the content was first published. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string"
},
"frontend_links": {
"items": {
"additionalProperties": true,
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"api_path": {
"$ref": "#/definitions/absolute_path"
},
"api_url": {
"_format": "uri",
"description": "DEPRECATED: api_path should be used instead of api_url. This is due to values of api_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"document_type": {
"type": "string"
},
"links": {
"patternProperties": {
"^[a-z_]+$": {
"$ref": "#/definitions/frontend_links"
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"public_updated_at": {
"oneOf": [
{
"$ref": "#/definitions/public_updated_at"
},
{
"type": "null"
}
]
},
"schema_name": {
"type": "string"
},
"title": {
"type": "string"
},
"web_url": {
"_format": "uri",
"description": "DEPRECATED: base_path should be used instead of web_url. This is due to values of web_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
}
},
"required": [
"content_id",
"locale",
"title"
],
"type": "object"
},
"type": "array"
},
"frontend_links_with_base_path": {
"items": {
"additionalProperties": true,
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"api_path": {
"$ref": "#/definitions/absolute_path"
},
"api_url": {
"_format": "uri",
"description": "DEPRECATED: api_path should be used instead of api_url. This is due to values of api_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"document_type": {
"type": "string"
},
"links": {
"patternProperties": {
"^[a-z_]+$": {
"$ref": "#/definitions/frontend_links_with_base_path"
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"public_updated_at": {
"oneOf": [
{
"$ref": "#/definitions/public_updated_at"
},
{
"type": "null"
}
]
},
"schema_name": {
"type": "string"
},
"title": {
"type": "string"
},
"web_url": {
"_format": "uri",
"description": "DEPRECATED: base_path should be used instead of web_url. This is due to values of web_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
}
},
"required": [
"base_path",
"content_id",
"locale",
"title"
],
"type": "object"
},
"type": "array"
},
"guid": {
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
"type": "string"
},
"hmrc_manual_change_notes": {
"description": "A history of changes to HMRC manuals and the associated section. section_id is included and required making it different to manual_change_notes",
"items": {
"additionalProperties": false,
"properties": {
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"change_note": {
"type": "string"
},
"published_at": {
"_format": "date-time",
"type": "string"
},
"section_id": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"section_id",
"base_path",
"title",
"change_note",
"published_at"
],
"type": "object"
},
"type": "array"
},
"hmrc_manual_child_section_groups": {
"description": "Grouped sections of an HMRC manual. Differs from manuals as section_id is required and group titles are optional.",
"items": {
"additionalProperties": false,
"properties": {
"child_sections": {
"items": {
"additionalProperties": false,
"properties": {
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"description": {
"type": "string"
},
"section_id": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"section_id",
"title",
"description",
"base_path"
],
"type": "object"
},
"type": "array"
},
"title": {
"type": "string"
}
},
"required": [
"child_sections"
],
"type": "object"
},
"type": "array"
},
"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"
},
"manual_organisations": {
"description": "A manual\u2019s organisations. TODO: Switch to use organisations in links",
"items": {
"additionalProperties": false,
"properties": {
"abbreviation": {
"type": "string"
},
"title": {
"type": "string"
},
"web_url": {
"type": "string"
}
},
"required": [
"title",
"abbreviation",
"web_url"
],
"type": "object"
},
"type": "array"
},
"public_updated_at": {
"_format": "date-time",
"description": "When the content was last significantly changed (a major update). Shown to users. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string"
},
"publishing_app_name": {
"description": "The application that published this item.",
"enum": [
"calculators",
"calendars",
"collections-publisher",
"contacts",
"content-publisher",
"content-tagger",
"email-alert-frontend",
"external-link-tracker",
"feedback",
"frontend",
"government-frontend",
"hmrc-manuals-api",
"info-frontend",
"licencefinder",
"local-links-manager",
"manuals-frontend",
"manuals-publisher",
"maslow",
"performanceplatform-big-screen-view",
"publisher",
"rummager",
"search-admin",
"search-api",
"service-manual-publisher",
"share-sale-publisher",
"short-url-manager",
"smartanswers",
"special-route-publisher",
"specialist-publisher",
"static",
"tariff",
"travel-advice-publisher",
"whitehall"
],
"type": "string"
},
"publishing_request_id": {
"description": "A unique identifier used to track publishing requests to rendered content",
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"publishing_scheduled_at": {
"_format": "date-time",
"description": "When this content was last scheduled for publishing. Determined by the publishing intent sent by the publishing API.",
"type": "string"
},
"rendering_app": {
"description": "The application that renders this item.",
"enum": [
"calculators",
"calendars",
"collections",
"content-store",
"email-alert-frontend",
"email-campaign-frontend",
"feedback",
"finder-frontend",
"frontend",
"government-frontend",
"info-frontend",
"licencefinder",
"manuals-frontend",
"performanceplatform-big-screen-view",
"rummager",
"search-api",
"service-manual-frontend",
"smartanswers",
"spotlight",
"static",
"tariff",
"whitehall-admin",
"whitehall-frontend"
],
"type": "string"
},
"scheduled_publishing_delay_seconds": {
"description": "The delay between the most recent scheduled and actual publishing times. Determined by the content store based on the publishing intent.",
"type": "integer"
},
"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"
},
"withdrawn_notice": {
"additionalProperties": false,
"properties": {
"explanation": {
"type": "string"
},
"withdrawn_at": {
"format": "date-time"
}
},
"type": "object"
}
},
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"description": {
"$ref": "#/definitions/description_optional"
},
"details": {
"$ref": "#/definitions/details"
},
"document_type": {
"enum": [
"hmrc_manual"
],
"type": "string"
},
"first_published_at": {
"anyOf": [
{
"$ref": "#/definitions/first_published_at"
},
{
"type": "null"
}
]
},
"links": {
"additionalProperties": false,
"properties": {
"available_translations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"child_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"children": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"document_collections": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"facet_groups": {
"$ref": "#/definitions/frontend_links",
"description": "Prototype-stage metadata tagging tree roots for this content item. A content item my belong to many facet groups without having any specific facet_values links."
},
"facet_values": {
"$ref": "#/definitions/frontend_links",
"description": "Prototype-stage metadata tagging values for this content item, a content item can be linked to many facet values from varying facet groups."
},
"finder": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers links from content back to finders the content is surfaced on"
},
"lead_organisations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "DEPRECATED: A subset of organisations that should be emphasised in relation to this content item. All organisations specified here should also be part of the organisations array."
},
"level_one_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"mainstream_browse_pages": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers the /browse section of the site. These are known as sections in some legacy apps."
},
"meets_user_needs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The user needs this piece of content meets."
},
"ministers": {
"$ref": "#/definitions/frontend_links",
"description": "Link type automatically added by Publishing API"
},
"ordered_related_items": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger."
},
"ordered_related_items_overrides": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation."
},
"organisations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "All organisations linked to this content item. This should include lead organisations."
},
"original_primary_publishing_organisation": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The organisation that published the original version of the page. Corresponds to the first of the 'Lead organisations' in Whitehall for the first edition, and is empty for all other publishing applications."
},
"parent": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The parent content item.",
"maxItems": 1
},
"part_of_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"policies": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"policy_areas": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "A largely deprecated tag currently only used to power email alerts."
},
"primary_publishing_organisation": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The organisation that published the page. Corresponds to the first of the 'Lead organisations' in Whitehall, and is empty for all other publishing applications.",
"maxItems": 1
},
"related_to_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"role_appointments": {
"$ref": "#/definitions/frontend_links",
"description": "Link type automatically added by Publishing API"
},
"secondary_to_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"suggested_ordered_related_items": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "New A/B test suggestions for related items. Used for displaying related content on most pages, except for step-by-step and fatality notices. Links and their ordering are determined by the machine learning algorithms included in this A/B test."
},
"taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Prototype-stage taxonomy label for this content item"
},
"topic_taxonomy_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"topics": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers the /topic section of the site. These are known as specialist sectors in some legacy apps."
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"need_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"phase": {
"description": "The service design phase of this content item - https://www.gov.uk/service-manual/phases",
"enum": [
"alpha",
"beta",
"live"
],
"type": "string"
},
"public_updated_at": {
"anyOf": [
{
"$ref": "#/definitions/public_updated_at"
},
{
"type": "null"
}
]
},
"publishing_app": {
"$ref": "#/definitions/publishing_app_name"
},
"publishing_request_id": {
"$ref": "#/definitions/publishing_request_id"
},
"publishing_scheduled_at": {
"anyOf": [
{
"$ref": "#/definitions/publishing_scheduled_at"
},
{
"type": "null"
}
]
},
"rendering_app": {
"$ref": "#/definitions/rendering_app"
},
"scheduled_publishing_delay_seconds": {
"anyOf": [
{
"$ref": "#/definitions/scheduled_publishing_delay_seconds"
},
{
"type": "null"
}
]
},
"schema_name": {
"enum": [
"hmrc_manual"
],
"type": "string"
},
"title": {
"$ref": "#/definitions/title"
},
"updated_at": {
"_format": "date-time",
"type": "string"
},
"withdrawn_notice": {
"$ref": "#/definitions/withdrawn_notice"
}
},
"required": [
"base_path",
"content_id",
"description",
"details",
"document_type",
"links",
"locale",
"public_updated_at",
"schema_name",
"title",
"updated_at"
],
"type": "object"
} | o21255 |
{
"additionalProperties": false,
"definitions": {
"Change": {
"additionalProperties": false,
"properties": {
"new": {
"description": "New value"
},
"old": {
"description": "Old value"
}
},
"required": [
"new",
"old"
],
"type": "object"
},
"Item": {
"additionalProperties": {
"$ref": "#/definitions/Change"
},
"type": "object"
}
},
"description": "Changes to state made by client",
"properties": {
"context": {
"additionalProperties": {
"$ref": "#/definitions/Item"
},
"type": "object"
},
"plugins": {
"additionalProperties": {
"$ref": "#/definitions/Item"
},
"type": "object"
}
},
"title": "Changes",
"type": "object"
} | o68821 |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.chemotion.net/schema.json",
"type": "object",
"definitions": {
"uuid": {
"type": [
"string",
"null"
],
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
},
"datetime": {
"type": "string",
"format": "date-time"
},
"reaction_sample": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"reaction_id": {
"$ref": "#/definitions/uuid"
},
"sample_id": {
"$ref": "#/definitions/uuid"
},
"reference": {
"type": "boolean"
},
"equivalent": {
"type": [
"number",
"null"
]
},
"position": {
"type": "integer"
},
"waste": {
"type": "boolean"
},
"coefficient": {
"type": "number"
},
"deleted_at": {
"type": "null"
}
},
"additionalProperties": false
}
}
}
},
"properties": {
"Collection": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"user_id": {
"$ref": "#/definitions/uuid"
},
"ancestry": {
"type": "string"
},
"label": {
"type": "string"
},
"shared_by_id": {
"$ref": "#/definitions/uuid"
},
"is_shared": {
"type": "boolean"
},
"permission_level": {
"type": "integer"
},
"sample_detail_level": {
"type": "integer"
},
"reaction_detail_level": {
"type": "integer"
},
"wellplate_detail_level": {
"type": "integer"
},
"created_at": {
"$ref": "#/definitions/datetime"
},
"updated_at": {
"$ref": "#/definitions/datetime"
},
"position": {
"type": "integer"
},
"screen_detail_level": {
"type": "integer"
},
"is_locked": {
"type": "boolean"
},
"deleted_at": {
"type": "null"
},
"is_synchronized": {
"type": "boolean"
},
"researchplan_detail_level": {
"type": "integer"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"Sample": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"name": {
"type": [
"string",
"null"
]
},
"target_amount_value": {
"type": "number"
},
"target_amount_unit": {
"type": "string"
},
"created_at": {
"$ref": "#/definitions/datetime"
},
"updated_at": {
"$ref": "#/definitions/datetime"
},
"description": {
"type": [
"string",
"null"
]
},
"molecule_id": {
"$ref": "#/definitions/uuid"
},
"molfile": {
"type": "string"
},
"purity": {
"type": [
"number",
"null"
]
},
"solvent": {
"type": [
"string",
"null"
]
},
"impurities": {
"type": [
"string",
"null"
]
},
"location": {
"type": [
"string",
"null"
]
},
"is_top_secret": {
"type": "boolean"
},
"ancestry": {
"type": "string"
},
"external_label": {
"type": "string"
},
"created_by": {
"$ref": "#/definitions/uuid"
},
"short_label": {
"type": "string"
},
"real_amount_value": {
"type": [
"number",
"null"
]
},
"real_amount_unit": {
"type": [
"string",
"null"
]
},
"imported_readout": {
"type": [
"string",
"null"
]
},
"deleted_at": {
"type": "null"
},
"sample_svg_file": {
"type": [
"string",
"null"
]
},
"user_id": {
"$ref": "#/definitions/uuid"
},
"identifier": {
"type": [
"string",
"null"
]
},
"density": {
"type": "number"
},
"melting_point": {
"type": [
"number",
"null"
]
},
"boiling_point": {
"type": [
"number",
"null"
]
},
"fingerprint_id": {
"$ref": "#/definitions/uuid"
},
"xref": {
"type": [
"object",
"null"
]
},
"molarity_value": {
"type": "number"
},
"molarity_unit": {
"type": [
"string",
"null"
]
},
"molecule_name_id": {
"$ref": "#/definitions/uuid"
},
"molfile_version": {
"type": [
"string",
"null"
]
},
"stereo": {
"type": "object"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"CollectionsSample": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"collection_id": {
"$ref": "#/definitions/uuid"
},
"sample_id": {
"$ref": "#/definitions/uuid"
},
"deleted_at": {
"type": "null"
}
},
"additionalProperties": false
}
}
},
"Fingerprint": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"fp0": {
"type": "string"
},
"fp1": {
"type": "string"
},
"fp2": {
"type": "string"
},
"fp3": {
"type": "string"
},
"fp4": {
"type": "string"
},
"fp5": {
"type": "string"
},
"fp6": {
"type": "string"
},
"fp7": {
"type": "string"
},
"fp8": {
"type": "string"
},
"fp9": {
"type": "string"
},
"fp10": {
"type": "string"
},
"fp11": {
"type": "string"
},
"fp12": {
"type": "string"
},
"fp13": {
"type": "string"
},
"fp14": {
"type": "string"
},
"fp15": {
"type": "string"
},
"num_set_bits": {
"type": "integer"
},
"created_at": {
"$ref": "#/definitions/datetime"
},
"updated_at": {
"$ref": "#/definitions/datetime"
},
"deleted_at": {
"type": "null"
}
},
"additionalProperties": false
}
}
},
"Molecule": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"inchikey": {
"type": "string"
},
"inchistring": {
"type": "string"
},
"density": {
"type": "number"
},
"molecular_weight": {
"type": "number"
},
"molfile": {
"type": "string"
},
"melting_point": {
"type": [
"number",
"null"
]
},
"boiling_point": {
"type": [
"number",
"null"
]
},
"sum_formular": {
"type": "string"
},
"names": {
"type": "array"
},
"iupac_name": {
"type": "string"
},
"molecule_svg_file": {
"type": "string"
},
"created_at": {
"$ref": "#/definitions/datetime"
},
"updated_at": {
"$ref": "#/definitions/datetime"
},
"deleted_at": {
"type": "null"
},
"is_partial": {
"type": "boolean"
},
"exact_molecular_weight": {
"type": "number"
},
"cano_smiles": {
"type": "string"
},
"cas": {
"type": "array"
},
"molfile_version": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"MoleculeName": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"molecule_id": {
"$ref": "#/definitions/uuid"
},
"user_id": {
"$ref": "#/definitions/uuid"
},
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"created_at": {
"$ref": "#/definitions/datetime"
},
"updated_at": {
"$ref": "#/definitions/datetime"
},
"deleted_at": {
"type": "null"
}
},
"additionalProperties": false
}
}
},
"Residue": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"sample_id": {
"$ref": "#/definitions/uuid"
},
"residue_type": {
"type": "string"
},
"custom_info": {
"type": "object"
},
"created_at": {
"$ref": "#/definitions/datetime"
},
"updated_at": {
"$ref": "#/definitions/datetime"
}
},
"additionalProperties": false
}
}
},
"Reaction": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"created_at": {
"$ref": "#/definitions/datetime"
},
"updated_at": {
"$ref": "#/definitions/datetime"
},
"description": {
"type": "object",
"properties": {
"ops": {
"type": "array",
"properties": {
"insert": {
"type": "string"
}
}
}
}
},
"timestamp_start": {
"type": "string"
},
"timestamp_stop": {
"type": "string"
},
"observation": {
"type": "object",
"properties": {
"ops": {
"type": "array",
"properties": {
"insert": {
"type": "string"
}
}
}
}
},
"purification": {
"type": "array"
},
"dangerous_products": {
"type": "array"
},
"tlc_solvents": {
"type": "string"
},
"tlc_description": {
"type": "string"
},
"rf_value": {
"type": "string"
},
"temperature": {
"type": "object",
"properties": {
"data": {
"type": "array"
},
"userText": {
"type": "string"
},
"valueUnit": {
"type": "string"
}
}
},
"status": {
"type": "string"
},
"reaction_svg_file": {
"type": "string"
},
"solvent": {
"type": "string"
},
"deleted_at": {
"type": "null"
},
"short_label": {
"type": "string"
},
"created_by": {
"$ref": "#/definitions/uuid"
},
"role": {
"type": "string"
},
"origin": {
"type": "object"
},
"rinchi_string": {
"type": "string"
},
"rinchi_long_key": {
"type": "string"
},
"rinchi_short_key": {
"type": "string"
},
"rinchi_web_key": {
"type": "string"
},
"duration": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"CollectionsReaction": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"collection_id": {
"$ref": "#/definitions/uuid"
},
"reaction_id": {
"$ref": "#/definitions/uuid"
},
"deleted_at": {
"type": "null"
}
},
"additionalProperties": false
}
}
},
"ReactionsStartingMaterialSample": {
"$ref": "#/definitions/reaction_sample"
},
"ReactionsSolventSample": {
"$ref": "#/definitions/reaction_sample"
},
"ReactionsPurificationSolventSample": {
"$ref": "#/definitions/reaction_sample"
},
"ReactionsReactantSample": {
"$ref": "#/definitions/reaction_sample"
},
"ReactionsProductSample": {
"$ref": "#/definitions/reaction_sample"
},
"Wellplate": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"size": {
"type": "integer"
},
"description": {
"type": "object",
"properties": {
"ops": {
"type": "array",
"properties": {
"insert": {
"type": "string"
}
}
}
}
},
"created_at": {
"$ref": "#/definitions/datetime"
},
"updated_at": {
"$ref": "#/definitions/datetime"
},
"deleted_at": {
"type": "null"
}
},
"additionalProperties": false
}
}
},
"CollectionsWellplate": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"collection_id": {
"$ref": "#/definitions/uuid"
},
"wellplate_id": {
"$ref": "#/definitions/uuid"
},
"deleted_at": {
"type": "null"
}
},
"additionalProperties": false
}
}
},
"Well": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"sample_id": {
"$ref": "#/definitions/uuid"
},
"wellplate_id": {
"$ref": "#/definitions/uuid"
},
"position_x": {
"type": "integer"
},
"position_y": {
"type": "integer"
},
"created_at": {
"$ref": "#/definitions/datetime"
},
"updated_at": {
"$ref": "#/definitions/datetime"
},
"readout": {
"type": [
"string",
"null"
]
},
"additive": {
"type": [
"string",
"null"
]
},
"deleted_at": {
"type": "null"
}
},
"additionalProperties": false
}
}
},
"Screen": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"description": {
"type": "object",
"properties": {
"ops": {
"type": "array",
"properties": {
"insert": {
"type": "string"
}
}
}
}
},
"name": {
"type": "string"
},
"result": {
"type": "string"
},
"collaborator": {
"type": "string"
},
"conditions": {
"type": "string"
},
"requirements": {
"type": "string"
},
"created_at": {
"$ref": "#/definitions/datetime"
},
"updated_at": {
"$ref": "#/definitions/datetime"
},
"deleted_at": {
"type": "null"
}
},
"additionalProperties": false
}
}
},
"CollectionsScreen": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"collection_id": {
"$ref": "#/definitions/uuid"
},
"screen_id": {
"$ref": "#/definitions/uuid"
},
"deleted_at": {
"type": "null"
}
},
"additionalProperties": false
}
}
},
"ScreensWellplate": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"screen_id": {
"$ref": "#/definitions/uuid"
},
"wellplate_id": {
"$ref": "#/definitions/uuid"
},
"deleted_at": {
"type": "null"
}
},
"additionalProperties": false
}
}
},
"ResearchPlan": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "object",
"properties": {
"ops": {
"type": "array",
"properties": {
"insert": {
"type": "string"
}
}
}
}
},
"sdf_file": {
"type": "string"
},
"svg_file": {
"type": "string"
},
"created_by": {
"$ref": "#/definitions/uuid"
},
"deleted_at": {
"type": "null"
},
"created_at": {
"$ref": "#/definitions/datetime"
},
"updated_at": {
"$ref": "#/definitions/datetime"
}
},
"additionalProperties": false
}
}
},
"CollectionsResearchPlan": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"collection_id": {
"$ref": "#/definitions/uuid"
},
"research_plan_id": {
"$ref": "#/definitions/uuid"
},
"deleted_at": {
"type": "null"
}
},
"additionalProperties": false
}
}
},
"Container": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"ancestry": {
"type": "string"
},
"containable_id": {
"$ref": "#/definitions/uuid"
},
"containable_type": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"container_type": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"extended_metadata": {
"type": "object"
},
"created_at": {
"$ref": "#/definitions/datetime"
},
"updated_at": {
"$ref": "#/definitions/datetime"
},
"parent_id": {
"$ref": "#/definitions/uuid"
}
},
"additionalProperties": false
}
}
},
"Attachment": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"attachable_id": {
"$ref": "#/definitions/uuid"
},
"filename": {
"type": "string"
},
"identifier": {
"$ref": "#/definitions/uuid"
},
"checksum": {
"type": "string"
},
"storage": {
"type": "string"
},
"created_by": {
"$ref": "#/definitions/uuid"
},
"created_for": {
"$ref": "#/definitions/uuid"
},
"version": {
"type": "integer"
},
"created_at": {
"$ref": "#/definitions/datetime"
},
"updated_at": {
"$ref": "#/definitions/datetime"
},
"content_type": {
"type": "string"
},
"bucket": {
"type": "string"
},
"key": {
"type": "string"
},
"thumb": {
"type": "boolean"
},
"folder": {
"type": [
"string",
"null"
]
},
"attachable_type": {
"type": "string"
},
"aasm_state": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"Literal": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"literature_id": {
"$ref": "#/definitions/uuid"
},
"element_id": {
"$ref": "#/definitions/uuid"
},
"element_type": {
"type": "string"
},
"category": {
"type": "string"
},
"user_id": {
"$ref": "#/definitions/uuid"
},
"created_at": {
"$ref": "#/definitions/datetime"
},
"updated_at": {
"$ref": "#/definitions/datetime"
}
},
"additionalProperties": false
}
}
},
"Literature": {
"type": "object",
"patternProperties": {
"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"url": {
"type": "string"
},
"created_at": {
"$ref": "#/definitions/datetime"
},
"updated_at": {
"$ref": "#/definitions/datetime"
},
"deleted_at": {
"type": "null"
},
"refs": {
"type": "object",
"properties": {
"bibtex": {
"type": "string"
}
}
},
"doi": {
"type": "string"
}
},
"additionalProperties": false
}
}
}
},
"additionalProperties": false
}
| o3625 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "openrtb-v2_0-schema-bid_request",
"description": "json schema for an openrtb v1.0 bid request (http://openrtb.googlecode.com/files/OpenRTB%20Mobile%20RTB%20API%20-%201.0.pdf)",
"type": "object",
"required": [
"id",
"imp"
],
"not": {
"allOf": [
{
"required": [
"site"
]
},
{
"required": [
"app"
]
}
]
},
"properties": {
"id": {
"$ref": "#/definitions/string_40"
},
"at": {
"type": "integer"
},
"tmax": {
"$ref": "#/definitions/positive_int"
},
"imp": {
"type": "array",
"items": {
"$ref": "#/definitions/imp"
}
},
"site": {
"$ref": "#/definitions/site"
},
"app": {
"$ref": "#/definitions/app"
},
"device": {
"$ref": "#/definitions/device"
},
"user": {
"$ref": "#/definitions/user"
},
"restrictions": {
"$ref": "#/definitions/restrictions"
}
},
"definitions": {
"imp": {
"type": "object",
"required": [
"impid"
],
"properties": {
"impid": {
"$ref": "#/definitions/string_40"
},
"wseat": {
"type": "array"
},
"h": {
"$ref": "#/definitions/positive_int"
},
"w": {
"$ref": "#/definitions/positive_int"
},
"pos": {
"$ref": "#/definitions/ad_position"
},
"instl": {
"$ref": "#/definitions/boolean_int"
},
"btype": {
"type": "array",
"items": {
"$ref": "#/definitions/ad_type"
}
},
"battr": {
"type": "array",
"items": {
"$ref": "#/definitions/creative_attribute"
}
}
}
},
"site": {
"type": "object",
"properties": {
"sid": {
"$ref": "#/definitions/string_40"
},
"name": {
"$ref": "#/definitions/string_64"
},
"domain": {
"$ref": "#/definitions/string_64"
},
"pid": {
"$ref": "#/definitions/string_40"
},
"pub": {
"$ref": "#/definitions/string_64"
},
"pdomain": {
"$ref": "#/definitions/string_64"
},
"cat": {
"type": "array",
"items": {
"$ref": "#/definitions/content_category"
}
},
"keywords": {
"$ref": "#/definitions/string_256"
},
"page": {
"$ref": "#/definitions/string_256"
},
"ref": {
"$ref": "#/definitions/string_256"
},
"search": {
"$ref": "#/definitions/string_256"
}
}
},
"app": {
"type": "object",
"properties": {
"aid": {
"$ref": "#/definitions/string_40"
},
"name": {
"$ref": "#/definitions/string_64"
},
"domain": {
"$ref": "#/definitions/string_64"
},
"pid": {
"$ref": "#/definitions/string_40"
},
"pub": {
"$ref": "#/definitions/string_64"
},
"pdomain": {
"$ref": "#/definitions/string_64"
},
"cat": {
"type": "array",
"items": {
"$ref": "#/definitions/content_category"
}
},
"keywords": {
"$ref": "#/definitions/string_256"
},
"ver": {
"$ref": "#/definitions/string_16"
},
"bundle": {
"$ref": "#/definitions/string_64"
},
"paid": {
"$ref": "#/definitions/boolean_int"
}
}
},
"device": {
"type": "object",
"properties": {
"did": {
"$ref": "#/definitions/string_42"
},
"dpid": {
"$ref": "#/definitions/string_42"
},
"ip": {
"type": "string",
"format": "ipv4"
},
"country": {
"$ref": "#/definitions/country"
},
"carrier": {
"$ref": "#/definitions/string_64"
},
"ua": {
"$ref": "#/definitions/string_256"
},
"make": {
"$ref": "#/definitions/string_32"
},
"model": {
"$ref": "#/definitions/string_32"
},
"os": {
"$ref": "#/definitions/string_32"
},
"osv": {
"$ref": "#/definitions/string_32"
},
"js": {
"$ref": "#/definitions/boolean_int"
},
"loc": {
"$ref": "#/definitions/string_16"
}
}
},
"user": {
"type": "object",
"properties": {
"uid": {
"$ref": "#/definitions/string_40"
},
"yob": {
"type": "integer",
"minimum": 1000,
"maximum": 9999
},
"gender": {
"type": "string",
"enum": [
"M",
"F",
"O"
]
},
"zip": {
"$ref": "#/definitions/string_16"
},
"country": {
"$ref": "#/definitions/country"
},
"keywords": {
"$ref": "#/definitions/string_256"
}
}
},
"restrictions": {
"type": "object",
"properties": {
"bcat": {
"type": "array",
"items": {
"$ref": "#/definitions/content_category"
}
},
"badv": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"content_category": {
"type": "string",
"enum": [
"IAB1",
"IAB2",
"IAB3",
"IAB4",
"IAB5",
"IAB6",
"IAB7",
"IAB8",
"IAB9",
"IAB10",
"IAB11",
"IAB12",
"IAB13",
"IAB14",
"IAB15",
"IAB16",
"IAB17",
"IAB18",
"IAB19",
"IAB20",
"IAB21",
"IAB22",
"IAB23",
"IAB24",
"IAB25",
"IAB26"
]
},
"ad_type": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"creative_attribute": {
"type": "integer",
"minimum": 1,
"maximum": 14
},
"ad_position": {
"type": "integer",
"minimum": 0,
"maximum": 3
},
"boolean_int": {
"type": "integer",
"minimum": 0,
"maximum": 1
},
"positive_int": {
"type": "integer",
"minimum": 0
},
"country": {
"type": "string",
"minLength": 3,
"maxLength": 4
},
"string_16": {
"type": "string",
"maxLength": 16
},
"string_32": {
"type": "string",
"maxLength": 32
},
"string_40": {
"type": "string",
"maxLength": 40
},
"string_42": {
"type": "string",
"maxLength": 42
},
"string_64": {
"type": "string",
"maxLength": 64
},
"string_256": {
"type": "string",
"maxLength": 256
}
}
} | o65670 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"version": {
"oneOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 255
},
{
"type": "null"
}
]
},
"slug": {
"type": "string",
"minLength": 4,
"maxLength": 63,
"pattern": "^[0-9a-z-]*$"
}
},
"additionalProperties": false,
"required": [
"slug"
]
} | o9885 |
{
"additionalProperties": true,
"definitions": {},
"description": "inventory_push_v1",
"links": [
{
"description": "inventory_push_v1",
"href": "/inventory_push_v1",
"method": "post",
"rel": "instances",
"schema": {
"allOf": [
{
"properties": {
"action": {
"description": "Action Name name",
"example": "catalog_get_config",
"type": "string"
},
"channel_info": {
"properties": {
"id": {
"description": "channel id",
"example": 21,
"type": "integer"
}
},
"type": "object"
},
"client_id": {
"description": "RetailOPS client id",
"example": 497,
"type": "integer"
},
"integration_auth_token": {
"description": "Randomly generated authorization token, for authenticating genuine RetailOps- originated requests.",
"example": "2KuxqV9rsAtAM78i47CITMvtnflUapNmgGJAvWiHqgUrk1xkeDNWlM3EsrmJEtmV",
"type": "string"
},
"version": {
"description": "Action Version",
"example": 1,
"type": "integer"
}
},
"required": [
"action",
"version",
"client_id",
"channel_info"
],
"type": "object"
},
{
"properties": {
"inventory_updates": {
"description": "List of inventory item updates",
"items": {
"properties": {
"quantity_available": {
"description": "quantity available",
"example": 24,
"type": "integer"
},
"quantity_detail": {
"description": "Detailed breakdown of inventory quantities contributing to the top-line numbers",
"items": {
"properties": {
"available_quantity": {
"description": "Quantity which is presently available for sale",
"type": "integer"
},
"estimated_availability_date": {
"description": "estimated availability date for one unit",
"type": "string"
},
"facility_name": {
"description": "RetailOps Facility Name",
"type": "string"
},
"po": {
"description": "PO number corresponding to inflight quantity considered to be available",
"type": "string"
},
"po_destination": {
"description": "PO destinatination",
"type": "string"
},
"quantity_type": {
"description": "Type of quantity for this item",
"enum": [
"internal",
"external",
"inflight"
],
"type": "string"
},
"total_quantity": {
"description": "Total quantity, irrespective of sellability or availability",
"type": "integer"
},
"vendor_name": {
"description": "Vendor Name",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"sku": {
"description": "sku number",
"example": "S12345",
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
]
},
"targetSchema": {
"properties": {
"events": {
"items": {
"description": "event returned in action response",
"properties": {
"associations": {
"description": "",
"items": {
"properties": {
"identifier": {
"description": "identify value corresponding to the type",
"example": "S1234",
"type": "string"
},
"identifier_type": {
"description": "Type of identifier being provided",
"enum": [
"order_id",
"order_refnum",
"orderitem_id",
"orderitem_refnum",
"shipment_id",
"shipmentitem_id",
"product_id",
"sku_number"
],
"example": "sku_number",
"type": "string"
}
},
"type": "object"
},
"type": [
"array",
"null"
]
},
"code": {
"description": "error/warning code",
"example": "ERR1234",
"type": "string"
},
"diagnostic_data": {
"description": "",
"type": "string"
},
"event_type": {
"description": "event type",
"enum": [
"error",
"warning",
"info"
],
"example": "error",
"type": "string"
},
"message": {
"description": "descriptive error/warning message",
"example": "Example error message",
"type": "string"
}
},
"type": "object"
},
"type": [
"array",
"null"
]
}
},
"type": "object"
},
"title": "/inventory_push_v1"
}
],
"properties": {},
"stability": "draft",
"title": "/inventory_push_v1",
"type": "object"
} | o45021 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"TableName",
"StreamViewType"
],
"additionalProperties": false,
"properties": {
"TableName": {
"type": "string"
},
"StreamViewType": {
"type": "string",
"enum": [
"NEW_IMAGE",
"OLD_IMAGE",
"NEW_AND_OLD_IMAGES",
"KEYS_ONLY"
]
}
}
} | o21861 |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base length 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"
},
"side": {
"description": "The side length of the square",
"type": "number"
},
"width": {
"description": "The width of the rectangle",
"type": "number"
}
},
"type": "object"
},
"shape": {
"description": "The type of shape (circle, square, rectangle, triangle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_06e91350 |
{
"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",
"null"
]
},
"secretName": {
"description": "the name of secret that contains Azure Storage Account Name and Key",
"type": [
"string",
"null"
]
},
"secretNamespace": {
"description": "the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod",
"type": [
"string",
"null"
]
},
"shareName": {
"description": "Share Name",
"type": [
"string",
"null"
]
}
},
"required": [
"secretName",
"shareName"
],
"type": "object"
} | kb_54_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"auth": {
"type": "null"
},
"data": {
"type": "object",
"properties": {}
},
"lease_duration": {
"type": "integer"
},
"lease_id": {
"type": "string"
},
"renewable": {
"type": "boolean"
},
"metadata": {
"type": "object",
"required": [
"action_principal",
"version_created_by",
"action",
"action_ts",
"version_id",
"version_created_ts"
]
}
},
"required": [
"auth",
"data",
"lease_duration",
"lease_id",
"renewable",
"metadata"
]
} | o11794 |
{
"additionalProperties": false,
"properties": {
"grade": {
"additionalProperties": false,
"properties": {
"deleted_at": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"lesson_id": {
"type": "string"
},
"mark": {
"type": "number"
},
"skill_id": {
"type": "number"
},
"student_id": {
"type": "number"
}
},
"required": [
"mark",
"skill_id",
"lesson_id",
"student_id",
"deleted_at"
]
},
"meta": {
"additionalProperties": false,
"properties": {
"timestamp": {
"_format": "date-time",
"type": "string"
}
},
"required": [
"timestamp"
],
"type": "object"
}
},
"required": [
"grade",
"meta"
],
"type": "object"
} | o10526 |
{
"$defs": {
"patterns-content": {
"type": "array",
"title": "Return finding where all of the nested conditions are true",
"items": {
"anyOf": [
{
"$ref": "#/$defs/patterns"
},
{
"$ref": "#/$defs/pattern-either"
},
{
"$ref": "#/$defs/focus-metavariable"
},
{
"$ref": "#/$defs/pattern-inside"
},
{
"$ref": "#/$defs/pattern-not-inside"
},
{
"$ref": "#/$defs/pattern-not"
},
{
"$ref": "#/$defs/pattern"
},
{
"$ref": "#/$defs/pattern-regex"
},
{
"$ref": "#/$defs/pattern-not-regex"
},
{
"$ref": "#/$defs/pattern-where-python"
},
{
"$ref": "#/$defs/metavariable-analysis"
},
{
"$ref": "#/$defs/metavariable-regex"
},
{
"$ref": "#/$defs/metavariable-pattern"
},
{
"$ref": "#/$defs/metavariable-comparison"
}
]
}
},
"pattern-either-content": {
"type": "array",
"title": "Return finding where any of the nested conditions are true",
"items": {
"anyOf": [
{
"$ref": "#/$defs/patterns"
},
{
"$ref": "#/$defs/pattern-either"
},
{
"$ref": "#/$defs/pattern-inside"
},
{
"$ref": "#/$defs/pattern"
},
{
"$ref": "#/$defs/pattern-regex"
}
]
}
},
"taint-content": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"pattern": {
"title": "Return finding where Semgrep pattern matches exactly",
"type": "string"
},
"pattern-regex": {
"title": "Return finding where regular expression matches exactly",
"type": "string"
},
"patterns": {
"$ref": "#/$defs/patterns-content"
},
"pattern-either": {
"$ref": "#/$defs/pattern-either-content"
}
},
"oneOf": [
{
"required": ["pattern"],
"not": {
"anyOf": [
{
"required": ["patterns"]
},
{
"required": ["pattern-either"]
},
{
"required": ["pattern-regex"]
}
]
}
},
{
"required": ["patterns"],
"not": {
"anyOf": [
{
"required": ["pattern"]
},
{
"required": ["pattern-either"]
},
{
"required": ["pattern-regex"]
}
]
}
},
{
"required": ["pattern-either"],
"not": {
"anyOf": [
{
"required": ["pattern"]
},
{
"required": ["patterns"]
},
{
"required": ["pattern-regex"]
}
]
}
},
{
"required": ["pattern-regex"],
"not": {
"anyOf": [
{
"required": ["pattern"]
},
{
"required": ["patterns"]
},
{
"required": ["pattern-either"]
}
]
}
}
]
}
]
}
},
"r2c-internal-project-depends-on-content": {
"type": "object",
"title": "One or more dependencies that the project contains in a lock file",
"properties": {
"namespace": {
"type": "string"
},
"package": {
"type": "string"
},
"version": {
"type": "string"
},
"depends-on-either": {
"type": "array",
"properties": {
"namespace": {
"type": "string"
},
"package": {
"type": "string"
},
"version": {
"type": "string"
}
},
"additionalProperties": false,
"required": ["namespace", "package", "version"]
}
},
"oneOf": [
{
"required": ["namespace", "package", "version"],
"not": {
"required": ["depends-on-either"]
}
},
{
"required": ["depends-on-either"],
"not": {
"anyOf": [
{
"required": ["namespace"]
},
{
"required": ["package"]
},
{
"required": ["version"]
}
]
}
}
]
},
"join-content": {
"type": "object",
"title": "Join one or more rules together based on metavariable contents",
"properties": {
"refs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rule": {
"type": "string"
},
"renames": {
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
}
}
}
},
"as": {
"type": "string"
}
},
"additionalProperties": false
}
},
"rules": {
"type": "array",
"items": {
"type": "object",
"required": ["id", "languages"],
"oneOf": [
{
"required": ["pattern"]
},
{
"required": ["patterns"]
},
{
"required": ["pattern-sources", "pattern-sinks"]
}
],
"properties": {
"id": {
"$ref": "#/$defs/id"
},
"languages": {
"type": "array",
"items": {
"type": "string"
}
},
"pattern": {
"type": "string"
},
"patterns": {
"$ref": "#/$defs/patterns-content"
},
"mode": {
"enum": ["search", "taint"]
},
"pattern-sources": {
"$ref": "#/$defs/taint-content"
},
"pattern-propagators": {
"$ref": "#/$defs/taint-content"
},
"pattern-sinks": {
"$ref": "#/$defs/taint-content"
},
"pattern-sanitizers": {
"$ref": "#/$defs/taint-content"
}
},
"additionalProperties": false
}
},
"on": {
"type": "array",
"items": {
"type": "string"
}
},
"additionalProperties": false
},
"additionalProperties": false
},
"metavariable-analysis": {
"type": "object",
"properties": {
"metavariable-analysis": {
"type": "object",
"properties": {
"analyzer": {
"type": "string"
},
"metavariable": {
"type": "string"
},
"options": {
"type": "object"
}
},
"required": ["analyzer", "metavariable"],
"additionalProperties": false
}
},
"required": ["metavariable-analysis"],
"additionalProperties": false
},
"metavariable-regex": {
"type": "object",
"properties": {
"metavariable-regex": {
"type": "object",
"properties": {
"metavariable": {
"type": "string"
},
"regex": {
"type": "string"
},
"constant-propagation": {
"type": "boolean"
}
},
"required": ["metavariable", "regex"],
"additionalProperties": false
}
},
"required": ["metavariable-regex"],
"additionalProperties": false
},
"metavariable-pattern": {
"type": "object",
"properties": {
"metavariable-pattern": {
"type": "object",
"properties": {
"metavariable": {
"type": "string"
},
"language": {
"type": "string"
},
"pattern": {
"title": "Return finding where Semgrep pattern matches exactly",
"type": "string"
},
"pattern-regex": {
"title": "Return finding where regular expression matches exactly",
"type": "string"
},
"patterns": {
"$ref": "#/$defs/patterns-content"
},
"pattern-either": {
"$ref": "#/$defs/pattern-either-content"
}
},
"required": ["metavariable"],
"oneOf": [
{
"required": ["pattern"],
"not": {
"anyOf": [
{
"required": ["patterns"]
},
{
"required": ["pattern-either"]
},
{
"required": ["pattern-regex"]
}
]
}
},
{
"required": ["patterns"],
"not": {
"anyOf": [
{
"required": ["pattern"]
},
{
"required": ["pattern-either"]
},
{
"required": ["pattern-regex"]
}
]
}
},
{
"required": ["pattern-either"],
"not": {
"anyOf": [
{
"required": ["pattern"]
},
{
"required": ["patterns"]
},
{
"required": ["pattern-regex"]
}
]
}
},
{
"required": ["pattern-regex"],
"not": {
"anyOf": [
{
"required": ["pattern"]
},
{
"required": ["patterns"]
},
{
"required": ["pattern-either"]
}
]
}
}
],
"additionalProperties": false
}
},
"required": ["metavariable-pattern"],
"additionalProperties": false
},
"metavariable-comparison": {
"type": "object",
"properties": {
"metavariable-comparison": {
"type": "object",
"properties": {
"metavariable": {
"type": "string"
},
"comparison": {
"type": "string"
},
"strip": {
"type": "boolean"
},
"base": {
"type": "integer"
}
},
"required": ["comparison"],
"additionalProperties": false
}
},
"required": ["metavariable-comparison"],
"additionalProperties": false
},
"pattern": {
"type": "object",
"properties": {
"pattern": {
"title": "Return finding where Semgrep pattern matches exactly",
"type": "string"
}
},
"required": ["pattern"],
"additionalProperties": false
},
"pattern-regex": {
"type": "object",
"properties": {
"pattern-regex": {
"title": "Return finding where regular expression matches",
"type": "string"
}
},
"required": ["pattern-regex"],
"additionalProperties": false
},
"pattern-not-regex": {
"type": "object",
"properties": {
"pattern-not-regex": {
"title": "Do not return finding where regular expression matches",
"type": "string"
}
},
"required": ["pattern-not-regex"],
"additionalProperties": false
},
"patterns": {
"type": "object",
"properties": {
"patterns": {
"title": "Return finding where all of the nested conditions are true",
"$ref": "#/$defs/patterns-content"
}
},
"required": ["patterns"],
"additionalProperties": false
},
"pattern-either": {
"type": "object",
"properties": {
"pattern-either": {
"title": "Return finding where any of the nested conditions are true",
"$ref": "#/$defs/pattern-either-content"
}
},
"required": ["pattern-either"],
"additionalProperties": false
},
"focus-metavariable": {
"type": "object",
"properties": {
"focus-metavariable": {
"title": "Focus on what a given metavariable is matching",
"type": "string"
}
},
"required": ["focus-metavariable"],
"additionalProperties": false
},
"pattern-inside": {
"type": "object",
"properties": {
"pattern-inside": {
"title": "Return findings only from within snippets Semgrep pattern matches",
"type": "string"
}
},
"required": ["pattern-inside"],
"additionalProperties": false
},
"pattern-not-inside": {
"type": "object",
"properties": {
"pattern-not-inside": {
"title": "Do not return findings from within snippets Semgrep pattern matches",
"type": "string"
}
},
"required": ["pattern-not-inside"],
"additionalProperties": false
},
"pattern-not": {
"type": "object",
"properties": {
"pattern-not": {
"title": "Do not return finding where Semgrep pattern matches exactly",
"type": "string"
}
},
"required": ["pattern-not"],
"additionalProperties": false
},
"pattern-where-python": {
"type": "object",
"properties": {
"pattern-where-python": {
"title": "Return finding where Python expression returns true",
"type": "string"
}
},
"required": ["pattern-where-python"],
"additionalProperties": false
},
"path-array": {
"type": "array",
"items": {
"type": "string"
}
},
"id": {
"title": "Rule ID to attach to findings",
"type": "string"
}
},
"$id": "https://raw.githubusercontent.com/returntocorp/semgrep-interfaces/main/rule_schema.yaml",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"rules": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"$ref": "#/$defs/id"
},
"version": {
"title": "Version of rule",
"type": "string"
},
"message": {
"title": "Description to attach to findings",
"type": "string"
},
"mode": {
"default": "search",
"enum": ["search", "taint", "join", "extract"]
},
"languages": {
"title": "Languages this pattern should run on",
"type": "array",
"items": {
"type": "string"
}
},
"paths": {
"title": "Path globs this pattern should run on",
"type": "object",
"properties": {
"include": {
"$ref": "#/$defs/path-array"
},
"exclude": {
"$ref": "#/$defs/path-array"
}
},
"additionalProperties": false
},
"severity": {
"title": "Severity to report alongside this finding",
"enum": ["ERROR", "WARNING", "INFO", "INVENTORY", "EXPERIMENT"]
},
"pattern-sinks": {
"$ref": "#/$defs/taint-content"
},
"pattern-sources": {
"$ref": "#/$defs/taint-content"
},
"pattern-propagators": {
"$ref": "#/$defs/taint-content"
},
"pattern-sanitizers": {
"$ref": "#/$defs/taint-content"
},
"join": {
"$ref": "#/$defs/join-content"
},
"fix": {
"title": "Replacement text to fix matched code. Can use matched metavariables.",
"type": "string"
},
"fix-regex": {
"type": "object",
"title": "Replacement regex to fix matched code.",
"properties": {
"count": {
"title": "Replace up to this many regex matches",
"type": "integer"
},
"regex": {
"title": "Regular expression to find in matched code",
"type": "string"
},
"replacement": {
"title": "Code to replace the regular expression match with. Can use capture groups.",
"type": "string"
}
},
"required": ["regex", "replacement"],
"additionalProperties": false
},
"metadata": {
"title": "Arbitrary structured data for your own reference",
"type": "object"
},
"options": {
"title": "Options object to enable/disable certain matching features in semgrep-core",
"type": "object"
},
"pattern": {
"title": "Return finding where Semgrep pattern matches exactly",
"type": "string"
},
"pattern-regex": {
"title": "Return finding where regular expression matches exactly",
"type": "string"
},
"patterns": {
"$ref": "#/$defs/patterns-content"
},
"pattern-either": {
"$ref": "#/$defs/pattern-either-content"
},
"r2c-internal-project-depends-on": {
"$ref": "#/$defs/r2c-internal-project-depends-on-content"
},
"extract": {
"title": "Metavariable whose content to use as the extracted result for subsequent rules",
"type": "string"
},
"dest-language": {
"title": "Language to process the extracted result of this rule as",
"type": "string"
},
"reduce": {
"title": "Method of intrafile match reduction",
"enum": ["concat", "separate"],
"default": "separate"
}
},
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"mode": {
"const": "extract"
}
},
"required": ["mode"]
},
"then": {
"required": ["id", "languages", "dest-language", "extract"],
"oneOf": [
{
"required": ["pattern"]
},
{
"required": ["patterns"]
},
{
"required": ["pattern-either"]
},
{
"required": ["pattern-regex"]
}
],
"properties": {
"message": false,
"severity": false,
"pattern-sinks": false,
"pattern-sources": false,
"pattern-propagators": false,
"pattern-sanitizers": false,
"join": false
}
}
},
{
"if": {
"properties": {
"mode": {
"const": "taint"
}
},
"required": ["mode"]
},
"then": {
"required": [
"id",
"message",
"languages",
"severity",
"pattern-sinks",
"pattern-sources"
],
"properties": {
"extract": false,
"dest-language": false,
"reduce": false,
"pattern": false,
"patterns": false,
"pattern-either": false,
"pattern-regex": false,
"join": false
}
}
},
{
"if": {
"properties": {
"mode": {
"const": "join"
}
},
"required": ["mode"]
},
"then": {
"required": ["id", "message", "severity", "join"],
"properties": {
"extract": false,
"dest-language": false,
"reduce": false,
"patterns": false,
"pattern": false,
"pattern-either": false,
"pattern-regex": false,
"pattern-sinks": false,
"pattern-sources": false,
"pattern-propagators": false,
"pattern-sanitizers": false
}
}
},
{
"if": {
"properties": {
"mode": {
"const": "search"
}
}
},
"then": {
"required": ["id", "message", "languages", "severity"],
"if": {
"anyOf": [
{
"required": ["pattern"]
},
{
"required": ["patterns"]
},
{
"required": ["pattern-either"]
},
{
"required": ["pattern-regex"]
}
]
},
"then": {
"oneOf": [
{
"required": ["pattern"]
},
{
"required": ["patterns"]
},
{
"required": ["pattern-either"]
},
{
"required": ["pattern-regex"]
}
]
},
"else": {
"oneOf": [
{
"required": ["pattern"]
},
{
"required": ["patterns"]
},
{
"required": ["pattern-either"]
},
{
"required": ["pattern-regex"]
},
{
"required": ["r2c-internal-project-depends-on"]
}
]
},
"properties": {
"extract": false,
"dest-language": false,
"reduce": false,
"pattern-sinks": false,
"pattern-sources": false,
"pattern-propagators": false,
"pattern-sanitizers": false,
"join": false
}
}
}
]
}
}
},
"type": "object"
}
| semgrep |
{
"additionalProperties": true,
"properties": {
"aboutme": {
"additionalProperties": true,
"properties": {
"avatar": {
"type": [
"string",
"null"
]
},
"bio": {
"type": [
"string",
"null"
]
},
"handle": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"angellist": {
"additionalProperties": true,
"properties": {
"avatar": {
"_format": "uri",
"type": [
"string",
"null"
]
},
"bio": {
"type": [
"string",
"null"
]
},
"blog": {
"_format": "uri",
"type": [
"string",
"null"
]
},
"followers": {
"maximum": 2147483647,
"minimum": 0,
"type": [
"integer",
"null"
]
},
"handle": {
"type": [
"string",
"null"
]
},
"site": {
"_format": "uri",
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"avatar": {
"_format": "uri",
"type": [
"string",
"null"
]
},
"bio": {
"type": [
"string",
"null"
]
},
"email": {
"type": [
"string",
"null"
]
},
"employment": {
"additionalProperties": true,
"properties": {
"domain": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"role": {
"type": [
"string",
"null"
]
},
"seniority": {
"type": [
"string",
"null"
]
},
"title": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"facebook": {
"additionalProperties": true,
"properties": {
"handle": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"fuzzy": {
"type": "boolean"
},
"gender": {
"type": [
"string",
"null"
]
},
"geo": {
"additionalProperties": true,
"properties": {
"city": {
"type": [
"string",
"null"
]
},
"country": {
"type": [
"string",
"null"
]
},
"countryCode": {
"type": [
"string",
"null"
]
},
"lat": {
"maximum": 90,
"minimum": -90,
"type": [
"number",
"null"
]
},
"lng": {
"maximum": 180,
"minimum": -180,
"type": [
"number",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"stateCode": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"github": {
"additionalProperties": true,
"properties": {
"avatar": {
"_format": "uri",
"type": [
"string",
"null"
]
},
"blog": {
"_format": "uri",
"type": [
"string",
"null"
]
},
"company": {
"type": [
"string",
"null"
]
},
"followers": {
"maximum": 2147483647,
"minimum": 0,
"type": [
"integer",
"null"
]
},
"following": {
"maximum": 2147483647,
"minimum": 0,
"type": [
"integer",
"null"
]
},
"handle": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"googleplus": {
"additionalProperties": true,
"properties": {
"handle": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"gravatar": {
"additionalProperties": true,
"properties": {
"avatar": {
"_format": "uri",
"type": [
"string",
"null"
]
},
"avatars": {
"items": {
"additionalProperties": true,
"properties": {
"type": {
"type": [
"string",
"null"
]
},
"url": {
"_format": "uri",
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"type": "array"
},
"handle": {
"type": [
"string",
"null"
]
},
"urls": {
"items": {
"additionalProperties": true,
"properties": {
"title": {
"type": [
"string",
"null"
]
},
"value": {
"_format": "uri",
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"id": {
"_format": "uuid",
"type": [
"string",
"null"
]
},
"linkedin": {
"additionalProperties": true,
"properties": {
"handle": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"location": {
"type": [
"string",
"null"
]
},
"name": {
"additionalProperties": true,
"properties": {
"familyName": {
"type": [
"string",
"null"
]
},
"fullName": {
"type": [
"string",
"null"
]
},
"givenName": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"site": {
"_format": "uri",
"type": [
"string",
"null"
]
},
"timeZone": {
"type": [
"string",
"null"
]
},
"twitter": {
"additionalProperties": true,
"properties": {
"avatar": {
"_format": "uri",
"type": [
"string",
"null"
]
},
"bio": {
"type": [
"string",
"null"
]
},
"followers": {
"maximum": 2147483647,
"minimum": 0,
"type": [
"integer",
"null"
]
},
"following": {
"maximum": 2147483647,
"minimum": 0,
"type": [
"integer",
"null"
]
},
"handle": {
"type": [
"string",
"null"
]
},
"id": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": [
"string",
"integer",
"null"
]
},
"location": {
"type": [
"string",
"null"
]
},
"site": {
"_format": "uri",
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"utcOffset": {
"maximum": 32767,
"minimum": -32768,
"type": [
"integer",
"null"
]
}
},
"self": {
"format": "jsonschema",
"name": "person",
"vendor": "com.clearbit.enrichment",
"version": "1-0-0"
},
"type": "object"
} | sp_18_Normalized |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"username": {
"type": "string",
"maxLength": 20
},
"password": {
"type": "string",
"maxLength": 20
}
},
"required": [
"username",
"password"
],
"additionalProperties": false
} | o40223 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"required": [
"config",
"inputs"
],
"type": "object",
"properties": {
"inputs": {
"required": [
"api_key",
"freesurfer_license"
],
"type": "object",
"properties": {
"t1w_anatomy": {
"type": "object",
"properties": {
"type": {
"enum": [
"nifti"
]
}
}
},
"api_key": {
"type": "object",
"properties": {}
},
"t2w_anatomy": {
"type": "object",
"properties": {
"type": {
"enum": [
"nifti"
]
}
}
},
"freesurfer_license": {
"type": "object",
"properties": {}
}
}
},
"config": {
"required": [
"force_syn",
"bold2t1w_dof",
"intermediate_folders",
"skull_strip_fixed_seed",
"use_syn_sdc",
"save_intermediate_work",
"no_submm_recon",
"longitudinal",
"fs_no_reconall",
"template",
"force_bbr",
"output_space",
"template_resampling_grid",
"intermediate_files",
"aroma_melodic_dimensionality",
"medial_surface_nan",
"save_outputs",
"fmap_no_demean",
"ignore",
"skull_strip_template",
"cifti_output",
"use_aroma",
"fmap_bspline",
"force_no_bbr",
"t2s_coreg"
],
"type": "object",
"properties": {
"save_outputs": {
"default": false,
"type": "boolean"
},
"force_syn": {
"default": false,
"type": "boolean"
},
"bold2t1w_dof": {
"default": 9,
"enum": [
6,
9,
12
],
"type": "integer"
},
"intermediate_files": {
"default": "",
"type": "string"
},
"skull_strip_fixed_seed": {
"default": false,
"type": "boolean"
},
"use_syn_sdc": {
"default": false,
"type": "boolean"
},
"save_intermediate_work": {
"default": false,
"type": "boolean"
},
"no_submm_recon": {
"default": false,
"type": "boolean"
},
"longitudinal": {
"default": false,
"type": "boolean"
},
"fs_no_reconall": {
"default": false,
"type": "boolean"
},
"template": {
"default": "MNI152NLin2009cAsym",
"enum": [
"MNI152NLin2009cAsym"
],
"type": "string"
},
"force_bbr": {
"default": false,
"type": "boolean"
},
"output_space": {
"default": "template fsaverage5",
"type": "string"
},
"intermediate_folders": {
"default": "",
"type": "string"
},
"aroma_melodic_dimensionality": {
"default": "None",
"type": "string"
},
"medial_surface_nan": {
"default": false,
"type": "boolean"
},
"template_resampling_grid": {
"default": "native",
"enum": [
"native",
"1mm",
"2mm"
],
"type": "string"
},
"fmap_no_demean": {
"default": false,
"type": "boolean"
},
"ignore": {
"default": "",
"enum": [
"",
"fieldmaps",
"slicetiming"
],
"type": "string"
},
"skull_strip_template": {
"default": "OASIS",
"enum": [
"NKI",
"OASIS"
],
"type": "string"
},
"cifti_output": {
"default": false,
"type": "boolean"
},
"use_aroma": {
"default": false,
"type": "boolean"
},
"fmap_bspline": {
"default": false,
"type": "boolean"
},
"force_no_bbr": {
"default": false,
"type": "boolean"
},
"t2s_coreg": {
"default": false,
"type": "boolean"
}
}
}
},
"title": "Invocation manifest for fMRIPREP: A Robust Preprocessing Pipeline for fMRI Data"
} | o41250 |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"positiveNumber": {
"type": "number",
"minimum": 0
},
"xyzArray": {
"type": "array",
"description": "Array of 3 numbers, [x, y, z]",
"items": {
"type": "number"
},
"minItems": 3,
"maxItems": 3
},
"unitVector": {
"type": "array",
"description": "Array of 3 unit directions, [x, y, z]",
"items": {
"type": "number",
"enum": [
1,
-1
]
},
"minItems": 3,
"maxItems": 3
},
"boundingBox": {
"type": "object",
"description": "The active area (both pipettes can reach) of a fixture on the deck",
"required": [
"xDimension",
"yDimension",
"zDimension"
],
"properties": {
"xDimension": {
"$ref": "#/definitions/positiveNumber"
},
"yDimension": {
"$ref": "#/definitions/positiveNumber"
},
"zDimension": {
"$ref": "#/definitions/positiveNumber"
}
}
},
"pathDValue": {
"type": "string",
"description": "A valid d-attribute value for an svg path. Note: uses physical coordinate system which has origin at the bottom, front, left of the robot's workspace."
},
"feature": {
"type": "object",
"description": "A physical feature of the deck",
"required": [
"footprint"
],
"properties": {
"footprint": {
"$ref": "#/definitions/pathDValue"
},
"correspondingLocation": {
"type": "string",
"format": "uri-reference",
"description": "A path to a location entry that corresponds with this feature"
}
}
}
},
"description": "Deck specifications, where x,y,z (0,0,0) is at front the bottom left corner.",
"type": "object",
"additionalProperties": false,
"required": [
"otId",
"schemaVersion",
"cornerOffsetFromOrigin",
"dimensions",
"metadata",
"robot",
"locations",
"layers"
],
"properties": {
"otId": {
"description": "Unique internal ID generated using UUID",
"type": "string"
},
"schemaVersion": {
"description": "Schema version of a deck is a single integer",
"enum": [
2
]
},
"cornerOffsetFromOrigin": {
"$ref": "#/definitions/xyzArray",
"description": "Position of left-front-bottom corner of entire deck to robot coordinate system origin"
},
"dimensions": {
"$ref": "#/definitions/xyzArray",
"description": "Outer dimensions of a deck bounding box"
},
"metadata": {
"description": "Optional metadata about the Deck",
"type": "object",
"properties": {
"displayName": {
"description": "A short, human-readable name for the deck",
"type": "string"
},
"tags": {
"description": "Tags to be used in searching for this deck",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"robot": {
"type": "object",
"required": [
"model"
],
"properties": {
"model": {
"description": "Model of the robot (currently only OT-2 Standard is supported)",
"type": "string",
"enum": [
"OT-2 Standard"
]
}
}
},
"locations": {
"type": "object",
"required": [
"orderedSlots",
"calibrationPoints"
],
"properties": {
"orderedSlots": {
"type": "array",
"description": "Ordered slots available for placing labware",
"items": {
"type": "object",
"required": [
"id",
"position",
"boundingBox",
"displayName",
"compatibleModuleTypes"
],
"properties": {
"id": {
"description": "Unique identifier for slot",
"type": "string"
},
"position": {
"$ref": "#/definitions/xyzArray"
},
"matingSurfaceUnitVector": {
"$ref": "#/definitions/unitVector",
"description": "An optional diagonal direction of force, defined by spring location, which governs the mating surface of objects placed in slot."
},
"boundingBox": {
"$ref": "#/definitions/boundingBox"
},
"displayName": {
"description": "An optional human-readable nickname for this slot Eg \"Slot 1\" or \"Fixed Trash\"",
"type": "string"
},
"compatibleModuleTypes": {
"description": "An array of module types that can be placed in this slot.",
"type": "array",
"items": {
"type": "string",
"enum": [
"magneticModuleType",
"temperatureModuleType",
"thermocyclerModuleType"
]
}
}
}
}
},
"calibrationPoints": {
"type": "array",
"description": "Key points for deck calibration",
"items": {
"type": "object",
"required": [
"id",
"position",
"displayName"
],
"properties": {
"id": {
"description": "Unique identifier for calibration point",
"type": "string"
},
"position": {
"$ref": "#/definitions/xyzArray"
},
"displayName": {
"description": "An optional human-readable nickname for this point Eg \"Slot 3 Cross\" or \"Slot 1 Dot\"",
"type": "string"
}
}
}
},
"fixtures": {
"type": "array",
"description": "Fixed position objects on the deck.",
"items": {
"type": "object",
"required": [
"id",
"displayName"
],
"properties": {
"id": {
"description": "Unique identifier for fixed object",
"type": "string"
},
"labware": {
"description": "Valid labware loadName for fixed object",
"type": "string"
},
"boundingBox": {
"$ref": "#/definitions/boundingBox"
},
"slot": {
"description": "Slot location of the fixed object",
"type": "string"
},
"position": {
"$ref": "#/definitions/xyzArray"
},
"displayName": {
"description": "An optional human-readable nickname for this fixture Eg \"Tall Fixed Trash\" or \"Short Fixed Trash\"",
"type": "string"
}
},
"oneOf": [
{
"anyOf": [
{
"required": [
"labware",
"slot"
]
},
{
"required": [
"labware",
"position"
]
}
]
},
{
"anyOf": [
{
"required": [
"boundingBox",
"slot"
]
},
{
"required": [
"boundingBox",
"position"
]
}
]
}
]
}
}
}
},
"layers": {
"type": "object",
"description": "Layered feature groups of the deck.",
"additionalProperties": {
"type": "array",
"description": "Individual features within a layer",
"items": {
"$ref": "#/definitions/feature"
}
}
}
}
} | o12453 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"definitions": {
"absolute_path": {
"description": "A path only. Query string and/or fragment are not allowed.",
"pattern": "^/(([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})+(/([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})*)*)?$",
"type": "string"
},
"analytics_identifier": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "A short identifier we send to Google Analytics for multi-valued fields. This means we avoid the truncated values we would get if we sent the path or slug of eg organisations."
},
"change_history": {
"items": {
"additionalProperties": false,
"properties": {
"note": {
"description": "A summary of the change",
"type": "string"
},
"public_timestamp": {
"_format": "date-time",
"type": "string"
}
},
"required": [
"public_timestamp",
"note"
],
"type": "object"
},
"type": "array"
},
"description": {
"type": "string"
},
"description_optional": {
"anyOf": [
{
"$ref": "#/definitions/description"
},
{
"type": "null"
}
]
},
"details": {
"additionalProperties": false,
"properties": {
"change_history": {
"$ref": "#/definitions/change_history"
},
"public_updated_at": {
"$ref": "#/definitions/public_updated_at"
},
"publish_time": {
"_format": "date-time",
"type": "string"
}
},
"required": [
"publish_time"
],
"type": "object"
},
"first_published_at": {
"_format": "date-time",
"description": "The date the content was first published. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string"
},
"frontend_links": {
"items": {
"additionalProperties": true,
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"api_path": {
"$ref": "#/definitions/absolute_path"
},
"api_url": {
"_format": "uri",
"description": "DEPRECATED: api_path should be used instead of api_url. This is due to values of api_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"document_type": {
"type": "string"
},
"links": {
"patternProperties": {
"^[a-z_]+$": {
"$ref": "#/definitions/frontend_links"
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"public_updated_at": {
"oneOf": [
{
"$ref": "#/definitions/public_updated_at"
},
{
"type": "null"
}
]
},
"schema_name": {
"type": "string"
},
"title": {
"type": "string"
},
"web_url": {
"_format": "uri",
"description": "DEPRECATED: base_path should be used instead of web_url. This is due to values of web_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
}
},
"required": [
"content_id",
"locale",
"title"
],
"type": "object"
},
"type": "array"
},
"frontend_links_with_base_path": {
"items": {
"additionalProperties": true,
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"api_path": {
"$ref": "#/definitions/absolute_path"
},
"api_url": {
"_format": "uri",
"description": "DEPRECATED: api_path should be used instead of api_url. This is due to values of api_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"document_type": {
"type": "string"
},
"links": {
"patternProperties": {
"^[a-z_]+$": {
"$ref": "#/definitions/frontend_links_with_base_path"
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"public_updated_at": {
"oneOf": [
{
"$ref": "#/definitions/public_updated_at"
},
{
"type": "null"
}
]
},
"schema_name": {
"type": "string"
},
"title": {
"type": "string"
},
"web_url": {
"_format": "uri",
"description": "DEPRECATED: base_path should be used instead of web_url. This is due to values of web_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
}
},
"required": [
"base_path",
"content_id",
"locale",
"title"
],
"type": "object"
},
"type": "array"
},
"guid": {
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
"type": "string"
},
"locale": {
"enum": [
"ar",
"az",
"be",
"bg",
"bn",
"cs",
"cy",
"da",
"de",
"dr",
"el",
"en",
"es",
"es-419",
"et",
"fa",
"fi",
"fr",
"gd",
"he",
"hi",
"hr",
"hu",
"hy",
"id",
"is",
"it",
"ja",
"ka",
"kk",
"ko",
"lt",
"lv",
"ms",
"mt",
"nl",
"no",
"pl",
"ps",
"pt",
"ro",
"ru",
"si",
"sk",
"sl",
"so",
"sq",
"sr",
"sv",
"sw",
"ta",
"th",
"tk",
"tr",
"uk",
"ur",
"uz",
"vi",
"zh",
"zh-hk",
"zh-tw"
],
"type": "string"
},
"public_updated_at": {
"_format": "date-time",
"description": "When the content was last significantly changed (a major update). Shown to users. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string"
},
"publishing_app_name": {
"description": "The application that published this item.",
"enum": [
"calculators",
"calendars",
"collections-publisher",
"contacts",
"content-publisher",
"content-tagger",
"email-alert-frontend",
"external-link-tracker",
"feedback",
"frontend",
"government-frontend",
"hmrc-manuals-api",
"info-frontend",
"licencefinder",
"local-links-manager",
"manuals-frontend",
"manuals-publisher",
"maslow",
"performanceplatform-big-screen-view",
"publisher",
"rummager",
"search-admin",
"search-api",
"service-manual-publisher",
"share-sale-publisher",
"short-url-manager",
"smartanswers",
"special-route-publisher",
"specialist-publisher",
"static",
"tariff",
"travel-advice-publisher",
"whitehall"
],
"type": "string"
},
"publishing_request_id": {
"description": "A unique identifier used to track publishing requests to rendered content",
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"publishing_scheduled_at": {
"_format": "date-time",
"description": "When this content was last scheduled for publishing. Determined by the publishing intent sent by the publishing API.",
"type": "string"
},
"rendering_app": {
"description": "The application that renders this item.",
"enum": [
"calculators",
"calendars",
"collections",
"content-store",
"email-alert-frontend",
"email-campaign-frontend",
"feedback",
"finder-frontend",
"frontend",
"government-frontend",
"info-frontend",
"licencefinder",
"manuals-frontend",
"performanceplatform-big-screen-view",
"rummager",
"search-api",
"service-manual-frontend",
"smartanswers",
"spotlight",
"static",
"tariff",
"whitehall-admin",
"whitehall-frontend"
],
"type": "string"
},
"scheduled_publishing_delay_seconds": {
"description": "The delay between the most recent scheduled and actual publishing times. Determined by the content store based on the publishing intent.",
"type": "integer"
},
"title": {
"type": "string"
},
"withdrawn_notice": {
"additionalProperties": false,
"properties": {
"explanation": {
"type": "string"
},
"withdrawn_at": {
"format": "date-time"
}
},
"type": "object"
}
},
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"description": {
"$ref": "#/definitions/description_optional"
},
"details": {
"$ref": "#/definitions/details"
},
"document_type": {
"enum": [
"coming_soon"
],
"type": "string"
},
"first_published_at": {
"anyOf": [
{
"$ref": "#/definitions/first_published_at"
},
{
"type": "null"
}
]
},
"links": {
"additionalProperties": false,
"properties": {
"available_translations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"child_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"children": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"document_collections": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"facet_groups": {
"$ref": "#/definitions/frontend_links",
"description": "Prototype-stage metadata tagging tree roots for this content item. A content item my belong to many facet groups without having any specific facet_values links."
},
"facet_values": {
"$ref": "#/definitions/frontend_links",
"description": "Prototype-stage metadata tagging values for this content item, a content item can be linked to many facet values from varying facet groups."
},
"finder": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers links from content back to finders the content is surfaced on"
},
"lead_organisations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "DEPRECATED: A subset of organisations that should be emphasised in relation to this content item. All organisations specified here should also be part of the organisations array."
},
"level_one_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"mainstream_browse_pages": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers the /browse section of the site. These are known as sections in some legacy apps."
},
"meets_user_needs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The user needs this piece of content meets."
},
"ministers": {
"$ref": "#/definitions/frontend_links",
"description": "Link type automatically added by Publishing API"
},
"ordered_related_items": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger."
},
"ordered_related_items_overrides": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation."
},
"organisations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "All organisations linked to this content item. This should include lead organisations."
},
"original_primary_publishing_organisation": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The organisation that published the original version of the page. Corresponds to the first of the 'Lead organisations' in Whitehall for the first edition, and is empty for all other publishing applications."
},
"parent": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The parent content item.",
"maxItems": 1
},
"part_of_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"policies": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"policy_areas": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "A largely deprecated tag currently only used to power email alerts."
},
"primary_publishing_organisation": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The organisation that published the page. Corresponds to the first of the 'Lead organisations' in Whitehall, and is empty for all other publishing applications.",
"maxItems": 1
},
"related_to_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"role_appointments": {
"$ref": "#/definitions/frontend_links",
"description": "Link type automatically added by Publishing API"
},
"secondary_to_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"suggested_ordered_related_items": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "New A/B test suggestions for related items. Used for displaying related content on most pages, except for step-by-step and fatality notices. Links and their ordering are determined by the machine learning algorithms included in this A/B test."
},
"taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Prototype-stage taxonomy label for this content item"
},
"topic_taxonomy_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"topics": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers the /topic section of the site. These are known as specialist sectors in some legacy apps."
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"need_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"phase": {
"description": "The service design phase of this content item - https://www.gov.uk/service-manual/phases",
"enum": [
"alpha",
"beta",
"live"
],
"type": "string"
},
"public_updated_at": {
"anyOf": [
{
"$ref": "#/definitions/public_updated_at"
},
{
"type": "null"
}
]
},
"publishing_app": {
"$ref": "#/definitions/publishing_app_name"
},
"publishing_request_id": {
"$ref": "#/definitions/publishing_request_id"
},
"publishing_scheduled_at": {
"anyOf": [
{
"$ref": "#/definitions/publishing_scheduled_at"
},
{
"type": "null"
}
]
},
"rendering_app": {
"$ref": "#/definitions/rendering_app"
},
"scheduled_publishing_delay_seconds": {
"anyOf": [
{
"$ref": "#/definitions/scheduled_publishing_delay_seconds"
},
{
"type": "null"
}
]
},
"schema_name": {
"enum": [
"coming_soon"
],
"type": "string"
},
"title": {
"$ref": "#/definitions/title"
},
"updated_at": {
"_format": "date-time",
"type": "string"
},
"withdrawn_notice": {
"$ref": "#/definitions/withdrawn_notice"
}
},
"required": [
"base_path",
"content_id",
"description",
"details",
"document_type",
"links",
"locale",
"public_updated_at",
"schema_name",
"title",
"updated_at"
],
"type": "object"
} | o21164 |
{
"id": "http://schemas.triniti.io/json-schema/triniti/curator/mixin/showtimes-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": {
"type": "string",
"pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$",
"minLength": 0,
"maxLength": 255,
"pbj": {
"type": "string",
"rule": "single",
"format": "slug"
}
},
"include_latest_episode": {
"type": "boolean",
"pbj": {
"type": "boolean",
"rule": "single"
}
},
"include_latest_promo": {
"type": "boolean",
"pbj": {
"type": "boolean",
"rule": "single"
}
},
"headline": {
"type": "string",
"minLength": 0,
"maxLength": 255,
"pbj": {
"type": "string",
"rule": "single"
}
},
"excerpt": {
"type": "string",
"minLength": 0,
"maxLength": 65535,
"pbj": {
"type": "text",
"rule": "single"
}
},
"image_ref": {
"type": "string",
"pattern": "^[\\w\\/\\.:-]+$",
"description": "A reference to the image asset to use.",
"pbj": {
"type": "identifier",
"rule": "single"
}
}
},
"required": [
"_id"
],
"additionalProperties": true
} | o82811 |
{
"properties": {
"dictionary": {
"additionalProperties": false,
"patternProperties": {
"^\\d*$": {
"type": "string"
}
},
"type": "object"
},
"ids": {
"items": {
"type": "string"
},
"type": "array",
"_uniqueItems": true
},
"lastTagId": {
"minimum": -1,
"type": "integer"
}
},
"required": [
"lastTagId",
"ids",
"dictionary"
],
"type": "object"
} | o21847 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"id": "https://json.schemastore.org/openfin.json",
"properties": {
"appAssets": {
"description": "Set this object to co-deploy native apps along with your app.",
"type": "array",
"items": {
"additionalProperties": false,
"required": ["alias", "src", "version"],
"properties": {
"alias": {
"type": "string",
"description": "Name of the asset. The name will be used in launchExternalProcess to launch the asset."
},
"args": {
"type": "string",
"description": "The default command line arguments for the aforementioned target."
},
"src": {
"type": "string",
"description": "URL to a zip file containing the package files (executables, dlls, etc…)."
},
"target": {
"type": "string",
"description": "Specifies default executable to launch. This option can be overridden in launchExternalProcess."
},
"version": {
"type": "string",
"description": "Version of the package. To force new updates, increment the version."
}
}
}
},
"assets_url": {
"type": "string",
"description": "If an application specifies a valid \"assetsUrl\", then that \"assetsUrl\" will be used as the base portion of the URL instead of the OpenFin default, https://developer.openfin.co/release/."
},
"devtools_port": {
"type": "number",
"description": "You can access the Chromium development tools by navigating to the selected port, i.e.: http://localhost:9090."
},
"dialogSettings": {
"description": "An optional object to customize the appearance of the RVM progress dialog.",
"additionalProperties": false,
"properties": {
"bgColor": {
"type": "number",
"description": "Determines the color of the dialog. Color value is a decimal representation of a 32 bit number (A,R,G,B). For instance : FF00FF00 or 4278255360 is fully opaque green."
},
"logo": {
"type": "string",
"description": "Determines the logo or image in the progress dialog. The logo should be a semi-transparent PNG. 100×25 pixels."
},
"progressBarBgColor": {
"type": "number",
"description": "Determines the background color of the area where the progress bar is displayed."
},
"progressBarBorderColor": {
"type": "number",
"description": "Determines the border color of the progress bar."
},
"progressBarFillColor": {
"type": "number",
"description": "Determines the color of the progress bar."
},
"textColor": {
"type": "number",
"description": "Determines the color of the text displayed above the progress bar location."
}
}
},
"licenseKey": {
"type": "string",
"description": "A string used as a licensing identifier for each customer/contract (RVM 2.7+). The OpenFin team will generate this for your production app."
},
"runtime": {
"description": "Determines which runtime version the app will use.",
"additionalProperties": false,
"required": ["version"],
"properties": {
"arguments": {
"type": "string",
"description": "Command line arguments to set when launching the runtime. The OpenFin Runtime supports Chromium command line switches e.g.: \"– –disable-accelerated-compositing – –enable-threaded-compositing\" for a complete list of values please refer to current Chromium switches."
},
"fallbackVersion": {
"type": "string",
"description": "The RVM will fallback to this version if it fails to retrieve the desired Runtime version, assuming this version is already installed. (RVM 2.8+)"
},
"forceLatest": {
"type": "boolean",
"description": "If true, forces the runtime to always get the latest runtime version before launching (prevents background installs)."
},
"version": {
"type": "string",
"oneOf": [
{
"pattern": "(\\d{1,3}\\.){3}\\d{1,3}"
},
{
"enum": ["alpha", "beta", "canary", "stable", "staging"]
}
],
"description": "Specifies what version of the runtime the app should use. The value can either be a specific version or a release channel (e.g. alpha)."
}
}
},
"shortcut": {
"description": "Settings for the app's desktop shortcut",
"additionalProperties": false,
"required": ["company", "icon", "name"],
"properties": {
"company": {
"type": "string",
"description": "Company name for the application shortcut."
},
"description": {
"type": "string",
"description": "A short description of the application shortcut. Will be shown when hovering over the shortcut icon."
},
"force": {
"type": "boolean",
"description": "If set to true, a desktop icon is always created on application start-up (even when user has deleted it). If set to false, a desktop icon is created on initial application launch but not created on subsequent application launches."
},
"icon": {
"type": "string",
"description": "Location for the icon image to be used when installing the application shortcut."
},
"name": {
"type": "string",
"description": "Name of the application to display with the shortcut."
},
"startMenuRootFolder": {
"type": "string",
"description": "Set this value with a folder path (e.g. foo/bar) and the RVM will create the start menu shortcut under RootFolder/Company/App."
},
"target": {
"type": "array",
"items": {
"type": "string",
"enum": ["automatic-start-up", "desktop", "start-menu"]
},
"description": "Locations for where the application shortcut is added on the desktop owner's machine. Available options are \"desktop\", \"start-menu\" and \"automatic-start-up\". The default is start-menu and desktop."
},
"uninstall-shortcut": {
"type": "boolean",
"description": "Removes the Start menu uninstall shortcut."
}
}
},
"splashScreenImage": {
"type": "string",
"description": "You can specify an image to display while the runtime is loading. It takes any image file (including semi-transparent PNGs)."
},
"startup_app": {
"description": "Specifies the application level configuration.",
"additionalProperties": false,
"required": ["name", "url", "uuid"],
"properties": {
"accelerator": {
"description": "The name of this builder instance, which can be specified in the only/except property of a provisioner.",
"additionalProperties": false,
"properties": {
"devtools": {
"type": "boolean",
"description": "If true, allows the Dev Tools to be opened with the keyboard shortcut: Ctrl+Shift+i.",
"default": false
},
"reload": {
"type": "boolean",
"description": "If true, allows a window to reload with the keyboard shortcuts: Ctrl+r or F5.",
"default": false
},
"reloadIgnoreCache": {
"type": "boolean",
"description": "If true, allows a window to reload while ignoring the cache with the keyboard shortcuts: Ctrl+Shift or Shift+F5.",
"default": false
},
"zoom": {
"type": "boolean",
"description": "If true, enables the Zoom keyboard shortcuts: Ctrl+ (Zoom in), Ctrl- (Zoom out) and Ctrl+0 (Restore to 100%).",
"default": false
}
}
},
"alwaysOnTop": {
"type": "boolean",
"description": "A flag to always position the window at the top of the window stack.",
"default": false
},
"applicationIcon": {
"type": "string",
"description": "A URL for the icon to be shown in the window title bar."
},
"autoShow": {
"type": "boolean",
"description": "A flag to automatically show the Window when it is created.",
"default": false
},
"childWindowAutoAuth": {
"type": "boolean",
"description": "Allow non API created child windows, such as window.open, to authenticate.",
"default": true
},
"clearChildSubscriptionsOnReload": {
"type": "boolean",
"description": "Clear InterApplication subscriptions of all child windows when main window is reloaded.",
"default": true
},
"contextMenu": {
"type": "boolean",
"description": "A flag to show the context menu when right-clicking on a window. Gives access to the Developer Console for the Window.",
"default": true
},
"cornerRounding": {
"description": "This defines and applies rounded corners for the window.",
"additionalProperties": false,
"properties": {
"height": {
"type": "number",
"description": "This defines and applies rounded corners for the window."
},
"width": {
"type": "number",
"description": "This defines and applies rounded corners for the window."
}
}
},
"defaultCentered": {
"type": "boolean",
"description": "Specifies that the window will be positioned in the center of the primary monitor when loaded for the first time on a machine. When the window corresponding to that id is loaded again, the position from before the window was closed is used.",
"default": false
},
"defaultHeight": {
"type": "number",
"description": "The default height of the window. Specifies the height of the window when loaded for the first time on a machine. When the window corresponding to that id is loaded again, the height is taken to be the last height of the window before it was closed.",
"default": 500
},
"defaultLeft": {
"type": "number",
"description": "The default left position of the window. Specifies the position of the left of the window when loaded for the first time on a machine. When the window corresponding to that id is loaded again, the value of left is taken to be the last value before the window was closed.",
"default": 10
},
"defaultTop": {
"type": "number",
"description": "The default top position of the window. Specifies the position of the top of the window when loaded for the first time on a machine. When the window corresponding to that id is loaded again, the value of top is taken to be the last value before the window was closed.",
"default": 10
},
"defaultWidth": {
"type": "number",
"description": "The default width of the window. Specifies the width of the window when loaded for the first time on a machine. When the window corresponding to that id is loaded again, the width is taken to be the last width of the window before it was closed.",
"default": 800
},
"description": {
"type": "string",
"description": "The name for the window which must be unique within the context of the invoking Application."
},
"frame": {
"type": "boolean",
"description": "A flag to show the frame.",
"default": true
},
"icon": {
"type": "string",
"description": "A URL for the icon to be shown in the window title bar."
},
"maxHeight": {
"type": "number",
"description": "The maximum height of a window. Will default to the OS defined value if set to -1.",
"default": -1
},
"maximizable": {
"type": "boolean",
"description": "A flag that lets the window be maximized.",
"default": true
},
"maxWidth": {
"type": "number",
"description": "The maximum width of a window. Will default to the OS defined value if set to -1.",
"default": -1
},
"minHeight": {
"type": "number",
"description": "The minimum height of a window."
},
"minWidth": {
"type": "number",
"description": "The minimum width of a window."
},
"name": {
"type": "string",
"description": "The name for the window which must be unique within the context of the invoking Application."
},
"nonPersistent": {
"type": "boolean",
"description": "A flag to configure the application as a non persistent. Runtime exits if there are no persistent apps running.",
"default": false
},
"opacity": {
"type": "number",
"description": "A flag that specifies how transparent the window will be. This value is clamped between 0.0 and 1.0.",
"default": 1
},
"permissions": {
"type": "object",
"description": "Enable secured APIs",
"properties": {
"ExternalWindow": {
"type": "object",
"properties": {
"wrap": {
"type": "boolean"
}
}
},
"System": {
"type": "object",
"properties": {
"downloadAsset": {
"type": "boolean"
},
"getAllExternalWindows": {
"type": "boolean"
},
"launchExternalProcess": {
"type": "boolean"
},
"readRegistryValue": {
"type": "boolean"
},
"terminateExternalProcess": {
"type": "boolean"
}
}
}
}
},
"preloadScripts": {
"type": "array",
"description": "An array of scripts to download and run before other scripts in the page.",
"items": {
"required": ["url"],
"properties": {
"url": {
"type": "string",
"description": "URL from which to fetch the script."
}
}
}
},
"resizable": {
"type": "boolean",
"description": "A flag to drop to allow the user to resize the window.",
"default": true
},
"resizeRegion": {
"description": "Define the attributes of the window's resize region.",
"additionalProperties": false,
"properties": {
"bottomRightCorner": {
"type": "number",
"description": "Defines a region in pixels of an additional square at the bottom right corner of a frameless window.",
"default": 4
},
"size": {
"type": "number",
"description": "Defines a region in pixels that will respond to user mouse interaction for resizing a frameless window.",
"default": 2
}
}
},
"saveWindowState": {
"type": "boolean",
"description": "A flag to cache the location of the window or not.",
"default": true
},
"showTaskbarIcon": {
"type": "boolean",
"description": "A flag to show the Window's icon in the taskbar.",
"default": true
},
"state": {
"type": "string",
"enum": ["maximized", "minimized", "normal"],
"description": "A string that sets the window to be \"minimized\", \"maximized\", or \"normal\" on creation.",
"default": "normal"
},
"taskbarIcon": {
"type": "string",
"description": "The URL of an icon to be shown on the desktop. Support formats: Portable Network Graphic (PNG); Size: 256 x 256."
},
"taskbarIconGroup": {
"type": "string",
"description": "Group your OpenFin apps in the Taskbar. v5.0+"
},
"url": {
"type": "string",
"description": "The URL of the window."
},
"uuid": {
"type": "string",
"description": "The UUID of the application, unique within the set of all other Applications running in OpenFin Runtime."
},
"waitForPageLoad": {
"type": "boolean",
"description": "When set to false, the page will render before the \"load\" event is fired on the window. Caution, when false you will see an initial empty white window.",
"default": true
}
}
},
"supportInformation": {
"description": "An optional object to customize error messages.",
"additionalProperties": false,
"required": ["company", "email", "product"],
"properties": {
"company": {
"type": "string",
"description": "Displays the company name in the title bar for the support error dialog that appears when an application fails to load."
},
"email": {
"type": "string",
"description": "Displays the email to contact in the support error dialog that appears when an application fails to load."
},
"enableErrorReporting": {
"type": "boolean",
"description": "To disable the error reporting feature, set this value to false.",
"default": true
},
"forwardErrorReports": {
"type": "boolean",
"description": "When set to true, prompts end users with a dialog when a deployment error occurs from within the RVM and enables them send along log files from their machine. Error reports are delivered to your email address set in supportInformation.",
"default": false
},
"product": {
"type": "string",
"description": "Displays the product name or application name in the support error dialog that appears when an application fails to load."
}
}
}
},
"required": ["runtime", "shortcut", "startup_app"],
"title": "JSON schema for OpenFin application configuration files"
}
| openfin |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"oneOf": [
{
"type": [
"string",
"null"
],
"format": "non-blank"
},
{
"description": "The name of a person as an object",
"type": "object",
"properties": {
"given_name": {
"type": [
"string",
"null"
],
"format": "non-blank",
"description": "The given name(s) (often first name) of a person, as opposed to their family name. Following FOAF practice, this is preferred to first_name"
},
"family_name": {
"type": [
"string",
"null"
],
"format": "non-blank",
"description": "The family name (often last name) of a person, as opposed to their family name. Following FOAF practice, this is preferred to last_name"
},
"first_name": {
"type": [
"string",
"null"
],
"format": "non-blank"
},
"middle_name": {
"type": [
"string",
"null"
],
"format": "non-blank"
},
"last_name": {
"type": [
"string",
"null"
],
"format": "non-blank"
},
"title": {
"type": [
"string",
"null"
],
"format": "non-blank",
"description": "Title such as Mr, Ms, Dr etc"
},
"suffixes": {
"type": [
"string",
"null"
],
"format": "non-blank",
"description": "Any suffixes, including degrees, honours (OBE), ordinals (John Smith Jr, Bill Jones II) etc"
}
}
}
]
} | o65460 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"listItem": {
"title": "List item",
"description": "Single list item definition (hierarchical)",
"type": "object",
"properties": {
"value": {
"title": "Value",
"description": "Value to be stored in the database",
"type": "string",
"minLength": 1,
"maxLength": 255
},
"label": {
"title": "Label",
"description": "User-friendly label",
"type": "string",
"minLength": 1
},
"inactive": {
"title": "Inactive",
"description": "Whether or not the item is active",
"type": "boolean",
"default": false
},
"children": {
"title": "List item children",
"description": "Direct children items of the current list item",
"type": "array",
"items": {
"allOf": [
{
"$ref": "#/definitions/listItem"
}
]
}
}
},
"additionalProperties": false,
"required": [
"value",
"label",
"inactive",
"children"
]
}
},
"title": "CSV List Configuration",
"description": "List items configuration for a single CSV list",
"type": "object",
"properties": {
"items": {
"title": "List items",
"description": "A list of items for a given list",
"type": "array",
"items": {
"allOf": [
{
"$ref": "#/definitions/listItem"
}
]
},
"minItems": 1,
"_uniqueItems": true
}
},
"additionalProperties": false,
"required": [
"items"
]
}
| o13135 |
{
"properties": {
"point1": {
"description": "The coordinates of the first point",
"properties": {
"x": {
"description": "The x-coordinate of the first point",
"type": "number"
},
"y": {
"description": "The y-coordinate of the first point",
"type": "number"
}
},
"type": "object"
},
"point2": {
"description": "The coordinates of the second point",
"properties": {
"x": {
"description": "The x-coordinate of the second point",
"type": "number"
},
"y": {
"description": "The y-coordinate of the second point",
"type": "number"
}
},
"type": "object"
}
},
"required": [
"point1",
"point2"
],
"type": "object"
} | calculate_distance_51b4a417 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Fluid for PC-SAFT EOS in CoolProp",
"items": {
"properties": {
"name": {
"description": "Name of the fluid",
"type": "string"
},
"CAS": {
"description": "CAS registry number of the fluid",
"type": "string"
},
"m": {
"description": "Number of segments (-)",
"type": "number",
"minimum": 0,
"maximum": 1000
},
"sigma": {
"description": "Segment diameter (Angstrom)",
"type": "number",
"minimum": -2,
"maximum": 6
},
"sigma_units": {
"description": "Units of the segment diameter provided",
"enum": [
"Angstrom"
]
},
"u": {
"description": "Dispersion energy divided by Boltzmann constant (K)",
"type": "number",
"minimum": 0,
"maximum": 2000
},
"u_units": {
"description": "Units of the dispersion energy provided",
"enum": [
"K"
]
},
"uAB": {
"description": "Association energy (K)",
"type": "number",
"minimum": 0,
"maximum": 5000
},
"uAB_units": {
"description": "Units of the association energy provided",
"enum": [
"K"
]
},
"volA": {
"description": "Association volume",
"type": "number",
"minimum": 0,
"maximum": 1
},
"volA_units": {
"description": "Units of the association volume provided",
"enum": [
"Angstrom^3"
]
},
"dipm": {
"description": "Dipole moment (Debye)",
"type": "number",
"minimum": 0,
"maximum": 13
},
"dipm_units": {
"description": "Units of the dipole moment provided",
"enum": [
"Debye"
]
},
"dipnum": {
"description": "Number of dipole moments per molecule (-)",
"type": "number",
"minimum": 0,
"maximum": 100
},
"charge": {
"description": "Charge of ion (-)",
"type": "number",
"minimum": -10,
"maximum": 10
},
"molemass": {
"description": "Molar mass (kg/mol)",
"type": "number",
"minimum": 0,
"maximum": 1
},
"molemass_units": {
"description": "Units of the molar mass provided",
"enum": [
"kg/mol"
]
},
"aliases": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 0
},
"BibTeX": {
"description": "BibTeX reference to the source from which the PC-SAFT parameters were taken",
"type": "string"
}
},
"required": [
"name",
"CAS",
"m",
"sigma",
"sigma_units",
"u",
"u_units",
"molemass",
"molemass_units"
]
},
"type": "array"
} | o3914 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.