json_schema
stringlengths 43
1.28M
| unique_id
stringlengths 2
41
|
---|---|
{
"properties": {
"destination": {
"description": "The destination address",
"type": "string"
},
"dimensions": {
"properties": {
"height": {
"description": "The height of the item in inches",
"type": "number"
},
"length": {
"description": "The length of the item in inches",
"type": "number"
},
"width": {
"description": "The width of the item in inches",
"type": "number"
}
},
"required": [
"length",
"width",
"height"
],
"type": "object"
},
"weight": {
"description": "The weight of the item in pounds",
"type": "number"
}
},
"required": [
"weight",
"dimensions",
"destination"
],
"type": "object"
} | calculate_shipping_cost_c67dadb0 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"title": "Home page schema",
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"image": {
"type": "string"
},
"order": {
"type": "integer"
},
"content": {
"type": "object",
"properties": {
"helpTopics": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"title",
"url"
]
}
},
{
"type": "null"
}
]
}
}
}
},
"required": [
"title",
"description",
"order"
]
} | o11173 |
{
"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",
"null"
]
},
"readOnly": {
"description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
"type": [
"boolean",
"null"
]
},
"volumeID": {
"description": "VolumeID uniquely identifies a Portworx volume",
"type": [
"string",
"null"
]
}
},
"required": [
"volumeID"
],
"type": "object"
} | kb_752_Normalized |
{
"additionalProperties": false,
"description": "Context containing first duplicated event id",
"properties": {
"originalEventId": {
"_format": "uuid",
"type": "string"
}
},
"required": [
"originalEventId"
],
"self": {
"format": "jsonschema",
"name": "duplicate",
"vendor": "com.snowplowanalytics.snowplow",
"version": "1-0-0"
},
"type": "object"
} | sp_278_Normalized |
{
"properties": {
"height": {
"description": "The height of the package in inches",
"type": "number"
},
"length": {
"description": "The length of the package in inches",
"type": "number"
},
"weight": {
"description": "The weight of the package in pounds",
"type": "number"
},
"width": {
"description": "The width of the package in inches",
"type": "number"
}
},
"required": [
"length",
"width",
"height",
"weight"
],
"type": "object"
} | calculate_shipping_cost_a0a6e23e |
{
"$comment": "https://docs.codeclimate.com/docs/advanced-configuration",
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"enabled": {
"type": "object",
"properties": {
"enabled": {
"title": "Enabled",
"type": "boolean",
"default": true
}
}
},
"config": {
"title": "Config",
"type": "object"
},
"threshold": {
"title": "Threshold",
"type": ["integer", "null"]
}
},
"description": "Configuration file as an alternative for configuring your repository in the settings page.",
"id": "https://json.schemastore.org/codeclimate.json",
"properties": {
"version": {
"title": "Version",
"description": "Required to adjust maintainability checks.",
"type": "string",
"default": "2"
},
"prepare": {
"title": "Prepare",
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"title": "URL",
"type": "string",
"format": "uri"
},
"path": {
"title": "Path",
"type": "string"
}
}
}
},
"checks": {
"title": "Checks",
"type": "object",
"properties": {
"argument-count": {
"title": "Argument Count",
"$ref": "#/definitions/enabled",
"properties": {
"config": {
"$ref": "#/definitions/config",
"properties": {
"threshold": {
"$ref": "#/definitions/threshold",
"default": 4
}
}
}
}
},
"complex-logic": {
"title": "Complex Logic",
"$ref": "#/definitions/enabled",
"properties": {
"config": {
"$ref": "#/definitions/config",
"properties": {
"threshold": {
"$ref": "#/definitions/threshold",
"default": 4
}
}
}
}
},
"file-lines": {
"title": "File Lines",
"$ref": "#/definitions/enabled",
"properties": {
"config": {
"$ref": "#/definitions/config",
"properties": {
"threshold": {
"$ref": "#/definitions/threshold",
"default": 250
}
}
}
}
},
"method-complexity": {
"title": "Method Complexity",
"$ref": "#/definitions/enabled",
"properties": {
"config": {
"$ref": "#/definitions/config",
"properties": {
"threshold": {
"$ref": "#/definitions/threshold",
"default": 5
}
}
}
}
},
"method-count": {
"title": "Method Count",
"$ref": "#/definitions/enabled",
"properties": {
"config": {
"$ref": "#/definitions/config",
"properties": {
"threshold": {
"$ref": "#/definitions/threshold",
"default": 20
}
}
}
}
},
"method-lines": {
"title": "Method Lines",
"$ref": "#/definitions/enabled",
"properties": {
"config": {
"$ref": "#/definitions/config",
"properties": {
"threshold": {
"$ref": "#/definitions/threshold",
"default": 25
}
}
}
}
},
"nested-control-flow": {
"title": "Nested Control Flow",
"$ref": "#/definitions/enabled",
"properties": {
"config": {
"$ref": "#/definitions/config",
"properties": {
"threshold": {
"$ref": "#/definitions/threshold",
"default": 4
}
}
}
}
},
"return-statements": {
"title": "Return Statements",
"$ref": "#/definitions/enabled",
"properties": {
"config": {
"$ref": "#/definitions/config",
"properties": {
"threshold": {
"$ref": "#/definitions/threshold",
"default": 4
}
}
}
}
},
"similar-code": {
"title": "Similar Code",
"$ref": "#/definitions/enabled",
"properties": {
"config": {
"$ref": "#/definitions/config",
"properties": {
"threshold": {
"$ref": "#/definitions/threshold"
}
}
}
}
},
"identical-code": {
"title": "Identical Code",
"$ref": "#/definitions/enabled",
"properties": {
"config": {
"$ref": "#/definitions/config",
"properties": {
"threshold": {
"$ref": "#/definitions/threshold"
}
}
}
}
}
}
},
"plugins": {
"title": "Plugins",
"description": "To add a plugin to your analysis. You can find the complete list of available plugins here: https://docs.codeclimate.com/docs/list-of-engines",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/enabled"
}
},
"exclude_patterns": {
"title": "Exclude Patterns",
"type": "array",
"items": {
"title": "Exclude Pattern",
"type": "string"
}
}
},
"title": "Code Climate Configuration",
"type": "object"
}
| codeclimate |
{
"additionalProperties": false,
"properties": {
"data": {
"additionalProperties": true,
"properties": {
"schema": {
"_format": "url",
"type": "string"
}
},
"required": [
"schema"
],
"type": "object"
},
"followsFrom": {
"type": "string"
},
"origin": {
"type": "string"
},
"schema": {
"_format": "url",
"type": "string"
},
"timeOrigin": {
"_format": "date-time",
"type": "string"
}
},
"required": [
"schema",
"origin",
"timeOrigin",
"data"
],
"self": {
"format": "jsonschema",
"name": "retail-stream-ingress",
"vendor": "com.nordstrom",
"version": "1-0-0"
},
"type": "object"
} | o54578 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"itemType": {
"type": "string",
"enum": [
"application",
"device",
"flow",
"dashboard",
"organization"
]
},
"parentId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"itemId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
}
},
"required": [
"itemType",
"itemId"
]
} | o9951 |
{
"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"
}
},
"required": [
"radius",
"side",
"base",
"height",
"length",
"width"
],
"type": "object"
},
"shape": {
"description": "The geometric shape (circle, square, triangle, rectangle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_7dcdd94e |
{
"$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"
},
"collections": {
"description": "Collections of links grouped under a title and description",
"items": {
"additionalProperties": false,
"properties": {
"description": {
"description": "Collection description",
"type": "string"
},
"links": {
"description": "Array of links in this collection",
"items": {
"additionalProperties": false,
"properties": {
"description": {
"description": "Link description",
"type": "string"
},
"title": {
"description": "Link Title",
"type": "string"
},
"url": {
"_format": "uri",
"description": "Link URL (absolute)",
"type": "string"
}
},
"required": [
"title",
"url"
],
"type": "object"
},
"type": "array"
},
"title": {
"description": "Collection title",
"type": "string"
}
},
"required": [
"title",
"links"
],
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"first_published_at": {
"_format": "date-time",
"description": "The date the content was first published. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string"
},
"frontend_links": {
"items": {
"additionalProperties": true,
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"api_path": {
"$ref": "#/definitions/absolute_path"
},
"api_url": {
"_format": "uri",
"description": "DEPRECATED: api_path should be used instead of api_url. This is due to values of api_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"document_type": {
"type": "string"
},
"links": {
"patternProperties": {
"^[a-z_]+$": {
"$ref": "#/definitions/frontend_links"
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"public_updated_at": {
"oneOf": [
{
"$ref": "#/definitions/public_updated_at"
},
{
"type": "null"
}
]
},
"schema_name": {
"type": "string"
},
"title": {
"type": "string"
},
"web_url": {
"_format": "uri",
"description": "DEPRECATED: base_path should be used instead of web_url. This is due to values of web_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
}
},
"required": [
"content_id",
"locale",
"title"
],
"type": "object"
},
"type": "array"
},
"frontend_links_with_base_path": {
"items": {
"additionalProperties": true,
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"api_path": {
"$ref": "#/definitions/absolute_path"
},
"api_url": {
"_format": "uri",
"description": "DEPRECATED: api_path should be used instead of api_url. This is due to values of api_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"document_type": {
"type": "string"
},
"links": {
"patternProperties": {
"^[a-z_]+$": {
"$ref": "#/definitions/frontend_links_with_base_path"
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"public_updated_at": {
"oneOf": [
{
"$ref": "#/definitions/public_updated_at"
},
{
"type": "null"
}
]
},
"schema_name": {
"type": "string"
},
"title": {
"type": "string"
},
"web_url": {
"_format": "uri",
"description": "DEPRECATED: base_path should be used instead of web_url. This is due to values of web_url being tied to an environment which can cause problems when data is synced between environments. In time this field will be removed by the Publishing Platform team.",
"type": "string"
}
},
"required": [
"base_path",
"content_id",
"locale",
"title"
],
"type": "object"
},
"type": "array"
},
"govuk_request_id": {
"type": [
"string",
"null"
]
},
"guid": {
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
"type": "string"
},
"guid_list": {
"items": {
"$ref": "#/definitions/guid"
},
"type": "array",
"_uniqueItems": true
},
"locale": {
"enum": [
"ar",
"az",
"be",
"bg",
"bn",
"cs",
"cy",
"da",
"de",
"dr",
"el",
"en",
"es",
"es-419",
"et",
"fa",
"fi",
"fr",
"gd",
"he",
"hi",
"hr",
"hu",
"hy",
"id",
"is",
"it",
"ja",
"ka",
"kk",
"ko",
"lt",
"lv",
"ms",
"mt",
"nl",
"no",
"pl",
"ps",
"pt",
"ro",
"ru",
"si",
"sk",
"sl",
"so",
"sq",
"sr",
"sv",
"sw",
"ta",
"th",
"tk",
"tr",
"uk",
"ur",
"uz",
"vi",
"zh",
"zh-hk",
"zh-tw"
],
"type": "string"
},
"payload_version": {
"description": "Counter to indicate when the payload was generated",
"type": "integer"
},
"public_updated_at": {
"_format": "date-time",
"description": "When the content was last significantly changed (a major update). Shown to users. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string"
},
"publishing_app_name": {
"description": "The application that published this item.",
"enum": [
"calculators",
"calendars",
"collections-publisher",
"contacts",
"content-publisher",
"content-tagger",
"email-alert-frontend",
"external-link-tracker",
"feedback",
"frontend",
"government-frontend",
"hmrc-manuals-api",
"info-frontend",
"licencefinder",
"local-links-manager",
"manuals-frontend",
"manuals-publisher",
"maslow",
"performanceplatform-big-screen-view",
"publisher",
"rummager",
"search-admin",
"search-api",
"service-manual-publisher",
"share-sale-publisher",
"short-url-manager",
"smartanswers",
"special-route-publisher",
"specialist-publisher",
"static",
"tariff",
"travel-advice-publisher",
"whitehall"
],
"type": "string"
},
"publishing_request_id": {
"description": "A unique identifier used to track publishing requests to rendered content",
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"rendering_app": {
"description": "The application that renders this item.",
"enum": [
"calculators",
"calendars",
"collections",
"content-store",
"email-alert-frontend",
"email-campaign-frontend",
"feedback",
"finder-frontend",
"frontend",
"government-frontend",
"info-frontend",
"licencefinder",
"manuals-frontend",
"performanceplatform-big-screen-view",
"rummager",
"search-api",
"service-manual-frontend",
"smartanswers",
"spotlight",
"static",
"tariff",
"whitehall-admin",
"whitehall-frontend"
],
"type": "string"
},
"route": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"type": {
"enum": [
"prefix",
"exact"
]
}
},
"required": [
"path",
"type"
],
"type": "object"
},
"routes": {
"items": {
"$ref": "#/definitions/route"
},
"minItems": 1,
"type": "array"
},
"title": {
"type": "string"
},
"update_type": {
"enum": [
"major",
"minor",
"republish"
]
},
"withdrawn_notice": {
"additionalProperties": false,
"properties": {
"explanation": {
"type": "string"
},
"withdrawn_at": {
"format": "date-time"
}
},
"type": "object"
}
},
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"content_purpose_document_supertype": {
"description": "DEPRECATED. Use `content_purpose_subgroup`.",
"type": "string"
},
"content_purpose_subgroup": {
"description": "Document subgroup grouping documents by purpose. Narrows down the purpose defined in content_purpose_supergroup.",
"type": "string"
},
"content_purpose_supergroup": {
"description": "Document supergroup grouping documents by a purpose",
"type": "string"
},
"description": {
"$ref": "#/definitions/description_optional"
},
"details": {
"$ref": "#/definitions/details"
},
"document_type": {
"enum": [
"service_manual_service_toolkit"
],
"type": "string"
},
"email_document_supertype": {
"description": "Document supertype grouping intended to power the Whitehall finders and email subscriptions",
"type": "string"
},
"expanded_links": {
"additionalProperties": false,
"properties": {
"available_translations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"child_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"children": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"document_collections": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"facet_groups": {
"$ref": "#/definitions/frontend_links",
"description": "Prototype-stage metadata tagging tree roots for this content item. A content item my belong to many facet groups without having any specific facet_values links."
},
"facet_values": {
"$ref": "#/definitions/frontend_links",
"description": "Prototype-stage metadata tagging values for this content item, a content item can be linked to many facet values from varying facet groups."
},
"finder": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers links from content back to finders the content is surfaced on"
},
"lead_organisations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "DEPRECATED: A subset of organisations that should be emphasised in relation to this content item. All organisations specified here should also be part of the organisations array."
},
"level_one_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"mainstream_browse_pages": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers the /browse section of the site. These are known as sections in some legacy apps."
},
"meets_user_needs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The user needs this piece of content meets."
},
"ministers": {
"$ref": "#/definitions/frontend_links",
"description": "Link type automatically added by Publishing API"
},
"ordered_related_items": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger."
},
"ordered_related_items_overrides": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation."
},
"organisations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "All organisations linked to this content item. This should include lead organisations."
},
"original_primary_publishing_organisation": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The organisation that published the original version of the page. Corresponds to the first of the 'Lead organisations' in Whitehall for the first edition, and is empty for all other publishing applications."
},
"parent": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The parent content item.",
"maxItems": 1
},
"part_of_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"policies": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"policy_areas": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "A largely deprecated tag currently only used to power email alerts."
},
"primary_publishing_organisation": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The organisation that published the page. Corresponds to the first of the 'Lead organisations' in Whitehall, and is empty for all other publishing applications.",
"maxItems": 1
},
"related_to_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"role_appointments": {
"$ref": "#/definitions/frontend_links",
"description": "Link type automatically added by Publishing API"
},
"secondary_to_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"suggested_ordered_related_items": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "New A/B test suggestions for related items. Used for displaying related content on most pages, except for step-by-step and fatality notices. Links and their ordering are determined by the machine learning algorithms included in this A/B test."
},
"taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Prototype-stage taxonomy label for this content item"
},
"topic_taxonomy_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"topics": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers the /topic section of the site. These are known as specialist sectors in some legacy apps."
}
},
"type": "object"
},
"first_published_at": {
"$ref": "#/definitions/first_published_at"
},
"government_document_supertype": {
"description": "Document supertype grouping intended to power the Whitehall finders and email subscriptions",
"type": "string"
},
"govuk_request_id": {
"$ref": "#/definitions/govuk_request_id"
},
"links": {
"additionalProperties": false,
"properties": {
"facet_groups": {
"$ref": "#/definitions/guid_list",
"description": "Prototype-stage metadata tagging tree roots for this content item. A content item my belong to many facet groups without having any specific facet_values links."
},
"facet_values": {
"$ref": "#/definitions/guid_list",
"description": "Prototype-stage metadata tagging values for this content item, a content item can be linked to many facet values from varying facet groups."
},
"finder": {
"$ref": "#/definitions/guid_list",
"description": "Powers links from content back to finders the content is surfaced on"
},
"lead_organisations": {
"$ref": "#/definitions/guid_list",
"description": "DEPRECATED: A subset of organisations that should be emphasised in relation to this content item. All organisations specified here should also be part of the organisations array."
},
"mainstream_browse_pages": {
"$ref": "#/definitions/guid_list",
"description": "Powers the /browse section of the site. These are known as sections in some legacy apps."
},
"meets_user_needs": {
"$ref": "#/definitions/guid_list",
"description": "The user needs this piece of content meets."
},
"ordered_related_items": {
"$ref": "#/definitions/guid_list",
"description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger."
},
"ordered_related_items_overrides": {
"$ref": "#/definitions/guid_list",
"description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation."
},
"organisations": {
"$ref": "#/definitions/guid_list",
"description": "All organisations linked to this content item. This should include lead organisations."
},
"original_primary_publishing_organisation": {
"$ref": "#/definitions/guid_list",
"description": "The organisation that published the original version of the page. Corresponds to the first of the 'Lead organisations' in Whitehall for the first edition, and is empty for all other publishing applications."
},
"parent": {
"$ref": "#/definitions/guid_list",
"description": "The parent content item.",
"maxItems": 1
},
"policy_areas": {
"$ref": "#/definitions/guid_list",
"description": "A largely deprecated tag currently only used to power email alerts."
},
"primary_publishing_organisation": {
"$ref": "#/definitions/guid_list",
"description": "The organisation that published the page. Corresponds to the first of the 'Lead organisations' in Whitehall, and is empty for all other publishing applications.",
"maxItems": 1
},
"suggested_ordered_related_items": {
"$ref": "#/definitions/guid_list",
"description": "New A/B test suggestions for related items. Used for displaying related content on most pages, except for step-by-step and fatality notices. Links and their ordering are determined by the machine learning algorithms included in this A/B test."
},
"taxons": {
"$ref": "#/definitions/guid_list",
"description": "Prototype-stage taxonomy label for this content item"
},
"topics": {
"$ref": "#/definitions/guid_list",
"description": "Powers the /topic section of the site. These are known as specialist sectors in some legacy apps."
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"navigation_document_supertype": {
"description": "Document type grouping powering the new taxonomy-based navigation pages",
"type": "string"
},
"need_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"payload_version": {
"$ref": "#/definitions/payload_version"
},
"phase": {
"description": "The service design phase of this content item - https://www.gov.uk/service-manual/phases",
"enum": [
"alpha",
"beta",
"live"
],
"type": "string"
},
"public_updated_at": {
"$ref": "#/definitions/public_updated_at"
},
"publishing_app": {
"$ref": "#/definitions/publishing_app_name"
},
"publishing_request_id": {
"$ref": "#/definitions/publishing_request_id"
},
"redirects": {
"additionalItems": false,
"items": {},
"type": "array"
},
"rendering_app": {
"$ref": "#/definitions/rendering_app"
},
"routes": {
"$ref": "#/definitions/routes"
},
"schema_name": {
"enum": [
"service_manual_service_toolkit"
],
"type": "string"
},
"search_user_need_document_supertype": {
"description": "Document supertype grouping core and government documents",
"type": "string"
},
"title": {
"$ref": "#/definitions/title"
},
"update_type": {
"$ref": "#/definitions/update_type"
},
"user_journey_document_supertype": {
"description": "Document type grouping powering analytics of user journeys",
"type": "string"
},
"user_need_document_supertype": {
"description": "DEPRECATED. Use `content_purpose_document_supertype`.",
"type": "string"
},
"withdrawn_notice": {
"$ref": "#/definitions/withdrawn_notice"
}
},
"required": [
"analytics_identifier",
"base_path",
"content_id",
"description",
"details",
"document_type",
"email_document_supertype",
"expanded_links",
"first_published_at",
"government_document_supertype",
"govuk_request_id",
"links",
"locale",
"navigation_document_supertype",
"payload_version",
"phase",
"public_updated_at",
"publishing_app",
"redirects",
"rendering_app",
"routes",
"schema_name",
"title",
"update_type",
"user_journey_document_supertype"
],
"type": "object"
} | o21356 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GetWatchesResponse",
"type": "object",
"additionalProperties": false,
"properties": {
"watches": {
"type": "array",
"items": {
"$ref": "#/definitions/WatchDetails"
}
}
},
"definitions": {
"WatchDetails": {
"type": "object",
"additionalProperties": false,
"properties": {
"projectName": {
"type": "string"
},
"repoName": {
"type": "string"
}
}
}
},
"javaName": "GetWatchesResponse"
} | o39439 |
{
"properties": {
"dimensions": {
"properties": {
"length": {
"description": "The length of the shape",
"type": "number"
},
"radius": {
"description": "The radius of the shape",
"type": "number"
},
"width": {
"description": "The width of the shape",
"type": "number"
}
},
"required": [
"length",
"width",
"radius"
],
"type": "object"
},
"shape": {
"description": "The type of shape (e.g. rectangle, circle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_e4c82cad |
{
"$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_html_and_govspeak": {
"anyOf": [
{
"type": "string"
}
],
"description": "The main content provided as HTML with the govspeak markdown it's rendered from"
},
"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"
},
"external_related_links": {
"$ref": "#/definitions/external_related_links"
},
"introduction": {
"$ref": "#/definitions/body_html_and_govspeak"
},
"lgil_code": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "The Local Government Interaction List code for the local transaction interaction"
},
"lgil_override": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "[DEPRECATED]The Local Government Interaction List override code for the local transaction interaction"
},
"lgsl_code": {
"description": "The Local Government Service List code for the local transaction service",
"type": "integer"
},
"more_information": {
"$ref": "#/definitions/body_html_and_govspeak"
},
"need_to_know": {
"$ref": "#/definitions/body_html_and_govspeak"
},
"service_tiers": {
"description": "List of local government tiers that provide the service",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"lgsl_code",
"service_tiers"
],
"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"
},
"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": [
"local_transaction"
],
"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": [
"local_transaction"
],
"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"
} | o21279 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"search"
],
"properties": {
"search": {
"type": "object",
"required": [
"resource"
],
"properties": {
"parameter": {
"type": "string",
"description": "The name of the URL parameter to use",
"default": "q"
},
"resource": {
"type": "string",
"format": "topic"
}
}
},
"i18n": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"default": "default"
}
}
}
}
} | o52964 |
{
"properties": {
"dimensions": {
"properties": {
"length": {
"description": "The length of the shape",
"type": "number"
},
"radius": {
"description": "The radius of the shape (if applicable)",
"type": "number"
},
"width": {
"description": "The width of the shape",
"type": "number"
}
},
"required": [
"length",
"width"
],
"type": "object"
},
"shape": {
"description": "The shape to calculate the area for",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_9c762a0e |
{
"properties": {
"dimensions": {
"dependencies": {
"shape": [
"square",
"rectangle",
"circle"
]
},
"properties": {
"radius": {
"description": "The radius of the shape (for circle)",
"type": "number"
},
"side_length": {
"description": "The side length of the shape (for square and rectangle)",
"type": "number"
}
},
"required": [
"side_length",
"radius"
],
"type": "object"
},
"shape": {
"description": "The type of shape (e.g., square, rectangle, circle)",
"enum": [
"square",
"rectangle",
"circle"
],
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_343cdca7 |
{
"properties": {
"electricity_usage": {
"description": "The monthly electricity usage in kilowatt-hours",
"type": "number"
},
"fuel_consumption": {
"description": "The monthly fuel consumption in liters",
"type": "number"
},
"public_transport_usage": {
"description": "The monthly public transport usage in kilometers",
"type": "number"
},
"recycling_efforts": {
"description": "Whether recycling efforts are made",
"type": "boolean"
}
},
"required": [
"electricity_usage",
"fuel_consumption",
"public_transport_usage",
"recycling_efforts"
],
"type": "object"
} | calculate_carbon_footprint_a856d46d |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"page": {
"type": "integer",
"description": "The page number"
},
"pageSize": {
"type": "integer",
"description": "The page size"
},
"totalResults": {
"type": "integer",
"description": "The number of results"
},
"sortBy": {
"type": "object",
"properties": {
"direction": {
"type": "integer",
"description": "The direction"
},
"property": {
"type": "string",
"description": "The property"
}
}
},
"filters": {
"type": "array",
"_uniqueItems": true,
"items": {
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"property": {
"type": "string",
"description": "The property"
},
"value": {
"type": "string",
"description": "The value"
}
}
}
}
}
} | o32474 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"dashboardId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"creationDate": {
"type": "string",
"format": "date-time"
},
"lastUpdated": {
"type": "string",
"format": "date-time"
},
"ownerId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"ownerType": {
"type": "string",
"enum": [
"user",
"organization"
]
},
"organizationName": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"organizationIconColor": {
"type": "string",
"maxLength": 64
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"applicationName": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"refreshRate": {
"type": "number",
"minimum": 5,
"maximum": 600
},
"defaultTheme": {
"type": "string",
"enum": [
"dark",
"light"
]
},
"isPasswordProtected": {
"type": "boolean"
},
"public": {
"type": "boolean"
},
"reportConfigs": {
"type": "array",
"max": 10,
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"cron": {
"type": "string",
"maxLength": 255
},
"toEmail": {
"type": "array",
"min": 1,
"max": 10,
"items": {
"type": "string",
"format": "email",
"maxLength": 1024
}
},
"subject": {
"type": "string",
"maxLength": 255
},
"message": {
"type": "string",
"maxLength": 32767
},
"theme": {
"type": "string",
"enum": [
"dark",
"light"
]
},
"timezone": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false,
"required": [
"cron",
"toEmail"
]
}
},
"blocks": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"application-list"
]
},
"config": {
"type": "object",
"properties": {
"filter": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"bar"
]
},
"config": {
"type": "object",
"properties": {
"realTime": {
"type": "boolean"
},
"duration": {
"type": "integer",
"minimum": 0
},
"xAxisFormat": {
"type": "string",
"maxLength": 255
},
"xAxisLabel": {
"type": "string",
"maxLength": 255
},
"xAxisMax": {
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 64
}
]
},
"xAxisMin": {
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 64
}
]
},
"segments": {
"type": "array",
"maxItems": 255,
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"maxLength": 255
},
"aggregation": {
"oneOf": [
{
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
{
"type": "object",
"properties": {
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
"options": {
"type": "object",
"additionalProperties": false
}
},
"additionalProperties": false,
"required": [
"type"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"TIMEATVALUE"
]
},
"options": {
"type": "object",
"properties": {
"value": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false,
"required": [
"value"
]
}
},
"additionalProperties": false,
"required": [
"type",
"options"
]
}
]
},
"color": {
"type": "string",
"maxLength": 64
},
"deviceIds": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
},
"deviceTags": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 255
},
"value": {
"type": "string",
"maxLength": 255
},
"fromCtx": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
},
"label": {
"type": "string",
"maxLength": 255
},
"yAxisLabel": {
"type": "string",
"maxLength": 255
},
"lineWeight": {
"type": "integer",
"minimum": 0,
"maximum": 5
},
"detectDataGaps": {
"type": "boolean"
},
"graphType": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"custom-chart",
"custom-html"
]
},
"config": {
"type": "object",
"properties": {
"configuration": {
"oneOf": [
{
"type": "object",
"properties": {
"headContent": {
"type": "string",
"maxLength": 32767
},
"bodyContent": {
"type": "string",
"maxLength": 32767
}
},
"additionalProperties": false
},
{
"type": "string",
"maxLength": 32767
}
]
},
"segments": {
"type": "array",
"maxItems": 100,
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"queryType": {
"type": "string",
"enum": [
"time-series"
]
},
"id": {
"type": "string",
"maxLength": 48
},
"attribute": {
"type": "string",
"maxLength": 255
},
"aggregation": {
"oneOf": [
{
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
{
"type": "object",
"properties": {
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
"options": {
"type": "object",
"additionalProperties": false
}
},
"additionalProperties": false,
"required": [
"type"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"TIMEATVALUE"
]
},
"options": {
"type": "object",
"properties": {
"value": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false,
"required": [
"value"
]
}
},
"additionalProperties": false,
"required": [
"type",
"options"
]
}
]
},
"deviceIds": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
},
"deviceTags": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 255
},
"value": {
"type": "string",
"maxLength": 255
},
"fromCtx": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
},
"duration": {
"type": "integer",
"minimum": 0
},
"resolution": {
"oneOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
},
{
"type": "string",
"maxLength": 255
}
]
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"queryType": {
"type": "string",
"enum": [
"gauge"
]
},
"id": {
"type": "string",
"maxLength": 48
},
"attribute": {
"type": "string",
"maxLength": 255
},
"aggregation": {
"oneOf": [
{
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
{
"type": "object",
"properties": {
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
"options": {
"type": "object",
"additionalProperties": false
}
},
"additionalProperties": false,
"required": [
"type"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"TIMEATVALUE"
]
},
"options": {
"type": "object",
"properties": {
"value": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false,
"required": [
"value"
]
}
},
"additionalProperties": false,
"required": [
"type",
"options"
]
}
]
},
"deviceIds": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
},
"deviceTags": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 255
},
"value": {
"type": "string",
"maxLength": 255
},
"fromCtx": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
},
"duration": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"queryType": {
"type": "string",
"enum": [
"data-table"
]
},
"id": {
"type": "string",
"maxLength": 48
},
"dataTableId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"query": {
"type": "string",
"maxLength": 32767
},
"queryMode": {
"type": "string",
"enum": [
"$or",
"$and",
"advanced"
]
}
},
"additionalProperties": false
}
]
}
},
"vegaVersion": {
"type": "string",
"enum": [
"vegaLite2",
"vegaLite3",
"vega4",
"vega5"
]
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"dashboard-list"
]
},
"config": {
"type": "object",
"properties": {
"filter": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"data-table"
]
},
"config": {
"type": "object",
"properties": {
"dataTableId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"defaultSortColumn": {
"type": "string",
"maxLength": 255
},
"defaultSortDirection": {
"type": "string",
"enum": [
"asc",
"desc",
"ASC",
"DESC",
""
]
},
"query": {
"type": "string",
"maxLength": 32767
},
"queryMode": {
"type": "string",
"enum": [
"$or",
"$and",
"advanced"
]
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"device-list"
]
},
"config": {
"type": "object",
"properties": {
"additionalAttributes": {
"oneOf": [
{
"type": "null"
},
{
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
}
]
},
"excludeConnectionInfo": {
"type": "boolean"
},
"deviceLinkNewWindow": {
"type": "boolean"
},
"deviceLinkType": {
"type": "string",
"enum": [
"custom",
"default"
]
},
"deviceLinkUrl": {
"type": "string",
"maxLength": 2048
},
"match": {
"type": "string",
"enum": [
"unfiltered",
"all",
"any"
]
},
"showPublicFilter": {
"type": "boolean"
},
"sortField": {
"type": "string",
"enum": [
"id",
"creationDate",
"lastUpdated",
"name"
]
},
"sortDirection": {
"type": "string",
"enum": [
"asc",
"desc",
"ASC",
"DESC",
""
]
},
"filter": {
"oneOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "object",
"properties": {
"ids": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
},
"tags": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 255
},
"value": {
"type": "string",
"maxLength": 255
},
"fromCtx": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
},
"searchParam": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
]
},
"query": {
"type": "string",
"maxLength": 32767
},
"columns": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"type": {
"type": "string",
"enum": [
"id",
"connectionStatus",
"attribute",
"tag",
"name",
"custom",
"created",
"updated"
]
},
"source": {
"type": "string",
"maxLength": 255
},
"headerTemplate": {
"type": "string",
"maxLength": 1024
},
"rowTemplate": {
"type": "string",
"maxLength": 32767
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"device-log"
]
},
"config": {
"type": "object",
"properties": {
"deviceIds": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"device-state-table"
]
},
"config": {
"type": "object",
"properties": {
"attributes": {
"oneOf": [
{
"type": "null"
},
{
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
}
]
},
"deviceIds": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
},
"deviceTags": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 255
},
"value": {
"type": "string",
"maxLength": 255
},
"fromCtx": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
},
"duration": {
"type": "integer",
"minimum": 0
},
"sortDirection": {
"type": "integer",
"minimum": -1,
"maximum": 1
},
"sortIndex": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"columns": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"headerTemplate": {
"type": "string",
"maxLength": 1024
},
"id": {
"type": "string",
"maxLength": 48
},
"rowTemplate": {
"type": "string",
"maxLength": 32767
},
"type": {
"type": "string",
"enum": [
"deviceTags",
"deviceId",
"deviceName",
"timestamp",
"attribute"
]
},
"attribute": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"event-list"
]
},
"config": {
"type": "object",
"properties": {
"allowUpdates": {
"type": "boolean"
},
"query": {
"type": "string",
"maxLength": 32767
},
"sortDirection": {
"type": "string",
"enum": [
"asc",
"desc",
"ASC",
"DESC",
""
]
},
"sortField": {
"type": "string",
"maxLength": 255
},
"filter": {
"type": "string",
"maxLength": 255
},
"eventState": {
"oneOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
},
{
"type": "object",
"additionalProperties": false
}
]
},
"columnErrors": {
"type": "object",
"additionalProperties": false
},
"columns": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"selectedTag": {
"type": "string",
"maxLength": 255
},
"type": {
"type": "string",
"enum": [
"level",
"subject",
"subjectWithMessage",
"creationDate",
"creationDateWithSource",
"lastUpdatedDate",
"lastUpdatedDateWithSource",
"id",
"state",
"tag",
"deviceName",
"sourceId"
]
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"gauge"
]
},
"config": {
"type": "object",
"properties": {
"realTime": {
"type": "boolean"
},
"displayAsPercentage": {
"type": "boolean"
},
"duration": {
"type": "integer",
"minimum": 0
},
"gaugeMax": {
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 64
}
]
},
"gaugeMin": {
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 64
}
]
},
"gaugeType": {
"type": "string",
"enum": [
"battery",
"dial",
"number",
"tank",
"thermometer"
]
},
"precision": {
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 64
}
]
},
"precisionType": {
"type": "string",
"enum": [
"floating",
"significant"
]
},
"segment": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"maxLength": 255
},
"aggregation": {
"oneOf": [
{
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
{
"type": "object",
"properties": {
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
"options": {
"type": "object",
"additionalProperties": false
}
},
"additionalProperties": false,
"required": [
"type"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"TIMEATVALUE"
]
},
"options": {
"type": "object",
"properties": {
"value": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false,
"required": [
"value"
]
}
},
"additionalProperties": false,
"required": [
"type",
"options"
]
}
]
},
"color": {
"type": "string",
"maxLength": 64
},
"deviceIds": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
},
"deviceTags": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 255
},
"value": {
"type": "string",
"maxLength": 255
},
"fromCtx": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
},
"label": {
"type": "string",
"maxLength": 255
},
"yAxisLabel": {
"type": "string",
"maxLength": 255
},
"lineWeight": {
"type": "integer",
"minimum": 0,
"maximum": 5
},
"detectDataGaps": {
"type": "boolean"
},
"graphType": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
},
"conditions": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 64
},
"id": {
"type": "string",
"maxLength": 48
},
"label": {
"type": "string",
"maxLength": 32767
},
"condition": {
"type": "string",
"maxLength": 2048
},
"imageUrl": {
"type": "string",
"maxLength": 32767
},
"shape": {
"type": "string",
"enum": [
"circle",
"square",
"triangle-down",
"triangle-up",
"octagon"
]
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"graph"
]
},
"config": {
"type": "object",
"properties": {
"realTime": {
"type": "boolean"
},
"duration": {
"type": "integer",
"minimum": 0
},
"resolution": {
"oneOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
},
{
"type": "string",
"maxLength": 255
}
]
},
"recharts": {
"type": "boolean"
},
"displayType": {
"type": "string",
"enum": [
"stick",
"line"
]
},
"segments": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"maxLength": 255
},
"aggregation": {
"oneOf": [
{
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
{
"type": "object",
"properties": {
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
"options": {
"type": "object",
"additionalProperties": false
}
},
"additionalProperties": false,
"required": [
"type"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"TIMEATVALUE"
]
},
"options": {
"type": "object",
"properties": {
"value": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false,
"required": [
"value"
]
}
},
"additionalProperties": false,
"required": [
"type",
"options"
]
}
]
},
"color": {
"type": "string",
"maxLength": 64
},
"cumulative": {
"type": "boolean"
},
"detectDataGaps": {
"type": "boolean"
},
"expression": {
"type": "string",
"maxLength": 255
},
"graphType": {
"type": "string",
"enum": [
"area",
"bar",
"line"
]
},
"label": {
"type": "string",
"maxLength": 255
},
"yAxisFormat": {
"type": "string",
"maxLength": 255
},
"yAxisLabel": {
"type": "string",
"maxLength": 255
},
"yAxisMax": {
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 64
}
]
},
"yAxisMin": {
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 64
}
]
},
"lineType": {
"type": "string",
"enum": [
"monotone",
"step",
"stepAfter",
"linear",
"stepBefore"
]
},
"lineWeight": {
"type": "integer",
"minimum": 0,
"maximum": 5
},
"dotWeight": {
"type": "integer",
"minimum": 0,
"maximum": 5
},
"deviceIds": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
},
"deviceTags": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 255
},
"value": {
"type": "string",
"maxLength": 255
},
"fromCtx": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"heatmap"
]
},
"config": {
"type": "object",
"properties": {
"additionalAttributes": {
"oneOf": [
{
"type": "null"
},
{
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
}
]
},
"attribute": {
"type": "string",
"maxLength": 255
},
"defaultBearing": {
"type": "number"
},
"defaultCenter": {
"type": "string",
"maxLength": 255
},
"defaultPitch": {
"type": "number"
},
"defaultZoom": {
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 64
}
]
},
"deviceIds": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
},
"deviceTags": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 255
},
"value": {
"type": "string",
"maxLength": 255
},
"fromCtx": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
},
"duration": {
"type": "integer",
"minimum": 0
},
"locationTagKey": {
"oneOf": [
{
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
},
{
"type": "string",
"minLength": 4,
"maxLength": 255,
"pattern": ".*\\{\\{.+}}.*"
}
]
},
"mapStyle": {
"type": "string",
"enum": [
"normal",
"satellite"
]
},
"query": {
"type": "string",
"maxLength": 32767
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"iframe"
]
},
"config": {
"type": "object",
"properties": {
"url": {
"type": "string",
"maxLength": 2048
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"image"
]
},
"config": {
"type": "object",
"properties": {
"bgColor": {
"type": "string",
"maxLength": 64
},
"imageLinkNewWindow": {
"type": "boolean"
},
"imageLinkUrl": {
"type": "string",
"maxLength": 2048
},
"imageUrl": {
"type": "string",
"maxLength": 32767
},
"imageSource": {
"type": "string",
"enum": [
"static",
"attribute"
]
},
"deviceId": {
"type": "string",
"maxLength": 255
},
"attribute": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"image-overlay"
]
},
"config": {
"type": "object",
"properties": {
"imageUrl": {
"type": "string",
"maxLength": 32767
},
"backgroundColor": {
"type": "string",
"maxLength": 64
},
"defaultZoom": {
"type": "number"
},
"segments": {
"type": "array",
"maxItems": 100,
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"queryType": {
"type": "string",
"enum": [
"gauge"
]
},
"id": {
"type": "string",
"maxLength": 48
},
"attribute": {
"type": "string",
"maxLength": 255
},
"aggregation": {
"oneOf": [
{
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
{
"type": "object",
"properties": {
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
"options": {
"type": "object",
"additionalProperties": false
}
},
"additionalProperties": false,
"required": [
"type"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"TIMEATVALUE"
]
},
"options": {
"type": "object",
"properties": {
"value": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false,
"required": [
"value"
]
}
},
"additionalProperties": false,
"required": [
"type",
"options"
]
}
]
},
"deviceIds": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
},
"deviceTags": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 255
},
"value": {
"type": "string",
"maxLength": 255
},
"fromCtx": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
},
"duration": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
}
]
}
},
"overlays": {
"type": "array",
"maxItems": 100,
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"indicator",
"label",
"image"
]
},
"size": {
"type": "string",
"enum": [
"small",
"medium",
"large"
]
},
"position": {
"type": "string",
"minLength": 3,
"maxLength": 255
},
"popupTemplate": {
"type": "string",
"maxLength": 32767
},
"conditions": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 64
},
"id": {
"type": "string",
"maxLength": 48
},
"label": {
"type": "string",
"maxLength": 32767
},
"condition": {
"type": "string",
"maxLength": 2048
},
"imageUrl": {
"type": "string",
"maxLength": 32767
},
"shape": {
"type": "string",
"enum": [
"circle",
"square",
"triangle-down",
"triangle-up",
"octagon"
]
}
},
"additionalProperties": false
}
},
"defaultCondition": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 64
},
"id": {
"type": "string",
"maxLength": 48
},
"label": {
"type": "string",
"maxLength": 32767
},
"condition": {
"type": "string",
"maxLength": 2048
},
"imageUrl": {
"type": "string",
"maxLength": 32767
},
"shape": {
"type": "string",
"enum": [
"circle",
"square",
"triangle-down",
"triangle-up",
"octagon"
]
}
},
"additionalProperties": false
}
},
"required": [
"type",
"position",
"size",
"defaultCondition"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"value"
]
},
"size": {
"type": "string",
"enum": [
"small",
"medium",
"large"
]
},
"position": {
"type": "string",
"minLength": 3,
"maxLength": 255
},
"popupTemplate": {
"type": "string",
"maxLength": 32767
},
"conditions": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 64
},
"id": {
"type": "string",
"maxLength": 48
},
"label": {
"type": "string",
"maxLength": 32767
},
"condition": {
"type": "string",
"maxLength": 2048
},
"imageUrl": {
"type": "string",
"maxLength": 32767
},
"shape": {
"type": "string",
"enum": [
"circle",
"square",
"triangle-down",
"triangle-up",
"octagon"
]
}
},
"additionalProperties": false
}
},
"defaultCondition": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 64
},
"id": {
"type": "string",
"maxLength": 48
},
"label": {
"type": "string",
"maxLength": 32767
},
"condition": {
"type": "string",
"maxLength": 2048
},
"imageUrl": {
"type": "string",
"maxLength": 32767
},
"shape": {
"type": "string",
"enum": [
"circle",
"square",
"triangle-down",
"triangle-up",
"octagon"
]
}
},
"additionalProperties": false
},
"valueTemplate": {
"type": "string",
"maxLength": 255
}
},
"required": [
"type",
"position",
"size",
"defaultCondition"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"bar"
]
},
"size": {
"type": "string",
"enum": [
"small",
"medium",
"large"
]
},
"position": {
"type": "string",
"minLength": 3,
"maxLength": 255
},
"popupTemplate": {
"type": "string",
"maxLength": 32767
},
"conditions": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 64
},
"id": {
"type": "string",
"maxLength": 48
},
"label": {
"type": "string",
"maxLength": 32767
},
"condition": {
"type": "string",
"maxLength": 2048
},
"imageUrl": {
"type": "string",
"maxLength": 32767
},
"shape": {
"type": "string",
"enum": [
"circle",
"square",
"triangle-down",
"triangle-up",
"octagon"
]
}
},
"additionalProperties": false
}
},
"defaultCondition": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 64
},
"id": {
"type": "string",
"maxLength": 48
},
"label": {
"type": "string",
"maxLength": 32767
},
"condition": {
"type": "string",
"maxLength": 2048
},
"imageUrl": {
"type": "string",
"maxLength": 32767
},
"shape": {
"type": "string",
"enum": [
"circle",
"square",
"triangle-down",
"triangle-up",
"octagon"
]
}
},
"additionalProperties": false
},
"min": {
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 64
}
]
},
"max": {
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 64
}
]
},
"backgroundColor": {
"type": "string",
"maxLength": 64
},
"valueTemplate": {
"type": "string",
"maxLength": 255
},
"length": {
"type": "integer",
"min": 1,
"max": 10
},
"orientation": {
"type": "string",
"enum": [
"horizontal",
"vertical"
]
}
},
"required": [
"type",
"position",
"size",
"defaultCondition"
],
"additionalProperties": false
}
]
}
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height",
"config"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"indicator"
]
},
"config": {
"type": "object",
"properties": {
"realTime": {
"type": "boolean"
},
"duration": {
"type": "integer",
"minimum": 0
},
"segments": {
"type": "array",
"maxItems": 255,
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"maxLength": 255
},
"aggregation": {
"oneOf": [
{
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
{
"type": "object",
"properties": {
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
"options": {
"type": "object",
"additionalProperties": false
}
},
"additionalProperties": false,
"required": [
"type"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"TIMEATVALUE"
]
},
"options": {
"type": "object",
"properties": {
"value": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false,
"required": [
"value"
]
}
},
"additionalProperties": false,
"required": [
"type",
"options"
]
}
]
},
"color": {
"type": "string",
"maxLength": 64
},
"deviceIds": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
},
"deviceTags": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 255
},
"value": {
"type": "string",
"maxLength": 255
},
"fromCtx": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
},
"label": {
"type": "string",
"maxLength": 255
},
"yAxisLabel": {
"type": "string",
"maxLength": 255
},
"lineWeight": {
"type": "integer",
"minimum": 0,
"maximum": 5
},
"detectDataGaps": {
"type": "boolean"
},
"graphType": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
},
"conditions": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 64
},
"id": {
"type": "string",
"maxLength": 48
},
"label": {
"type": "string",
"maxLength": 32767
},
"condition": {
"type": "string",
"maxLength": 2048
},
"imageUrl": {
"type": "string",
"maxLength": 32767
},
"shape": {
"type": "string",
"enum": [
"circle",
"square",
"triangle-down",
"triangle-up",
"octagon"
]
}
},
"additionalProperties": false
}
},
"defaultCondition": {
"type": "object",
"properties": {
"color": {
"type": "string",
"maxLength": 64
},
"id": {
"type": "string",
"maxLength": 48
},
"label": {
"type": "string",
"maxLength": 32767
},
"condition": {
"type": "string",
"maxLength": 2048
},
"imageUrl": {
"type": "string",
"maxLength": 32767
},
"shape": {
"type": "string",
"enum": [
"circle",
"square",
"triangle-down",
"triangle-up",
"octagon"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"input"
]
},
"config": {
"type": "object",
"properties": {
"defaultMode": {
"type": "string",
"enum": [
"unlocked",
"locked"
]
},
"controls": {
"type": "array",
"maxItems": 100,
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"range"
]
},
"id": {
"type": "string",
"maxLength": 48
},
"templateId": {
"type": "string",
"maxLength": 64
},
"label": {
"type": "string",
"maxLength": 512
},
"color": {
"type": "string",
"maxLength": 64
},
"grid": {
"type": "object",
"properties": {
"h": {
"type": "number"
},
"w": {
"type": "number"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"additionalProperties": false
},
"defaultQuery": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"maxLength": 255
},
"aggregation": {
"oneOf": [
{
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
{
"type": "object",
"properties": {
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
"options": {
"type": "object",
"additionalProperties": false
}
},
"additionalProperties": false,
"required": [
"type"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"TIMEATVALUE"
]
},
"options": {
"type": "object",
"properties": {
"value": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false,
"required": [
"value"
]
}
},
"additionalProperties": false,
"required": [
"type",
"options"
]
}
]
},
"deviceIds": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
},
"deviceTags": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 255
},
"value": {
"type": "string",
"maxLength": 255
},
"fromCtx": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"max": {
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 64
}
]
},
"min": {
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 64
}
]
},
"step": {
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 64
}
]
},
"defaultValue": {
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 64
}
]
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"toggle"
]
},
"id": {
"type": "string",
"maxLength": 48
},
"templateId": {
"type": "string",
"maxLength": 64
},
"label": {
"type": "string",
"maxLength": 512
},
"color": {
"type": "string",
"maxLength": 64
},
"grid": {
"type": "object",
"properties": {
"h": {
"type": "number"
},
"w": {
"type": "number"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"additionalProperties": false
},
"defaultQuery": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"maxLength": 255
},
"aggregation": {
"oneOf": [
{
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
{
"type": "object",
"properties": {
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
"options": {
"type": "object",
"additionalProperties": false
}
},
"additionalProperties": false,
"required": [
"type"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"TIMEATVALUE"
]
},
"options": {
"type": "object",
"properties": {
"value": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false,
"required": [
"value"
]
}
},
"additionalProperties": false,
"required": [
"type",
"options"
]
}
]
},
"deviceIds": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
},
"deviceTags": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 255
},
"value": {
"type": "string",
"maxLength": 255
},
"fromCtx": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"defaultValue": {
"type": "boolean"
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"text"
]
},
"id": {
"type": "string",
"maxLength": 48
},
"templateId": {
"type": "string",
"maxLength": 64
},
"label": {
"type": "string",
"maxLength": 512
},
"grid": {
"type": "object",
"properties": {
"h": {
"type": "number"
},
"w": {
"type": "number"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"additionalProperties": false
},
"defaultQuery": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"maxLength": 255
},
"aggregation": {
"oneOf": [
{
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
{
"type": "object",
"properties": {
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
"options": {
"type": "object",
"additionalProperties": false
}
},
"additionalProperties": false,
"required": [
"type"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"TIMEATVALUE"
]
},
"options": {
"type": "object",
"properties": {
"value": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false,
"required": [
"value"
]
}
},
"additionalProperties": false,
"required": [
"type",
"options"
]
}
]
},
"deviceIds": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
},
"deviceTags": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 255
},
"value": {
"type": "string",
"maxLength": 255
},
"fromCtx": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"defaultValue": {
"type": "string",
"maxLength": 2048
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"select"
]
},
"id": {
"type": "string",
"maxLength": 48
},
"templateId": {
"type": "string",
"maxLength": 64
},
"label": {
"type": "string",
"maxLength": 512
},
"grid": {
"type": "object",
"properties": {
"h": {
"type": "number"
},
"w": {
"type": "number"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"additionalProperties": false
},
"defaultQuery": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"maxLength": 255
},
"aggregation": {
"oneOf": [
{
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
{
"type": "object",
"properties": {
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
"options": {
"type": "object",
"additionalProperties": false
}
},
"additionalProperties": false,
"required": [
"type"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"TIMEATVALUE"
]
},
"options": {
"type": "object",
"properties": {
"value": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false,
"required": [
"value"
]
}
},
"additionalProperties": false,
"required": [
"type",
"options"
]
}
]
},
"deviceIds": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
},
"deviceTags": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 255
},
"value": {
"type": "string",
"maxLength": 255
},
"fromCtx": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"defaultValue": {
"type": "string",
"maxLength": 255
},
"options": {
"type": "array",
"maxItems": 500,
"items": {
"type": "object",
"properties": {
"value": {
"type": "string",
"maxLength": 255
},
"label": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"help"
]
},
"id": {
"type": "string",
"maxLength": 48
},
"templateId": {
"type": "string",
"maxLength": 64
},
"grid": {
"type": "object",
"properties": {
"h": {
"type": "number"
},
"w": {
"type": "number"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"additionalProperties": false
},
"help": {
"type": "string",
"maxLength": 32767
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"button"
]
},
"action": {
"type": "string",
"enum": [
"workflow",
"command"
]
},
"id": {
"type": "string",
"maxLength": 48
},
"templateId": {
"type": "string",
"maxLength": 64
},
"label": {
"type": "string",
"maxLength": 512
},
"grid": {
"type": "object",
"properties": {
"h": {
"type": "number"
},
"w": {
"type": "number"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"additionalProperties": false
},
"color": {
"type": "string",
"maxLength": 64
},
"payload": {
"type": "string",
"maxLength": 32767
},
"buttonId": {
"type": "string",
"maxLength": 255
},
"workflowId": {
"oneOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
]
},
"deviceIds": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
},
"deviceTags": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 255
},
"value": {
"type": "string",
"maxLength": 255
},
"fromCtx": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
},
"commandName": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
]
}
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"map"
]
},
"config": {
"type": "object",
"properties": {
"additionalAttributes": {
"oneOf": [
{
"type": "null"
},
{
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
}
]
},
"attribute": {
"type": "string",
"maxLength": 255
},
"clusterPoints": {
"type": "boolean"
},
"compositeResult": {
"type": "boolean"
},
"defaultBearing": {
"type": "number"
},
"defaultCenter": {
"type": "string",
"maxLength": 255
},
"defaultPitch": {
"type": "number"
},
"defaultZoom": {
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 64
}
]
},
"deviceIds": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
},
"deviceTags": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 255
},
"value": {
"type": "string",
"maxLength": 255
},
"fromCtx": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
},
"duration": {
"type": "integer",
"minimum": 0
},
"endColor": {
"type": "string",
"maxLength": 64
},
"iconTemplate": {
"type": "string",
"maxLength": 73727
},
"includeArrows": {
"type": "boolean"
},
"includeLines": {
"type": "boolean"
},
"locationTagKey": {
"oneOf": [
{
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
},
{
"type": "string",
"minLength": 4,
"maxLength": 255,
"pattern": ".*\\{\\{.+}}.*"
}
]
},
"mapStyle": {
"type": "string",
"enum": [
"normal",
"satellite"
]
},
"pinMode": {
"type": "string",
"enum": [
"simple",
"advanced"
]
},
"popupTemplate": {
"type": "string",
"maxLength": 32767
},
"query": {
"type": "string",
"maxLength": 32767
},
"resizedPins": {
"type": "boolean"
},
"resolution": {
"oneOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
},
{
"type": "string",
"maxLength": 255
}
]
},
"startColor": {
"type": "string",
"maxLength": 64
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"open-event-indicator"
]
},
"config": {
"type": "object",
"properties": {
"allowUpdates": {
"type": "boolean"
},
"query": {
"type": "string",
"maxLength": 32767
},
"filter": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"pie"
]
},
"config": {
"type": "object",
"properties": {
"realTime": {
"type": "boolean"
},
"duration": {
"type": "integer",
"minimum": 0
},
"percentFormat": {
"type": "string",
"maxLength": 255
},
"valueFormat": {
"type": "string",
"maxLength": 255
},
"segments": {
"type": "array",
"maxItems": 255,
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"maxLength": 255
},
"aggregation": {
"oneOf": [
{
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
{
"type": "object",
"properties": {
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
"options": {
"type": "object",
"additionalProperties": false
}
},
"additionalProperties": false,
"required": [
"type"
]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"TIMEATVALUE"
]
},
"options": {
"type": "object",
"properties": {
"value": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false,
"required": [
"value"
]
}
},
"additionalProperties": false,
"required": [
"type",
"options"
]
}
]
},
"color": {
"type": "string",
"maxLength": 64
},
"deviceIds": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
},
"deviceTags": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 255
},
"value": {
"type": "string",
"maxLength": 255
},
"fromCtx": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
},
"label": {
"type": "string",
"maxLength": 255
},
"yAxisLabel": {
"type": "string",
"maxLength": 255
},
"lineWeight": {
"type": "integer",
"minimum": 0,
"maximum": 5
},
"detectDataGaps": {
"type": "boolean"
},
"graphType": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"position-chart"
]
},
"config": {
"type": "object",
"properties": {
"additionalAttributes": {
"oneOf": [
{
"type": "null"
},
{
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
}
]
},
"compositeResult": {
"type": "boolean"
},
"coordinateA": {
"type": "string",
"minLength": 3,
"maxLength": 255
},
"coordinateB": {
"type": "string",
"minLength": 3,
"maxLength": 255
},
"defaultCenter": {
"type": "string",
"minLength": 3,
"maxLength": 255
},
"defaultZoom": {
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 64
}
]
},
"deviceIds": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 255
}
},
"deviceTags": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 255
},
"value": {
"type": "string",
"maxLength": 255
},
"fromCtx": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
},
"duration": {
"type": "integer",
"minimum": 0
},
"endColor": {
"type": "string",
"maxLength": 64
},
"iconTemplate": {
"type": "string",
"maxLength": 73727
},
"imageUrl": {
"type": "string",
"maxLength": 32767
},
"includeArrows": {
"type": "boolean"
},
"includeLines": {
"type": "boolean"
},
"pinMode": {
"type": "string",
"enum": [
"simple",
"advanced"
]
},
"pixelA": {
"type": "string",
"minLength": 3,
"maxLength": 255
},
"pixelB": {
"type": "string",
"minLength": 3,
"maxLength": 255
},
"popupTemplate": {
"type": "string",
"maxLength": 32767
},
"resizedPins": {
"type": "boolean"
},
"resolution": {
"oneOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
},
{
"type": "string",
"maxLength": 255
}
]
},
"startColor": {
"type": "string",
"maxLength": 64
},
"xAttribute": {
"type": "string",
"maxLength": 255
},
"yAttribute": {
"type": "string",
"maxLength": 255
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"section-header"
]
},
"config": {
"type": "object",
"properties": {
"title": {
"type": "string",
"maxLength": 255
},
"content": {
"type": "string",
"maxLength": 32767
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48
},
"title": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 32767
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"startX": {
"type": "number"
},
"startY": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"blockType": {
"type": "string",
"enum": [
"workflow-list"
]
},
"config": {
"type": "object",
"properties": {
"filter": {
"type": "string",
"maxLength": 255
},
"includeCloud": {
"type": "boolean"
},
"includeEdge": {
"type": "boolean"
},
"includeExperience": {
"type": "boolean"
},
"experienceVersion": {
"type": "string",
"minLength": 1,
"maxLength": 255
}
},
"additionalProperties": false
}
},
"required": [
"blockType",
"startX",
"startY",
"width",
"height"
],
"additionalProperties": false
}
]
}
},
"contextConfiguration": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
},
"type": {
"type": "string",
"enum": [
"deviceAttribute"
]
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"defaultValue": {
"type": "string",
"maxLength": 32767
},
"validationEnabled": {
"type": "boolean"
},
"validationConfig": {
"type": "object",
"properties": {
"attributes": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
},
"maxItems": 100
}
},
"additionalProperties": false
}
},
"required": [
"name",
"type",
"defaultValue"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
},
"type": {
"type": "string",
"enum": [
"deviceId"
]
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"defaultValue": {
"type": "string",
"maxLength": 32767
},
"validationEnabled": {
"type": "boolean"
},
"validationConfig": {
"type": "object",
"properties": {
"deviceIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"maxItems": 1000
},
"deviceTags": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 255
}
},
"additionalProperties": false
},
"maxItems": 100
},
"includeFullDevice": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"required": [
"name",
"type",
"defaultValue"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
},
"type": {
"type": "string",
"enum": [
"deviceTag"
]
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"defaultValue": {
"type": "object",
"properties": {
"key": {
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 255
}
},
"additionalProperties": false
},
"validationEnabled": {
"type": "boolean"
},
"validationConfig": {
"type": "object",
"properties": {
"deviceTags": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 255
}
},
"additionalProperties": false
},
"maxItems": 100
}
},
"additionalProperties": false
}
},
"required": [
"name",
"type",
"defaultValue"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
},
"type": {
"type": "string",
"enum": [
"number"
]
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"defaultValue": {
"type": [
"number",
"string"
]
},
"validationEnabled": {
"type": "boolean"
},
"validationConfig": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
}
},
"additionalProperties": false
}
},
"required": [
"name",
"type",
"defaultValue"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
},
"type": {
"type": "string",
"enum": [
"string"
]
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"defaultValue": {
"type": "string",
"maxLength": 32767
},
"validationEnabled": {
"type": "boolean"
},
"validationConfig": {
"type": "object",
"properties": {
"regExp": {
"type": "string",
"maxLength": 1024
}
},
"additionalProperties": false
}
},
"required": [
"name",
"type",
"defaultValue"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
},
"type": {
"type": "string",
"enum": [
"experienceUser"
]
},
"applicationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"defaultValue": {
"type": "string",
"maxLength": 32767
},
"validationEnabled": {
"type": "boolean"
},
"validationConfig": {
"type": "object",
"properties": {
"experienceGroupIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"maxItems": 1000
}
},
"additionalProperties": false
}
},
"required": [
"name",
"type",
"defaultValue"
],
"additionalProperties": false
}
]
},
"maxItems": 100
}
}
} | o9802 |
{
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"definitions": {
"content_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": {},
"description": "Holds common attributes of ANS Content objects.",
"properties": {
"_id": {
"$ref": "#/definitions/traits_trait_id_json"
},
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"address": {
"$ref": "#/definitions/traits_trait_address_json"
},
"alignment": {
"$ref": "#/definitions/traits_trait_alignment_json"
},
"canonical_url": {
"$ref": "#/definitions/traits_trait_canonical_url_json"
},
"channels": {
"$ref": "#/definitions/traits_trait_channel_json"
},
"comments": {
"$ref": "#/definitions/traits_trait_comments_json"
},
"content_aliases": {
"$ref": "#/definitions/traits_trait_content_aliases_json"
},
"content_restrictions": {
"$ref": "#/definitions/traits_trait_content_restrictions_json"
},
"contributors": {
"$ref": "#/definitions/traits_trait_contributors_json"
},
"copyright": {
"$ref": "#/definitions/traits_trait_copyright_json"
},
"created_date": {
"$ref": "#/definitions/traits_trait_created_date_json"
},
"credits": {
"$ref": "#/definitions/traits_trait_credits_json"
},
"description": {
"$ref": "#/definitions/traits_trait_description_json"
},
"display_date": {
"$ref": "#/definitions/traits_trait_display_date_json"
},
"distributor": {
"$ref": "#/definitions/traits_trait_distributor_json"
},
"editor_note": {
"$ref": "#/definitions/traits_trait_editor_note_json"
},
"first_publish_date": {
"$ref": "#/definitions/traits_trait_first_publish_date_json"
},
"geo": {
"$ref": "#/definitions/traits_trait_geo_json"
},
"headlines": {
"$ref": "#/definitions/traits_trait_headlines_json"
},
"label": {
"$ref": "#/definitions/traits_trait_label_json"
},
"language": {
"$ref": "#/definitions/traits_trait_locale_json"
},
"last_updated_date": {
"$ref": "#/definitions/traits_trait_last_updated_date_json"
},
"location": {
"$ref": "#/definitions/traits_trait_location_json"
},
"owner": {
"$ref": "#/definitions/traits_trait_owner_json"
},
"pitches": {
"$ref": "#/definitions/traits_trait_pitches_json"
},
"planning": {
"$ref": "#/definitions/traits_trait_planning_json"
},
"promo_items": {
"$ref": "#/definitions/traits_trait_promo_items_json"
},
"publish_date": {
"$ref": "#/definitions/traits_trait_publish_date_json"
},
"related_content": {
"$ref": "#/definitions/traits_trait_related_content_json"
},
"revision": {
"$ref": "#/definitions/traits_trait_revision_json"
},
"short_url": {
"$ref": "#/definitions/traits_trait_short_url_json"
},
"slug": {
"$ref": "#/definitions/traits_trait_slug_json"
},
"source": {
"$ref": "#/definitions/traits_trait_source_json"
},
"status": {
"$ref": "#/definitions/traits_trait_status_json"
},
"subheadlines": {
"$ref": "#/definitions/traits_trait_subheadlines_json"
},
"subtype": {
"$ref": "#/definitions/traits_trait_subtype_json"
},
"syndication": {
"$ref": "#/definitions/traits_trait_syndication_json"
},
"taxonomy": {
"$ref": "#/definitions/traits_trait_taxonomy_json"
},
"tracking": {
"$ref": "#/definitions/traits_trait_tracking_json"
},
"type": {
"type": "string"
},
"vanity_credits": {
"$ref": "#/definitions/traits_trait_vanity_credits_json"
},
"version": {
"$ref": "#/definitions/traits_trait_version_json"
},
"workflow": {
"$ref": "#/definitions/traits_trait_workflow_json"
}
},
"required": [
"type",
"version"
],
"title": "A content object.",
"type": "object"
},
"redirect_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "A redirect to another story.",
"properties": {
"_id": {
"$ref": "#/definitions/traits_trait_id_json"
},
"canonical_url": {
"$ref": "#/definitions/traits_trait_canonical_url_json"
},
"owner": {
"$ref": "#/definitions/traits_trait_owner_json"
},
"redirect_url": {
"$ref": "#/definitions/traits_trait_canonical_url_json"
},
"revision": {
"$ref": "#/definitions/traits_trait_revision_json"
},
"type": {
"enum": [
"redirect"
],
"type": "string"
},
"version": {
"$ref": "#/definitions/traits_trait_version_json"
}
},
"required": [
"type",
"version",
"canonical_url",
"redirect_url"
],
"title": "A redirect object.",
"type": "object"
},
"story_elements_custom_embed_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "A custom embed element. Can be used to reference content from external providers about which little is known.",
"properties": {
"_id": {
"$ref": "#/definitions/traits_trait_id_json"
},
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"alignment": {
"$ref": "#/definitions/traits_trait_alignment_json"
},
"channels": {
"$ref": "#/definitions/traits_trait_channel_json"
},
"embed": {
"additionalProperties": false,
"description": "The embed data.",
"properties": {
"config": {
"additionalProperties": false,
"description": "Arbitrary configuration data generated by a plugin. Users are responsible for maintaining schema.",
"patternProperties": {
"^([a-zA-Z0-9_])*$": {}
},
"properties": {
"referent": {
"not": {}
},
"type": {
"not": {}
},
"version": {
"not": {}
}
},
"title": "Embed Configuration",
"type": "object"
},
"id": {
"description": "Foreign ID of embedded item.",
"maxLength": 128,
"minLength": 1,
"title": "Embed ID",
"type": "string"
},
"url": {
"description": "Provider URL for this embed item. When concatenated with Embed ID, should produce a URL that returns json metadata about the embedded content.",
"maxLength": 512,
"minLength": 1,
"title": "Embed Provider URL",
"type": "string"
}
},
"required": [
"id",
"url"
],
"title": "Embed",
"type": "object"
},
"subtype": {
"$ref": "#/definitions/traits_trait_subtype_json"
},
"type": {
"enum": [
"custom_embed"
],
"type": "string"
}
},
"required": [
"type",
"embed"
],
"title": "Custom Embed",
"type": "object"
},
"story_elements_raw_html_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "An html content element",
"properties": {
"_id": {
"$ref": "#/definitions/traits_trait_id_json"
},
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"alignment": {
"$ref": "#/definitions/traits_trait_alignment_json"
},
"channels": {
"$ref": "#/definitions/traits_trait_channel_json"
},
"content": {
"description": "Any arbitrary chunk of HTML.",
"type": "string"
},
"subtype": {
"$ref": "#/definitions/traits_trait_subtype_json"
},
"type": {
"enum": [
"raw_html"
]
}
},
"required": [
"type",
"content"
],
"type": "object"
},
"traits_trait_additional_properties_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": {},
"description": "A grab-bag object for non-validatable data.",
"title": "Has additional properties",
"type": "object"
},
"traits_trait_address_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"dependencies": {
"extended_address": [
"street_address"
],
"post_office_box": [
"street_address"
]
},
"description": "An Address following the convention of http://microformats.org/wiki/hcard",
"properties": {
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"country_name": {
"type": "string"
},
"extended_address": {
"type": "string"
},
"locality": {
"type": "string"
},
"post_office_box": {
"type": "string"
},
"postal_code": {
"type": "string"
},
"region": {
"type": "string"
},
"street_address": {
"type": "string"
}
},
"title": "Address",
"type": "object"
},
"traits_trait_alignment_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A property used to determine horizontal positioning of a content element relative to the elements that immediately follow it in the element sequence.",
"enum": [
"left",
"right",
"center"
],
"title": "Alignment",
"type": "string"
},
"traits_trait_alt_text_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "The direct ANS equivalent of the HTML 'alt' attribute. A description of the contents of an image for improved accessibility.",
"title": "Alt Text",
"type": "string"
},
"traits_trait_canonical_url_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "The relative URL to this document on the website specified by the `canonical_website` field. In the Arc ecosystem, this will be populated by the content api from the arc-canonical-url service if present based on the canonical_website. In conjunction with canonical_website, it can be used to determine the SEO canonical url or open graph url. In a multi-site context, this field may be different from the website_url field.",
"title": "Canonical URL",
"type": "string"
},
"traits_trait_channel_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "An optional list of output types for which this element should be visible",
"items": {
"type": "string"
},
"title": "Channel trait",
"type": "array"
},
"traits_trait_comments_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": {},
"description": "Comment configuration data",
"properties": {
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"allow_comments": {
"description": "If false, commenting is disabled on this content.",
"type": "boolean"
},
"comments_period": {
"description": "How long (in days) after publish date until comments are closed.",
"type": "integer"
},
"display_comments": {
"description": "If false, do not render comments on this content.",
"type": "boolean"
},
"moderation_required": {
"description": "If true, comments must be moderator-approved before being displayed.",
"type": "boolean"
}
},
"title": "Comments",
"type": "object"
},
"traits_trait_content_aliases_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "An list of alternate names that this content can be fetched by instead of id.",
"items": {
"pattern": "^([a-z])([a-z0-9-])*$",
"type": "string"
},
"title": "Aliases trait",
"type": "array"
},
"traits_trait_content_restrictions_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Trait that applies contains the content restrictions of an ANS object.",
"properties": {
"content_code": {
"description": "The content restriction code/level/flag associated with the ANS object",
"type": "string"
},
"embargo": {
"additionalProperties": false,
"description": "Embargo configuration to enforce publishing restrictions. Embargoed content must not go live.",
"properties": {
"active": {
"description": "The boolean flag to indicate if the embargo is active or not. If this field is false, ignore the embargo.",
"type": "boolean"
},
"description": {
"description": "An optional description for the embargo.",
"type": "string"
},
"end_time": {
"_format": "date-time",
"description": "An optional end time for the embargo to indicate when it ends. When it's not defined, it means the embargo keeps applying. The end time should be ignored if active flag is false.",
"type": "string"
}
},
"required": [
"active"
],
"type": "object"
},
"geo": {
"additionalProperties": false,
"description": "Geo-Restriction configuration that contains the restriction ids that this content should be associated with.",
"properties": {
"restrictions": {
"description": "An array containing the geo-restriction objects. Limited to a size of 1 for now.",
"items": {
"additionalProperties": false,
"description": "An object specifying the _id of the restriction this content should be associated with.",
"properties": {
"restriction_id": {
"description": "The _id of the restriction that is stored in Global Settings.",
"type": "string"
}
},
"required": [
"restriction_id"
],
"type": "object"
},
"maxItems": 1,
"minItems": 1,
"type": "array"
}
},
"required": [
"restrictions"
],
"type": "object"
}
},
"title": "Content Restrictions",
"type": "object"
},
"traits_trait_contributors_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "Trait that holds information on who created and contributed to a given document in Arc.",
"properties": {
"created_by": {
"description": "The Creator of the Document.",
"properties": {
"display_name": {
"description": "The display name of the Arc user who created the Document",
"type": "string"
},
"user_id": {
"description": "The unique ID of the Arc user who created the Document",
"type": "string"
}
},
"type": "object"
}
},
"title": "Contributors",
"type": "object"
},
"traits_trait_copyright_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A copyright notice for the legal owner of this content. E.g., '\u00a9 1996-2018 The Washington Post.' Format may vary between organizations.",
"title": "Copyright information",
"type": "string"
},
"traits_trait_created_date_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"_format": "date-time",
"description": "When the content was originally created (RFC3339-formatted). In the Arc ecosystem, this will be automatically generated for stories in the Story API.",
"title": "Created Date",
"type": "string"
},
"traits_trait_credits_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A list of people and groups attributed to this content, keyed by type of contribution. In the Arc ecosystem, references in this list will be denormalized into author objects from the arc-author-service.",
"patternProperties": {
"^[a-zA-Z0-9_]*": {
"items": {
"anyOf": [
{
"$ref": "#/definitions/utils_author_json"
},
{
"$ref": "#/definitions/utils_reference_json"
}
],
"type": "object"
},
"type": "array"
}
},
"properties": {
"by": {
"description": "The primary author(s) of this document. For a story, is is the writer or reporter. For an image, it is the photographer.",
"items": {
"anyOf": [
{
"$ref": "#/definitions/utils_author_json"
},
{
"$ref": "#/definitions/utils_reference_json"
}
],
"type": "object"
},
"title": "By",
"type": "array"
},
"photos_by": {
"description": "The photographer(s) of supplementary images included in this document, if it is a story. Note that if this document is an image, the photographer(s) should appear in the 'by' slot.",
"items": {
"anyOf": [
{
"$ref": "#/definitions/utils_author_json"
},
{
"$ref": "#/definitions/utils_reference_json"
}
],
"type": "object"
},
"title": "Photos by",
"type": "array"
}
},
"title": "Credit trait",
"type": "object"
},
"traits_trait_description_json": {
"$ref": "#/definitions/utils_dictionary_json",
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "The descriptions, or blurbs, for the content.",
"title": "Description",
"type": "object"
},
"traits_trait_display_date_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"_format": "date-time",
"description": "The RFC3339-formatted dated time of the most recent date the story was (re)displayed on a public site.",
"title": "Display_Date",
"type": "string"
},
"traits_trait_distributor_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Information about a third party that provided this content from outside this document's hosted organization.",
"oneOf": [
{
"additionalProperties": false,
"properties": {
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"category": {
"description": "The machine-readable category of how this content was produced. Use 'staff' if this content was produced by an employee of the organization who owns this document repository. (Multisite note: content produced within a single *organization*, but shared across multiple *websites* should still be considered 'staff.') Use \u2018wires\u2019 if this content was produced for another organization and shared with the one who owns this document repository. Use 'freelance' if this content was produced by an individual on behalf of the organization who owns this document repository. Use 'stock' if this content is stock media distributed directly from a stock media provider. Use 'handout' if this is content provided from a source for an article (usually promotional media distributed directly from a company). Use 'other' for all other cases.",
"enum": [
"staff",
"wires",
"freelance",
"stock",
"handout",
"other"
],
"type": "string"
},
"mode": {
"enum": [
"custom"
],
"type": "string"
},
"name": {
"description": "The human-readable name of the distributor of this content. E.g., Reuters.",
"type": "string"
},
"subcategory": {
"description": "The machine-readable subcategory of how this content was produced. E.g., 'freelance - signed'. May vary between organizations.",
"type": "string"
}
}
},
{
"additionalProperties": false,
"properties": {
"mode": {
"enum": [
"reference"
],
"type": "string"
},
"reference_id": {
"description": "The ARC UUID of the distributor of this content. E.g., ABCDEFGHIJKLMNOPQRSTUVWXYZ.",
"type": "string"
}
},
"required": [
"reference_id",
"mode"
]
}
],
"title": "Distributor",
"type": "object"
},
"traits_trait_editor_note_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Additional information to be displayed near the content from the editor.",
"title": "Editor_Note",
"type": "string"
},
"traits_trait_first_publish_date_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"_format": "date-time",
"description": "When the story was first published.",
"title": "First Publish Date",
"type": "string"
},
"traits_trait_focal_point_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Coordinates representing the 'visual center' of an image. The X axis is horizontal line and the Y axis the vertical line, with 0,0 being the LEFT, TOP of the image.",
"properties": {
"x": {
"description": "The coordinate point on the horizontal axis",
"type": "number"
},
"y": {
"description": "The coordinate point on the vertical axis",
"type": "number"
}
},
"required": [
"x",
"y"
],
"title": "Focal Point",
"type": "object"
},
"traits_trait_geo_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Latitidue and Longitude of the content",
"properties": {
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
}
},
"title": "Geo",
"type": "object"
},
"traits_trait_headlines_json": {
"$ref": "#/definitions/utils_dictionary_json",
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "The headline(s) or title for this content. The 'basic' key is required.",
"title": "Headlines",
"type": "object"
},
"traits_trait_id_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A globally unique identifier of the content in the ANS repository.",
"title": "Globally Unique ID trait",
"type": "string"
},
"traits_trait_image_type_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"category": {
"description": "The machine-readable enumeration of valid image types.",
"enum": [
"photograph",
"graphic",
"illustration",
"thumbnail"
],
"type": "string"
},
"description": "A more specific category for an image.",
"title": "Image Type",
"type": "string"
},
"traits_trait_label_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "What the Washington Post calls a Kicker",
"patternProperties": {
"^[a-zA-Z0-9_]*$": {
"additionalProperties": false,
"description": "Additional user-defined keyed label objects.",
"properties": {
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"display": {
"description": "If false, this label should be hidden.",
"type": "boolean"
},
"text": {
"description": "The text of this label.",
"type": "string"
},
"url": {
"description": "An optional destination url of this label.",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
}
},
"properties": {
"basic": {
"additionalProperties": false,
"description": "The default label object for this piece of content.",
"properties": {
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"display": {
"description": "If false, this label should be hidden.",
"type": "boolean"
},
"text": {
"description": "The text of this label.",
"type": "string"
},
"url": {
"description": "An optional destination url of this label.",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
}
},
"title": "Label",
"type": "object"
},
"traits_trait_last_updated_date_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"_format": "date-time",
"description": "When the content was last updated (RFC3339-formatted).",
"title": "Last Updated Date",
"type": "string"
},
"traits_trait_locale_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "The primary language of the content. The value should follow IETF BCP47. (e.g. 'en', 'es-419', etc.) ",
"title": "Locale",
"type": "string"
},
"traits_trait_location_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A description of the location, useful if a full address or lat/long specification is overkill.",
"title": "Location related trait",
"type": "string"
},
"traits_trait_owner_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Various unrelated fields that should be preserved for backwards-compatibility reasons. See also trait_source.",
"properties": {
"id": {
"description": "The machine-readable unique identifier of the organization whose database this content is stored in. In Arc, this is equivalent to ARC_ORG_NAME.",
"type": "string"
},
"name": {
"description": "Deprecated in 0.10.9. See `distributor.name`. (Formerly: The human-readable name of original producer of content. Distinguishes between Wires, Staff and other sources.)",
"type": "string"
},
"sponsored": {
"description": "True if this content is advertorial or native advertising.",
"type": "boolean"
}
},
"title": "Owner information ",
"type": "object"
},
"traits_trait_pitches_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "Trait that represents a story's pitches. In the Arc ecosystem, this data is generated by WebSked.",
"properties": {
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"platform": {
"description": "A list of the story's pitches to a platform.",
"items": {
"$ref": "#/definitions/traits_trait_platform_pitch_json"
},
"type": "array"
},
"publication": {
"description": "A list of the story's pitches to a publication.",
"items": {
"$ref": "#/definitions/traits_trait_publication_pitch_json"
},
"type": "array"
}
},
"title": "Pitches",
"type": "object"
},
"traits_trait_planning_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "Trait that applies planning information to a document or resource. In the Arc ecosystem, this data is generated by WebSked. Newsroom use only. All these fields should be available and editable in WebSked.",
"properties": {
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"budget_line": {
"description": "Used for the newsroom to identify what the story is about, especially if a user is unfamiliar with the slug of a story and the headline or they do not yet exist. Newsroom use only.",
"title": "Budget Line",
"type": "string"
},
"deadline_miss": {
"description": "The delta between the story's planned publish date and actual first publish time, in minutes.",
"type": "integer"
},
"internal_note": {
"description": "This note is used for shared communication inside the newsroom.",
"title": "Internal Note",
"type": "string"
},
"scheduling": {
"additionalProperties": false,
"description": "Scheduling information.",
"properties": {
"planned_publish_date": {
"_format": "date-time",
"description": "When the content is planned to be published.",
"type": "string"
},
"scheduled_publish_date": {
"_format": "date-time",
"description": "When the content was first published.",
"type": "string"
},
"will_have_gallery": {
"description": "Will this content have galleries?",
"type": "boolean"
},
"will_have_graphic": {
"description": "Will this content have graphics?",
"type": "boolean"
},
"will_have_image": {
"description": "Will this content have images?",
"type": "boolean"
},
"will_have_video": {
"description": "Will this content have videos?",
"type": "boolean"
}
},
"type": "object"
},
"story_length": {
"additionalProperties": false,
"description": "Story length information.",
"properties": {
"character_count_actual": {
"description": "The current number of characters in the story.",
"type": "integer"
},
"character_count_planned": {
"description": "The anticipated number of characters in the story.",
"type": "integer"
},
"character_encoding": {
"description": "The encoding used for counting characters in the story.",
"type": "string"
},
"inch_count_actual": {
"description": "The current length of the story in inches.",
"type": "integer"
},
"inch_count_planned": {
"description": "The anticipated length of the story in inches.",
"type": "integer"
},
"line_count_actual": {
"description": "The current length of the story in lines.",
"type": "integer"
},
"line_count_planned": {
"description": "The anticipated length of the story in lines.",
"type": "integer"
},
"word_count_actual": {
"description": "Current number of words.",
"type": "integer"
},
"word_count_planned": {
"description": "The anticipated number of words in the story.",
"type": "integer"
}
},
"type": "object"
},
"websked_sort_date": {
"_format": "date-time",
"description": "Date to be used for chronological sorting in WebSked.",
"type": "string"
}
},
"title": "Scheduling information",
"type": "object"
},
"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/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"
},
"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/traits_trait_additional_properties_json"
},
"creation_event": {
"$ref": "#/definitions/traits_trait_platform_pitch_event_json"
},
"latest_event": {
"$ref": "#/definitions/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"
},
"traits_trait_promo_items_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Lists of promotional content to use when highlighting the story. In the Arc ecosystem, references in these lists will be denormalized.",
"patternProperties": {
".*": {
"oneOf": [
{
"$ref": "#/definitions/content_json"
},
{
"$ref": "#/definitions/utils_reference_json"
},
{
"$ref": "#/definitions/story_elements_raw_html_json"
},
{
"$ref": "#/definitions/story_elements_custom_embed_json"
}
]
}
},
"properties": {
"basic": {
"oneOf": [
{
"$ref": "#/definitions/content_json"
},
{
"$ref": "#/definitions/utils_reference_json"
},
{
"$ref": "#/definitions/story_elements_raw_html_json"
},
{
"$ref": "#/definitions/story_elements_custom_embed_json"
}
]
}
},
"title": "Promo Items",
"type": "object"
},
"traits_trait_publication_pitch_event_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "Trait that represents an update event for a pitch to a publication. In the Arc ecosystem, this data is generated by WebSked.",
"properties": {
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"edition_id": {
"description": "The ID of the publication edition that this pitch targets.",
"type": "string"
},
"edition_time": {
"_format": "date-time",
"description": "The time of the publication edition that this pitch targets.",
"type": "string"
},
"note": {
"description": "Optional note associated with this update.",
"type": "string"
},
"status": {
"description": "The current status of the pitch.",
"pattern": "^([a-z]|[ ])*$",
"type": "string"
},
"time": {
"_format": "date-time",
"description": "The time of this update.",
"type": "string"
},
"user_id": {
"description": "The ID of the user who made this update.",
"type": "string"
}
},
"title": "Publication pitch event",
"type": "object"
},
"traits_trait_publication_pitch_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "Trait that represents a pitch to a publication. In the Arc ecosystem, this data is generated by WebSked.",
"properties": {
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"creation_event": {
"$ref": "#/definitions/traits_trait_publication_pitch_event_json"
},
"latest_event": {
"$ref": "#/definitions/traits_trait_publication_pitch_event_json"
},
"publication_id": {
"description": "The ID of the publication that this pitch targets.",
"type": "string"
}
},
"title": "Publication pitch",
"type": "object"
},
"traits_trait_publish_date_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"_format": "date-time",
"description": "When the story was published.",
"title": "Publish_Date",
"type": "string"
},
"traits_trait_related_content_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Lists of content items or references this story is related to, arbitrarily keyed. In the Arc ecosystem, references in this object will be denormalized into the fully-inflated content objects they represent.",
"patternProperties": {
".*": {
"items": {
"anyOf": [
{
"$ref": "#/definitions/content_json"
},
{
"$ref": "#/definitions/utils_reference_json"
},
{
"$ref": "#/definitions/story_elements_custom_embed_json"
}
],
"type": "object"
},
"type": "array"
}
},
"properties": {
"redirect": {
"description": "An attached redirect. In Arc, when this content item is fetched by url, content api will instead return this redirect object with appropriate headers. In all other cases, this content should be treated normally.",
"items": {
"$ref": "#/definitions/redirect_json"
},
"maxItems": 1,
"type": "array"
}
},
"title": "Related_Content",
"type": "object"
},
"traits_trait_revision_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "Trait that applies revision information to a document. In the Arc ecosystem, many of these fields are populated in stories by the Story API.",
"properties": {
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"branch": {
"description": "The name of the branch this revision was created on.",
"type": "string"
},
"editions": {
"description": "A list of identifiers of editions that point to this revision.",
"items": {
"type": "string"
},
"type": "array"
},
"parent_id": {
"description": "The unique id of the revision that this revisions was branched from, or preceded it on the current branch.",
"type": "string"
},
"published": {
"description": "Whether or not this revision's parent story is published, in any form or place",
"type": "boolean"
},
"revision_id": {
"description": "The unique id of this revision.",
"type": "string"
},
"user_id": {
"description": "The unique user id of the person who created this revision.",
"type": "string"
}
},
"title": "Revision",
"type": "object"
},
"traits_trait_short_url_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A url-shortened version of the canonical url.",
"title": "Short_Url",
"type": "string"
},
"traits_trait_slug_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A short reference name for internal editorial use",
"title": "Slug",
"type": "string"
},
"traits_trait_social_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Links to various social media",
"items": {
"additionalProperties": {},
"properties": {
"site": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"title": "Social Links",
"type": "array"
},
"traits_trait_source_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "Information about the original source and/or owner of this content",
"properties": {
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"edit_url": {
"description": "A link to edit this content in its source CMS.",
"type": "string"
},
"name": {
"description": "Deprecated in 0.10.9. See `distributor.name`. (Formerly: The human-readable name of the organization who first produced this content. E.g., 'Reuters'.)",
"type": "string"
},
"source_id": {
"description": "The id of this content in a foreign CMS.",
"type": "string"
},
"source_type": {
"description": "Deprecated in 0.10.9. See `distributor.category` and `distributor.subcategory`. (Formerly: The method used to enter this content. E.g. 'staff', 'wires'.)",
"type": "string"
},
"system": {
"description": "The software (CMS or editor) that was used to enter this content. E.g., 'wordpress', 'ellipsis'.",
"type": "string"
}
},
"title": "Source",
"type": "object"
},
"traits_trait_status_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Optional field to story story workflow related status (e.g. published/embargoed/etc)",
"title": "Status",
"type": "string"
},
"traits_trait_subheadlines_json": {
"$ref": "#/definitions/utils_dictionary_json",
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "The sub-headline(s) for the content.",
"title": "Sub-Headlines",
"type": "object"
},
"traits_trait_subtype_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A user-defined categorization method to supplement type. In Arc, this field is reserved for organization-defined purposes, such as selecting the PageBuilder template that should be used to render a document.",
"title": "Subtype or Template",
"type": "string"
},
"traits_trait_syndication_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Key-boolean pair of syndication services where this article may go",
"patternProperties": {
".*": {
"type": "boolean"
}
},
"properties": {
"external_distribution": {
"description": "Necessary for fulfilling contractual agreements with third party clients",
"type": "boolean"
},
"search": {
"description": "Necessary so that we can filter out all articles that editorial has deemed should not be discoverable via search",
"type": "boolean"
}
},
"title": "Syndication",
"type": "object"
},
"traits_trait_taxonomy_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "Holds the collection of tags, categories, keywords, etc that describe content.",
"properties": {
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"associated_tasks": {
"description": "A list of WebSked task IDs that this content was created or curated to satisfy.",
"items": {
"pattern": "^[0-9a-fA-F]{24}$",
"type": "string"
},
"maxItems": 200,
"type": "array"
},
"auxiliaries": {
"description": "A list of auxiliaries. In the Arc ecosystem, this list is populated by Clavis.",
"items": {
"$ref": "#/definitions/utils_auxiliary_json"
},
"type": "array"
},
"keywords": {
"description": "A list of keywords. In the Arc ecosystem, this list is populated by Clavis.",
"items": {
"$ref": "#/definitions/utils_keyword_json"
},
"type": "array"
},
"named_entities": {
"description": "A list of named entities. In the Arc ecosystem, this list is populated by Clavis.",
"items": {
"$ref": "#/definitions/utils_named_entity_json"
},
"type": "array"
},
"primary_section": {
"description": "A primary section object or reference to one. In the Arc ecosystem, a reference here is denormalized into a site from the arc-site-service.",
"oneOf": [
{
"$ref": "#/definitions/utils_section_json"
},
{
"allOf": [
{
"$ref": "#/definitions/utils_reference_json"
},
{
"properties": {
"referent": {
"properties": {
"type": {
"enum": [
"section"
]
}
}
}
}
}
]
}
]
},
"primary_site": {
"description": "Deprecated in 0.10.9. (See `primary_section` instead.) A primary site object or reference to one. In the Arc ecosystem, a reference here is denormalized into a site from the arc-site-service.",
"oneOf": [
{
"$ref": "#/definitions/utils_site_json"
},
{
"allOf": [
{
"$ref": "#/definitions/utils_reference_json"
},
{
"properties": {
"referent": {
"properties": {
"type": {
"enum": [
"site"
]
}
}
}
}
}
]
}
]
},
"sections": {
"description": "A list of site objects or references to them. In the Arc ecosystem, references in this list are denormalized into sites from the arc-site-service. In a multi-site context, sites will be denormalized against an organization's default website only.",
"items": {
"oneOf": [
{
"$ref": "#/definitions/utils_section_json"
},
{
"allOf": [
{
"$ref": "#/definitions/utils_reference_json"
},
{
"properties": {
"referent": {
"properties": {
"type": {
"enum": [
"section"
]
}
}
}
}
}
]
}
]
},
"type": "array"
},
"seo_keywords": {
"description": "A list of user-editable manually entered keywords for search purposes. In the Arc ecosystem, these can be generated and saved in source CMS systems, editors, etc.",
"items": {
"type": "string"
},
"type": "array"
},
"sites": {
"description": "Deprecated in 0.10.9. (See `sections` instead.) A list of site objects or references to them. In the Arc ecosystem, references in this list are denormalized into sites from the arc-site-service. In a multi-site context, sites will be denormalized against an organization's default website only.",
"items": {
"oneOf": [
{
"$ref": "#/definitions/utils_site_json"
},
{
"allOf": [
{
"$ref": "#/definitions/utils_reference_json"
},
{
"properties": {
"referent": {
"properties": {
"type": {
"enum": [
"site"
]
}
}
}
}
}
]
}
]
},
"type": "array"
},
"stock_symbols": {
"description": "A list of stock symbols of companies related to this content. In the Arc ecosystem, these can be generated and saved in source CMS systems, editors, etc.",
"items": {
"type": "string"
},
"type": "array"
},
"tags": {
"items": {
"$ref": "#/definitions/utils_tag_json"
},
"type": "array"
},
"topics": {
"description": "A list of topics. In the Arc ecosystem, this list is populated by Clavis.",
"items": {
"$ref": "#/definitions/utils_topic_json"
},
"type": "array"
}
},
"title": "Taxonomy",
"type": "object"
},
"traits_trait_tracking_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": {},
"description": "Tracking information, probably implementation-dependent",
"title": "Tracking",
"type": "object"
},
"traits_trait_vanity_credits_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Similar to the credits trait, but to be used only when ANS is being directly rendered to readers natively. For legal and technical reasons, the `credits` trait is preferred when converting ANS into feeds or other distribution formats. However, when present, `vanity_credits` allows more sophisticated credits presentation to override the default without losing that original data.",
"patternProperties": {
"^[a-zA-Z0-9_]*": {
"items": {
"anyOf": [
{
"$ref": "#/definitions/utils_author_json"
},
{
"$ref": "#/definitions/utils_reference_json"
}
],
"type": "object"
},
"type": "array"
}
},
"properties": {
"by": {
"description": "The primary author(s) of this document. For a story, is is the writer or reporter. For an image, it is the photographer.",
"items": {
"anyOf": [
{
"$ref": "#/definitions/utils_author_json"
},
{
"$ref": "#/definitions/utils_reference_json"
}
],
"type": "object"
},
"title": "By",
"type": "array"
},
"photos_by": {
"description": "The photographer(s) of supplementary images included in this document, if it is a story. Note that if this document is an image, the photographer(s) should appear in the 'by' slot.",
"items": {
"anyOf": [
{
"$ref": "#/definitions/utils_author_json"
},
{
"$ref": "#/definitions/utils_reference_json"
}
],
"type": "object"
},
"title": "Photos by",
"type": "array"
}
},
"title": "Vanity Credits trait",
"type": "object"
},
"traits_trait_version_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "The version of ANS that this object was serialized as, in major.minor.patch format. For top-level content objects, this is a required trait.",
"enum": [
"0.10.9"
],
"title": "Describes the ANS version of this object",
"type": "string"
},
"traits_trait_website_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "The _id of the website on which this document exists. This field is only available in Content API. If different from canonical_website, then this document was originally sourced from the canonical_website. Generated at fetch time by Content API.",
"title": "Website",
"type": "string"
},
"traits_trait_workflow_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "Trait that applies workflow information to a document or resource. In the Arc ecosystem, this data is generated by WebSked.",
"properties": {
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"note": {
"description": "This note will be used for any task automatically generated via WebSked task triggers.",
"type": "string"
},
"status_code": {
"description": "Code indicating the story's current workflow status. This number should match the values configured in WebSked.",
"minimum": 1,
"type": "integer"
}
},
"title": "Workflow information",
"type": "object"
},
"utils_author_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "Models attribution to an individual or group for contribution towards some content item. In the Arc ecosystem, these are stored in the arc-author-service.",
"properties": {
"_id": {
"$ref": "#/definitions/traits_trait_id_json"
},
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"affiliation": {
"description": "The name of an organization the author is affiliated with. E.g., The Washington Post, or George Mason University.",
"title": "Affiliation",
"type": "string"
},
"awards": {
"description": "A list of awards the author has received.",
"items": {
"additionalProperties": false,
"properties": {
"award_name": {
"description": "The name of the award.",
"title": "Award Name",
"type": "string"
}
},
"type": "object"
},
"title": "Awards",
"type": "array"
},
"bio": {
"description": "A one or two sentence description of the author.",
"title": "Short Biography",
"type": "string"
},
"books": {
"description": "A list of books written by the author.",
"items": {
"additionalProperties": false,
"properties": {
"book_title": {
"description": "The book title.",
"title": "Title",
"type": "string"
},
"book_url": {
"description": "A link to a page to purchase or learn more about the book.",
"title": "URL",
"type": "string"
}
},
"title": "Book",
"type": "object"
},
"title": "Books",
"type": "array"
},
"byline": {
"description": "The public-facing name, or nom-de-plume, name of the author.",
"title": "Byline",
"type": "string"
},
"contributor": {
"description": "If true, this author is an external contributor to the publication.",
"title": "Contributor",
"type": "boolean"
},
"division": {
"description": "The desk or group that this author normally reports to. E.g., 'Politics' or 'Sports.'",
"title": "Division",
"type": "string"
},
"education": {
"description": "A list of schools that this author has graduated from.",
"items": {
"additionalProperties": false,
"properties": {
"school_name": {
"description": "The name of the school.",
"title": "School Name",
"type": "string"
}
},
"title": "School",
"type": "object"
},
"title": "Education",
"type": "array"
},
"email": {
"_format": "email",
"description": "The professional email address of this author.",
"title": "E-mail",
"type": "string"
},
"expertise": {
"description": "A comma-delimited list of subjects the author in which the author has expertise.",
"title": "Expertise",
"type": "string"
},
"first_name": {
"description": "The real first name of a human author.",
"title": "First Name",
"type": "string"
},
"image": {
"$ref": "#"
},
"languages": {
"description": "A description of list of languages that the author is somewhat fluent in, excluding the native language of the parent publication, and identified in the language of the parent publication. E.g., Russian, Japanese, Greek.",
"title": "Languages",
"type": "string"
},
"last_name": {
"description": "The real last name of a human author.",
"title": "Last Name",
"type": "string"
},
"location": {
"description": "The city or locality that the author resides in or is primarily associated with.",
"title": "Location",
"type": "string"
},
"long_bio": {
"description": "The full biography of the author.",
"title": "Long Biography",
"type": "string"
},
"middle_name": {
"description": "The real middle name of a human author.",
"title": "Middle Name",
"type": "string"
},
"name": {
"description": "The full human name of contributor. See also byline, first_name, last_name, middle_name, suffix.",
"title": "Name",
"type": "string"
},
"org": {
"description": "Deprecated. In ANS 0.5.8 and prior versions, this field is populated with the 'location' field from Arc Author Service. New implementations should use the 'location' and 'affiliation' field. Content should be identical to 'location.'",
"title": "Org",
"type": "string"
},
"role": {
"description": "The organizational role or title of this author.",
"title": "Role",
"type": "string"
},
"slug": {
"$ref": "#/definitions/traits_trait_slug_json"
},
"socialLinks": {
"$ref": "#/definitions/traits_trait_social_json",
"description": "Deperecated. Included for backwards-compatibility. Content should be identical to social_links."
},
"social_links": {
"$ref": "#/definitions/traits_trait_social_json"
},
"suffix": {
"description": "The real suffix of a human author.",
"title": "Suffix",
"type": "string"
},
"type": {
"description": "Indicates that this is an author",
"enum": [
"author"
],
"type": "string"
},
"url": {
"description": "A link to an author's landing page on the website, or a personal website.",
"type": "string"
},
"version": {
"$ref": "#/definitions/traits_trait_version_json"
}
},
"required": [
"type",
"name"
],
"title": "An author of a piece of content.",
"type": "object"
},
"utils_auxiliary_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "Models a auxiliary used in targeting a piece of content.",
"properties": {
"_id": {
"description": "The unique identifier for this auxiliary.",
"type": "string"
},
"name": {
"description": "The general name for this auxiliary.",
"type": "string"
},
"uid": {
"description": "A short identifier for this auxiliary. Usually used in cases where a long form id cannot work.",
"type": "string"
}
},
"required": [
"_id",
"uid"
],
"title": "Auxiliary",
"type": "object"
},
"utils_dictionary_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"patternProperties": {
".*": {
"type": "string"
}
},
"properties": {
"basic": {
"type": "string"
}
},
"required": [
"basic"
]
},
"utils_keyword_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "Models a keyword used in describing a piece of content.",
"properties": {
"frequency": {
"description": "An optional count of the frequency of the keyword as it appears in the content it describes",
"type": "integer"
},
"keyword": {
"description": "The keyword used to describe a piece of content",
"type": "string"
},
"score": {
"description": "An arbitrary weighting to give the keyword",
"type": "number"
},
"tag": {
"description": "The Part of Speech tag for this keyword.",
"type": "string"
}
},
"required": [
"keyword",
"score"
],
"title": "Keyword",
"type": "object"
},
"utils_named_entity_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "Models a named entity (i.e. name of a person, place, or organization) used in a piece of content.",
"properties": {
"_id": {
"description": "A unique identifier for the concept of the named entity.",
"type": "string"
},
"name": {
"description": "The actual string of text that was identified as a named entity.",
"type": "string"
},
"score": {
"decription": "An optional relevancy for this named entitiy.",
"type": "number"
},
"type": {
"description": "A description of what the named entity is. E.g. 'organization', 'person', or 'location'.",
"type": "string"
}
},
"required": [
"_id",
"name",
"type"
],
"title": "Named Entity",
"type": "object"
},
"utils_reference_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "This represents a reference to external content that should be denormalized",
"properties": {
"_id": {
"$ref": "#/definitions/traits_trait_id_json"
},
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"alignment": {
"$ref": "#/definitions/traits_trait_alignment_json"
},
"channels": {
"$ref": "#/definitions/traits_trait_channel_json"
},
"referent": {
"additionalProperties": false,
"dependencies": {
"website": {
"properties": {
"type": {
"enum": [
"section"
],
"type": "string"
}
}
}
},
"properties": {
"id": {
"description": "The id passed to the provider to retrieve an ANS document",
"type": "string"
},
"provider": {
"description": "A URL that can resolve the id into an ANS element",
"type": "string"
},
"referent_properties": {
"additionalProperties": {},
"description": "An object for key-value pairs that should override the values of keys with the same name in the denormalized object",
"type": "object"
},
"service": {
"description": "The type of interaction the provider expects. E.g., 'oembed'",
"type": "string"
},
"type": {
"description": "The ANS type that the provider should return.",
"type": "string"
},
"website": {
"description": "The website which the referenced id belongs to. Currently supported only for sections.",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"subtype": {
"$ref": "#/definitions/traits_trait_subtype_json"
},
"type": {
"enum": [
"reference"
],
"type": "string"
}
},
"required": [
"type",
"referent"
],
"title": "Representation of a normalized element",
"type": "object"
},
"utils_section_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "A hierarchical section in a taxonomy. In the Arc ecosystem, these are stored in the arc-site-service.",
"properties": {
"_id": {
"$ref": "#/definitions/traits_trait_id_json"
},
"_website": {
"$ref": "#/definitions/traits_trait_website_json"
},
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"description": {
"description": "A short description or tagline about this site",
"type": "string"
},
"name": {
"description": "The name of this site",
"type": "string"
},
"parent": {
"description": "The id of this section's parent section in various commonly-used hierarchies, where available.",
"properties": {
"default": {
"type": "string"
}
},
"type": "object"
},
"parent_id": {
"description": "The id of this section's parent section in the default hierarchy, if any.",
"type": "string"
},
"path": {
"description": "The url path to this site",
"type": "string"
},
"primary": {
"description": "Is this the primary site?",
"type": "boolean"
},
"type": {
"enum": [
"section"
]
},
"version": {
"$ref": "#/definitions/traits_trait_version_json"
}
},
"required": [
"type",
"version",
"name"
],
"title": "Section",
"type": "object"
},
"utils_site_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "A hierarchical section or 'site' in a taxonomy. In the Arc ecosystem, these are stored in the arc-site-service.",
"properties": {
"_id": {
"$ref": "#/definitions/traits_trait_id_json"
},
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"description": {
"description": "A short description or tagline about this site",
"type": "string"
},
"name": {
"description": "The name of this site",
"type": "string"
},
"parent_id": {
"description": "The id of this section's parent site, if any",
"type": "string"
},
"path": {
"description": "The url path to this site",
"type": "string"
},
"primary": {
"description": "Is this the primary site?",
"type": "boolean"
},
"type": {
"enum": [
"site"
]
},
"version": {
"$ref": "#/definitions/traits_trait_version_json"
}
},
"required": [
"type",
"version",
"name"
],
"title": "Site",
"type": "object"
},
"utils_tag_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "Models a keyword used in describing a piece of content.",
"properties": {
"_id": {
"$ref": "#/definitions/traits_trait_id_json"
},
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"description": {
"description": "A more detailed description of the tag.",
"type": "string"
},
"slug": {
"$ref": "#/definitions/traits_trait_slug_json"
},
"subtype": {
"$ref": "#/definitions/traits_trait_subtype_json"
},
"text": {
"description": "The text of the tag as displayed to users.",
"type": "string"
},
"type": {
"enum": [
"tag"
]
}
},
"required": [
"text"
],
"title": "Tag",
"type": "object"
},
"utils_topic_json": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"description": "Models a topic used in describing a piece of content.",
"properties": {
"_id": {
"description": "The unique identifier for this topic.",
"type": "string"
},
"name": {
"description": "The general name for this topic.",
"type": "string"
},
"score": {
"description": "An arbitrary weighting to give the topic",
"type": "number"
},
"uid": {
"description": "A short identifier for this topic. Usually used in cases where a long form id cannot work.",
"type": "string"
}
},
"required": [
"_id",
"score",
"uid"
],
"title": "Topic",
"type": "object"
}
},
"description": "Holds attributes of an ANS image component. In the Arc ecosystem, these are stored in Anglerfish.",
"properties": {
"_id": {
"$ref": "#/definitions/traits_trait_id_json"
},
"additional_properties": {
"$ref": "#/definitions/traits_trait_additional_properties_json"
},
"address": {
"$ref": "#/definitions/traits_trait_address_json"
},
"alignment": {
"$ref": "#/definitions/traits_trait_alignment_json"
},
"alt_text": {
"$ref": "#/definitions/traits_trait_alt_text_json"
},
"canonical_url": {
"$ref": "#/definitions/traits_trait_canonical_url_json"
},
"caption": {
"description": "Caption for the image.",
"type": "string"
},
"channels": {
"$ref": "#/definitions/traits_trait_channel_json"
},
"comments": {
"$ref": "#/definitions/traits_trait_comments_json"
},
"content_restrictions": {
"$ref": "#/definitions/traits_trait_content_restrictions_json"
},
"contributors": {
"$ref": "#/definitions/traits_trait_contributors_json"
},
"copyright": {
"$ref": "#/definitions/traits_trait_copyright_json"
},
"created_date": {
"$ref": "#/definitions/traits_trait_created_date_json"
},
"credits": {
"$ref": "#/definitions/traits_trait_credits_json"
},
"description": {
"$ref": "#/definitions/traits_trait_description_json"
},
"display_date": {
"$ref": "#/definitions/traits_trait_display_date_json"
},
"distributor": {
"$ref": "#/definitions/traits_trait_distributor_json"
},
"editor_note": {
"$ref": "#/definitions/traits_trait_editor_note_json"
},
"first_publish_date": {
"$ref": "#/definitions/traits_trait_first_publish_date_json"
},
"focal_point": {
"$ref": "#/definitions/traits_trait_focal_point_json"
},
"geo": {
"$ref": "#/definitions/traits_trait_geo_json"
},
"headlines": {
"$ref": "#/definitions/traits_trait_headlines_json"
},
"height": {
"description": "Height for the image.",
"type": "integer"
},
"image_type": {
"$ref": "#/definitions/traits_trait_image_type_json"
},
"label": {
"$ref": "#/definitions/traits_trait_label_json"
},
"language": {
"$ref": "#/definitions/traits_trait_locale_json"
},
"last_updated_date": {
"$ref": "#/definitions/traits_trait_last_updated_date_json"
},
"licensable": {
"description": "True if the image can legally be licensed to others.",
"type": "boolean"
},
"location": {
"$ref": "#/definitions/traits_trait_location_json"
},
"owner": {
"$ref": "#/definitions/traits_trait_owner_json"
},
"pitches": {
"$ref": "#/definitions/traits_trait_pitches_json"
},
"planning": {
"$ref": "#/definitions/traits_trait_planning_json"
},
"promo_items": {
"$ref": "#/definitions/traits_trait_promo_items_json"
},
"publish_date": {
"$ref": "#/definitions/traits_trait_publish_date_json"
},
"related_content": {
"$ref": "#/definitions/traits_trait_related_content_json"
},
"revision": {
"$ref": "#/definitions/traits_trait_revision_json"
},
"short_url": {
"$ref": "#/definitions/traits_trait_short_url_json"
},
"slug": {
"$ref": "#/definitions/traits_trait_slug_json"
},
"source": {
"$ref": "#/definitions/traits_trait_source_json"
},
"status": {
"$ref": "#/definitions/traits_trait_status_json"
},
"subheadlines": {
"$ref": "#/definitions/traits_trait_subheadlines_json"
},
"subtitle": {
"description": "Subtitle for the image.",
"type": "string"
},
"subtype": {
"$ref": "#/definitions/traits_trait_subtype_json"
},
"syndication": {
"$ref": "#/definitions/traits_trait_syndication_json"
},
"taxonomy": {
"$ref": "#/definitions/traits_trait_taxonomy_json"
},
"tracking": {
"$ref": "#/definitions/traits_trait_tracking_json"
},
"type": {
"enum": [
"image"
],
"type": "string"
},
"url": {
"description": "URL for the image.",
"type": "string"
},
"vanity_credits": {
"$ref": "#/definitions/traits_trait_vanity_credits_json"
},
"version": {
"$ref": "#/definitions/traits_trait_version_json"
},
"width": {
"description": "Width for the image.",
"type": "integer"
},
"workflow": {
"$ref": "#/definitions/traits_trait_workflow_json"
}
},
"required": [
"type",
"version"
],
"title": "An image.",
"type": "object"
} | wp_8_Normalized |
{
"properties": {
"category": {
"description": "The category of news",
"type": "string"
},
"date_range": {
"properties": {
"end_date": {
"description": "The end date of news articles",
"type": "string"
},
"start_date": {
"description": "The start date of news articles",
"type": "string"
}
},
"type": "object"
},
"keywords": {
"description": "The keywords for news search",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"keywords"
],
"type": "object"
} | search_news_d614cb52 |
{
"title": "Raster Data Layer",
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema",
"description": "A layer for displaying raster data. This layer only applies to offline data.",
"properties": {
"copyright": {
"type": "string",
"description": "Attribution to the Raster Data Layer provider. It is displayed in the attribution on the scene. Input required by the user when the layer is added to the scene."
},
"id": {
"type": "string",
"description": "A unique identifying string for the layer."
},
"layerType": {
"type": "string",
"description": "String indicating the layer type.",
"enum": [
"RasterDataLayer"
]
},
"listMode": {
"type": "string",
"description": "To show or hide the sublayer in the layer list.",
"enum": [
"hide",
"show"
]
},
"maxScale": {
"type": "number",
"description": "A number representing the maximum scale at which the layer will be visible. The number is the scale's denominator.",
"minimum": 0
},
"minScale": {
"type": "number",
"description": "A number representing the minimum scale at which the layer will be visible. The number is the scale's denominator.",
"minimum": 0
},
"opacity": {
"type": "number",
"description": "The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.",
"minimum": 0,
"maximum": 1,
"default": 1
},
"path": {
"type": "string",
"description": "For offline data, a path to a raster data file. A URI format is used, starting with `file:` followed by a file system path. A relative path must be from the file which defines the layer. For example `file:../commondata/raster_data/beijing.tif`.",
"pattern": "^file:.+$"
},
"title": {
"type": "string",
"description": "A user-friendly string title for the layer that can be used in a table of contents."
},
"visibility": {
"type": "boolean",
"description": "Boolean property determining whether the layer is initially visible in the scene.",
"default": true
}
},
"required": [
"id",
"layerType",
"path",
"title"
],
"additionalProperties": false,
"esriDocumentation": {
"examples": [
{
"title": "Raster Data Layer",
"code": {
"operationalLayers": [
{
"id": "0ed3520523734394b67a760e9f90c5dc",
"layerType": "RasterDataLayer",
"title": "Beijing",
"opacity": 1.0,
"visibility": true,
"path": "file:../commondata/raster_data/beijing.tif"
}
]
}
}
]
}
} | o90290 |
{
"properties": {
"customer_name": {
"description": "The name of the customer",
"type": "string"
},
"order_items": {
"items": {
"properties": {
"item_name": {
"description": "The name of the item",
"type": "string"
},
"price": {
"description": "The price of the item",
"type": "number"
},
"quantity": {
"description": "The quantity of the item",
"type": "integer"
}
},
"required": [
"item_name",
"quantity",
"price"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"customer_name",
"order_items"
],
"type": "object"
} | generate_invoice_eeab2951 |
{
"additionalProperties": false,
"description": "Webhook event for creating a new deal.",
"properties": {
"appId": {
"description": "The ID of your application. (In case you have multiple applications pointing to the same webhook URL.)",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
},
"attemptNumber": {
"description": "Which attempt this is to notify your service of this event (starting at 0). If your service times-out or throws an error as described in 'Retries' below, we will attempt to send the notification to your service again.",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
},
"changeFlag": {
"maxLength": 128,
"type": "string"
},
"changeSource": {
"description": "The source of this change. Can be any of the change sources that you find on contact property histories.",
"maxLength": 128,
"type": "string"
},
"eventId": {
"description": "The unique ID of the event that triggered this notification.",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
},
"objectId": {
"description": "The ID of the object that was created/changed/deleted. For contacts this is the vid; for companies, the companyId; and for deals the dealId.",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
},
"occurredAt": {
"_format": "date-time",
"description": "When this event occurred.",
"type": "string"
},
"portalId": {
"description": "The customer's portalId that this event came from.",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
},
"subscriptionId": {
"description": "The ID of the subscription that caused us to send you a notification of this event.",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
}
},
"self": {
"format": "jsonschema",
"name": "deal_creation",
"vendor": "com.hubspot",
"version": "1-0-0"
},
"type": "object"
} | sp_105_Normalized |
{
"additionalProperties": false,
"properties": {
"forgotten": {
"minimum": 0,
"type": "integer"
}
},
"title": "ForgetResponse",
"type": "object"
} | o10021 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"required": [
"config",
"inputs"
],
"type": "object",
"properties": {
"inputs": {
"required": [
"api_key"
],
"type": "object",
"properties": {
"t1w_anatomy": {
"type": "object",
"properties": {
"type": {
"enum": [
"nifti"
]
}
}
},
"api_key": {
"type": "object"
},
"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",
"FREESURFER_LICENSE_PROVIDED",
"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"
},
"FREESURFER_LICENSE_PROVIDED": {
"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"
},
"FREESURFER_LICENSE": {
"type": "string"
},
"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"
} | o41252 |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"IBranch": {
"additionalProperties": false,
"properties": {
"children": {
"items": {
"anyOf": [
{
"$ref": "#/definitions/IStructureNode"
},
{
"$ref": "#/definitions/IBranch"
}
]
},
"title": "children",
"type": "array"
},
"navigation": {
"description": "Values can be any string. Special treatment for:\n- \"none\" : excluded from all navigations except \"allplain\"\n- \"top\" : default top navigation",
"title": "navigation",
"type": "string"
},
"title": {
"title": "title",
"type": "string"
}
},
"required": [
"children",
"title"
],
"title": "IBranch",
"type": "object"
},
"IEnvironmentConfig": {
"additionalProperties": true,
"properties": {
"baseUrl": {
"title": "baseUrl",
"type": "string"
},
"isRelease": {
"title": "isRelease",
"type": "boolean"
}
},
"title": "IEnvironmentConfig",
"type": "object"
},
"ISearchIndexConfig": {
"additionalProperties": false,
"properties": {
"bodySelector": {
"title": "bodySelector",
"type": "string"
},
"destination": {
"title": "destination",
"type": "string"
},
"glob": {
"title": "glob",
"type": "string"
}
},
"title": "ISearchIndexConfig",
"type": "object"
},
"IStructureNode": {
"additionalProperties": false,
"properties": {
"children": {
"items": {
"anyOf": [
{
"$ref": "#/definitions/IStructureNode"
},
{
"$ref": "#/definitions/IBranch"
}
]
},
"title": "children",
"type": "array"
},
"isExternal": {
"title": "isExternal",
"type": "boolean"
},
"navigation": {
"description": "Values can be any string. Special treatment for:\n- \"none\" : excluded from all navigations except \"allplain\"\n- \"top\" : default top navigation",
"title": "navigation",
"type": "string"
},
"reference": {
"title": "reference",
"type": "string"
},
"title": {
"title": "title",
"type": "string"
}
},
"required": [
"reference",
"title"
],
"title": "IStructureNode",
"type": "object"
}
},
"properties": {
"ampPath": {
"title": "ampPath",
"type": "string"
},
"destinationPath": {
"title": "destinationPath",
"type": "string"
},
"environment": {
"title": "environment",
"type": "string"
},
"environments": {
"additionalProperties": {
"$ref": "#/definitions/IEnvironmentConfig"
},
"title": "environments",
"type": "object"
},
"navigationPath": {
"title": "navigationPath",
"type": "string"
},
"pugLintPath": {
"title": "pugLintPath",
"type": "string"
},
"pugPath": {
"title": "pugPath",
"type": "string"
},
"searchIndex": {
"anyOf": [
{
"$ref": "#/definitions/ISearchIndexConfig"
},
{
"type": "boolean"
}
],
"title": "searchIndex"
},
"siteTitle": {
"title": "siteTitle",
"type": "string"
},
"structure": {
"items": {
"anyOf": [
{
"$ref": "#/definitions/IStructureNode"
},
{
"$ref": "#/definitions/IBranch"
}
]
},
"title": "structure",
"type": "array"
}
},
"required": [
"destinationPath",
"environment",
"environments",
"pugLintPath",
"pugPath",
"structure"
],
"type": "object"
} | o15291 |
{
"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"
},
"shape": {
"description": "The shape to calculate the area",
"enum": [
"circle",
"rectangle",
"triangle"
],
"type": "string"
},
"width": {
"description": "The width of the rectangle",
"type": "number"
}
},
"required": [
"shape"
],
"type": "object"
} | calculate_area_a8bec8b0 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "avalon-core:application-1.0",
"description": "An application definition.",
"type": "object",
"additionalProperties": true,
"required": [
"schema",
"label",
"application_dir",
"executable"
],
"properties": {
"schema": {
"description": "Schema identifier for payload",
"type": "string"
},
"label": {
"description": "Nice name of application.",
"type": "string"
},
"application_dir": {
"description": "Name of directory used for application resources.",
"type": "string"
},
"executable": {
"description": "Name of callable executable, this is called to launch the application",
"type": "string"
},
"description": {
"description": "Description of application.",
"type": "string"
},
"environment": {
"description": "Key/value pairs for environment variables related to this application. Supports lists for paths, such as PYTHONPATH.",
"type": "object",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
},
"default_dirs": {
"type": "array",
"items": {
"type": "string"
}
},
"copy": {
"type": "object",
"patternProperties": {
"^.*$": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
}
} | o60861 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A representation of entity registration changing over time",
"type": "object",
"properties": {
"data_type": {
"enum": [
"subsequent-registration"
]
},
"previous_entity": {
"description": "the previous entity",
"$ref": "#/definitions/entity"
},
"subsequent_entity": {
"description": "the subsequent entity",
"$ref": "#/definitions/entity"
},
"subsequent_registration_start_date": {
"description": "date when subsequent registration started",
"type": "string",
"_format": "date"
},
"previous_registration_end_date": {
"description": "date when previous registration ended",
"type": "string",
"_format": "date"
},
"publication_date": {
"description": "the publication date of the filing/notice that gives details of the alternate registration",
"type": "string",
"_format": "date"
},
"start_date": {
"description": "date when subsequent registration was valid from",
"type": "string",
"_format": "date"
},
"start_date_type": {
"enum": [
"at",
"before",
"after"
]
},
"sample_date": {
"description": "date when subsequent registration was sampled",
"type": "string",
"_format": "date"
},
"retrieved_at": {
"description": "date when subsequent registration was retrieved",
"type": "string",
"_format": "date"
},
"source_url": {
"description": "URL of the source of the data (e.g. download URL), or if there is not persistent URL the page from which it can be found (e.g. search page)",
"type": "string"
},
"confidence": {
"description": "Confidence in accuracy of data",
"enum": [
"HIGH",
"MEDIUM",
"LOW"
]
}
},
"additionalProperties": false,
"required": [
"data_type",
"previous_entity",
"subsequent_entity",
"retrieved_at",
"confidence"
],
"anyOf": [
{
"required": [
"start_date"
]
},
{
"required": [
"sample_date"
]
}
],
"definitions": {
"entity": {
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"entity_type",
"entity_properties"
],
"oneOf": [
{
"properties": {
"entity_type": {
"enum": [
"company"
]
},
"entity_properties": {
"$ref": "#/definitions/company-for-nesting"
}
}
},
{
"properties": {
"entity_type": {
"enum": [
"person"
]
},
"entity_properties": {
"$ref": "#/definitions/person"
}
}
},
{
"properties": {
"entity_type": {
"enum": [
"organisation"
]
},
"entity_properties": {
"$ref": "#/definitions/organisation"
}
}
},
{
"properties": {
"entity_type": {
"enum": [
"unknown"
]
},
"entity_properties": {
"$ref": "#/definitions/unknown-entity-type"
}
}
}
]
},
"company-for-nesting": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A company in OpenCorporates",
"type": "object",
"properties": {
"company_number": {
"type": "string",
"description": "unique identifier given by the corporate register with which it is incorporated",
"minLength": 1
},
"name": {
"type": "string",
"description": "Legal name of the company",
"minLength": 1
},
"jurisdiction": {
"type": "string",
"description": "A free text field for the jurisdiction where the company is registered \u2013 this can be either the ISO 3166-2 code, the underscored version, or the standard name for the jurisdiction, e.g. France"
},
"jurisdiction_code": {
"type": "string",
"description": "Code representing the jurisdiction/company register which is the canonical record of the company\u2019s existence. Uses underscored ISO 3166-2 to represent it, e.g. es for Spain, us_de for Delaware",
"minLength": 2,
"maxLength": 5
},
"incorporation_date": {
"type": "string",
"_format": "date"
},
"dissolution_date": {
"type": "string",
"_format": "date"
},
"retrieved_at": {
"type": "string",
"_format": "date"
},
"current_status": {
"type": [
"string",
"null"
]
},
"company_type": {
"type": [
"string",
"null"
]
},
"registry_url": {
"type": "string"
},
"website": {
"oneOf": [
{
"type": "string",
"minLength": 5
},
{
"type": [
"array",
"null"
],
"items": {
"type": "string",
"minLength": 5
}
}
]
},
"telephone_number": {
"type": "string",
"minLength": 4
},
"fax_number": {
"type": "string",
"minLength": 4
},
"registered_address": {
"$ref": "#/definitions/address"
},
"headquarters_address": {
"$ref": "#/definitions/address"
},
"mailing_address": {
"$ref": "#/definitions/address"
},
"addresses": {
"type": "array",
"items": {
"$ref": "#/definitions/address-with-type"
}
},
"officers": {
"type": "array",
"items": {
"$ref": "#/definitions/officer"
}
},
"share_parcels": {
"type": "array",
"items": {
"$ref": "#/definitions/share-parcel"
}
},
"total_shares": {
"$ref": "#/definitions/total-shares"
},
"filings": {
"type": "array",
"items": {
"$ref": "#/definitions/filing"
}
},
"identifiers": {
"type": "array",
"items": {
"$ref": "#/definitions/identifier"
}
},
"industry_codes": {
"type": "array",
"items": {
"$ref": "#/definitions/industry-code"
}
},
"previous_names": {
"type": "array",
"items": {
"$ref": "#/definitions/previous-name"
}
},
"alternative_names": {
"type": "array",
"items": {
"$ref": "#/definitions/alternative-name"
}
},
"branch": {
"type": [
"string",
"null"
],
"description": "A flag to denote whether a company is a branch entity. This should only be set if the company is a type of branch (otherwise should be null). In general the only option here is 'F' for a 'Foreign' branch, i.e. an out-of-jurisdiction entity that has registered as having a presence in the jurisdiction. In the US this is sometimes called a Foreign Corporation",
"enum": [
"F",
"L",
null
]
},
"all_attributes": {
"type": "object",
"description": "Other arbitrary attributes for a given company",
"properties": {
"jurisdiction_of_origin": {
"type": [
"string",
"null"
],
"description": "The jurisdiction of the 'home' company if this is a branch",
"minLength": 1
},
"home_company_number": {
"type": [
"string",
"null"
],
"description": "If the entity is a 'branch', this is the company_number of the 'home' company in the home company's jurisdiction",
"minLength": 1
},
"home_legal_name": {
"type": [
"string",
"null"
],
"description": "The legal name of the 'home' company in its jurisdiction if this is a branch, and the name is different from the legal name of the branch",
"minLength": 1
},
"registered_agent_address": {
"type": [
"string",
"null"
],
"description": "The address of the 'Agent', a public address to which legal papers can be served",
"minLength": 1
},
"registered_agent_name": {
"type": [
"string",
"null"
],
"description": "The 'Agent' of the company \u2013 a person or entity that is empowered to accept service for the company",
"minLength": 1
},
"number_of_employees": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "number",
"minimum": 0
}
],
"description": "The number of employees"
},
"merged_into": {
"type": "object",
"description": "Information on the merger of this company into a 'survivor' company",
"properties": {
"surviving_company": {
"type": [
"object"
],
"description": "the surviving_company that this has been merged into",
"properties": {
"name": {
"type": "string",
"description": "The legal name of the surviving company",
"minLength": 1
},
"company_number": {
"type": "string",
"description": "The company_number of the surviving company, if known",
"minLength": 1
},
"jurisdiction": {
"type": "string",
"description": "The jurisdiction of incorporation of the surviving company",
"minLength": 2
}
},
"anyOf": [
{
"required": [
"name"
]
},
{
"required": [
"company_number"
]
}
]
},
"effective_date": {
"description": "The date of the merger",
"type": "string",
"_format": "date"
}
},
"additionalProperties": false,
"required": [
"surviving_company"
]
}
}
}
},
"additionalProperties": false,
"anyOf": [
{
"required": [
"name"
]
},
{
"required": [
"company_number"
]
}
]
},
"address": {
"$schema": "http://json-schema.org/draft-04/schema#",
"oneOf": [
{
"type": [
"string",
"null"
],
"minLength": 2
},
{
"name": "Address",
"description": "An address object",
"type": "object",
"properties": {
"street_address": {
"type": "string"
},
"locality": {
"type": "string"
},
"region": {
"type": "string"
},
"postal_code": {
"type": "string"
},
"country": {
"type": "string"
},
"country_code": {
"description": "ISO 3166-2 code for country",
"type": "string"
}
},
"anyOf": [
{
"required": [
"street_address"
]
},
{
"required": [
"postal_code"
]
},
{
"required": [
"locality",
"country"
]
}
]
}
]
},
"address-with-type": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "An address with a type",
"type": "object",
"properties": {
"address": {
"$ref": "#/definitions/address"
},
"type": {
"enum": [
"registered",
"headquarters",
"mailing",
"trading",
"unknown"
]
}
},
"additionalProperties": false,
"required": [
"address",
"type"
]
},
"officer": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "An officer (director, senior executive) of a company",
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"not": {
"pattern": "^[\\.\\,\\*\\\\\\-\\s\\{\\}\\(\\)]+$"
}
},
"start_date": {
"anyOf": [
{
"type": "string",
"_format": "date"
},
{
"type": "null"
}
]
},
"end_date": {
"anyOf": [
{
"type": "string",
"_format": "date"
},
{
"type": "null"
}
]
},
"position": {
"type": "string"
},
"uid": {
"type": "string",
"description": "a unique identifier given to the officership"
},
"other_attributes": {
"type": "object",
"properties": {
"date_of_birth": {
"type": "string",
"_format": "date"
},
"nationality": {
"type": "string"
},
"person_uid": {
"type": "string",
"description": "a unique identifier given to the individual (as opposed to the officership)"
},
"address": {
"$ref": "#/definitions/address"
},
"type": {
"type": "string",
"enum": [
"Person",
"Company"
],
"description": "The type of entity that is the officer (either 'Person' or 'Company')"
}
}
}
},
"required": [
"name"
]
},
"share-parcel": {
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"description": "A parcel of shares in a company",
"properties": {
"number_of_shares": {
"description": "Number of shares, if known",
"type": "integer"
},
"percentage_of_shares": {
"description": "Percentage of shares, if known",
"type": "number",
"maximum": 100,
"minimum": 0
},
"percentage_of_shares_min": {
"description": "Minimum percentage of shares (if for example a band of percentage is given)",
"type": [
"number",
"null"
],
"maximum": 100,
"minimum": 0
},
"percentage_of_shares_max": {
"description": "Maximum percentage of shares (if for example a band of percentage is given)",
"type": [
"number",
"null"
],
"maximum": 100,
"minimum": 0
},
"voting_percentage": {
"description": "Percentage of votes, if known",
"type": "number",
"maximum": 100,
"minimum": 0
},
"voting_percentage_min": {
"description": "Minimum percentage of votes (if for example a band of votes is given)",
"type": [
"number",
"null"
],
"maximum": 100,
"minimum": 0
},
"voting_percentage_max": {
"description": "Maximum percentage of votes (if for example a band of votes is given)",
"type": [
"number",
"null"
],
"maximum": 100,
"minimum": 0
},
"share_class": {
"description": "Share class or classes, if known",
"type": "string"
},
"start_date": {
"type": "string",
"_format": "date"
},
"end_date": {
"type": "string",
"_format": "date"
},
"sample_date": {
"type": "string",
"_format": "date"
},
"shareholders": {
"description": "Legal persons who own this share parcel",
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"name": "shareholder",
"required": [
"name"
],
"properties": {
"name": {
"description": "Name of natural person or company",
"type": "string",
"minLength": 1
},
"jurisdiction": {
"description": "Jurisdiction of registration, if company",
"type": "string"
},
"company_number": {
"description": "Company number, if company and known",
"type": "string"
},
"identifier": {
"description": "Unique identifier of person",
"type": "string"
},
"type": {
"description": "Type of person if known (company or natural person)",
"enum": [
"Company",
"Person"
]
},
"address": {
"description": "Address given for shareholder",
"$ref": "#/definitions/address"
},
"address_country": {
"description": "Country part of owner's address (for example if address not given)",
"type": "string"
}
}
}
}
}
},
"total-shares": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "The total number of shares a company has issued",
"type": "object",
"properties": {
"number": {
"type": "integer"
},
"share_class": {
"type": "string",
"minLength": 1
}
},
"required": [
"number"
]
},
"filing": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A statutory filing",
"type": "object",
"properties": {
"title": {
"type": "string"
},
"date": {
"type": "string",
"_format": "date"
},
"description": {
"type": "string"
},
"uid": {
"type": "string"
},
"url": {
"type": "string"
},
"filing_type_code": {
"type": "string"
},
"filing_type_name": {
"type": "string"
},
"other_attributes": {
"type": "object"
}
},
"required": [
"date"
],
"anyOf": [
{
"required": [
"title"
]
},
{
"required": [
"description"
]
},
{
"required": [
"filing_type_name"
]
}
]
},
"identifier": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "An identifier for an entity (possibly other things, e.g. securities in the future). Examples are tax IDs, non-profit IDs, SEC CIK numbers, Federal Reserve RSSD id. The main requirements for an identifier is that they should be well-defined, and issued by a government or have statutory standing",
"type": "object",
"properties": {
"uid": {
"type": "string",
"description": "The unique identifier given by the identifier system \u2013 it should be unique in the context of the identifier_system",
"minLength": 1
},
"identifier_system_code": {
"type": "string",
"description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)"
}
},
"required": [
"uid",
"identifier_system_code"
]
},
"industry-code": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "An industry code from a standard code list (e.g. NAICS 2007 or NACE 2). This schema is a sub-schema of Classification.",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"code": {
"type": "string"
},
"code_scheme_id": {
"type": "string",
"description": "An identifier representing industry code scheme. At the moment these are eu_nace_2, uk_sic_2003, uk_sic_2007, us_naics_2002, us_naics_2007, be_nace_2008, dk_db_2007, nz_bic_2006, no_sic_2007, anz_sic_2006, nz_bic_2006, in_nic_2004_mca, ca_qc_cae, lu_nace_2. For other code schemes, or details of these, contact [email protected]"
},
"start_date": {
"type": "string",
"_format": "date"
},
"end_date": {
"type": "string",
"_format": "date"
}
},
"required": [
"code",
"code_scheme_id"
]
},
"previous-name": {
"$schema": "http://json-schema.org/draft-04/schema#",
"name": "PreviousName",
"description": "A previous name of a company",
"type": "object",
"properties": {
"company_name": {
"type": "string",
"minLength": 1
},
"con_date": {
"type": "string",
"_format": "date",
"description": "The end (conversion) date of the name"
},
"start_date": {
"type": "string",
"_format": "date"
}
},
"required": [
"company_name"
]
},
"alternative-name": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "An alternative name of a company, e.g. abbreviation, trading (including dba or doing business as), legal. As well as trading names etc, it can be used for storing alternative language representations of the legal name, in which case the language should be represented as two-letter ISO-639 code",
"type": "object",
"properties": {
"company_name": {
"type": "string",
"minLength": 1
},
"start_date": {
"type": "string",
"_format": "date"
},
"end_date": {
"type": "string",
"_format": "date"
},
"language": {
"type": "string",
"minLength": 2,
"maxLength": 2
},
"type": {
"type": "string",
"enum": [
"trading",
"abbreviation",
"legal",
"unknown",
"alias"
]
}
},
"required": [
"company_name",
"type"
]
},
"person": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A person, for example, referenced in some other context, e.g. director of a company, shareholder, licence-holder, lobbyist. This should be used only if the person is the subject of the datum",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/person-name"
},
"jurisdiction": {
"type": "string",
"description": "Name of the jurisdiction in which the entity is based"
},
"company": {
"description": "Company the person is representing. NB If the licence holder is a company, and the individual is a just a contact, then use the company-schema for the entity. This is where the individual themselves are the subject entity (e.g. licence holder, disqualified director)",
"$ref": "#/definitions/company-for-nesting"
},
"relationship_with_company": {
"enum": [
"employee",
"director",
"shareholder",
null
]
},
"website": {
"oneOf": [
{
"type": "string",
"minLength": 5
},
{
"type": [
"array",
"null"
],
"items": {
"type": "string",
"minLength": 5
}
}
]
},
"uid": {
"description": "Unique id of the person. Note: the unique id is not expected to be globally unique, but only unique with reference to the source from which it is derived. No check is made for uniqueness",
"type": "string",
"minLength": 1
},
"telephone_number": {
"type": "string",
"minLength": 4
},
"fax_number": {
"type": "string",
"minLength": 4
},
"registered_address": {
"description": "address for service (or address given in the context of legal requirement)",
"$ref": "#/definitions/address"
},
"headquarters_address": {
"$ref": "#/definitions/address"
},
"mailing_address": {
"$ref": "#/definitions/address"
},
"addresses": {
"type": "array",
"items": {
"$ref": "#/definitions/address-with-type"
}
},
"industry_codes": {
"type": "array",
"items": {
"$ref": "#/definitions/industry-code"
}
},
"alternative_names": {
"type": "array",
"items": {
"$ref": "#/definitions/alternative-name"
}
},
"date_of_birth": {
"anyOf": [
{
"type": "string",
"_format": "date"
},
{
"$ref": "#/definitions/date"
}
]
},
"nationality": {
"description": "The person's nationality",
"type": "string",
"_format": "non-blank"
},
"country_of_residence": {
"description": "The normal country of residence for the person",
"type": "string",
"_format": "non-blank"
},
"identifiers": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/identifier"
}
},
"other_attributes": {
"description": "Use for other attributes for which we don't yet have curated schema attributes",
"type": "object"
}
},
"required": [
"name"
]
},
"person-name": {
"$schema": "http://json-schema.org/draft-04/schema#",
"oneOf": [
{
"type": [
"string",
"null"
],
"_format": "non-blank"
},
{
"description": "The name of a person as an object",
"type": "object",
"properties": {
"given_name": {
"type": [
"string",
"null"
],
"_format": "non-blank",
"description": "The given name(s) (often first name) of a person, as opposed to their family name. Following FOAF practice, this is preferred to first_name"
},
"family_name": {
"type": [
"string",
"null"
],
"_format": "non-blank",
"description": "The family name (often last name) of a person, as opposed to their family name. Following FOAF practice, this is preferred to last_name"
},
"first_name": {
"type": [
"string",
"null"
],
"_format": "non-blank"
},
"middle_name": {
"type": [
"string",
"null"
],
"_format": "non-blank"
},
"last_name": {
"type": [
"string",
"null"
],
"_format": "non-blank"
},
"title": {
"type": [
"string",
"null"
],
"_format": "non-blank",
"description": "Title such as Mr, Ms, Dr etc"
},
"suffixes": {
"type": [
"string",
"null"
],
"_format": "non-blank",
"description": "Any suffixes, including degrees, honours (OBE), ordinals (John Smith Jr, Bill Jones II) etc"
}
}
}
]
},
"date": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A parsed date object. This allows us to represent not just normal dates, but also partial dates too",
"type": "object",
"properties": {
"year": {
"type": "number",
"description": "year part as YYYY"
},
"month": {
"type": "number",
"description": "month part of date in numbers e.g. 11 for November, 4 for April"
},
"day": {
"type": [
"number",
"null"
],
"description": "day part of date in numbers"
}
},
"additionalProperties": false,
"anyOf": [
{
"required": [
"year",
"month"
]
},
{
"required": [
"month",
"day"
]
}
]
},
"organisation": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "An entity which is a distinct organisation, but is not a company nor an individual. Examples include governments and governmental entities (e.g. Multilateral Development Banks, Government Departments, municipalities, etc), and also membership organisations",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "Name of the entity",
"minLength": 1
},
"jurisdiction": {
"type": "string",
"description": "Name of the jurisdiction in which the entity is incorporated/domiciled (use global for global entities, e.g. UN)"
},
"legal_form": {
"type": "string",
"description": "legal form of organisation, e.g. municipality, government department, trust, etc"
},
"website": {
"oneOf": [
{
"type": "string",
"minLength": 5
},
{
"type": [
"array",
"null"
],
"items": {
"type": "string",
"minLength": 5
}
}
]
},
"telephone_number": {
"type": "string",
"minLength": 4
},
"fax_number": {
"type": "string",
"minLength": 4
},
"identifiers": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/identifier"
}
},
"registered_address": {
"$ref": "#/definitions/address"
},
"headquarters_address": {
"$ref": "#/definitions/address"
},
"mailing_address": {
"$ref": "#/definitions/address"
},
"addresses": {
"type": "array",
"items": {
"$ref": "#/definitions/address-with-type"
}
},
"industry_codes": {
"type": "array",
"items": {
"$ref": "#/definitions/industry-code"
}
},
"previous_names": {
"type": "array",
"items": {
"$ref": "#/definitions/previous-name"
}
},
"alternative_names": {
"type": "array",
"items": {
"$ref": "#/definitions/alternative-name"
}
},
"other_attributes": {
"description": "Use for other attributes for which we don't yet have curated schema attributes",
"type": "object"
}
},
"required": [
"name"
]
},
"unknown-entity-type": {
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "An entity of unknown type - potentially a company, a person, government entity, or some unincorporated organisation",
"additionalProperties": false,
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the entity",
"minLength": 1
},
"jurisdiction": {
"type": "string",
"description": "Name of the jurisdiction in which the entity is incorporated/domiciled"
},
"uid": {
"description": "Unique id for the entity if it has one",
"type": "string"
},
"website": {
"oneOf": [
{
"type": "string",
"minLength": 5
},
{
"type": [
"array",
"null"
],
"items": {
"type": "string",
"minLength": 5
}
}
]
},
"telephone_number": {
"type": "string",
"minLength": 4
},
"fax_number": {
"type": "string",
"minLength": 4
},
"registered_address": {
"$ref": "#/definitions/address"
},
"headquarters_address": {
"$ref": "#/definitions/address"
},
"mailing_address": {
"$ref": "#/definitions/address"
},
"addresses": {
"type": "array",
"items": {
"$ref": "#/definitions/address-with-type"
}
},
"identifiers": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/identifier"
}
},
"industry_codes": {
"type": "array",
"items": {
"$ref": "#/definitions/industry-code"
}
},
"previous_names": {
"type": "array",
"items": {
"$ref": "#/definitions/previous-name"
}
},
"alternative_names": {
"type": "array",
"items": {
"$ref": "#/definitions/alternative-name"
}
},
"other_attributes": {
"description": "Use for other attributes for which we don't yet have curated schema attributes",
"type": "object"
}
},
"required": [
"name"
]
}
}
}
| o65429 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_MetricIdentifier": {
"description": "MetricIdentifier defines the name and optionally selector for a metric",
"properties": {
"name": {
"description": "name is the name of the given metric",
"type": "string"
},
"selector": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector",
"description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics."
}
},
"required": [
"name"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_MetricValueStatus": {
"description": "MetricValueStatus holds the current value for a metric",
"properties": {
"averageUtilization": {
"_format": "int32",
"description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.",
"type": "integer"
},
"averageValue": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity",
"description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)"
},
"value": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity",
"description": "value is the current value of the metric (as a quantity)."
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector": {
"description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
"properties": {
"matchExpressions": {
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement"
},
"type": "array"
},
"matchLabels": {
"additionalProperties": {
"type": "string"
},
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"type": "object"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement": {
"description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
"properties": {
"key": {
"description": "key is the label key that the selector applies to.",
"type": "string",
"x-kubernetes-patch-merge-key": "key",
"x-kubernetes-patch-strategy": "merge"
},
"operator": {
"description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
"type": "string"
},
"values": {
"description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"key",
"operator"
],
"type": "object"
}
},
"description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.",
"properties": {
"current": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_MetricValueStatus",
"description": "current contains the current value for the given metric"
},
"metric": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_autoscaling_v2beta2_MetricIdentifier",
"description": "metric identifies the target metric by name and selector"
}
},
"required": [
"metric",
"current"
],
"type": "object"
} | kb_346_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://elasticbox.net/schemas/metric",
"type": "object",
"required": [
"_id",
"kind",
"metadata",
"data",
"involvedObject"
],
"additionalProperties": false,
"properties": {
"_id": {
"type": "string",
"minLength": 1,
"maxLength": 36
},
"data": {
"type": "object"
},
"involvedObject": {
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"uid": {
"type": "string"
}
}
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object",
"properties": {
"creationTimestamp": {
"type": "number"
},
"deletionTimestamp": {
"type": "number"
},
"resourceVersion": {
"type": "number"
}
}
},
"timestamp": {
"type": "string"
}
},
"type:": "object"
} | o5025 |
{
"default": [
"default"
],
"description": "# Brief\n\nOptional list of groups to which the resource belongs.\n",
"items": {
"type": "string"
},
"type": "array"
} | o45634 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"dog": {
"type": "string",
"minLength": 10,
"maxLength": 10
}
},
"properties": {
"dog": {
"$ref": "#/definitions/dog"
}
},
"required": [
"dog"
]
} | o41662 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"periodic_booking": {
"type": "boolean"
},
"is_available": {
"type": "boolean"
},
"was_available": {
"description": "Previous value of is_available",
"type": "boolean"
},
"min_delay": {
"type": "integer",
"minimum": -1
},
"max_delay": {
"type": "integer",
"minimum": -1
},
"type_id": {
"type": "integer"
},
"color": {
"type": "string"
},
"validation": {
"type": "boolean"
}
},
"required": [
"type_id",
"is_available",
"was_available"
],
"additionalProperties": false
} | o36600 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "RemoteStartTransactionRequest",
"type": "object",
"properties": {
"connectorId": {
"type": "integer"
},
"idTag": {
"type": "string",
"maxLength": 20
},
"chargingProfile": {
"type": "object",
"properties": {
"chargingProfileId": {
"type": "integer"
},
"transactionId": {
"type": "integer"
},
"stackLevel": {
"type": "integer"
},
"chargingProfilePurpose": {
"type": "string",
"enum": [
"ChargePointMaxProfile",
"TxDefaultProfile",
"TxProfile"
]
},
"chargingProfileKind": {
"type": "string",
"enum": [
"Absolute",
"Recurring",
"Relative"
]
},
"recurrencyKind": {
"type": "string",
"enum": [
"Daily",
"Weekly"
]
},
"validFrom": {
"type": "string",
"format": "date-time"
},
"validTo": {
"type": "string",
"format": "date-time"
},
"chargingSchedule": {
"type": "object",
"properties": {
"duration": {
"type": "integer"
},
"startSchedule": {
"type": "string",
"format": "date-time"
},
"chargingRateUnit": {
"type": "string",
"enum": [
"A",
"W"
]
},
"chargingSchedulePeriod": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startPeriod": {
"type": "integer"
},
"limit": {
"type": "number",
"multipleOf": 0.1
},
"numberPhases": {
"type": "integer"
}
},
"required": [
"startPeriod",
"limit"
]
}
},
"minChargingRate": {
"type": "number",
"multipleOf": 0.1
}
},
"required": [
"chargingRateUnit",
"chargingSchedulePeriod"
]
}
},
"required": [
"chargingProfileId",
"stackLevel",
"chargingProfilePurpose",
"chargingProfileKind",
"chargingSchedule"
]
}
},
"additionalProperties": false,
"required": [
"idTag"
]
} | o43986 |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base of the shape",
"type": "number"
},
"height": {
"description": "The height of the shape",
"type": "number"
},
"length": {
"description": "The length of the shape",
"type": "number"
},
"radius": {
"description": "The radius of the shape",
"type": "number"
},
"width": {
"description": "The width of the shape",
"type": "number"
}
},
"required": [
"length",
"width",
"radius",
"base",
"height"
],
"type": "object"
},
"shape": {
"description": "The type of shape (e.g. square, triangle, circle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_9486edbe |
{
"properties": {
"keywords": {
"description": "Keywords related to the job",
"items": {
"type": "string"
},
"type": "array"
},
"location": {
"description": "The location of the job listings",
"type": "string"
},
"salary_range": {
"properties": {
"max_salary": {
"description": "The maximum salary range",
"type": "number"
},
"min_salary": {
"description": "The minimum salary range",
"type": "number"
}
},
"type": "object"
}
},
"required": [
"keywords"
],
"type": "object"
} | search_jobs_68c90426 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "api-options",
"type": "object",
"properties": {
"trace": {
"type": "boolean",
"description": "If true, log rippled requests and responses to stdout."
},
"feeCushion": {
"type": "number",
"minimum": 1,
"description": "Factor to multiply estimated fee by to provide a cushion in case the required fee rises during submission of a transaction. Defaults to `1.2`."
},
"maxFeeXRP": {
"type": "string",
"description": "Maximum fee to use with transactions, in XRP. Must be a string-encoded number. Defaults to `'2'`."
},
"server": {
"type": "string",
"description": "URI for rippled websocket port to connect to. Must start with `wss://`, `ws://`, `wss+unix://`, or `ws+unix://`.",
"format": "uri",
"pattern": "^(wss?|wss?\\+unix)://"
},
"proxy": {
"format": "uri",
"description": "URI for HTTP/HTTPS proxy to use to connect to the rippled server."
},
"timeout": {
"type": "integer",
"description": "Timeout in milliseconds before considering a request to have failed.",
"minimum": 1
},
"proxyAuthorization": {
"type": "string",
"description": "Username and password for HTTP basic authentication to the proxy in the format **username:password**."
},
"authorization": {
"type": "string",
"description": "Username and password for HTTP basic authentication to the rippled server in the format **username:password**."
},
"trustedCertificates": {
"type": "array",
"description": "Array of PEM-formatted SSL certificates to trust when connecting to a proxy. This is useful if you want to use a self-signed certificate on the proxy server. Note: Each element must contain a single certificate; concatenated certificates are not valid.",
"items": {
"type": "string",
"description": "A PEM-formatted SSL certificate to trust when connecting to a proxy."
}
},
"key": {
"type": "string",
"description": "A string containing the private key of the client in PEM format. (Can be an array of keys)."
},
"passphrase": {
"type": "string",
"description": "The passphrase for the private key of the client."
},
"certificate": {
"type": "string",
"description": "A string containing the certificate key of the client in PEM format. (Can be an array of certificates)."
}
},
"additionalProperties": false
} | o70464 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"destinationId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"destinationType": {
"type": "string",
"enum": [
"user",
"organization"
]
},
"applicationIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"maxItems": 1000
},
"dashboardIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"maxItems": 1000
},
"strict": {
"type": "boolean"
}
},
"additionalProperties": false,
"required": [
"destinationId",
"destinationType"
]
} | o9953 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"targetType": "document_surface1d",
"schemaType": "entiteNommee",
"title": "Entit\u00e9s nomm\u00e9es",
"type": "object",
"required": [
"schemaType",
"_corpusID",
"_documentID",
"offsets"
],
"properties": {
"schemaType": {
"type": "string",
"description": "Schema type",
"searchable": true,
"searchModes": [
"noop"
],
"locked": true
},
"_documentID": {
"type": "string",
"description": "Internal document GUID",
"searchable": true,
"searchModes": [
"noop"
],
"locked": true
},
"_corpusID": {
"type": "string",
"description": "Internal Corpus GUID",
"searchable": true,
"searchModes": [
"noop"
],
"locked": true
},
"offsets": {
"searchable": true,
"locked": true,
"type": "array",
"_uniqueItems": true,
"minItems": 1,
"items": {
"type": "object",
"properties": {
"begin": {
"type": "integer",
"minimum": 0
},
"end": {
"type": "integer",
"minimum": 0
}
}
}
},
"TypeEN": {
"type": "string",
"description": "Type d'entit\u00e9 nomm\u00e9e.",
"enum": [
"personne",
"lieu",
"organisation",
"autre"
],
"searchable": true,
"searchModes": [
"basic"
],
"locked": true
},
"TypeEn_Wikipedia": {
"type": "array",
"_uniqueItems": true,
"description": "Type de l'entit\u00e9 sur Wikipedia",
"searchable": true,
"searchModes": [
"basic"
],
"locked": false,
"minItems": 0,
"items": {
"type": "string"
}
},
"description": {
"type": "string",
"description": "Description de l'entit\u00e9",
"searchable": true,
"searchModes": [
"basic"
],
"locked": false
},
"wikipedia": {
"type": "string",
"description": "URL de r\u00e9f\u00e9rence de l'entit\u00e9 sur Wikipedia",
"searchable": true,
"searchModes": [
"basic"
],
"locked": false
}
}
} | o33700 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaim": {
"description": "PersistentVolumeClaim is a user's request for and claim to a persistent volume",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"enum": [
"PersistentVolumeClaim"
],
"type": "string"
},
"metadata": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta",
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"spec": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimSpec",
"description": "Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"
},
"status": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimStatus",
"description": "Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"
}
},
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "",
"kind": "PersistentVolumeClaim",
"version": "v1"
}
]
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimCondition": {
"description": "PersistentVolumeClaimCondition contails details about state of pvc",
"properties": {
"lastProbeTime": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Last time we probed the condition."
},
"lastTransitionTime": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Last time the condition transitioned from one status to another."
},
"message": {
"description": "Human-readable message indicating details about last transition.",
"type": "string"
},
"reason": {
"description": "Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized.",
"type": "string"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"status"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimSpec": {
"description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes",
"properties": {
"accessModes": {
"description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
"items": {
"type": "string"
},
"type": "array"
},
"dataSource": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TypedLocalObjectReference",
"description": "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot - Beta) * An existing PVC (PersistentVolumeClaim) * An existing custom resource/object that implements data population (Alpha) In order to use VolumeSnapshot object types, the appropriate feature gate must be enabled (VolumeSnapshotDataSource or AnyVolumeDataSource) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the specified data source is not supported, the volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change."
},
"resources": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ResourceRequirements",
"description": "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources"
},
"selector": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector",
"description": "A label query over volumes to consider for binding."
},
"storageClassName": {
"description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1",
"type": "string"
},
"volumeMode": {
"description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.",
"type": "string"
},
"volumeName": {
"description": "VolumeName is the binding reference to the PersistentVolume backing this claim.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimStatus": {
"description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim.",
"properties": {
"accessModes": {
"description": "AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
"items": {
"type": "string"
},
"type": "array"
},
"capacity": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity"
},
"description": "Represents the actual resources of the underlying volume.",
"type": "object"
},
"conditions": {
"description": "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimCondition"
},
"type": "array",
"x-kubernetes-patch-merge-key": "type",
"x-kubernetes-patch-strategy": "merge"
},
"phase": {
"description": "Phase represents the current phase of PersistentVolumeClaim.",
"type": "string"
}
},
"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_TypedLocalObjectReference": {
"description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.",
"properties": {
"apiGroup": {
"description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.",
"type": "string"
},
"kind": {
"description": "Kind is the type of resource being referenced",
"type": "string"
},
"name": {
"description": "Name is the name of resource being referenced",
"type": "string"
}
},
"required": [
"kind",
"name"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1": {
"description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff",
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector": {
"description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
"properties": {
"matchExpressions": {
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement"
},
"type": "array"
},
"matchLabels": {
"additionalProperties": {
"type": "string"
},
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"type": "object"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement": {
"description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
"properties": {
"key": {
"description": "key is the label key that the selector applies to.",
"type": "string",
"x-kubernetes-patch-merge-key": "key",
"x-kubernetes-patch-strategy": "merge"
},
"operator": {
"description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
"type": "string"
},
"values": {
"description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"key",
"operator"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ListMeta": {
"description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
"properties": {
"continue": {
"description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.",
"type": "string"
},
"remainingItemCount": {
"_format": "int64",
"description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.",
"type": "integer"
},
"resourceVersion": {
"description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
"type": "string"
},
"selfLink": {
"description": "selfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry": {
"description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.",
"type": "string"
},
"fieldsType": {
"description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
"type": "string"
},
"fieldsV1": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1",
"description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type."
},
"manager": {
"description": "Manager is an identifier of the workflow managing these fields.",
"type": "string"
},
"operation": {
"description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.",
"type": "string"
},
"time": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta": {
"description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations",
"type": "object"
},
"clusterName": {
"description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.",
"type": "string"
},
"creationTimestamp": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"deletionGracePeriodSeconds": {
"_format": "int64",
"description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"finalizers": {
"description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.",
"items": {
"type": "string"
},
"type": "array",
"x-kubernetes-patch-strategy": "merge"
},
"generateName": {
"description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency",
"type": "string"
},
"generation": {
"_format": "int64",
"description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
"type": "integer"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels",
"type": "object"
},
"managedFields": {
"description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
"type": "string"
},
"namespace": {
"description": "Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces",
"type": "string"
},
"ownerReferences": {
"description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_OwnerReference"
},
"type": "array",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
},
"resourceVersion": {
"description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
"type": "string"
},
"selfLink": {
"description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.",
"type": "string"
},
"uid": {
"description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_OwnerReference": {
"description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.",
"properties": {
"apiVersion": {
"description": "API version of the referent.",
"type": "string"
},
"blockOwnerDeletion": {
"description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.",
"type": "boolean"
},
"controller": {
"description": "If true, this reference points to the managing controller.",
"type": "boolean"
},
"kind": {
"description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"name": {
"description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
"type": "string"
},
"uid": {
"description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time": {
"_format": "date-time",
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": "string"
}
},
"description": "PersistentVolumeClaimList is a list of PersistentVolumeClaim items.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"enum": [
"v1"
],
"type": [
"string",
"null"
]
},
"items": {
"description": "A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaim"
},
"type": [
"array",
"null"
]
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"enum": [
"PersistentVolumeClaimList"
],
"type": [
"string",
"null"
]
},
"metadata": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ListMeta",
"description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
}
},
"required": [
"items"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "",
"kind": "PersistentVolumeClaimList",
"version": "v1"
}
]
} | kb_667_Normalized |
{
"description": "Generates a new, generic route guard definition in the given or default project.",
"properties": {
"flat": {
"default": true,
"description": "When true (the default), creates the new files at the top level of the current project.",
"type": "boolean"
},
"implements": {
"default": [
"CanActivate"
],
"description": "Specifies which interfaces to implement.",
"items": {
"enum": [
"CanActivate",
"CanActivateChild",
"CanDeactivate",
"CanLoad"
],
"type": "string"
},
"minItems": 1,
"type": "array",
"_uniqueItems": true,
"x-prompt": "Which interfaces would you like to implement?"
},
"lintFix": {
"default": false,
"description": "When true, applies lint fixes after generating the guard.",
"type": "boolean",
"x-user-analytics": 15
},
"name": {
"$default": {
"$source": "argv",
"index": 0
},
"description": "The name of the new route guard.",
"type": "string",
"x-prompt": "What name would you like to use for the guard?"
},
"path": {
"description": "The path at which to create the interface that defines the guard, relative to the current workspace.",
"format": "path",
"type": "string",
"visible": false
},
"project": {
"$default": {
"$source": "projectName"
},
"description": "The name of the project.",
"type": "string"
},
"skipTests": {
"default": false,
"description": "When true, does not create \"spec.ts\" test files for the new guard.",
"type": "boolean",
"x-user-analytics": 12
},
"spec": {
"default": true,
"description": "When true (the default), generates a \"spec.ts\" test file for the new guard.",
"type": "boolean",
"x-deprecated": "Use \"skipTests\" instead."
}
},
"required": [
"name"
],
"title": "Angular Guard Options Schema",
"type": "object"
} | o58462 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"additionalProperties": {
"description": "name associated to the virtual machine and its properties (cost and resources)",
"type": "object",
"properties": {
"cost": {
"type": "integer"
},
"resources": {
"type": "object",
"properties": {
"additionalProperties": {
"description": "resource (as defined in ABS standard library) and its provided amount)",
"type": "integer"
}
}
}
},
"required": [
"cost",
"resources"
]
}
}
} | o48312 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "emailObj",
"description": "Used to content of an email",
"type": "object",
"additionalProperties": false,
"properties": {
"status": {
"type": "string",
"description": "Status ot the email (queued, failed, sent)"
},
"hash": {
"type": [
"string",
"null"
],
"description": "Hash used to identify the email"
},
"content": {
"type": "object",
"description": "Size in bytes of all pictures captured (SUM storedJpgSize and storedRawSize)",
"properties": {
"FROM": {
"type": "object",
"properties": {
"name": {
"type": [
"string",
"null"
],
"description": "Full text name of the sender"
},
"email": {
"type": [
"string",
"null"
],
"description": "Email of the sender"
}
}
},
"TO": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Full text name of the sender"
},
"email": {
"type": "string",
"description": "Email of the sender"
}
}
}
},
"CC": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Full text name of the sender"
},
"email": {
"type": "string",
"description": "Email of the sender"
}
}
}
},
"BCC": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Full text name of the sender"
},
"email": {
"type": "string",
"description": "Email of the sender"
}
}
}
},
"BODY": {
"type": [
"string",
"null"
],
"description": "Body of the email"
},
"SUBJECT": {
"type": [
"string",
"null"
],
"description": "Subject of the email"
},
"ATTACHMENTS": {
"type": "array",
"items": {
"type": "object",
"properties": {
"PATH": {
"type": "string",
"description": "Full text name of the sender"
},
"NAME": {
"type": "string",
"description": "Email of the sender"
},
"WIDTH": {
"type": "number",
"description": "Width of the attachment, height will be calculated automatically"
}
}
}
}
}
},
"logs": {
"type": "array",
"items": {
"type": "string"
}
}
}
} | o17133 |
{
"properties": {
"database": {
"description": "MySQL database configuration properties",
"properties": {
"name": {
"default": "defaultdb",
"description": "The name of a database to be created on startup.",
"type": "string"
},
"password": {
"default": "password",
"description": "The password for a user to be created with superuser access to this database only.",
"type": "string"
},
"root_password": {
"default": "root",
"description": "Specifies the password that will be set for the MySQL root superuser account.",
"type": "string"
},
"username": {
"default": "admin",
"description": "The username of a user to be created with superuser access to this database only.",
"type": "string"
}
},
"type": "object"
},
"mysql": {
"description": "MySQL service configuration properties",
"properties": {
"cpus": {
"default": 0.3,
"description": "CPU shares to allocate to each MySQL node.",
"minimum": 0.3,
"type": "number"
},
"mem": {
"default": 512.0,
"description": "Memory to allocate to each MySQL node.",
"minimum": 512.0,
"type": "number"
}
},
"required": [
"cpus",
"mem"
],
"type": "object"
},
"networking": {
"description": "MySQL 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. Defaults to FALSE.",
"type": "boolean"
},
"external_port": {
"default": 13306,
"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": 3306,
"description": "Port number to be used for clear communication internally to the cluster. Currently unused and fixed to be 3306.",
"type": "number"
}
},
"type": "object"
},
"service": {
"description": "DC/OS service configuration properties",
"properties": {
"name": {
"default": "mysql",
"description": "Name of this service instance",
"type": "string"
}
},
"type": "object"
},
"storage": {
"description": "MySQL storage configuration properties",
"properties": {
"host_volume": {
"default": "/tmp",
"description": "The location of a volume on the host to be used for persisting MySQL data. The final location will be derived from this value plus the name set in `name` (e.g. `/mnt/host_volume/mysql`). This can be a mounted NFS drive. Note that this path must be the same on all DC/OS agents.",
"type": "string"
},
"persistence": {
"description": "Enable persistent storage.",
"properties": {
"enable": {
"default": false,
"description": "Enable or disable persistent storage.",
"type": "boolean"
},
"volume_size": {
"default": 256,
"description": "If a new volume is to be created, this controls its size in MBs. Defaults to 64MBs",
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
}
}
} | o90787 |
{
"id": "https://letsencrypt.org/schema/01/defer#",
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Schema for a defer message",
"type": "object",
"required": [
"type",
"token"
],
"properties": {
"type": {
"enum": [
"defer"
]
},
"token": {
"type": "string"
},
"interval": {
"type": "integer"
},
"message": {
"type": "string"
}
}
} | o40351 |
{
"id": "http://schemas.triniti.io/json-schema/triniti/curator/mixin/teaser/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"
}
},
"order_date": {
"type": "string",
"format": "date-time",
"description": "Determines the sequence that this teaser node will be rendered in lists, search results, etc. It DOES NOT control visibility or publishing. A date was used over an integer (e.g. seq_no) for blog-like, reverse chronological, clarity in sorting.",
"pbj": {
"type": "date-time",
"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 teaser (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"
}
},
"cta_text": {
"type": "string",
"minLength": 0,
"maxLength": 255,
"description": "Text to be used for the call to action.",
"pbj": {
"type": "string",
"rule": "single"
}
},
"gallery_ref": {
"type": "string",
"pattern": "^[\\w\\/\\.:-]+$",
"pbj": {
"type": "identifier",
"rule": "single"
}
},
"timeline_ref": {
"type": "string",
"pattern": "^[\\w\\/\\.:-]+$",
"pbj": {
"type": "identifier",
"rule": "single"
}
}
},
"required": [
"_id"
],
"additionalProperties": true
} | o82824 |
{
"additionalProperties": false,
"definitions": {},
"pattern": "^[0-9]+#[A-Za-z0-9]+",
"type": "string"
} | o34210 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelectorRequirement": {
"description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
"properties": {
"key": {
"description": "key is the label key that the selector applies to.",
"type": "string",
"x-kubernetes-patch-merge-key": "key",
"x-kubernetes-patch-strategy": "merge"
},
"operator": {
"description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
"type": "string"
},
"values": {
"description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"key",
"operator"
],
"type": "object"
}
},
"description": "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",
"null"
]
},
"matchLabels": {
"additionalProperties": {
"type": [
"string",
"null"
]
},
"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",
"null"
]
}
},
"type": "object"
} | kb_508_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"targetType": "document",
"schemaType": "ProfileDomaineDocument",
"title": "Profil de domaine",
"type": "object",
"required": [
"schemaType",
"_documentID",
"_corpusID"
],
"properties": {
"schemaType": {
"type": "string",
"description": "Schema type",
"searchable": true,
"searchModes": [
"noop"
],
"locked": true
},
"_documentID": {
"type": "string",
"description": "Internal document GUID",
"searchable": true,
"searchModes": [
"noop"
],
"locked": true
},
"_corpusID": {
"type": "string",
"description": "Internal Corpus GUID",
"searchable": true,
"searchModes": [
"noop"
],
"locked": true
},
"domaine1": {
"type": "string",
"description": "1er domaine pr\u00e9dominant du texte",
"searchable": true,
"searchModes": [
"basic"
],
"locked": false
},
"confiance1": {
"type": "number",
"description": "Niveau de confiance du 1er domaine pr\u00e9dominant du texte",
"searchable": true,
"searchModes": [
"basic"
],
"locked": false
},
"domaine2": {
"type": "string",
"description": "2e domaine pr\u00e9dominant du texte",
"searchable": true,
"searchModes": [
"basic"
],
"locked": false
},
"confiance2": {
"type": "number",
"description": "Niveau de confiance du 2e domaine pr\u00e9dominant du texte",
"searchable": true,
"searchModes": [
"basic"
],
"locked": false
},
"domaine3": {
"type": "string",
"description": "3e domaine pr\u00e9dominant du texte",
"searchable": true,
"searchModes": [
"basic"
],
"locked": false
},
"confiance3": {
"type": "number",
"description": "Niveau de confiance du 3e domaine pr\u00e9dominant du texte",
"searchable": true,
"searchModes": [
"basic"
],
"locked": false
}
}
} | o33702 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Contacts",
"description": "Contacts: name, freeform contact methods",
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"minProperties": 1,
"maxProperties": 5,
"required": [
"name"
],
"additionalProperties": {
"type": "string",
"pattern": "^([0-9]{3}) [0-9]{3}-[0-9]{4}$"
}
} | o83690 |
{
"description": "A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.",
"properties": {
"operator": {
"description": "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.",
"type": [
"string",
"null"
]
},
"scopeName": {
"description": "The name of the scope that the selector applies to.",
"type": [
"string",
"null"
]
},
"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. This array is replaced during a strategic merge patch.",
"items": {
"type": [
"string",
"null"
]
},
"type": [
"array",
"null"
]
}
},
"required": [
"scopeName",
"operator"
],
"type": "object"
} | kb_930_Normalized |
{
"$id": "https://json.schemastore.org/rust-toolchain.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file",
"properties": {
"toolchain": {
"description": "A `toolchain` is a complete installation of the Rust compiler (`rustc`) and related tools (like `cargo`). A toolchain specification includes the release channel or version, and the host platform that the toolchain runs on.\n\n Get more from [`Toolchains`](https://rust-lang.github.io/rustup/concepts/toolchains.html)",
"type": "object",
"minProperties": 1,
"properties": {
"channel": {
"description": "`channel` is a named release channel, a major and minor version number such as `1.42`, or a fully specified version number, such as `1.42.0`. Channel names can be optionally appended with an archive date, as in `nightly-2014-12-18`, in which case the toolchain is downloaded from the archive for that date. Get more from [`Toolchain specification`](https://rust-lang.github.io/rustup/concepts/toolchains.html).\n\nOther valid channel like `stable`,`1.63`,`1.63.0`,`nightly-2022-09-20`,`stable-x86_64-pc-windows-msvc`,`1.63.0-riscv64gc-unknown-linux-gnu`,`nightly-2022-09-20-x86_64-unknown-nux-gnu`",
"type": "string",
"pattern": "^(?:stable|beta|nightly|\\d+(?:\\.\\d+){1,2})(?:-\\d{4}(?:-\\d{2}){2})?(?:-\\D[^-]*(?:(?:-(?:[^-]+)){1,3}))?$",
"examples": [
"stable",
"1.63",
"1.63.0",
"nightly-2022-09-20",
"stable-x86_64-pc-windows-msvc",
"1.63.0-riscv64gc-unknown-linux-gnu",
"nightly-2022-09-20-x86_64-unknown-linux-gnu"
],
"x-taplo": {
"links": {
"key": "https://rust-lang.github.io/rustup/concepts/channels.html"
}
}
},
"components": {
"description": "Each release of Rust includes several \"components\", some of\nwhich are required (like `rustc`) and some that are optional (like [`clippy`](https://github.com/rust-lang/rust-clippy)) \n\n Learn more from [`Components`](https://rust-lang.github.io/rustup/concepts/components.html)",
"type": "array",
"items": {
"type": "string",
"enum": [
"rustc",
"cargo",
"rustfmt",
"rust-std",
"rust-docs",
"rls",
"clippy",
"miri",
"rust-src",
"rust",
"rust-analysis",
"llvm-tools",
"rustc-docs",
"rustc-dev",
"rust-analyzer",
"reproducible-artifacts",
"rust-docs-json"
],
"x-taplo": {
"docs": {
"enumValues": [
"The Rust compiler and [Rustdoc].\n\n[rustdoc]: https://doc.rust-lang.org/rustdoc/",
"[Cargo] is a package manager and build tool.\n\n[cargo]: https://doc.rust-lang.org/cargo/",
"[Rustfmt] is a tool for automatically formatting code.\n\n[rustfmt]: https://github.com/rust-lang/rustfmt",
"This is the Rust [standard library]. There is a separate\n `rust-std` component for each target that `rustc` supports, such as\n `rust-std-x86_64-pc-windows-msvc`. See the [Cross-compilation] chapter for\n more detail.\n\n[standard library]: https://doc.rust-lang.org/std/\n[cross-compilation]: .https://rust-lang.github.io/rustup/cross-compilation.html",
"This is a local copy of the [Rust documentation]. Use the\n `rustup doc` command to open the documentation in a web browser. Run `rustup\n doc --help` for more options.\n\n[rust documentation]: https://doc.rust-lang.org/",
"[RLS] is a language server that provides support for editors and\n IDEs.\n\n[RLS]: https://github.com/rust-lang/rls",
"[Clippy] is a lint tool that provides extra checks for common\n mistakes and stylistic choices.\n\n[clippy]: https://github.com/rust-lang/rust-clippy",
"[Miri] is an experimental Rust interpreter, which can be used for\n checking for undefined-behavior.\n\n[miri]: https://github.com/rust-lang/miri/",
"This is a local copy of the source code of the Rust standard\n library. This can be used by some tools, such as [RLS], to provide\n auto-completion for functions within the standard library; [Miri] which is a\n Rust interpreter; and Cargo's experimental [build-std] feature, which allows\n you to rebuild the standard library locally.\n\n[RLS]: https://github.com/rust-lang/rls\n[miri]: https://github.com/rust-lang/miri/\n[build-std]: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#build-std",
"Metadata about the standard library, used by tools like\n [RLS].\n\n[RLS]: https://github.com/rust-lang/rls",
"This contains a linker and platform libraries for building on\n the `x86_64-pc-windows-gnu` platform.",
"This is an experimental component which contains a\n collection of [LLVM] tools.\n\n[LLVM]: https://llvm.org/",
"This component contains the compiler as a library. Most users\n will not need this; it is only needed for development *of* tools that link\n to the compiler, such as making modifications to [Clippy].\n\n[clippy]: https://github.com/rust-lang/rust-clippy"
]
}
},
"$comment": "Empty schema to allow for forward compatibility of new components"
},
"x-taplo": {
"links": {
"key": "https://rust-lang.github.io/rustup/concepts/components.html"
}
}
},
"targets": {
"description": "`rustc` is capable of generating code for many platforms. The `target` specifies the platform that the code will be generated for. By default, `cargo` and `rustc` use the host toolchain's platform as the target. To build for a different `target`, usually the target's standard library needs to be installed first via the `rustup target` command. Or you can run `rustc --print target-list` to list [`\"built-in\" targets`](https://doc.rust-lang.org/rustc/targets/built-in.html) \n\n Get more from [`Platform Support`](https://doc.rust-lang.org/rustc/platform-support.html) and [`Targets`](https://doc.rust-lang.org/rustc/targets/index.html)",
"type": "array",
"$comment": "Allow arbitary strings for new targets or custom target JSON",
"items": {
"type": "string",
"$comment": "From `rustc +nightly --print target-list` or targets listed in https://doc.rust-lang.org/rustc/platform-support.html",
"enum": [
"aarch64-unknown-linux-gnu",
"i686-pc-windows-gnu",
"i686-pc-windows-msvc",
"i686-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-pc-windows-gnu",
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
"aarch64-apple-darwin",
"aarch64-pc-windows-msvc",
"aarch64-unknown-linux-musl",
"arm-unknown-linux-gnueabi",
"arm-unknown-linux-gnueabihf",
"armv7-unknown-linux-gnueabihf",
"loongarch64-unknown-linux-gnu",
"mips-unknown-linux-gnu",
"mips64-unknown-linux-gnuabi64",
"mips64el-unknown-linux-gnuabi64",
"mipsel-unknown-linux-gnu",
"powerpc-unknown-linux-gnu",
"powerpc64-unknown-linux-gnu",
"powerpc64le-unknown-linux-gnu",
"riscv64gc-unknown-linux-gnu",
"s390x-unknown-linux-gnu",
"x86_64-unknown-freebsd",
"x86_64-unknown-illumos",
"x86_64-unknown-linux-musl",
"x86_64-unknown-netbsd",
"aarch64-apple-ios",
"aarch64-apple-ios-sim",
"aarch64-fuchsia",
"aarch64-linux-android",
"aarch64-unknown-fuchsia",
"aarch64-unknown-none",
"aarch64-unknown-none-softfloat",
"aarch64-unknown-uefi",
"arm-linux-androideabi",
"arm-unknown-linux-musleabi",
"arm-unknown-linux-musleabihf",
"armebv7r-none-eabi",
"armebv7r-none-eabihf",
"armv5te-unknown-linux-gnueabi",
"armv5te-unknown-linux-musleabi",
"armv7-linux-androideabi",
"armv7-unknown-linux-gnueabi",
"armv7-unknown-linux-musleabi",
"armv7-unknown-linux-musleabihf",
"armv7a-none-eabi",
"armv7r-none-eabi",
"armv7r-none-eabihf",
"asmjs-unknown-emscripten",
"i586-pc-windows-msvc",
"i586-unknown-linux-gnu",
"i586-unknown-linux-musl",
"i686-linux-android",
"i686-unknown-freebsd",
"i686-unknown-linux-musl",
"i686-unknown-uefi",
"mips-unknown-linux-musl",
"mips64-unknown-linux-muslabi64",
"mips64el-unknown-linux-muslabi64",
"mipsel-unknown-linux-musl",
"nvptx64-nvidia-cuda",
"riscv32i-unknown-none-elf",
"riscv32imac-unknown-none-elf",
"riscv32imc-unknown-none-elf",
"riscv64gc-unknown-none-elf",
"riscv64imac-unknown-none-elf",
"sparc64-unknown-linux-gnu",
"sparcv9-sun-solaris",
"thumbv6m-none-eabi",
"thumbv7em-none-eabi",
"thumbv7em-none-eabihf",
"thumbv7m-none-eabi",
"thumbv7neon-linux-androideabi",
"thumbv7neon-unknown-linux-gnueabihf",
"thumbv8m.base-none-eabi",
"thumbv8m.main-none-eabi",
"thumbv8m.main-none-eabihf",
"wasm32-unknown-emscripten",
"wasm32-unknown-unknown",
"wasm32-wasi",
"x86_64-apple-ios",
"x86_64-fortanix-unknown-sgx",
"x86_64-fuchsia",
"x86_64-linux-android",
"x86_64-pc-solaris",
"x86_64-unknown-fuchsia",
"x86_64-unknown-linux-gnux32",
"x86_64-unknown-none",
"x86_64-unknown-redox",
"x86_64-unknown-uefi",
"aarch64-apple-ios-macabi",
"aarch64-apple-tvos",
"aarch64-apple-watchos-sim",
"aarch64-kmc-solid_asp3",
"aarch64-nintendo-switch-freestanding",
"aarch64-pc-windows-gnullvm",
"aarch64-unknown-freebsd",
"aarch64-unknown-hermit",
"aarch64-unknown-linux-gnu_ilp32",
"aarch64-unknown-linux-ohos",
"aarch64-unknown-netbsd",
"aarch64-unknown-nto-qnx710",
"aarch64-unknown-openbsd",
"aarch64-unknown-redox",
"aarch64-uwp-windows-msvc",
"aarch64-wrs-vxworks",
"aarch64_be-unknown-linux-gnu",
"aarch64_be-unknown-linux-gnu_ilp32",
"arm64_32-apple-watchos",
"armeb-unknown-linux-gnueabi",
"armv4t-none-eabi",
"armv4t-unknown-linux-gnueabi",
"armv5te-none-eabi",
"armv5te-unknown-linux-uclibceabi",
"armv6-unknown-freebsd",
"armv6-unknown-netbsd-eabihf",
"armv6k-nintendo-3ds",
"armv7-apple-ios",
"armv7-sony-vita-newlibeabihf",
"armv7-unknown-freebsd",
"armv7-unknown-linux-ohos",
"armv7-unknown-linux-uclibceabi",
"armv7-unknown-linux-uclibceabihf",
"armv7-unknown-netbsd-eabihf",
"armv7-wrs-vxworks-eabihf",
"armv7a-kmc-solid_asp3-eabi",
"armv7a-kmc-solid_asp3-eabihf",
"armv7a-none-eabihf",
"armv7k-apple-watchos",
"armv7s-apple-ios",
"avr-unknown-gnu-atmega328",
"bpfeb-unknown-none",
"bpfel-unknown-none",
"hexagon-unknown-linux-musl",
"i386-apple-ios",
"i586-pc-nto-qnx700",
"i686-apple-darwin",
"i686-unknown-haiku",
"i686-unknown-netbsd",
"i686-unknown-openbsd",
"i686-uwp-windows-gnu",
"i686-uwp-windows-msvc",
"i686-wrs-vxworks",
"loongarch64-unknown-none",
"loongarch64-unknown-none-softfloat",
"m68k-unknown-linux-gnu",
"mips-unknown-linux-uclibc",
"mips64-openwrt-linux-musl",
"mipsel-sony-psp",
"mipsel-sony-psx",
"mipsel-unknown-linux-uclibc",
"mipsel-unknown-none",
"mipsisa32r6-unknown-linux-gnu",
"mipsisa32r6el-unknown-linux-gnu",
"mipsisa64r6-unknown-linux-gnuabi64",
"mipsisa64r6el-unknown-linux-gnuabi64",
"msp430-none-elf",
"powerpc-unknown-freebsd",
"powerpc-unknown-linux-gnuspe",
"powerpc-unknown-linux-musl",
"powerpc-unknown-netbsd",
"powerpc-unknown-openbsd",
"powerpc-wrs-vxworks",
"powerpc-wrs-vxworks-spe",
"powerpc64-ibm-aix",
"powerpc64-unknown-freebsd",
"powerpc64-unknown-linux-musl",
"powerpc64-unknown-openbsd",
"powerpc64-wrs-vxworks",
"powerpc64le-unknown-freebsd",
"powerpc64le-unknown-linux-musl",
"riscv32gc-unknown-linux-gnu",
"riscv32gc-unknown-linux-musl",
"riscv32im-unknown-none-elf",
"riscv32imac-unknown-xous-elf",
"riscv32imc-esp-espidf",
"riscv32imac-esp-espidf",
"riscv64gc-unknown-freebsd",
"riscv64gc-unknown-fuchsia",
"riscv64gc-unknown-linux-musl",
"riscv64gc-unknown-openbsd",
"s390x-unknown-linux-musl",
"sparc-unknown-linux-gnu",
"sparc64-unknown-netbsd",
"sparc64-unknown-openbsd",
"thumbv4t-none-eabi",
"thumbv5te-none-eabi",
"thumbv7a-pc-windows-msvc",
"thumbv7a-uwp-windows-msvc",
"thumbv7neon-unknown-linux-musleabihf",
"wasm64-unknown-unknown",
"x86_64-apple-ios-macabi",
"x86_64-apple-tvos",
"x86_64-apple-watchos-sim",
"x86_64-pc-nto-qnx710",
"x86_64-pc-windows-gnullvm",
"x86_64-sun-solaris",
"x86_64-unknown-dragonfly",
"x86_64-unknown-haiku",
"x86_64-unknown-hermit",
"x86_64-unknown-l4re-uclibc",
"x86_64-unknown-openbsd",
"x86_64-uwp-windows-gnu",
"x86_64-uwp-windows-msvc",
"x86_64-wrs-vxworks",
"x86_64h-apple-darwin"
]
},
"x-taplo": {
"links": {
"key": "https://rust-lang.github.io/rustup/cross-compilation.html"
}
}
},
"profile": {
"description": "[`Profiles`](https://rust-lang.github.io/rustup/concepts/profiles.htm) are groups of [`components`](https://rust-lang.github.io/rustup/concepts/components.html) you can choose to download while installing a new Rust [`toolchain`](https://rust-lang.github.io/rustup/concepts/toolchains.html).\n\n The `profiles` available at this time are `minimal`, `default`, and `complete`.",
"type": "string",
"default": "default",
"enum": ["minimal", "default", "complete"],
"x-taplo": {
"links": {
"key": "https://rust-lang.github.io/rustup/concepts/profiles.html"
},
"docs": {
"enumValues": [
"This profile includes as few components as possible to get a\nworking compiler (`rustc`, `rust-std`, and `cargo`). It's recommended to use\nthis component on Windows systems if you don't use local documentation (the\nlarge number of files can cause issues with some Antivirus systems), and in\nCI.",
"This profile includes all of components in the **minimal**\nprofile, and adds `rust-docs`, `rustfmt`, and `clippy`. This profile will be\nused by `rustup` by default, and it's the one recommended for general use.",
"This profile includes all the components available through\n`rustup`. This should never be used, as it includes *every* component ever\nincluded in the metadata and thus will almost always fail. If you are\nlooking for a way to install devtools such as `miri` or IDE integration\ntools (`rls`), you should use the `default` profile and\ninstall the needed additional components manually, either by using `rustup\ncomponent add` or by using `-c` when installing the toolchain."
]
}
}
},
"path": {
"type": "string",
"description": "Path to a custom local toolchain. Since a `path` directive directly names a local toolchain, other options\nlike `components`, `targets`, and `profile` have no effect. `channel`\nand `path` are mutually exclusive, since a `path` already points to a\nspecific toolchain. A relative `path` is resolved relative to the\nlocation of the `rust-toolchain.toml` file.\n\n Learn more from [`Custom toolchains`](https://rust-lang.github.io/rustup/concepts/toolchains.html#custom-toolchains)"
}
},
"oneOf": [
{
"not": {
"properties": {
"path": {
"type": "string"
}
},
"required": ["path"]
}
},
{
"required": ["path"]
}
],
"dependencies": {
"path": {
"not": {
"properties": {
"channel": {
"type": "string"
}
},
"required": ["channel"]
}
},
"channel": {
"not": {
"properties": {
"path": {
"type": "string"
}
},
"required": ["path"]
}
},
"profile": {
"anyOf": [
{
"properties": {
"channel": {
"type": "string"
}
},
"required": ["channel"]
},
{
"properties": {
"components": {
"type": "array"
}
},
"required": ["components"]
},
{
"properties": {
"targets": {
"type": "array"
}
},
"required": ["targets"]
}
]
}
},
"x-taplo": {
"links": {
"key": "https://rust-lang.github.io/rustup/concepts/toolchains.html"
},
"initKeys": ["channel"]
}
}
},
"required": ["toolchain"],
"title": "Schema for rust-toolchain.toml",
"type": "object",
"x-taplo-info": {
"authors": ["ian-h-chamberlain (https://github.com/ian-h-chamberlain)"],
"patterns": ["^(.*(/|\\\\)rust-toolchain([.]toml)?)$"]
}
}
| rust-toolchain |
{
"additionalProperties": false,
"description": "quota",
"properties": {
"quota": {
"additionalProperties": false,
"properties": {
"api_export_size": {
"default": 500,
"description": "Number of zone records allowed",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
},
"recordset_records": {
"default": 20,
"description": "Number of recordset records allowed",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
},
"zone_records": {
"default": 500,
"description": "Number of zone records allowed",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
},
"zone_recordsets": {
"default": 500,
"description": "Number of zone recordsets allowed",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
},
"zones": {
"default": 10,
"description": "Number of zones allowed",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
}
},
"required": [
"quota"
],
"title": "quota"
} | o65706 |
{
"$id": "https://json.schemastore.org/base.json",
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"nullable-array": {
"$id": "nullable-array",
"type": [
"array",
"null"
]
},
"nullable-boolean": {
"$id": "nullable-boolean",
"type": [
"boolean",
"null"
]
},
"nullable-integer": {
"$id": "nullable-integer",
"type": [
"integer",
"null"
]
},
"nullable-number": {
"$id": "nullable-number",
"type": [
"number",
"null"
]
},
"nullable-object": {
"$id": "nullable-object",
"type": [
"object",
"null"
]
},
"nullable-string": {
"$id": "nullable-string",
"type": [
"string",
"null"
]
},
"path": {
"$id": "path",
"type": "string",
"minLength": 1
},
"nullable-path": {
"$id": "nullable-path",
"oneOf": [
{
"$ref": "#/definitions/path"
},
{
"type": "null"
}
]
},
"editor": {
"$id": "editor",
"type": "string",
"oneOf": [
{
"enum": [
"/usr/bin/nano",
"/usr/bin/vim",
"/usr/bin/emacs"
]
},
{}
]
},
"nullable-editor": {
"$id": "nullable-editor",
"oneOf": [
{
"$ref": "#/definitions/editor"
},
{
"type": "null"
}
]
},
"timezone": {
"$id": "timezone",
"type": "string",
"enum": [
"Africa/Abidjan",
"Africa/Accra",
"Africa/Addis_Ababa",
"Africa/Algiers",
"Africa/Asmara",
"Africa/Asmera",
"Africa/Bamako",
"Africa/Bangui",
"Africa/Banjul",
"Africa/Bissau",
"Africa/Blantyre",
"Africa/Brazzaville",
"Africa/Bujumbura",
"Africa/Cairo",
"Africa/Casablanca",
"Africa/Ceuta",
"Africa/Conakry",
"Africa/Dakar",
"Africa/Dar_es_Salaam",
"Africa/Djibouti",
"Africa/Douala",
"Africa/El_Aaiun",
"Africa/Freetown",
"Africa/Gaborone",
"Africa/Harare",
"Africa/Johannesburg",
"Africa/Juba",
"Africa/Kampala",
"Africa/Khartoum",
"Africa/Kigali",
"Africa/Kinshasa",
"Africa/Lagos",
"Africa/Libreville",
"Africa/Lome",
"Africa/Luanda",
"Africa/Lubumbashi",
"Africa/Lusaka",
"Africa/Malabo",
"Africa/Maputo",
"Africa/Maseru",
"Africa/Mbabane",
"Africa/Mogadishu",
"Africa/Monrovia",
"Africa/Nairobi",
"Africa/Ndjamena",
"Africa/Niamey",
"Africa/Nouakchott",
"Africa/Ouagadougou",
"Africa/Porto-Novo",
"Africa/Sao_Tome",
"Africa/Timbuktu",
"Africa/Tripoli",
"Africa/Tunis",
"Africa/Windhoek",
"America/Adak",
"America/Anchorage",
"America/Anguilla",
"America/Antigua",
"America/Araguaina",
"America/Argentina/Buenos_Aires",
"America/Argentina/Catamarca",
"America/Argentina/ComodRivadavia",
"America/Argentina/Cordoba",
"America/Argentina/Jujuy",
"America/Argentina/La_Rioja",
"America/Argentina/Mendoza",
"America/Argentina/Rio_Gallegos",
"America/Argentina/Salta",
"America/Argentina/San_Juan",
"America/Argentina/San_Luis",
"America/Argentina/Tucuman",
"America/Argentina/Ushuaia",
"America/Aruba",
"America/Asuncion",
"America/Atikokan",
"America/Atka",
"America/Bahia",
"America/Bahia_Banderas",
"America/Barbados",
"America/Belem",
"America/Belize",
"America/Blanc-Sablon",
"America/Boa_Vista",
"America/Bogota",
"America/Boise",
"America/Buenos_Aires",
"America/Cambridge_Bay",
"America/Campo_Grande",
"America/Cancun",
"America/Caracas",
"America/Catamarca",
"America/Cayenne",
"America/Cayman",
"America/Chicago",
"America/Chihuahua",
"America/Coral_Harbour",
"America/Cordoba",
"America/Costa_Rica",
"America/Creston",
"America/Cuiaba",
"America/Curacao",
"America/Danmarkshavn",
"America/Dawson",
"America/Dawson_Creek",
"America/Denver",
"America/Detroit",
"America/Dominica",
"America/Edmonton",
"America/Eirunepe",
"America/El_Salvador",
"America/Ensenada",
"America/Fort_Nelson",
"America/Fort_Wayne",
"America/Fortaleza",
"America/Glace_Bay",
"America/Godthab",
"America/Goose_Bay",
"America/Grand_Turk",
"America/Grenada",
"America/Guadeloupe",
"America/Guatemala",
"America/Guayaquil",
"America/Guyana",
"America/Halifax",
"America/Havana",
"America/Hermosillo",
"America/Indiana/Indianapolis",
"America/Indiana/Knox",
"America/Indiana/Marengo",
"America/Indiana/Petersburg",
"America/Indiana/Tell_City",
"America/Indiana/Vevay",
"America/Indiana/Vincennes",
"America/Indiana/Winamac",
"America/Indianapolis",
"America/Inuvik",
"America/Iqaluit",
"America/Jamaica",
"America/Jujuy",
"America/Juneau",
"America/Kentucky/Louisville",
"America/Kentucky/Monticello",
"America/Knox_IN",
"America/Kralendijk",
"America/La_Paz",
"America/Lima",
"America/Los_Angeles",
"America/Louisville",
"America/Lower_Princes",
"America/Maceio",
"America/Managua",
"America/Manaus",
"America/Marigot",
"America/Martinique",
"America/Matamoros",
"America/Mazatlan",
"America/Mendoza",
"America/Menominee",
"America/Merida",
"America/Metlakatla",
"America/Mexico_City",
"America/Miquelon",
"America/Moncton",
"America/Monterrey",
"America/Montevideo",
"America/Montreal",
"America/Montserrat",
"America/Nassau",
"America/New_York",
"America/Nipigon",
"America/Nome",
"America/Noronha",
"America/North_Dakota/Beulah",
"America/North_Dakota/Center",
"America/North_Dakota/New_Salem",
"America/Nuuk",
"America/Ojinaga",
"America/Panama",
"America/Pangnirtung",
"America/Paramaribo",
"America/Phoenix",
"America/Port-au-Prince",
"America/Port_of_Spain",
"America/Porto_Acre",
"America/Porto_Velho",
"America/Puerto_Rico",
"America/Punta_Arenas",
"America/Rainy_River",
"America/Rankin_Inlet",
"America/Recife",
"America/Regina",
"America/Resolute",
"America/Rio_Branco",
"America/Rosario",
"America/Santa_Isabel",
"America/Santarem",
"America/Santiago",
"America/Santo_Domingo",
"America/Sao_Paulo",
"America/Scoresbysund",
"America/Shiprock",
"America/Sitka",
"America/St_Barthelemy",
"America/St_Johns",
"America/St_Kitts",
"America/St_Lucia",
"America/St_Thomas",
"America/St_Vincent",
"America/Swift_Current",
"America/Tegucigalpa",
"America/Thule",
"America/Thunder_Bay",
"America/Tijuana",
"America/Toronto",
"America/Tortola",
"America/Vancouver",
"America/Virgin",
"America/Whitehorse",
"America/Winnipeg",
"America/Yakutat",
"America/Yellowknife",
"Antarctica/Casey",
"Antarctica/Davis",
"Antarctica/DumontDUrville",
"Antarctica/Macquarie",
"Antarctica/Mawson",
"Antarctica/McMurdo",
"Antarctica/Palmer",
"Antarctica/Rothera",
"Antarctica/South_Pole",
"Antarctica/Syowa",
"Antarctica/Troll",
"Antarctica/Vostok",
"Arctic/Longyearbyen",
"Asia/Aden",
"Asia/Almaty",
"Asia/Amman",
"Asia/Anadyr",
"Asia/Aqtau",
"Asia/Aqtobe",
"Asia/Ashgabat",
"Asia/Ashkhabad",
"Asia/Atyrau",
"Asia/Baghdad",
"Asia/Bahrain",
"Asia/Baku",
"Asia/Bangkok",
"Asia/Barnaul",
"Asia/Beirut",
"Asia/Bishkek",
"Asia/Brunei",
"Asia/Calcutta",
"Asia/Chita",
"Asia/Choibalsan",
"Asia/Chongqing",
"Asia/Chungking",
"Asia/Colombo",
"Asia/Dacca",
"Asia/Damascus",
"Asia/Dhaka",
"Asia/Dili",
"Asia/Dubai",
"Asia/Dushanbe",
"Asia/Famagusta",
"Asia/Gaza",
"Asia/Harbin",
"Asia/Hebron",
"Asia/Ho_Chi_Minh",
"Asia/Hong_Kong",
"Asia/Hovd",
"Asia/Irkutsk",
"Asia/Istanbul",
"Asia/Jakarta",
"Asia/Jayapura",
"Asia/Jerusalem",
"Asia/Kabul",
"Asia/Kamchatka",
"Asia/Karachi",
"Asia/Kashgar",
"Asia/Kathmandu",
"Asia/Katmandu",
"Asia/Khandyga",
"Asia/Kolkata",
"Asia/Krasnoyarsk",
"Asia/Kuala_Lumpur",
"Asia/Kuching",
"Asia/Kuwait",
"Asia/Macao",
"Asia/Macau",
"Asia/Magadan",
"Asia/Makassar",
"Asia/Manila",
"Asia/Muscat",
"Asia/Nicosia",
"Asia/Novokuznetsk",
"Asia/Novosibirsk",
"Asia/Omsk",
"Asia/Oral",
"Asia/Phnom_Penh",
"Asia/Pontianak",
"Asia/Pyongyang",
"Asia/Qatar",
"Asia/Qostanay",
"Asia/Qyzylorda",
"Asia/Rangoon",
"Asia/Riyadh",
"Asia/Saigon",
"Asia/Sakhalin",
"Asia/Samarkand",
"Asia/Seoul",
"Asia/Shanghai",
"Asia/Singapore",
"Asia/Srednekolymsk",
"Asia/Taipei",
"Asia/Tashkent",
"Asia/Tbilisi",
"Asia/Tehran",
"Asia/Tel_Aviv",
"Asia/Thimbu",
"Asia/Thimphu",
"Asia/Tokyo",
"Asia/Tomsk",
"Asia/Ujung_Pandang",
"Asia/Ulaanbaatar",
"Asia/Ulan_Bator",
"Asia/Urumqi",
"Asia/Ust-Nera",
"Asia/Vientiane",
"Asia/Vladivostok",
"Asia/Yakutsk",
"Asia/Yangon",
"Asia/Yekaterinburg",
"Asia/Yerevan",
"Atlantic/Azores",
"Atlantic/Bermuda",
"Atlantic/Canary",
"Atlantic/Cape_Verde",
"Atlantic/Faeroe",
"Atlantic/Faroe",
"Atlantic/Jan_Mayen",
"Atlantic/Madeira",
"Atlantic/Reykjavik",
"Atlantic/South_Georgia",
"Atlantic/St_Helena",
"Atlantic/Stanley",
"Australia/ACT",
"Australia/Adelaide",
"Australia/Brisbane",
"Australia/Broken_Hill",
"Australia/Canberra",
"Australia/Currie",
"Australia/Darwin",
"Australia/Eucla",
"Australia/Hobart",
"Australia/LHI",
"Australia/Lindeman",
"Australia/Lord_Howe",
"Australia/Melbourne",
"Australia/North",
"Australia/NSW",
"Australia/Perth",
"Australia/Queensland",
"Australia/South",
"Australia/Sydney",
"Australia/Tasmania",
"Australia/Victoria",
"Australia/West",
"Australia/Yancowinna",
"Brazil/Acre",
"Brazil/DeNoronha",
"Brazil/East",
"Brazil/West",
"Canada/Atlantic",
"Canada/Central",
"Canada/Eastern",
"Canada/Mountain",
"Canada/Newfoundland",
"Canada/Pacific",
"Canada/Saskatchewan",
"Canada/Yukon",
"Chile/Continental",
"Chile/EasterIsland",
"Cuba",
"Egypt",
"Eire",
"Etc/GMT",
"Etc/GMT+0",
"Etc/GMT+1",
"Etc/GMT+10",
"Etc/GMT+11",
"Etc/GMT+12",
"Etc/GMT+2",
"Etc/GMT+3",
"Etc/GMT+4",
"Etc/GMT+5",
"Etc/GMT+6",
"Etc/GMT+7",
"Etc/GMT+8",
"Etc/GMT+9",
"Etc/GMT-0",
"Etc/GMT-1",
"Etc/GMT-10",
"Etc/GMT-11",
"Etc/GMT-12",
"Etc/GMT-13",
"Etc/GMT-14",
"Etc/GMT-2",
"Etc/GMT-3",
"Etc/GMT-4",
"Etc/GMT-5",
"Etc/GMT-6",
"Etc/GMT-7",
"Etc/GMT-8",
"Etc/GMT-9",
"Etc/GMT0",
"Etc/Greenwich",
"Etc/UCT",
"Etc/Universal",
"Etc/UTC",
"Etc/Zulu",
"Europe/Amsterdam",
"Europe/Andorra",
"Europe/Astrakhan",
"Europe/Athens",
"Europe/Belfast",
"Europe/Belgrade",
"Europe/Berlin",
"Europe/Bratislava",
"Europe/Brussels",
"Europe/Bucharest",
"Europe/Budapest",
"Europe/Busingen",
"Europe/Chisinau",
"Europe/Copenhagen",
"Europe/Dublin",
"Europe/Gibraltar",
"Europe/Guernsey",
"Europe/Helsinki",
"Europe/Isle_of_Man",
"Europe/Istanbul",
"Europe/Jersey",
"Europe/Kaliningrad",
"Europe/Kiev",
"Europe/Kirov",
"Europe/Lisbon",
"Europe/Ljubljana",
"Europe/London",
"Europe/Luxembourg",
"Europe/Madrid",
"Europe/Malta",
"Europe/Mariehamn",
"Europe/Minsk",
"Europe/Monaco",
"Europe/Moscow",
"Europe/Nicosia",
"Europe/Oslo",
"Europe/Paris",
"Europe/Podgorica",
"Europe/Prague",
"Europe/Riga",
"Europe/Rome",
"Europe/Samara",
"Europe/San_Marino",
"Europe/Sarajevo",
"Europe/Saratov",
"Europe/Simferopol",
"Europe/Skopje",
"Europe/Sofia",
"Europe/Stockholm",
"Europe/Tallinn",
"Europe/Tirane",
"Europe/Tiraspol",
"Europe/Ulyanovsk",
"Europe/Uzhgorod",
"Europe/Vaduz",
"Europe/Vatican",
"Europe/Vienna",
"Europe/Vilnius",
"Europe/Volgograd",
"Europe/Warsaw",
"Europe/Zagreb",
"Europe/Zaporozhye",
"Europe/Zurich",
"GB",
"GB-Eire",
"Hongkong",
"Iceland",
"Indian/Antananarivo",
"Indian/Chagos",
"Indian/Christmas",
"Indian/Cocos",
"Indian/Comoro",
"Indian/Kerguelen",
"Indian/Mahe",
"Indian/Maldives",
"Indian/Mauritius",
"Indian/Mayotte",
"Indian/Reunion",
"Iran",
"Israel",
"Jamaica",
"Japan",
"Kwajalein",
"Libya",
"Mexico/BajaNorte",
"Mexico/BajaSur",
"Mexico/General",
"Navajo",
"NZ",
"NZ-CHAT",
"Pacific/Apia",
"Pacific/Auckland",
"Pacific/Bougainville",
"Pacific/Chatham",
"Pacific/Chuuk",
"Pacific/Easter",
"Pacific/Efate",
"Pacific/Enderbury",
"Pacific/Fakaofo",
"Pacific/Fiji",
"Pacific/Funafuti",
"Pacific/Galapagos",
"Pacific/Gambier",
"Pacific/Guadalcanal",
"Pacific/Guam",
"Pacific/Honolulu",
"Pacific/Johnston",
"Pacific/Kanton",
"Pacific/Kiritimati",
"Pacific/Kosrae",
"Pacific/Kwajalein",
"Pacific/Majuro",
"Pacific/Marquesas",
"Pacific/Midway",
"Pacific/Nauru",
"Pacific/Niue",
"Pacific/Norfolk",
"Pacific/Noumea",
"Pacific/Pago_Pago",
"Pacific/Palau",
"Pacific/Pitcairn",
"Pacific/Pohnpei",
"Pacific/Ponape",
"Pacific/Port_Moresby",
"Pacific/Rarotonga",
"Pacific/Saipan",
"Pacific/Samoa",
"Pacific/Tahiti",
"Pacific/Tarawa",
"Pacific/Tongatapu",
"Pacific/Truk",
"Pacific/Wake",
"Pacific/Wallis",
"Pacific/Yap",
"Poland",
"Portugal",
"PRC",
"ROC",
"Singapore",
"US/Alaska",
"US/Aleutian",
"US/Arizona",
"US/Central",
"US/East-Indiana",
"US/Eastern",
"US/Hawaii",
"US/Indiana-Starke",
"US/Michigan",
"US/Mountain",
"US/Pacific",
"US/Samoa"
]
},
"nullable-timezone": {
"$id": "nullable-timezone",
"oneOf": [
{
"$ref": "#/definitions/timezone"
},
{
"type": "null"
}
]
}
},
"title": "Common types for all schemas",
"properties": {
"nullable-array": {
"$ref": "#/definitions/nullable-array"
},
"nullable-boolean": {
"$ref": "#/definitions/nullable-boolean"
},
"nullable-integer": {
"$ref": "#/definitions/nullable-integer"
},
"nullable-number": {
"$ref": "#/definitions/nullable-number"
},
"nullable-object": {
"$ref": "#/definitions/nullable-object"
},
"nullable-string": {
"$ref": "#/definitions/nullable-string"
},
"path": {
"$ref": "#/definitions/path"
},
"nullable-path": {
"$ref": "#/definitions/nullable-path"
},
"editor": {
"$ref": "#/definitions/editor"
},
"nullable-editor": {
"$ref": "#/definitions/nullable-editor"
},
"timezone": {
"$ref": "#/definitions/timezone"
},
"nullable-timezone": {
"$ref": "#/definitions/nullable-timezone"
}
},
"required": [
"nullable-array",
"nullable-boolean",
"nullable-integer",
"nullable-number",
"nullable-object",
"nullable-string",
"path",
"nullable-path",
"editor",
"nullable-editor",
"timezone",
"nullable-timezone"
]
} | base |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time": {
"_format": "date-time",
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": "string"
}
},
"description": "DaemonSetCondition describes the state of a DaemonSet at a certain point.",
"properties": {
"lastTransitionTime": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Last time the condition transitioned from one status to another."
},
"message": {
"description": "A human readable message indicating details about the transition.",
"type": [
"string",
"null"
]
},
"reason": {
"description": "The reason for the condition's last transition.",
"type": [
"string",
"null"
]
},
"status": {
"description": "Status of the condition, one of True, False, Unknown.",
"type": [
"string",
"null"
]
},
"type": {
"description": "Type of DaemonSet condition.",
"type": [
"string",
"null"
]
}
},
"required": [
"type",
"status"
],
"type": "object"
} | kb_230_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$version": "0.0.1",
"title": "sample",
"description": "link_ext",
"definitions": {},
"properties": {
"test": {
"links": [
{
"title": "async",
"href": "/test",
"method": "GET",
"rel": "self",
"$async": true,
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "no_async",
"href": "/test",
"method": "GET",
"rel": "self",
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "no_async2",
"href": "/test",
"method": "GET",
"rel": "self",
"$async": false,
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "no_result_api",
"href": "/test",
"method": "GET",
"rel": "self",
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api",
"href": "/test",
"method": "GET",
"rel": "self",
"$result": {
"title": "hoge"
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "undefined_result_api",
"href": "/test",
"method": "GET",
"rel": "self",
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_no_param",
"href": "/test",
"method": "GET",
"rel": "self",
"$result": {
"title": "hoge"
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_no_param2",
"href": "/test",
"method": "GET",
"rel": "self",
"$result": {
"title": "hoge",
"params": []
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_1_str_params",
"href": "/test",
"method": "GET",
"rel": "self",
"$result": {
"title": "hoge",
"params": [
"aaa"
]
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_2_str_params",
"href": "/test",
"method": "GET",
"rel": "self",
"$result": {
"title": "hoge",
"params": [
"aaa",
"bbb"
]
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_numeric_params",
"href": "/test",
"method": "GET",
"rel": "self",
"$result": {
"title": "hoge",
"params": [
1
]
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_str_and_numeric_params",
"href": "/test",
"method": "GET",
"rel": "self",
"$result": {
"title": "hoge",
"params": [
"aaa",
1
]
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_array_params",
"href": "/test",
"method": "GET",
"rel": "self",
"$result": {
"title": "hoge",
"params": [
[
"aaa",
1
]
]
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_nest_array_params",
"href": "/test",
"method": "GET",
"rel": "self",
"$result": {
"title": "hoge",
"params": [
[
[
"aaa",
1
]
]
]
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_empty_hash_params",
"href": "/test",
"method": "GET",
"rel": "self",
"$result": {
"title": "hoge",
"params": [
{}
]
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_hash_params",
"href": "/test",
"method": "GET",
"rel": "self",
"$result": {
"title": "hoge",
"params": [
{
"aaa": "bbb"
}
]
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_hash_nest_array_params",
"href": "/test",
"method": "GET",
"rel": "self",
"$result": {
"title": "hoge",
"params": [
{
"aaa": [
"bbb",
"ccc"
]
}
]
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_nest_hash_params",
"href": "/test",
"method": "GET",
"rel": "self",
"$result": {
"title": "hoge",
"params": [
{
"aaa": {
"bbb": "ccc"
}
}
]
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_input_param",
"href": "/test/{hoge}",
"method": "GET",
"rel": "self",
"$result": {
"title": "hoge",
"params": [
"#{hoge}"
]
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_result_param",
"href": "/test/{hoge}",
"method": "GET",
"rel": "self",
"$result": {
"title": "hoge",
"params": [
"result[configures.0.id]"
]
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_result_param2",
"href": "/test/{hoge}",
"method": "GET",
"rel": "self",
"$result": {
"title": "hoge",
"params": [
"result[configures.1.name]"
]
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_input_and_result_param",
"href": "/test/{hoge}",
"method": "GET",
"rel": "self",
"$result": {
"title": "hoge",
"params": [
"#{hoge}",
"result[configures.0.id]"
]
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_not_async_resource_id_param",
"href": "/test/{hoge}",
"method": "GET",
"rel": "self",
"$result": {
"title": "hoge",
"params": [
"#{resource_id}"
]
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_async_resource_id_param",
"href": "/test/{hoge}",
"method": "GET",
"rel": "self",
"$async": true,
"$result": {
"title": "hoge",
"params": [
"#{resource_id}"
]
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_all_param",
"href": "/test/{hoge}",
"method": "GET",
"rel": "self",
"$async": true,
"$result": {
"title": "hoge",
"params": [
"#{hoge}",
"result[configures.0.id]",
"#{resource_id}"
]
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_hash_param",
"href": "/test/{hoge}/{piyo}",
"method": "GET",
"rel": "self",
"$async": true,
"$result": {
"title": "hoge",
"params": [
"#{hoge}",
{
"input": "#{piyo}",
"param": {
"conf0_id": "result[configures.0.id]",
"conf1_name": "result[configures.1.name]"
}
}
]
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_not_found_input_param",
"href": "/test",
"method": "GET",
"rel": "self",
"$async": true,
"$result": {
"title": "hoge",
"params": [
"#{hoge}"
]
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
},
{
"title": "result_api_not_found_result_param",
"href": "/test",
"method": "GET",
"rel": "self",
"$async": true,
"$result": {
"title": "hoge",
"params": [
"result[none]"
]
},
"schema": {
"properties": {}
},
"targetSchema": {
"properties": {}
}
}
]
}
}
} | o47153 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Predicate definition",
"type": "object",
"properties": {
"name": {
"title": "Predicate Name",
"description": "Unique name of a predicate",
"type": "string",
"minLength": 1
},
"description": {
"title": "Predicate description",
"description": "Short description of the predicate meaning",
"type": "string",
"minLength": 1
}
},
"required": [
"name",
"description"
],
"additionalProperties": false
} | o80825 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_LimitResponse": {
"description": "LimitResponse defines how to handle requests that can not be executed right now.",
"properties": {
"queuing": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_QueuingConfiguration",
"description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`."
},
"type": {
"description": "`type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required.",
"type": "string"
}
},
"required": [
"type"
],
"type": "object",
"x-kubernetes-unions": [
{
"discriminator": "type",
"fields-to-discriminateBy": {
"queuing": "Queuing"
}
}
]
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_LimitedPriorityLevelConfiguration": {
"description": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?",
"properties": {
"assuredConcurrencyShares": {
"_format": "int32",
"description": "`assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) --- the number of requests that may be executing at a time --- for each such priority level:\n\n ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) )\n\nbigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30.",
"type": "integer"
},
"limitResponse": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_LimitResponse",
"description": "`limitResponse` indicates what to do with requests that can not be executed right now"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_QueuingConfiguration": {
"description": "QueuingConfiguration holds the configuration parameters for queuing",
"properties": {
"handSize": {
"_format": "int32",
"description": "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8.",
"type": "integer"
},
"queueLengthLimit": {
"_format": "int32",
"description": "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50.",
"type": "integer"
},
"queues": {
"_format": "int32",
"description": "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64.",
"type": "integer"
}
},
"type": "object"
}
},
"description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.",
"properties": {
"limited": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_flowcontrol_v1alpha1_LimitedPriorityLevelConfiguration",
"description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`."
},
"type": {
"description": "`type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.",
"type": [
"string",
"null"
]
}
},
"required": [
"type"
],
"type": "object",
"x-kubernetes-unions": [
{
"discriminator": "type",
"fields-to-discriminateBy": {
"limited": "Limited"
}
}
]
} | kb_775_Normalized |
{
"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_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_AzureFilePersistentVolumeSource": {
"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"
},
"secretNamespace": {
"description": "the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod",
"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_CSIPersistentVolumeSource": {
"description": "Represents storage that is managed by an external CSI volume driver (Beta feature)",
"properties": {
"controllerExpandSecretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretReference",
"description": "ControllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an alpha field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."
},
"controllerPublishSecretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretReference",
"description": "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."
},
"driver": {
"description": "Driver is the name of the driver to use for this volume. Required.",
"type": "string"
},
"fsType": {
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".",
"type": "string"
},
"nodePublishSecretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretReference",
"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 secrets are passed."
},
"nodeStageSecretRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_SecretReference",
"description": "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed."
},
"readOnly": {
"description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).",
"type": "boolean"
},
"volumeAttributes": {
"additionalProperties": {
"type": "string"
},
"description": "Attributes of the volume to publish.",
"type": "object"
},
"volumeHandle": {
"description": "VolumeHandle is the unique volume name returned by the CSI volume plugin\u2019s CreateVolume to refer to the volume on all subsequent calls. Required.",
"type": "string"
}
},
"required": [
"driver",
"volumeHandle"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_CephFSPersistentVolumeSource": {
"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_SecretReference",
"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_CinderPersistentVolumeSource": {
"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_SecretReference",
"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_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_FlexPersistentVolumeSource": {
"description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.",
"properties": {
"driver": {
"description": "Driver is the name of the driver to use for this volume.",
"type": "string"
},
"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_SecretReference",
"description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts."
}
},
"required": [
"driver"
],
"type": "object"
},
"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_GlusterfsPersistentVolumeSource": {
"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"
},
"endpointsNamespace": {
"description": "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. 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_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_ISCSIPersistentVolumeSource": {
"description": "ISCSIPersistentVolumeSource 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_SecretReference",
"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_LocalVolumeSource": {
"description": "Local represents directly-attached storage with node affinity (Beta feature)",
"properties": {
"fsType": {
"description": "Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem if unspecified.",
"type": "string"
},
"path": {
"description": "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).",
"type": "string"
}
},
"required": [
"path"
],
"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_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_ObjectReference": {
"description": "ObjectReference contains enough information to let you inspect or modify the referred object.",
"properties": {
"apiVersion": {
"description": "API version of the referent.",
"type": "string"
},
"fieldPath": {
"description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.",
"type": "string"
},
"kind": {
"description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"name": {
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"namespace": {
"description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/",
"type": "string"
},
"resourceVersion": {
"description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
"type": "string"
},
"uid": {
"description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeSpec": {
"description": "PersistentVolumeSpec is the specification of a persistent volume.",
"properties": {
"accessModes": {
"description": "AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes",
"items": {
"type": "string"
},
"type": "array"
},
"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_AzureFilePersistentVolumeSource",
"description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod."
},
"capacity": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity"
},
"description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity",
"type": "object"
},
"cephfs": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_CephFSPersistentVolumeSource",
"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_CinderPersistentVolumeSource",
"description": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"
},
"claimRef": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ObjectReference",
"description": "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding"
},
"csi": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_CSIPersistentVolumeSource",
"description": "CSI represents storage that is handled by an external CSI driver (Beta feature)."
},
"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_FlexPersistentVolumeSource",
"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 and exposed to the pod for its usage. 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. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"
},
"glusterfs": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_GlusterfsPersistentVolumeSource",
"description": "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. 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 directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. 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_ISCSIPersistentVolumeSource",
"description": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin."
},
"local": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_LocalVolumeSource",
"description": "Local represents directly-attached storage with node affinity"
},
"mountOptions": {
"description": "A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options",
"items": {
"type": "string"
},
"type": "array"
},
"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. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs"
},
"nodeAffinity": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_VolumeNodeAffinity",
"description": "NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume."
},
"persistentVolumeReclaimPolicy": {
"description": "What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming",
"type": "string"
},
"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"
},
"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_RBDPersistentVolumeSource",
"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_ScaleIOPersistentVolumeSource",
"description": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."
},
"storageClassName": {
"description": "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.",
"type": "string"
},
"storageos": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_StorageOSPersistentVolumeSource",
"description": "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md"
},
"volumeMode": {
"description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec.",
"type": "string"
},
"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"
}
},
"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_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_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_RBDPersistentVolumeSource": {
"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_SecretReference",
"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_ScaleIOPersistentVolumeSource": {
"description": "ScaleIOPersistentVolumeSource 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_SecretReference",
"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_SecretReference": {
"description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace",
"properties": {
"name": {
"description": "Name is unique within a namespace to reference a secret resource.",
"type": "string"
},
"namespace": {
"description": "Namespace defines the space within which the secret name must be unique.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_StorageOSPersistentVolumeSource": {
"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_ObjectReference",
"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_VolumeNodeAffinity": {
"description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.",
"properties": {
"required": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_NodeSelector",
"description": "Required specifies hard node constraints that must be met."
}
},
"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_storage_v1alpha1_VolumeAttachment": {
"description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"enum": [
"VolumeAttachment"
],
"type": "string"
},
"metadata": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta",
"description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"spec": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_storage_v1alpha1_VolumeAttachmentSpec",
"description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."
},
"status": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_storage_v1alpha1_VolumeAttachmentStatus",
"description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."
}
},
"required": [
"spec"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "storage.k8s.io",
"kind": "VolumeAttachment",
"version": "v1alpha1"
}
]
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_storage_v1alpha1_VolumeAttachmentSource": {
"description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.",
"properties": {
"inlineVolumeSpec": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeSpec",
"description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature."
},
"persistentVolumeName": {
"description": "Name of the persistent volume to attach.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_storage_v1alpha1_VolumeAttachmentSpec": {
"description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.",
"properties": {
"attacher": {
"description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().",
"type": "string"
},
"nodeName": {
"description": "The node that the volume should be attached to.",
"type": "string"
},
"source": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_storage_v1alpha1_VolumeAttachmentSource",
"description": "Source represents the volume that should be attached."
}
},
"required": [
"attacher",
"source",
"nodeName"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_storage_v1alpha1_VolumeAttachmentStatus": {
"description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.",
"properties": {
"attachError": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_storage_v1alpha1_VolumeError",
"description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."
},
"attached": {
"description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
"type": "boolean"
},
"attachmentMetadata": {
"additionalProperties": {
"type": "string"
},
"description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
"type": "object"
},
"detachError": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_storage_v1alpha1_VolumeError",
"description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."
}
},
"required": [
"attached"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_storage_v1alpha1_VolumeError": {
"description": "VolumeError captures an error encountered during a volume operation.",
"properties": {
"message": {
"description": "String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information.",
"type": "string"
},
"time": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Time the error was encountered."
}
},
"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_ListMeta": {
"description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
"properties": {
"continue": {
"description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.",
"type": "string"
},
"remainingItemCount": {
"_format": "int64",
"description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.",
"type": "integer"
},
"resourceVersion": {
"description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
"type": "string"
},
"selfLink": {
"description": "selfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry": {
"description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.",
"type": "string"
},
"fieldsType": {
"description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
"type": "string"
},
"fieldsV1": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_FieldsV1",
"description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type."
},
"manager": {
"description": "Manager is an identifier of the workflow managing these fields.",
"type": "string"
},
"operation": {
"description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.",
"type": "string"
},
"time": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta": {
"description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations",
"type": "object"
},
"clusterName": {
"description": "The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.",
"type": "string"
},
"creationTimestamp": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"deletionGracePeriodSeconds": {
"_format": "int64",
"description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
"type": "integer"
},
"deletionTimestamp": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"finalizers": {
"description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.",
"items": {
"type": "string"
},
"type": "array",
"x-kubernetes-patch-strategy": "merge"
},
"generateName": {
"description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency",
"type": "string"
},
"generation": {
"_format": "int64",
"description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
"type": "integer"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels",
"type": "object"
},
"managedFields": {
"description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ManagedFieldsEntry"
},
"type": "array"
},
"name": {
"description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
"type": "string"
},
"namespace": {
"description": "Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces",
"type": "string"
},
"ownerReferences": {
"description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_OwnerReference"
},
"type": "array",
"x-kubernetes-patch-merge-key": "uid",
"x-kubernetes-patch-strategy": "merge"
},
"resourceVersion": {
"description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
"type": "string"
},
"selfLink": {
"description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.",
"type": "string"
},
"uid": {
"description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_OwnerReference": {
"description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.",
"properties": {
"apiVersion": {
"description": "API version of the referent.",
"type": "string"
},
"blockOwnerDeletion": {
"description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.",
"type": "boolean"
},
"controller": {
"description": "If true, this reference points to the managing controller.",
"type": "boolean"
},
"kind": {
"description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"name": {
"description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
"type": "string"
},
"uid": {
"description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
"type": "string"
}
},
"required": [
"apiVersion",
"kind",
"name",
"uid"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time": {
"_format": "date-time",
"description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
"type": "string"
}
},
"description": "VolumeAttachmentList is a collection of VolumeAttachment objects.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"enum": [
"storage.k8s.io/v1alpha1"
],
"type": [
"string",
"null"
]
},
"items": {
"description": "Items is the list of VolumeAttachments",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_storage_v1alpha1_VolumeAttachment"
},
"type": [
"array",
"null"
]
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"enum": [
"VolumeAttachmentList"
],
"type": [
"string",
"null"
]
},
"metadata": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ListMeta",
"description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
}
},
"required": [
"items"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "storage.k8s.io",
"kind": "VolumeAttachmentList",
"version": "v1alpha1"
}
]
} | kb_1110_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"tiers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"yaks_required": {
"type": "number"
},
"upgrades": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
}
},
"required": [
"name",
"description",
"icon"
]
}
}
},
"required": [
"name",
"yaks_required",
"upgrades"
]
}
}
},
"required": [
"id",
"tiers"
]
},
"properties": {},
"additionalProperties": false
} | o45232 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "pubsub push subscription request",
"description": "pubsub push subscription request",
"type": "object",
"properties": {
"message": {
"type": "object",
"properties": {
"attributes": {
"patternProperties": {
"^[A-Za-z0-9_\\-]+$": {
"type": "string",
"minLength": 1
}
}
},
"data": {
"type": "string",
"minLength": 1
},
"publish_time": {
"type": "string",
"minLength": 1
},
"publishTime": {
"type": "string",
"minLength": 1
},
"message_id": {
"type": "string",
"minLength": 1
},
"messageId": {
"type": "string",
"minLength": 1
}
},
"required": [
"attributes",
"data",
"message_id",
"messageId",
"publish_time",
"publishTime"
],
"additionalProperties": false
},
"subscription": {
"type": "string",
"minLength": 1
}
},
"required": [
"message",
"subscription"
],
"additionalProperties": false
} | o76463 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"oneOf": [
{
"title": "Device Connected",
"description": "Schema for marking a device as connected",
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"connected"
]
},
"connectedAt": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "object",
"properties": {
"$date": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"$date"
]
}
]
}
},
"required": [
"status"
],
"additionalProperties": false
},
{
"title": "Device Disconnected",
"description": "Schema for marking a device as disconnected",
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"disconnected"
]
},
"connectedAt": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "object",
"properties": {
"$date": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"$date"
]
}
]
},
"disconnectedAt": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "object",
"properties": {
"$date": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"$date"
]
}
]
},
"disconnectReason": {
"type": "string",
"maxLength": 1024
},
"messagesFromClient": {
"type": "number"
},
"messagesToClient": {
"type": "number"
}
},
"required": [
"status"
],
"additionalProperties": false
}
]
} | o9827 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"start": {
"type": "number"
},
"end": {
"type": "number"
},
"duration": {
"type": "number"
},
"resolution": {
"type": "number"
},
"aggregation": {
"oneOf": [
{
"type": "string",
"enum": [
"FIRST",
"LAST",
"COUNT",
"MAX",
"MIN",
"MEDIAN",
"MEAN",
"SUM",
"STD_DEV"
]
},
{
"type": "string",
"enum": [
"NONE"
]
}
]
},
"attributes": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
}
},
"deviceTags": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 255
}
},
"additionalProperties": false
},
"maxItems": 100
},
"deviceIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
},
"maxItems": 1000
},
"limit": {
"type": "number"
},
"order": {
"type": "string",
"enum": [
"asc",
"desc"
],
"default": "asc"
}
},
"additionalProperties": false
} | o9958 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "News Item Info",
"description": "Info files for news items.",
"type": "object",
"additionalProperties": false,
"required": [
"uuid",
"title",
"visible_to_students"
],
"properties": {
"uuid": {
"description": "Unique identifier (UUID v4).",
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
},
"title": {
"description": "The title of the news item.",
"type": "string"
},
"author": {
"description": "The author of the news item.",
"type": "string"
},
"visible_to_students": {
"description": "Whether the news item should be shown to students.",
"type": "boolean"
}
}
} | o62138 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "image",
"description": "A image atom",
"type": "object",
"properties": {
"modifier": {
"description": "A modifier - default is 16:9",
"enum": [
"",
"fit-parent",
"1x1"
]
},
"alt": {
"type": "string"
},
"srcset": {
"type": "object",
"properties": {
"renditions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"media": {
"description": "sizes",
"enum": [
"100w",
"180w",
"230w",
"290w",
"320w",
"360w",
"460w",
"480w",
"580w",
"640w",
"760w",
"960w",
"1200w",
"1280w",
"1496w",
"1920w",
"1960w",
"2880w",
"3920w"
]
},
"src": {
"type": "string"
}
},
"required": [
"media",
"src"
]
}
}
}
},
"customRenditions": {
"type": "object",
"description": "Custom renditions to render e.g. a fallback or preview image",
"properties": {
"fallbackImage": {
"type": "string",
"description": "The src to the fallback image to be rendered initially"
}
},
"required": [
"fallbackImage"
]
}
},
"required": [
"alt",
"srcset"
]
} | o62773 |
{
"description": "ServiceAccountSubject holds detailed information for service-account-kind subject.",
"properties": {
"name": {
"description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required.",
"type": [
"string",
"null"
]
},
"namespace": {
"description": "`namespace` is the namespace of matching ServiceAccount objects. Required.",
"type": [
"string",
"null"
]
}
},
"required": [
"namespace",
"name"
],
"type": "object"
} | kb_974_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
":@computed_region_bh8s_q3mv": {
"type": "string"
},
":@computed_region_fyvs_ahh9": {
"type": "string"
},
":@computed_region_p5aj_wyqh": {
"type": "string"
},
":@computed_region_rxqg_mtj9": {
"type": "string"
},
":@computed_region_yftq_j783": {
"type": "string"
},
"address": {
"type": "string"
},
"applicant": {
"type": "string"
},
"approved": {
"type": "string"
},
"block": {
"type": "string"
},
"blocklot": {
"type": "string"
},
"cnn": {
"type": "string"
},
"dayshours": {
"type": "string"
},
"expirationdate": {
"type": "string"
},
"facilitytype": {
"type": "string"
},
"fooditems": {
"type": "string"
},
"latitude": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"coordinates": {
"type": "array",
"items": {
"type": "number"
}
}
},
"required": [
"type",
"coordinates"
]
},
"locationdescription": {
"type": "string"
},
"longitude": {
"type": "string"
},
"lot": {
"type": "string"
},
"objectid": {
"type": "string"
},
"permit": {
"type": "string"
},
"priorpermit": {
"type": "string"
},
"received": {
"type": "string"
},
"schedule": {
"type": "string"
},
"status": {
"type": "string"
},
"x": {
"type": "string"
},
"y": {
"type": "string"
}
}
}
} | o91100 |
{
"description": "EventSource contains information for an event.",
"properties": {
"component": {
"description": "Component from which the event is generated.",
"type": [
"string",
"null"
]
},
"host": {
"description": "Node name on which the event is generated.",
"type": [
"string",
"null"
]
}
},
"type": "object"
} | kb_333_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"definitions": {
"absolute_path": {
"description": "A path only. Query string and/or fragment are not allowed.",
"pattern": "^/(([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})+(/([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})*)*)?$",
"type": "string"
},
"analytics_identifier": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "A short identifier we send to Google Analytics for multi-valued fields. This means we avoid the truncated values we would get if we sent the path or slug of eg organisations."
},
"body": {
"description": "The main content provided as HTML rendered from govspeak",
"type": "string"
},
"change_history": {
"items": {
"additionalProperties": false,
"properties": {
"note": {
"description": "A summary of the change",
"type": "string"
},
"public_timestamp": {
"_format": "date-time",
"type": "string"
}
},
"required": [
"public_timestamp",
"note"
],
"type": "object"
},
"type": "array"
},
"description": {
"type": "string"
},
"description_optional": {
"anyOf": [
{
"$ref": "#/definitions/description"
},
{
"type": "null"
}
]
},
"details": {
"additionalProperties": false,
"properties": {
"body": {
"$ref": "#/definitions/body"
},
"change_history": {
"$ref": "#/definitions/change_history"
},
"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"
},
"govuk_request_id": {
"type": [
"string",
"null"
]
},
"guid": {
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$",
"type": "string"
},
"guid_list": {
"items": {
"$ref": "#/definitions/guid"
},
"type": "array",
"_uniqueItems": true
},
"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"
},
"payload_version": {
"description": "Counter to indicate when the payload was generated",
"type": "integer"
},
"public_updated_at": {
"_format": "date-time",
"description": "When the content was last significantly changed (a major update). Shown to users. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string"
},
"publishing_app_name": {
"description": "The application that published this item.",
"enum": [
"calculators",
"calendars",
"collections-publisher",
"contacts",
"content-publisher",
"content-tagger",
"email-alert-frontend",
"external-link-tracker",
"feedback",
"frontend",
"government-frontend",
"hmrc-manuals-api",
"info-frontend",
"licencefinder",
"local-links-manager",
"manuals-frontend",
"manuals-publisher",
"maslow",
"performanceplatform-big-screen-view",
"publisher",
"rummager",
"search-admin",
"search-api",
"service-manual-publisher",
"share-sale-publisher",
"short-url-manager",
"smartanswers",
"special-route-publisher",
"specialist-publisher",
"static",
"tariff",
"travel-advice-publisher",
"whitehall"
],
"type": "string"
},
"publishing_request_id": {
"description": "A unique identifier used to track publishing requests to rendered content",
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"rendering_app": {
"description": "The application that renders this item.",
"enum": [
"calculators",
"calendars",
"collections",
"content-store",
"email-alert-frontend",
"email-campaign-frontend",
"feedback",
"finder-frontend",
"frontend",
"government-frontend",
"info-frontend",
"licencefinder",
"manuals-frontend",
"performanceplatform-big-screen-view",
"rummager",
"search-api",
"service-manual-frontend",
"smartanswers",
"spotlight",
"static",
"tariff",
"whitehall-admin",
"whitehall-frontend"
],
"type": "string"
},
"route": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"type": {
"enum": [
"prefix",
"exact"
]
}
},
"required": [
"path",
"type"
],
"type": "object"
},
"routes": {
"items": {
"$ref": "#/definitions/route"
},
"minItems": 1,
"type": "array"
},
"tags": {
"additionalProperties": false,
"description": "Field used by email-alert-api to trigger email alerts for subscriptions to topics (gov.uk/topic) and policies (gov.uk/policies).",
"properties": {
"additional_topics": {
"items": {
"type": "string"
},
"type": "array"
},
"browse_pages": {
"items": {
"type": "string"
},
"type": "array"
},
"policies": {
"items": {
"type": "string"
},
"type": "array"
},
"primary_topic": {
"items": {
"type": "string"
},
"type": "array"
},
"topics": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"title": {
"type": "string"
},
"update_type": {
"enum": [
"major",
"minor",
"republish"
]
},
"withdrawn_notice": {
"additionalProperties": false,
"properties": {
"explanation": {
"type": "string"
},
"withdrawn_at": {
"format": "date-time"
}
},
"type": "object"
}
},
"properties": {
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"content_id": {
"$ref": "#/definitions/guid"
},
"content_purpose_document_supertype": {
"description": "DEPRECATED. Use `content_purpose_subgroup`.",
"type": "string"
},
"content_purpose_subgroup": {
"description": "Document subgroup grouping documents by purpose. Narrows down the purpose defined in content_purpose_supergroup.",
"type": "string"
},
"content_purpose_supergroup": {
"description": "Document supergroup grouping documents by a purpose",
"type": "string"
},
"description": {
"$ref": "#/definitions/description_optional"
},
"details": {
"$ref": "#/definitions/details"
},
"document_type": {
"enum": [
"hmrc_manual"
],
"type": "string"
},
"email_document_supertype": {
"description": "Document supertype grouping intended to power the Whitehall finders and email subscriptions",
"type": "string"
},
"expanded_links": {
"additionalProperties": false,
"properties": {
"available_translations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"child_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"children": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"document_collections": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"facet_groups": {
"$ref": "#/definitions/frontend_links",
"description": "Prototype-stage metadata tagging tree roots for this content item. A content item my belong to many facet groups without having any specific facet_values links."
},
"facet_values": {
"$ref": "#/definitions/frontend_links",
"description": "Prototype-stage metadata tagging values for this content item, a content item can be linked to many facet values from varying facet groups."
},
"finder": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers links from content back to finders the content is surfaced on"
},
"lead_organisations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "DEPRECATED: A subset of organisations that should be emphasised in relation to this content item. All organisations specified here should also be part of the organisations array."
},
"level_one_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"mainstream_browse_pages": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers the /browse section of the site. These are known as sections in some legacy apps."
},
"meets_user_needs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The user needs this piece of content meets."
},
"ministers": {
"$ref": "#/definitions/frontend_links",
"description": "Link type automatically added by Publishing API"
},
"ordered_related_items": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger."
},
"ordered_related_items_overrides": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation."
},
"organisations": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "All organisations linked to this content item. This should include lead organisations."
},
"original_primary_publishing_organisation": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The organisation that published the original version of the page. Corresponds to the first of the 'Lead organisations' in Whitehall for the first edition, and is empty for all other publishing applications."
},
"parent": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The parent content item.",
"maxItems": 1
},
"part_of_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"policies": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"policy_areas": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "A largely deprecated tag currently only used to power email alerts."
},
"primary_publishing_organisation": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "The organisation that published the page. Corresponds to the first of the 'Lead organisations' in Whitehall, and is empty for all other publishing applications.",
"maxItems": 1
},
"related_to_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"role_appointments": {
"$ref": "#/definitions/frontend_links",
"description": "Link type automatically added by Publishing API"
},
"secondary_to_step_navs": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"suggested_ordered_related_items": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "New A/B test suggestions for related items. Used for displaying related content on most pages, except for step-by-step and fatality notices. Links and their ordering are determined by the machine learning algorithms included in this A/B test."
},
"taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Prototype-stage taxonomy label for this content item"
},
"topic_taxonomy_taxons": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Link type automatically added by Publishing API"
},
"topics": {
"$ref": "#/definitions/frontend_links_with_base_path",
"description": "Powers the /topic section of the site. These are known as specialist sectors in some legacy apps."
}
},
"type": "object"
},
"first_published_at": {
"$ref": "#/definitions/first_published_at"
},
"government_document_supertype": {
"description": "Document supertype grouping intended to power the Whitehall finders and email subscriptions",
"type": "string"
},
"govuk_request_id": {
"$ref": "#/definitions/govuk_request_id"
},
"links": {
"additionalProperties": false,
"properties": {
"facet_groups": {
"$ref": "#/definitions/guid_list",
"description": "Prototype-stage metadata tagging tree roots for this content item. A content item my belong to many facet groups without having any specific facet_values links."
},
"facet_values": {
"$ref": "#/definitions/guid_list",
"description": "Prototype-stage metadata tagging values for this content item, a content item can be linked to many facet values from varying facet groups."
},
"finder": {
"$ref": "#/definitions/guid_list",
"description": "Powers links from content back to finders the content is surfaced on"
},
"lead_organisations": {
"$ref": "#/definitions/guid_list",
"description": "DEPRECATED: A subset of organisations that should be emphasised in relation to this content item. All organisations specified here should also be part of the organisations array."
},
"mainstream_browse_pages": {
"$ref": "#/definitions/guid_list",
"description": "Powers the /browse section of the site. These are known as sections in some legacy apps."
},
"meets_user_needs": {
"$ref": "#/definitions/guid_list",
"description": "The user needs this piece of content meets."
},
"ordered_related_items": {
"$ref": "#/definitions/guid_list",
"description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger."
},
"ordered_related_items_overrides": {
"$ref": "#/definitions/guid_list",
"description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation."
},
"organisations": {
"$ref": "#/definitions/guid_list",
"description": "All organisations linked to this content item. This should include lead organisations."
},
"original_primary_publishing_organisation": {
"$ref": "#/definitions/guid_list",
"description": "The organisation that published the original version of the page. Corresponds to the first of the 'Lead organisations' in Whitehall for the first edition, and is empty for all other publishing applications."
},
"parent": {
"$ref": "#/definitions/guid_list",
"description": "The parent content item.",
"maxItems": 1
},
"policy_areas": {
"$ref": "#/definitions/guid_list",
"description": "A largely deprecated tag currently only used to power email alerts."
},
"primary_publishing_organisation": {
"$ref": "#/definitions/guid_list",
"description": "The organisation that published the page. Corresponds to the first of the 'Lead organisations' in Whitehall, and is empty for all other publishing applications.",
"maxItems": 1
},
"suggested_ordered_related_items": {
"$ref": "#/definitions/guid_list",
"description": "New A/B test suggestions for related items. Used for displaying related content on most pages, except for step-by-step and fatality notices. Links and their ordering are determined by the machine learning algorithms included in this A/B test."
},
"taxons": {
"$ref": "#/definitions/guid_list",
"description": "Prototype-stage taxonomy label for this content item"
},
"topics": {
"$ref": "#/definitions/guid_list",
"description": "Powers the /topic section of the site. These are known as specialist sectors in some legacy apps."
}
},
"type": "object"
},
"locale": {
"$ref": "#/definitions/locale"
},
"navigation_document_supertype": {
"description": "Document type grouping powering the new taxonomy-based navigation pages",
"type": "string"
},
"need_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"payload_version": {
"$ref": "#/definitions/payload_version"
},
"phase": {
"description": "The service design phase of this content item - https://www.gov.uk/service-manual/phases",
"enum": [
"alpha",
"beta",
"live"
],
"type": "string"
},
"public_updated_at": {
"$ref": "#/definitions/public_updated_at"
},
"publishing_app": {
"$ref": "#/definitions/publishing_app_name"
},
"publishing_request_id": {
"$ref": "#/definitions/publishing_request_id"
},
"redirects": {
"additionalItems": false,
"items": {},
"type": "array"
},
"rendering_app": {
"$ref": "#/definitions/rendering_app"
},
"routes": {
"$ref": "#/definitions/routes"
},
"schema_name": {
"enum": [
"hmrc_manual"
],
"type": "string"
},
"search_user_need_document_supertype": {
"description": "Document supertype grouping core and government documents",
"type": "string"
},
"title": {
"$ref": "#/definitions/title"
},
"update_type": {
"$ref": "#/definitions/update_type"
},
"user_journey_document_supertype": {
"description": "Document type grouping powering analytics of user journeys",
"type": "string"
},
"user_need_document_supertype": {
"description": "DEPRECATED. Use `content_purpose_document_supertype`.",
"type": "string"
},
"withdrawn_notice": {
"$ref": "#/definitions/withdrawn_notice"
}
},
"required": [
"analytics_identifier",
"base_path",
"content_id",
"description",
"details",
"document_type",
"email_document_supertype",
"expanded_links",
"first_published_at",
"government_document_supertype",
"govuk_request_id",
"links",
"locale",
"navigation_document_supertype",
"payload_version",
"phase",
"public_updated_at",
"publishing_app",
"redirects",
"rendering_app",
"routes",
"schema_name",
"title",
"update_type",
"user_journey_document_supertype"
],
"type": "object"
} | o21256 |
{
"definitions": {
"app": {
"$schema": "http://json-schema.org/draft-04/schema",
"definitions": {
"created_at": {
"description": "when app was created",
"example": "2012-01-01T12:00:00Z",
"format": "date-time",
"type": [
"string"
]
},
"id": {
"description": "unique identifier of app",
"example": "01234567-89ab-cdef-0123-456789abcdef",
"format": "uuid",
"readOnly": true,
"type": [
"string"
]
},
"identity": {
"anyOf": [
{
"$ref": "#/definitions/app/definitions/id"
},
{
"$ref": "#/definitions/app/definitions/name"
}
]
},
"name": {
"description": "unique name of app",
"example": "example",
"readOnly": false,
"type": [
"string"
]
},
"updated_at": {
"description": "when app was updated",
"example": "2012-01-01T12:00:00Z",
"format": "date-time",
"type": [
"string"
]
},
"web_url": {
"description": "web URL of app",
"example": "https://example.irukaapp.com/",
"readOnly": true,
"type": [
"string"
]
}
},
"description": "An app represents the program that you would like to deploy and run on iruka",
"links": [
{
"description": "Create a new app.",
"href": "/apps",
"method": "POST",
"rel": "create",
"schema": {
"properties": {
"name": {
"$ref": "#/definitions/app/definitions/name"
}
},
"type": [
"object"
]
},
"title": "Create"
},
{
"description": "Delete an existing app.",
"href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}",
"method": "DELETE",
"rel": "destroy",
"title": "Delete"
},
{
"description": "Info for existing app.",
"href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}",
"method": "GET",
"rel": "self",
"title": "Info"
},
{
"description": "List existing apps.",
"href": "/apps",
"method": "GET",
"rel": "instances",
"title": "List"
},
{
"description": "Update an existing app.",
"href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}",
"method": "PATCH",
"rel": "update",
"schema": {
"properties": {
"name": {
"$ref": "#/definitions/app/definitions/name"
}
},
"type": [
"object"
]
},
"title": "Update"
}
],
"properties": {
"created_at": {
"$ref": "#/definitions/app/definitions/created_at"
},
"id": {
"$ref": "#/definitions/app/definitions/id"
},
"name": {
"$ref": "#/definitions/app/definitions/name"
},
"updated_at": {
"$ref": "#/definitions/app/definitions/updated_at"
},
"web_url": {
"$ref": "#/definitions/app/definitions/web_url"
}
},
"stability": "prototype",
"strictProperties": true,
"title": "App",
"type": [
"object"
]
},
"config-vars": {
"$schema": "http://json-schema.org/draft-04/schema",
"definitions": {
"baz": {
"description": "an example key-value",
"example": "qux",
"readOnly": false,
"type": [
"string"
]
},
"foo": {
"description": "an example key-value",
"example": "bar",
"readOnly": false,
"type": [
"string"
]
}
},
"description": "Config Vars allow you to manage the configuration information provided to an app on iruka.",
"links": [
{
"description": "Get config-vars for app.",
"href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/config-vars",
"method": "GET",
"rel": "self",
"title": "Info"
},
{
"description": "Update config-vars for app. You can update existing config-vars by setting them again, and remove by setting it to \"\".",
"href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/config-vars",
"method": "PATCH",
"rel": "update",
"schema": {
"properties": {
"BAZ": {
"$ref": "#/definitions/config-vars/definitions/baz"
},
"FOO": {
"$ref": "#/definitions/config-vars/definitions/foo"
}
},
"type": [
"object"
]
},
"title": "Update"
}
],
"properties": {
"BAZ": {
"$ref": "#/definitions/config-vars/definitions/baz"
},
"FOO": {
"$ref": "#/definitions/config-vars/definitions/foo"
}
},
"stability": "prototype",
"strictProperties": true,
"title": "Config Vars",
"type": [
"object"
]
},
"container": {
"$schema": "http://json-schema.org/draft-04/schema",
"definitions": {
"app_id": {
"description": "unique identifier of app the container is belong to",
"example": "01234567-89ab-cdef-0123-456789abcdef",
"format": "uuid",
"readOnly": true,
"type": [
"string"
]
},
"command": {
"description": "command used to start this process",
"example": "bundle exec rails server",
"readOnly": false,
"type": [
"string"
]
},
"created_at": {
"description": "when container was created",
"example": "2012-01-01T12:00:00Z",
"format": "date-time",
"type": [
"string"
]
},
"desired_state": {
"description": "desired state of process (either exited or up)",
"example": "up",
"readOnly": false,
"type": [
"string"
]
},
"id": {
"description": "unique identifier of container",
"example": "01234567-89ab-cdef-0123-456789abcdef",
"format": "uuid",
"readOnly": true,
"type": [
"string"
]
},
"identity": {
"anyOf": [
{
"$ref": "#/definitions/container/definitions/id"
},
{
"$ref": "#/definitions/container/definitions/name"
}
]
},
"image": {
"description": "resource URI of the Docker image (including tag) of the container",
"example": "quay.io/spesnova/example:latest",
"readOnly": false,
"type": [
"string"
]
},
"machine": {
"description": "where this container is running",
"example": "172.17.8.102",
"readOnly": true,
"type": [
"string"
]
},
"name": {
"description": "unique name of container",
"example": "example.web.1",
"readOnly": true,
"type": [
"string"
]
},
"port": {
"description": "expose port",
"example": 80,
"readOnly": false,
"type": [
"integer"
]
},
"published_port": {
"description": "published port",
"example": 49153,
"readOnly": true,
"type": [
"integer"
]
},
"size": {
"description": "container size (default “1X”)",
"example": "2X",
"readOnly": false,
"type": [
"string"
]
},
"state": {
"description": "current state of process (either exited or up)",
"example": "up",
"readOnly": true,
"type": [
"string"
]
},
"type": {
"description": "type of process (either \"web\", \"worker\", \"timer\", or \"run\")",
"example": "web",
"readOnly": false,
"type": [
"string"
]
},
"updated_at": {
"description": "when container was updated",
"example": "2012-01-01T12:00:00Z",
"format": "date-time",
"type": [
"string"
]
}
},
"description": "Container encapsulate running processes of an app on iruka.",
"links": [
{
"description": "Create and run a new container.",
"href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/containers",
"method": "POST",
"rel": "create",
"schema": {
"properties": {
"command": {
"$ref": "#/definitions/container/definitions/command"
},
"image": {
"$ref": "#/definitions/container/definitions/image"
},
"port": {
"$ref": "#/definitions/container/definitions/port"
},
"size": {
"$ref": "#/definitions/container/definitions/size"
},
"type": {
"$ref": "#/definitions/container/definitions/type"
}
},
"type": [
"object"
]
},
"title": "Create"
},
{
"description": "Delete an existing container.",
"href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/containers/{(%23%2Fdefinitions%2Fcontainer%2Fdefinitions%2Fidentity)}",
"method": "DELETE",
"rel": "destroy",
"title": "Delete"
},
{
"description": "Info for existing container.",
"href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/containers/{(%23%2Fdefinitions%2Fcontainer%2Fdefinitions%2Fidentity)}",
"method": "GET",
"rel": "self",
"title": "Info"
},
{
"description": "List existing containers.",
"href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/containers",
"method": "GET",
"rel": "instances",
"title": "List"
},
{
"description": "Update options and restart an existing container.",
"href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/containers/{(%23%2Fdefinitions%2Fcontainer%2Fdefinitions%2Fidentity)}",
"method": "PATCH",
"rel": "update",
"schema": {
"properties": {
"command": {
"$ref": "#/definitions/container/definitions/command"
},
"image": {
"$ref": "#/definitions/container/definitions/image"
},
"port": {
"$ref": "#/definitions/container/definitions/port"
},
"size": {
"$ref": "#/definitions/container/definitions/size"
},
"type": {
"$ref": "#/definitions/container/definitions/type"
}
},
"type": [
"object"
]
},
"title": "Update"
}
],
"properties": {
"app_id": {
"$ref": "#/definitions/container/definitions/app_id"
},
"command": {
"$ref": "#/definitions/container/definitions/command"
},
"created_at": {
"$ref": "#/definitions/container/definitions/created_at"
},
"desired_state": {
"$ref": "#/definitions/container/definitions/desired_state"
},
"id": {
"$ref": "#/definitions/container/definitions/id"
},
"image": {
"$ref": "#/definitions/container/definitions/image"
},
"machine": {
"$ref": "#/definitions/container/definitions/machine"
},
"name": {
"$ref": "#/definitions/container/definitions/name"
},
"port": {
"$ref": "#/definitions/container/definitions/port"
},
"published_port": {
"$ref": "#/definitions/container/definitions/published_port"
},
"size": {
"$ref": "#/definitions/container/definitions/size"
},
"state": {
"$ref": "#/definitions/container/definitions/state"
},
"type": {
"$ref": "#/definitions/container/definitions/type"
},
"updated_at": {
"$ref": "#/definitions/container/definitions/updated_at"
}
},
"stability": "prototype",
"strictProperties": true,
"title": "Container",
"type": [
"object"
]
},
"error": {
"$schema": "http://json-schema.org/draft-04/schema",
"definitions": {
"id": {
"description": "id of error railsed",
"example": "bad_request",
"readOnly": true,
"type": [
"string"
]
},
"identity": {
"anyOf": [
{
"$ref": "#/definitions/error/definitions/id"
}
]
},
"message": {
"description": "end user message of error raised",
"example": "request invalid, validate usage and try again",
"readOnly": true,
"type": [
"string"
]
},
"url": {
"description": "reference url with more information about the error",
"example": "https://github.com/spesnova/iruka/blob/master/docs/errors.md",
"type": [
"string"
]
}
},
"description": "Failing responses will have an appropriate status and a JSON body containing more details about a particular error.",
"properties": {
"id": {
"$ref": "#/definitions/error/definitions/id"
},
"message": {
"$ref": "#/definitions/error/definitions/message"
},
"url": {
"$ref": "#/definitions/error/definitions/url"
}
},
"stability": "prototype",
"strictProperties": true,
"title": "Errors",
"type": [
"object"
]
}
},
"description": "Iruka API v1 Alpha Document",
"links": [
{
"href": "https://<your-iruka-server>.com/api/v1-alpha",
"rel": "self"
}
],
"properties": {
"app": {
"$ref": "#/definitions/app"
},
"config-vars": {
"$ref": "#/definitions/config-vars"
},
"container": {
"$ref": "#/definitions/container"
},
"error": {
"$ref": "#/definitions/error"
}
},
"title": "Iruka API v1 Alpha",
"type": [
"object"
]
} | o77406 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Ex",
"description": "An Ex organism",
"type": "object",
"properties": {
"modifier": {
"description": "A modifier",
"enum": [
"",
"blue"
]
},
"title": {
"description": "Title of the pattern",
"type": "string",
"minLength": 3,
"maxLength": 100
},
"links": {
"description": "An array of links",
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"properties": {
"uri": {
"description": "the target uri",
"type": "string",
"pattern": "^[a-z]*$"
},
"text": {
"description": "The link text",
"type": "string"
}
}
},
"required": [
"uri",
"text"
],
"additionalProperties": false
},
"buttons": {
"description": "a boolean",
"type": "boolean"
}
},
"required": [
"title",
"links"
]
} | o62756 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimCondition": {
"description": "PersistentVolumeClaimCondition contails details about state of pvc",
"properties": {
"lastProbeTime": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Last time we probed the condition."
},
"lastTransitionTime": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_Time",
"description": "Last time the condition transitioned from one status to another."
},
"message": {
"description": "Human-readable message indicating details about last transition.",
"type": "string"
},
"reason": {
"description": "Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized.",
"type": "string"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"status"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimSpec": {
"description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes",
"properties": {
"accessModes": {
"description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
"items": {
"type": "string"
},
"type": "array"
},
"dataSource": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_TypedLocalObjectReference",
"description": "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot - Beta) * An existing PVC (PersistentVolumeClaim) * An existing custom resource/object that implements data population (Alpha) In order to use VolumeSnapshot object types, the appropriate feature gate must be enabled (VolumeSnapshotDataSource or AnyVolumeDataSource) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the specified data source is not supported, the volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change."
},
"resources": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_ResourceRequirements",
"description": "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources"
},
"selector": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_LabelSelector",
"description": "A label query over volumes to consider for binding."
},
"storageClassName": {
"description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1",
"type": "string"
},
"volumeMode": {
"description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.",
"type": "string"
},
"volumeName": {
"description": "VolumeName is the binding reference to the PersistentVolume backing this claim.",
"type": "string"
}
},
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimStatus": {
"description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim.",
"properties": {
"accessModes": {
"description": "AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
"items": {
"type": "string"
},
"type": "array"
},
"capacity": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity"
},
"description": "Represents the actual resources of the underlying volume.",
"type": "object"
},
"conditions": {
"description": "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.",
"items": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimCondition"
},
"type": "array",
"x-kubernetes-patch-merge-key": "type",
"x-kubernetes-patch-strategy": "merge"
},
"phase": {
"description": "Phase represents the current phase of PersistentVolumeClaim.",
"type": "string"
}
},
"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_TypedLocalObjectReference": {
"description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.",
"properties": {
"apiGroup": {
"description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.",
"type": "string"
},
"kind": {
"description": "Kind is the type of resource being referenced",
"type": "string"
},
"name": {
"description": "Name is the name of resource being referenced",
"type": "string"
}
},
"required": [
"kind",
"name"
],
"type": "object"
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_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": "PersistentVolumeClaim is a user's request for and claim to a persistent volume",
"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": [
"PersistentVolumeClaim"
],
"type": [
"string",
"null"
]
},
"metadata": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_apis_meta_v1_ObjectMeta",
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"spec": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimSpec",
"description": "Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"
},
"status": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_api_core_v1_PersistentVolumeClaimStatus",
"description": "Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"
}
},
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "",
"kind": "PersistentVolumeClaim",
"version": "v1"
}
]
} | kb_663_Normalized |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"id": "#statementref",
"properties": {
"id": {
"_format": "uuid",
"type": "string"
},
"objectType": {
"enum": [
"StatementRef"
]
}
},
"required": [
"objectType",
"id"
],
"type": "object"
} | o76664 |
{
"properties": {
"dimensions": {
"properties": {
"base": {
"description": "The base of the shape (applicable for triangle)",
"type": "number"
},
"height": {
"description": "The height of the shape (applicable for triangle)",
"type": "number"
},
"length": {
"description": "The length or radius of the shape",
"type": "number"
},
"width": {
"description": "The width of the shape (applicable for rectangle)",
"type": "number"
}
},
"required": [
"length"
],
"type": "object"
},
"shape": {
"description": "The geometric shape (e.g., circle, triangle, rectangle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_c137ba06 |
{
"properties": {
"addusernameinrdpfile": {
"enum": [
"YES",
"NO"
],
"type": "string"
},
"audiocapturemode": {
"enum": [
"ENABLE",
"DISABLE"
],
"type": "string"
},
"builtin": {
"enum": [
"MODIFIABLE",
"DELETABLE",
"IMMUTABLE",
"PARTITION_ALL"
],
"readonly": true,
"type": "object"
},
"feature": {
"enum": [
"WL",
"WebLogging",
"SP",
"SurgeProtection",
"LB",
"LoadBalancing",
"CS",
"ContentSwitching",
"CR",
"CacheRedirection",
"SC",
"SureConnect",
"CMP",
"CMPcntl",
"CompressionControl",
"PQ",
"PriorityQueuing",
"HDOSP",
"HttpDoSProtection",
"SSLVPN",
"AAA",
"GSLB",
"GlobalServerLoadBalancing",
"SSL",
"SSLOffload",
"SSLOffloading",
"CF",
"ContentFiltering",
"IC",
"IntegratedCaching",
"OSPF",
"OSPFRouting",
"RIP",
"RIPRouting",
"BGP",
"BGPRouting",
"REWRITE",
"IPv6PT",
"IPv6protocoltranslation",
"AppFw",
"ApplicationFirewall",
"RESPONDER",
"HTMLInjection",
"push",
"NSPush",
"NetScalerPush",
"AppFlow",
"CloudBridge",
"ISIS",
"ISISRouting",
"CH",
"CallHome",
"AppQoE",
"ContentAccelerator",
"SYSTEM",
"RISE",
"FEO",
"LSN",
"LargeScaleNAT",
"RDPProxy",
"Rep",
"Reputation",
"URLFiltering",
"VideoOptimization",
"ForwardProxy",
"SSLInterception",
"AdaptiveTCP",
"CQA",
"CI",
"ContentInspection",
"Bot"
],
"readonly": true,
"type": "string"
},
"keyboardhook": {
"enum": [
"OnLocal",
"OnRemote",
"InFullScreenMode"
],
"type": "string"
},
"multimonitorsupport": {
"enum": [
"ENABLE",
"DISABLE"
],
"type": "string"
},
"name": {
"type": "string"
},
"psk": {
"type": "string"
},
"randomizerdpfilename": {
"enum": [
"YES",
"NO"
],
"type": "string"
},
"rdpcookievalidity": {
"type": "integer"
},
"rdpcustomparams": {
"type": "string"
},
"rdpfilename": {
"type": "string"
},
"rdphost": {
"type": "string"
},
"rdplinkattribute": {
"type": "string"
},
"rdplistener": {
"type": "string"
},
"rdpurloverride": {
"enum": [
"ENABLE",
"DISABLE"
],
"type": "string"
},
"redirectclipboard": {
"enum": [
"ENABLE",
"DISABLE"
],
"type": "string"
},
"redirectcomports": {
"enum": [
"ENABLE",
"DISABLE"
],
"type": "string"
},
"redirectdrives": {
"enum": [
"ENABLE",
"DISABLE"
],
"type": "string"
},
"redirectpnpdevices": {
"enum": [
"ENABLE",
"DISABLE"
],
"type": "string"
},
"redirectprinters": {
"enum": [
"ENABLE",
"DISABLE"
],
"type": "string"
},
"videoplaybackmode": {
"enum": [
"ENABLE",
"DISABLE"
],
"type": "string"
}
},
"title": "rdpclientprofile",
"type": "object"
} | o30847 |
{
"properties": {
"actduplex": {
"enum": [
"AUTO",
"HALF",
"FULL"
],
"readonly": true,
"type": "string"
},
"actflowctl": {
"enum": [
"OFF",
"RX",
"TX",
"RXTX",
"ON"
],
"readonly": true,
"type": "string"
},
"actmedia": {
"enum": [
"AUTO",
"UTP",
"FIBER"
],
"readonly": true,
"type": "string"
},
"actspeed": {
"enum": [
"AUTO",
"10",
"100",
"1000",
"10000",
"25000",
"40000",
"50000",
"100000"
],
"readonly": true,
"type": "string"
},
"actthroughput": {
"readonly": true,
"type": "integer"
},
"actualmtu": {
"readonly": true,
"type": "integer"
},
"actualringsize": {
"readonly": true,
"type": "integer"
},
"autoneg": {
"enum": [
"DISABLED",
"ENABLED"
],
"type": "string"
},
"autonegresult": {
"readonly": true,
"type": "integer"
},
"backplane": {
"enum": [
"ENABLED",
"DISABLED"
],
"readonly": true,
"type": "string"
},
"bandwidthhigh": {
"type": "integer"
},
"bandwidthnormal": {
"type": "integer"
},
"bdgmacmoved": {
"readonly": true,
"type": "integer"
},
"bdgmuted": {
"readonly": true,
"type": "integer"
},
"cleartime": {
"readonly": true,
"type": "integer"
},
"description": {
"readonly": true,
"type": "string"
},
"devicename": {
"readonly": true,
"type": "string"
},
"downtime": {
"readonly": true,
"type": "integer"
},
"duplex": {
"enum": [
"AUTO",
"HALF",
"FULL"
],
"type": "string"
},
"fctls": {
"readonly": true,
"type": "integer"
},
"flags": {
"readonly": true,
"type": "integer"
},
"flowctl": {
"enum": [
"OFF",
"RX",
"TX",
"RXTX",
"ON"
],
"type": "string"
},
"haheartbeat": {
"enum": [
"OFF",
"ON"
],
"type": "string"
},
"hamonitor": {
"enum": [
"ON",
"OFF"
],
"type": "string"
},
"hangdetect": {
"readonly": true,
"type": "integer"
},
"hangreset": {
"readonly": true,
"type": "integer"
},
"hangs": {
"readonly": true,
"type": "integer"
},
"id": {
"type": "string"
},
"ifalias": {
"type": "string"
},
"ifnum": {
"readonly": true,
"type": "object"
},
"indisc": {
"readonly": true,
"type": "integer"
},
"intfstate": {
"readonly": true,
"type": "integer"
},
"intftype": {
"enum": [
"BROADCOM 5700/5701",
"TIGON1/TIGON2",
"INTEL 82546",
"INTEL 8255X(PRO)",
"Link Aggregate",
"Loopback",
"Intel 82541/47",
"Broadcom 5704",
"Chelsio 1G",
"Intel 8247X",
"Intel 82576 VF",
"Xen Virtual",
"Intel 10G",
"Intel 82599 VF",
"Mellanox 100G",
"Mellanox 50G",
"Mellanox 25G",
"Intel FVL 40G",
"Intel FVL 25G",
"Intel FVL 10G",
"Intel FVL 40G VF",
"Mellanox VF",
"Hyper v",
"Cluster LAG",
"Intel 8247X SFP",
"XEN Interface",
"Chelsio 10G",
"KVM Virtio",
"VMXNET3"
],
"readonly": true,
"type": "string"
},
"lacpactoraggregation": {
"enum": [
"NS_EMPTY_STR",
"AGG"
],
"readonly": true,
"type": "string"
},
"lacpactorcollecting": {
"enum": [
"NS_EMPTY_STR",
"COLLECTING"
],
"readonly": true,
"type": "string"
},
"lacpactordistributing": {
"enum": [
"NS_EMPTY_STR",
"DISTRIBUTING"
],
"readonly": true,
"type": "string"
},
"lacpactorinsync": {
"enum": [
"NS_EMPTY_STR",
"SYNC"
],
"readonly": true,
"type": "string"
},
"lacpactormode": {
"enum": [
"DISABLED",
"ACTIVE",
"PASSIVE"
],
"readonly": true,
"type": "string"
},
"lacpactorportno": {
"readonly": true,
"type": "integer"
},
"lacpactorpriority": {
"readonly": true,
"type": "integer"
},
"lacpactortimeout": {
"enum": [
"LONG",
"SHORT"
],
"readonly": true,
"type": "string"
},
"lacpkey": {
"type": "integer"
},
"lacpmode": {
"enum": [
"DISABLED",
"ACTIVE",
"PASSIVE"
],
"type": "string"
},
"lacppartneraggregation": {
"enum": [
"NS_EMPTY_STR",
"AGG"
],
"readonly": true,
"type": "string"
},
"lacppartnercollecting": {
"enum": [
"NS_EMPTY_STR",
"COLLECTING"
],
"readonly": true,
"type": "string"
},
"lacppartnerdefaulted": {
"enum": [
"NS_EMPTY_STR",
"DEFAULTED"
],
"readonly": true,
"type": "string"
},
"lacppartnerdistributing": {
"enum": [
"NS_EMPTY_STR",
"DISTRIBUTING"
],
"readonly": true,
"type": "string"
},
"lacppartnerexpired": {
"enum": [
"NS_EMPTY_STR",
"EXPIRED"
],
"readonly": true,
"type": "string"
},
"lacppartnerinsync": {
"enum": [
"NS_EMPTY_STR",
"SYNC"
],
"readonly": true,
"type": "string"
},
"lacppartnerkey": {
"readonly": true,
"type": "integer"
},
"lacppartnerportno": {
"readonly": true,
"type": "integer"
},
"lacppartnerpriority": {
"readonly": true,
"type": "integer"
},
"lacppartnerstate": {
"enum": [
"MANUAL",
"AUTO"
],
"readonly": true,
"type": "string"
},
"lacppartnersystemmac": {
"readonly": true,
"type": "string"
},
"lacppartnersystempriority": {
"readonly": true,
"type": "integer"
},
"lacppartnertimeout": {
"enum": [
"LONG",
"SHORT"
],
"readonly": true,
"type": "string"
},
"lacpportmuxstate": {
"enum": [
"DETACHED",
"WAITING",
"ATTACHED",
"COLLECTING",
"DISTRIBUTING"
],
"readonly": true,
"type": "string"
},
"lacpportrxstat": {
"enum": [
"INIT",
"PORT_DISABLED",
"LACP_DISABLED",
"EXPIRED",
"DEFAULTED",
"CURRENT"
],
"readonly": true,
"type": "string"
},
"lacpportselectstate": {
"enum": [
"UNSELECTED",
"SELECTED",
"STANDBY"
],
"readonly": true,
"type": "string"
},
"lacppriority": {
"type": "integer"
},
"lacptimeout": {
"enum": [
"LONG",
"SHORT"
],
"type": "string"
},
"lagtype": {
"enum": [
"NODE",
"CLUSTER"
],
"type": "string"
},
"linkredundancy": {
"enum": [
"ON",
"OFF"
],
"type": "string"
},
"linkstate": {
"readonly": true,
"type": "integer"
},
"lldpmode": {
"enum": [
"NONE",
"TRANSMITTER",
"RECEIVER",
"TRANSCEIVER"
],
"type": "string"
},
"lractiveintf": {
"readonly": true,
"type": "boolean"
},
"lrsetpriority": {
"type": "integer"
},
"mac": {
"readonly": true,
"type": "string"
},
"mode": {
"enum": [
"MANUAL",
"AUTO"
],
"readonly": true,
"type": "string"
},
"mtu": {
"type": "integer"
},
"outdisc": {
"readonly": true,
"type": "integer"
},
"reqduplex": {
"enum": [
"AUTO",
"HALF",
"FULL"
],
"readonly": true,
"type": "string"
},
"reqflowcontrol": {
"enum": [
"OFF",
"RX",
"TX",
"RXTX",
"ON"
],
"readonly": true,
"type": "string"
},
"reqmedia": {
"enum": [
"AUTO",
"UTP",
"FIBER"
],
"readonly": true,
"type": "string"
},
"reqspeed": {
"enum": [
"AUTO",
"10",
"100",
"1000",
"10000",
"25000",
"40000",
"50000",
"100000"
],
"readonly": true,
"type": "string"
},
"reqthroughput": {
"readonly": true,
"type": "integer"
},
"ringsize": {
"type": "integer"
},
"ringtype": {
"enum": [
"Elastic",
"Fixed"
],
"type": "string"
},
"rxbytes": {
"readonly": true,
"type": "integer"
},
"rxdrops": {
"readonly": true,
"type": "integer"
},
"rxerrors": {
"readonly": true,
"type": "integer"
},
"rxpackets": {
"readonly": true,
"type": "integer"
},
"rxstalls": {
"readonly": true,
"type": "integer"
},
"slaveduplex": {
"readonly": true,
"type": "integer"
},
"slaveflowctl": {
"readonly": true,
"type": "integer"
},
"slavemedia": {
"readonly": true,
"type": "integer"
},
"slavespeed": {
"readonly": true,
"type": "integer"
},
"slavestate": {
"readonly": true,
"type": "integer"
},
"slavetime": {
"readonly": true,
"type": "integer"
},
"speed": {
"enum": [
"AUTO",
"10",
"100",
"1000",
"10000",
"25000",
"40000",
"50000",
"100000"
],
"type": "string"
},
"state": {
"enum": [
"ENABLED",
"DISABLED"
],
"readonly": true,
"type": "string"
},
"stsstalls": {
"readonly": true,
"type": "integer"
},
"svmcmd": {
"readonly": true,
"type": "integer"
},
"tagall": {
"enum": [
"ON",
"OFF"
],
"type": "string"
},
"tagged": {
"readonly": true,
"type": "integer"
},
"taggedany": {
"readonly": true,
"type": "integer"
},
"taggedautolearn": {
"readonly": true,
"type": "integer"
},
"throughput": {
"type": "integer"
},
"trunk": {
"enum": [
"ON",
"OFF"
],
"type": "string"
},
"trunkallowedvlan": {
"type": "object"
},
"trunkmode": {
"enum": [
"ON",
"OFF"
],
"type": "string"
},
"txbytes": {
"readonly": true,
"type": "integer"
},
"txdrops": {
"readonly": true,
"type": "integer"
},
"txerrors": {
"readonly": true,
"type": "integer"
},
"txpackets": {
"readonly": true,
"type": "integer"
},
"txstalls": {
"readonly": true,
"type": "integer"
},
"unit": {
"readonly": true,
"type": "integer"
},
"uptime": {
"readonly": true,
"type": "integer"
},
"vlan": {
"readonly": true,
"type": "integer"
},
"vmac": {
"readonly": true,
"type": "string"
},
"vmac6": {
"readonly": true,
"type": "string"
}
},
"title": "Interface",
"type": "object"
} | o30623 |
{
"properties": {
"avi": {
"additionalProperties": false,
"description": "Avi Vantage specific configuration properties",
"properties": {
"controller": {
"additionalProperties": false,
"description": "Avi Controller specific configuration properties",
"properties": {
"admin-password": {
"default": "admin",
"description": "Password for Avi admin user",
"type": "string"
},
"admin-username": {
"default": "admin",
"description": "Username for Avi admin user",
"type": "string"
},
"cluster-size": {
"default": 1,
"description": "Number of Avi Controller instances to run in the cluster.",
"maximum": 3,
"minimum": 1,
"type": "integer"
},
"cpus": {
"default": 4,
"description": "CPU shares to allocate to each Avi Controller instance.",
"minimum": 4,
"type": "integer"
},
"disk": {
"default": 81920,
"description": "Disk (MB) to allocate to each Avi Controller instance.",
"minimum": 81920,
"type": "integer"
},
"dns-port": {
"default": 9053,
"description": "Avi DNS port",
"type": "integer"
},
"dns-servers": {
"default": "master.mesos",
"description": "comma-delimited list of DNS servers.",
"type": "string"
},
"enable-avidns": {
"default": false,
"description": "Enable AVI DNS.",
"type": "boolean"
},
"enable-ntp": {
"default": false,
"description": "Enable AVI NTP.",
"type": "boolean"
},
"force-pull": {
"default": false,
"description": "Force docker to re-pull the image.",
"type": "boolean"
},
"http-port": {
"default": 9080,
"description": "HTTP port for Avi-Vantage portal",
"type": "integer"
},
"https-port": {
"default": 9443,
"description": "HTTPS port for Avi-Vantage portal",
"type": "integer"
},
"memory": {
"default": 12288,
"description": "Memory (MB) to allocate to each Avi Controller task.",
"minimum": 12288,
"type": "integer"
},
"ntp-port": {
"default": 9161,
"description": "NTP port",
"maximum": 9161,
"minimum": 9161,
"type": "integer"
},
"persistent-vol-size": {
"default": 10,
"description": "Size of persistent volume",
"maximum": 100,
"minimum": 10,
"type": "integer"
},
"remote-cli-port": {
"default": 5054,
"description": "Remote CLI shell port",
"type": "integer"
},
"resource-role": {
"default": "*",
"description": "The accepted resource role (e.g. slave_public or *). By default, this will deploy to any agents with '*' role.",
"type": "string"
},
"schannel-port": {
"default": 8443,
"description": "Secure-Channel port",
"maximum": 8443,
"minimum": 8443,
"type": "integer"
},
"ssh-port": {
"default": 5098,
"description": "SSH port",
"maximum": 5098,
"minimum": 5098,
"type": "integer"
},
"tag": {
"default": "latest",
"description": "Tag value of the Avi-Vantage image in the Docker repository.",
"type": "string"
}
},
"required": [
"cluster-size",
"cpus",
"memory",
"disk",
"https-port",
"tag"
],
"type": "object"
},
"serviceengine": {
"additionalProperties": false,
"description": "Avi ServiceEngine specific configuration properties",
"properties": {
"cpus": {
"default": 1,
"description": "CPU shares to allocate to each Avi SE instance.",
"minimum": 1,
"type": "number"
},
"disk": {
"default": 10240,
"description": "Disk (MB) to allocate to each Avi SE instance.",
"minimum": 10240,
"type": "integer"
},
"memory": {
"default": 2,
"description": "Memory (MB) to allocate to each Avi SE instance.",
"minimum": 2,
"type": "number"
}
},
"required": [
"cpus",
"memory",
"disk"
],
"type": "object"
}
},
"required": [
"controller",
"serviceengine"
],
"type": "object"
},
"mesos": {
"description": "Mesos specific configuration properties",
"properties": {
"marathon": {
"default": "http://marathon.mesos:8080",
"description": "URI of Marathon instance",
"type": "string"
},
"master": {
"default": "master.mesos:5050",
"description": "The URL of the Mesos master.",
"type": "string"
}
},
"required": [
"master",
"marathon"
],
"type": "object"
},
"service": {
"additionalProperties": false,
"properties": {
"name": {
"default": "avi-vantage",
"description": "Avi Vantage ADC service name",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"service",
"avi",
"mesos"
],
"type": "object"
} | o90613 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"base_path",
"details",
"document_type",
"publishing_app",
"rendering_app",
"routes",
"schema_name",
"title"
],
"additionalProperties": false,
"properties": {
"access_limited": {
"$ref": "#/definitions/access_limited"
},
"analytics_identifier": {
"$ref": "#/definitions/analytics_identifier"
},
"auth_bypass_ids": {
"description": "A list of ids that will allow access to this item for non-authenticated users",
"$ref": "#/definitions/guid_list"
},
"base_path": {
"$ref": "#/definitions/absolute_path"
},
"bulk_publishing": {
"type": "boolean"
},
"change_note": {
"type": [
"null",
"string"
]
},
"description": {
"$ref": "#/definitions/description_optional"
},
"details": {
"$ref": "#/definitions/details"
},
"document_type": {
"type": "string",
"enum": [
"world_location_news_article"
]
},
"first_published_at": {
"$ref": "#/definitions/first_published_at"
},
"last_edited_at": {
"description": "Last time when the content received a major or minor update.",
"type": "string",
"format": "date-time"
},
"links": {
"type": "object",
"additionalProperties": false,
"properties": {
"policy_areas": {
"description": "A largely deprecated tag currently only used to power email alerts.",
"$ref": "#/definitions/guid_list"
}
}
},
"locale": {
"$ref": "#/definitions/locale"
},
"need_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"phase": {
"description": "The service design phase of this content item - https://www.gov.uk/service-manual/phases",
"type": "string",
"enum": [
"alpha",
"beta",
"live"
]
},
"previous_version": {
"type": "string"
},
"public_updated_at": {
"$ref": "#/definitions/public_updated_at"
},
"publishing_app": {
"$ref": "#/definitions/publishing_app_name"
},
"redirects": {
"type": "array",
"additionalItems": false,
"items": {}
},
"rendering_app": {
"$ref": "#/definitions/rendering_app"
},
"routes": {
"$ref": "#/definitions/routes"
},
"schema_name": {
"type": "string",
"enum": [
"world_location_news_article"
]
},
"title": {
"$ref": "#/definitions/title"
},
"update_type": {
"$ref": "#/definitions/update_type"
}
},
"definitions": {
"description": {
"type": "string"
},
"absolute_path": {
"description": "A path only. Query string and/or fragment are not allowed.",
"type": "string",
"pattern": "^/(([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})+(/([a-zA-Z0-9._~!$&'()*+,;=:@-]|%[0-9a-fA-F]{2})*)*)?$"
},
"access_limited": {
"type": "object",
"additionalProperties": false,
"properties": {
"auth_bypass_ids": {
"description": "Deprecated: auth_bypass_ids should be sent as a separate field",
"$ref": "#/definitions/guid_list"
},
"organisations": {
"description": "A list of organisation content ids permitted access to this item",
"$ref": "#/definitions/guid_list"
},
"users": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"analytics_identifier": {
"description": "A short identifier we send to Google Analytics for multi-valued fields. This means we avoid the truncated values we would get if we sent the path or slug of eg organisations.",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"body": {
"description": "The main content provided as HTML rendered from govspeak",
"type": "string"
},
"change_history": {
"type": "array",
"items": {
"type": "object",
"required": [
"public_timestamp",
"note"
],
"additionalProperties": false,
"properties": {
"note": {
"description": "A summary of the change",
"type": "string"
},
"public_timestamp": {
"type": "string",
"format": "date-time"
}
}
}
},
"description_optional": {
"anyOf": [
{
"$ref": "#/definitions/description"
},
{
"type": "null"
}
]
},
"details": {
"type": "object",
"required": [
"body",
"political"
],
"additionalProperties": false,
"properties": {
"attachments": {
"description": "An ordered list of asset links",
"type": "array",
"items": {
"$ref": "#/definitions/file_attachment_asset"
}
},
"body": {
"$ref": "#/definitions/body"
},
"change_history": {
"$ref": "#/definitions/change_history"
},
"first_public_at": {
"$ref": "#/definitions/first_public_at"
},
"government": {
"$ref": "#/definitions/government"
},
"image": {
"$ref": "#/definitions/image"
},
"political": {
"$ref": "#/definitions/political"
},
"tags": {
"$ref": "#/definitions/tags"
}
}
},
"file_attachment_asset": {
"type": "object",
"required": [
"attachment_type",
"content_type",
"id",
"url"
],
"additionalProperties": false,
"properties": {
"accessible": {
"type": "boolean"
},
"alternative_format_contact_email": {
"type": "string"
},
"attachment_type": {
"type": "string",
"enum": [
"file"
]
},
"content_type": {
"type": "string"
},
"file_size": {
"type": "integer"
},
"filename": {
"type": "string"
},
"id": {
"type": "string"
},
"locale": {
"$ref": "#/definitions/locale"
},
"number_of_pages": {
"type": "integer"
},
"preview_url": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
}
}
},
"first_public_at": {
"description": "DEPRECATED. The date the content was first published. Used in details. Deprecated in favour of top level `first_published_at`.",
"type": "string",
"format": "date-time"
},
"first_published_at": {
"description": "The date the content was first published. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string",
"format": "date-time"
},
"government": {
"description": "DEPRECATED: Content should be associated with a government through a link",
"type": "object",
"required": [
"title",
"slug",
"current"
],
"additionalProperties": false,
"properties": {
"current": {
"description": "Is the government that published this document still the current government.",
"type": "boolean"
},
"slug": {
"description": "Government slug, used for analytics, eg '1970-to-1974-conservative-government'.",
"type": "string"
},
"title": {
"description": "Name of the government that first published this document, eg '1970 to 1974 Conservative government'.",
"type": "string"
}
}
},
"guid": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$"
},
"guid_list": {
"type": "array",
"items": {
"$ref": "#/definitions/guid"
},
"_uniqueItems": true
},
"image": {
"type": "object",
"required": [
"url"
],
"additionalProperties": false,
"properties": {
"alt_text": {
"type": "string"
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"credit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"high_resolution_url": {
"description": "URL to a high resolution version of the image, for use by third parties such as Twitter, Facebook or Slack. Used by the machine readable metadata component. Don't use this on user-facing web pages, as it might be very large.",
"type": "string",
"format": "uri"
},
"url": {
"description": "URL to the image. The image should be in a suitable resolution for display on the page.",
"type": "string",
"format": "uri"
}
}
},
"locale": {
"type": "string",
"enum": [
"ar",
"az",
"be",
"bg",
"bn",
"cs",
"cy",
"da",
"de",
"dr",
"el",
"en",
"es",
"es-419",
"et",
"fa",
"fi",
"fr",
"gd",
"he",
"hi",
"hr",
"hu",
"hy",
"id",
"is",
"it",
"ja",
"ka",
"kk",
"ko",
"lt",
"lv",
"ms",
"mt",
"nl",
"no",
"pl",
"ps",
"pt",
"ro",
"ru",
"si",
"sk",
"sl",
"so",
"sq",
"sr",
"sv",
"sw",
"ta",
"th",
"tk",
"tr",
"uk",
"ur",
"uz",
"vi",
"zh",
"zh-hk",
"zh-tw"
]
},
"political": {
"description": "If the content is considered political in nature, reflecting views of the government it was published under.",
"type": "boolean"
},
"public_updated_at": {
"description": "When the content was last significantly changed (a major update). Shown to users. Automatically determined by the publishing-api, unless overridden by the publishing application.",
"type": "string",
"format": "date-time"
},
"publishing_app_name": {
"description": "The application that published this item.",
"type": "string",
"enum": [
"calculators",
"calendars",
"collections-publisher",
"contacts",
"content-publisher",
"content-tagger",
"email-alert-frontend",
"external-link-tracker",
"feedback",
"frontend",
"government-frontend",
"hmrc-manuals-api",
"info-frontend",
"licencefinder",
"local-links-manager",
"manuals-frontend",
"manuals-publisher",
"maslow",
"performanceplatform-big-screen-view",
"publisher",
"rummager",
"search-admin",
"search-api",
"service-manual-publisher",
"share-sale-publisher",
"short-url-manager",
"smartanswers",
"special-route-publisher",
"specialist-publisher",
"static",
"tariff",
"travel-advice-publisher",
"whitehall"
]
},
"rendering_app": {
"description": "The application that renders this item.",
"type": "string",
"enum": [
"calculators",
"calendars",
"collections",
"content-store",
"email-alert-frontend",
"email-campaign-frontend",
"feedback",
"finder-frontend",
"frontend",
"government-frontend",
"info-frontend",
"licencefinder",
"manuals-frontend",
"performanceplatform-big-screen-view",
"rummager",
"search-api",
"service-manual-frontend",
"smartanswers",
"spotlight",
"static",
"tariff",
"whitehall-admin",
"whitehall-frontend"
]
},
"route": {
"type": "object",
"required": [
"path",
"type"
],
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
},
"type": {
"enum": [
"prefix",
"exact"
]
}
}
},
"routes": {
"type": "array",
"items": {
"$ref": "#/definitions/route"
},
"minItems": 1
},
"tags": {
"description": "Field used by email-alert-api to trigger email alerts for subscriptions to topics (gov.uk/topic) and policies (gov.uk/policies).",
"type": "object",
"additionalProperties": false,
"properties": {
"additional_topics": {
"type": "array",
"items": {
"type": "string"
}
},
"browse_pages": {
"type": "array",
"items": {
"type": "string"
}
},
"policies": {
"type": "array",
"items": {
"type": "string"
}
},
"primary_topic": {
"type": "array",
"items": {
"type": "string"
}
},
"topics": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"title": {
"type": "string"
},
"update_type": {
"enum": [
"major",
"minor",
"republish"
]
}
}
} | o21439 |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://labrador-kennel.cspray.io/schemas/configuration.schema.json",
"title": "Labrador Configuration",
"description": "Schema to ensure that a JSON based configuration provides valid values.",
"type": "object",
"properties": {
"labrador": {
"type": "object",
"properties": {
"logging": {
"type": "object",
"properties": {
"name": {
"description": "The name of your application's logs",
"type": "string",
"minLength": 1
},
"outputPath": {
"description": "The resource path that your logs will stream to.",
"type": "string",
"minLength": 1
}
},
"required": [
"name",
"outputPath"
]
},
"injectorProviderPath": {
"description": "A file path that returns a callback that accepts a Configuration instance and returns an Injector.",
"type": "string"
},
"plugins": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"logging",
"injectorProviderPath",
"plugins"
]
}
},
"required": [
"labrador"
]
} | o56171 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "JSON API",
"type": "object",
"properties": {
"command": {
"type": "object",
"oneOf": [
{
"$ref": "#/definitions/Build"
},
{
"title": "Buy",
"required": [
"buy"
],
"properties": {
"buy": {
"$ref": "#/definitions/BuyObject"
}
}
}
]
},
"time": {
"type": "string"
},
"allChat": {
"type": "string",
"description": "A global chat message"
},
"chat": {
"$ref": "#/definitions/Chat"
}
},
"required": [
"time"
],
"definitions": {
"Chat": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
},
"required": [
"message"
],
"oneOf": [
{
"$ref": "#/definitions/PrivateChat"
},
{
"$ref": "#/definitions/GroupChat"
}
]
},
"PrivateChat": {
"title": "Private Chat",
"properties": {
"target": {
"type": "string",
"description": "The recipient of the message"
}
}
},
"GroupChat": {
"title": "Group Chat",
"properties": {
"channel": {
"type": "string",
"description": "The channel the message is sent to"
}
}
},
"Build": {
"required": [
"build"
],
"properties": {
"build": {
"title": "Building",
"type": "object",
"properties": {
"building": {
"type": "string",
"description": "The name of the building"
},
"location": {
"type": "string",
"description": "The location where the building should be placed"
},
"maxCost": {
"type": "integer",
"description": "The build command should only be applied, if the actual cost do not exceed this value."
},
"exactCost": {
"type": "integer",
"description": "The build command should only be applied, if the actual cost is exactly this value."
}
}
}
}
},
"BuyObject": {
"oneOf": [
{
"$ref": "#/definitions/Spaceship"
},
{
"$ref": "#/definitions/Acres"
}
],
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "The location where the spaceship should be bought"
},
"maxCost": {
"type": "integer",
"description": "The buy command should only be applied, if the actual cost do not exceed this value."
},
"exactCost": {
"type": "integer",
"description": "The buy command should only be applied, if the actual cost is exactly this value."
}
}
},
"Spaceship": {
"title": "Spaceship",
"required": [
"spaceship"
],
"properties": {
"spaceship": {
"type": "string",
"description": "The name of the spaceship"
}
}
},
"Acres": {
"title": "Acres",
"required": [
"acres",
"location"
],
"properties": {
"acres": {
"type": "integer",
"description": "The size of acres"
}
}
}
}
} | o683 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"bulk_publishing": {
"type": "boolean"
},
"links": {
"type": "object",
"additionalProperties": false,
"properties": {
"facet_groups": {
"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.",
"$ref": "#/definitions/guid_list"
},
"facet_values": {
"description": "Prototype-stage metadata tagging values for this content item, a content item can be linked to many facet values from varying facet groups.",
"$ref": "#/definitions/guid_list"
},
"finder": {
"description": "Powers links from content back to finders the content is surfaced on",
"$ref": "#/definitions/guid_list"
},
"lead_organisations": {
"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.",
"$ref": "#/definitions/guid_list"
},
"mainstream_browse_pages": {
"description": "Powers the /browse section of the site. These are known as sections in some legacy apps.",
"$ref": "#/definitions/guid_list"
},
"meets_user_needs": {
"description": "The user needs this piece of content meets.",
"$ref": "#/definitions/guid_list"
},
"ordered_related_items": {
"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.",
"$ref": "#/definitions/guid_list"
},
"ordered_related_items_overrides": {
"description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation.",
"$ref": "#/definitions/guid_list"
},
"organisations": {
"description": "All organisations linked to this content item. This should include lead organisations.",
"$ref": "#/definitions/guid_list"
},
"original_primary_publishing_organisation": {
"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.",
"$ref": "#/definitions/guid_list"
},
"parent": {
"description": "The parent content item.",
"$ref": "#/definitions/guid_list",
"maxItems": 1
},
"policy_areas": {
"description": "A largely deprecated tag currently only used to power email alerts.",
"$ref": "#/definitions/guid_list"
},
"primary_publishing_organisation": {
"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.",
"$ref": "#/definitions/guid_list",
"maxItems": 1
},
"suggested_ordered_related_items": {
"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.",
"$ref": "#/definitions/guid_list"
},
"taxons": {
"description": "Prototype-stage taxonomy label for this content item",
"$ref": "#/definitions/guid_list"
},
"topics": {
"description": "Powers the /topic section of the site. These are known as specialist sectors in some legacy apps.",
"$ref": "#/definitions/guid_list"
}
}
},
"previous_version": {
"type": "string"
}
},
"definitions": {
"guid": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$"
},
"guid_list": {
"type": "array",
"items": {
"$ref": "#/definitions/guid"
},
"_uniqueItems": true
}
}
} | o21434 |
{
"definitions": {
"CampaignMission": {
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"missionNumber": {
"type": "integer",
"multipleOf": 1
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"imageUrl": {
"type": "string"
},
"type": {
"type": "string"
},
"id": {
"type": "string"
},
"contentId": {
"type": "string"
}
},
"required": [
"missionNumber",
"name",
"description",
"imageUrl",
"type",
"id",
"contentId"
]
}
},
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"$ref": "#/definitions/CampaignMission"
}
} | o43198 |
{
"$schema": "http://json-schema.org/draft-04/schema",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string",
"minLength": 3,
"maxLength": 50
},
"rating": {
"type": "number",
"minimum": 1,
"maximum": 5
},
"director": {
"type": "string"
},
"actors": {
"type": "array",
"items": {
"type": "string"
}
},
"category": {
"enum": [
"thriller",
"comedy"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
}
}
} | o55249 |
{
"id": "http://schemas.triniti.io/json-schema/gdbots/forms/field/weight-field/1-0-0.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"_schema": {
"type": "string",
"pattern": "^pbj:([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+):([0-9]+-[0-9]+-[0-9]+)$",
"default": "pbj:gdbots:forms:field:weight-field:1-0-0"
},
"name": {
"type": "string",
"pattern": "^[a-zA-Z_]{1}[\\w-]*$",
"description": "A unique identifier (within the form) for the field. This value is not shown to the user and should NOT change once set.",
"pbj": {
"type": "string",
"rule": "single"
}
},
"maps_to": {
"type": "string",
"default": "cf",
"pattern": "^[a-zA-Z_]{1}\\w*$",
"description": "The name of the schema field the answer will map to. By default this will go to the \"cf\" field which is a \"dynamic-field\" list containing all answers filled out on the form (ref \"gdbots:forms:mixin:send-submission\").",
"pbj": {
"type": "string",
"rule": "single"
}
},
"label": {
"type": "string",
"minLength": 0,
"maxLength": 255,
"description": "The main text for the question/field.",
"pbj": {
"type": "string",
"rule": "single"
}
},
"placeholder": {
"type": "string",
"minLength": 0,
"maxLength": 255,
"pbj": {
"type": "string",
"rule": "single"
}
},
"description": {
"type": "string",
"minLength": 0,
"maxLength": 65535,
"description": "A short description to better explain this field.",
"pbj": {
"type": "text",
"rule": "single"
}
},
"is_required": {
"type": "boolean",
"pbj": {
"type": "boolean",
"rule": "single"
}
},
"link_text": {
"type": "string",
"minLength": 0,
"maxLength": 255,
"description": "The text that will replace the token \"{link}\" within the label or description.",
"pbj": {
"type": "string",
"rule": "single"
}
},
"link_url": {
"type": "string",
"pattern": "^(https?:\\/\\/)?([\\da-z\\.-]+)\\.([a-z\\.]{2,6})([\\/\\w \\.-]*)*\\/?$",
"description": "The URL to use for the replaced token \"{link}\" within the label or description.",
"pbj": {
"type": "string",
"rule": "single",
"format": "url"
}
},
"pii_impact": {
"type": "string",
"enum": [
"unknown",
"high",
"moderate",
"low"
],
"pbj": {
"type": "string-enum",
"rule": "single"
}
},
"weight_units": {
"type": "string",
"default": "pounds",
"pattern": "^(kilograms|pounds)$",
"pbj": {
"type": "string",
"rule": "single"
}
},
"min_weight": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 65535,
"description": "The person's minimum physical weight recorded in pounds or kilograms.",
"pbj": {
"type": "small-int",
"rule": "single"
}
},
"max_weight": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 65535,
"description": "The person's maximum physical weight recorded in pounds or kilograms.",
"pbj": {
"type": "small-int",
"rule": "single"
}
}
},
"required": [
"_schema",
"name"
],
"additionalProperties": false
} | o82369 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "RCV Election",
"description": "A single Ranked Choice Voting (RCV) race",
"type": "object",
"properties": {
"isTest": {
"description": "Value that is always true if it exists, could later be used to specify some useful info about the test",
"type": "boolean",
"enum": [
true
]
},
"counts": {
"description": "In a test, this array specifies how many of each of the ballots in votes will appear. Can be used for a compressed form of tests",
"type": "array",
"items": {
"type": "integer"
}
},
"votes": {
"description": "all of the votes in the election",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "A unique identifier for each ballot",
"type": "integer"
},
"ranks": {
"description": "The rankings on this ballot, ordered from first to last within the list",
"type": "array",
"items": {
"description": "A rank selection. Is an array because it allows overvotes",
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"required": [
"id",
"ranks"
],
"additionalProperties": false
}
},
"tiebreak": {
"description": "the candidate that should be chosen in each successive tiebreak to give the results as reported in the results value",
"type": "array",
"items": {
"type": "integer"
}
},
"results": {
"description": "a record of what happened as the election was tabulated",
"type": "object",
"properties": {
"winner": {
"description": "which candidate won the election",
"type": "integer"
},
"record": {
"description": "a round by round summary of the results of the election",
"type": "array",
"items": {
"type": "object",
"properties": {
"tally": {
"description": "the number of first choice selections for some/all of the candidates",
"type": "array",
"items": {
"type": "object",
"properties": {
"candidate": {
"type": "integer"
},
"firstChoices": {
"type": "integer"
}
},
"required": [
"candidate",
"firstChoices"
],
"additionalProperties": false
}
},
"eliminated": {
"type": "array",
"items": {
"type": "integer"
}
}
}
}
}
},
"required": [
"winner"
],
"additionalProperties": false
}
},
"additionalProperties": false,
"dependencies": {
"isTest": [
"results",
"tiebreak",
"counts"
]
}
} | o32436 |
{
"properties": {
"dimensions": {
"properties": {
"length": {
"description": "The length of the rectangle",
"type": "number"
},
"radius": {
"description": "The radius of the circle",
"type": "number"
},
"side_length": {
"description": "The side length of the square",
"type": "number"
},
"width": {
"description": "The width of the rectangle",
"type": "number"
}
},
"required": [
"radius",
"side_length",
"length",
"width"
],
"type": "object"
},
"shape": {
"description": "The shape (circle, square, rectangle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_perimeter_fa61f5a8 |
{
"properties": {
"config": {
"properties": {
"path": {
"description": "Package path to import the middleware",
"examples": [
"github.com/uber/zanzibar/examples/example-gateway/middlewares/example"
],
"type": "string"
},
"schema": {
"description": "Path to the schema of the middleware, relative to middleware module config directory",
"examples": [
"./middlewares/example/example_schema.json"
],
"type": "string"
}
},
"type": "object"
},
"dependencies": {
"properties": {
"client": {
"items": {
"description": "Name of the client this middleware depends on",
"examples": [
"baz"
],
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"name": {
"description": "Name of the middleware",
"examples": [
"example"
],
"type": "string"
},
"type": {
"description": "Type of the middleware, currently only valid type is default",
"examples": [
"default"
],
"type": "string"
}
},
"required": [
"name",
"type",
"config",
"dependencies"
],
"type": "object"
} | o83293 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://judkins.house/apis/k2/v1/bastionConfigSimple.json",
"$$target": "bastionConfigSimple.json",
"title": "A Bastion configuration",
"description": "Properties pertaining to a Bastion.",
"properties": {
"name": {
"description": "Name of the Bastion configuration.",
"type": "string"
},
"kind": {
"description": "Type of bastion config",
"enum": [
"bastion"
],
"type": "string"
},
"listenPort": {
"description": "What port number to open for the ssh tunnel, default is 22",
"type": "number",
"minimum": 0,
"default": 22,
"maximum": 65535
}
},
"required": [
"name",
"kind"
],
"additionalProperties": false,
"type": "object"
} | o90368 |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "A Submittable Schema",
"description": "Submittable base schema",
"type": "object",
"properties": {
"alias": {
"description": "An unique identifier in a submission.",
"type": "string",
"minLength": 1
},
"title": {
"description": "Title of the submittable.",
"type": "string"
},
"description": {
"description": "More extensive free-form description.",
"type": "string"
},
"attributes": {
"$ref": "#/definitions/attributes"
},
"studyRef": {
"description": "Reference to study.",
"$ref": "#/definitions/submittableRef"
},
"protocolUses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"protocolRef": {
"$ref": "#/definitions/submittableRef"
},
"attributes": {
"$ref": "#/definitions/attributes"
}
}
}
},
"sampleUses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sampleRef": {
"$ref": "#/definitions/submittableRef"
},
"attributes": {
"$ref": "#/definitions/attributes"
}
}
}
}
},
"definitions": {
"attributes": {
"description": "Attributes for describing a submittable.",
"type": "object",
"properties": {},
"patternProperties": {
"^.*$": {
"type": "array",
"minItems": 1,
"items": {
"properties": {
"value": {
"type": "string",
"minLength": 1
},
"units": {
"type": "string",
"minLength": 1
},
"terms": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"url"
]
}
}
},
"required": [
"value"
]
}
}
}
},
"submittableRef": {
"type": "object",
"properties": {
"alias": {
"type": "string",
"minLength": 1
},
"accession": {
"type": "string",
"minLength": 1
},
"team": {
"type": "string",
"minLength": 1
}
},
"oneOf": [
{
"required": [
"alias",
"team"
]
},
{
"required": [
"accession"
]
}
]
}
},
"required": [
"alias"
]
} | o4838 |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"patternProperties": {
"^[a-zA-Z0-9\\W]*$": {
"properties": {
"accent": {
"_format": "color",
"type": "string"
},
"background": {
"_format": "color",
"type": "string"
},
"correct": {
"_format": "color",
"type": "string"
},
"highlightColor": {
"_format": "color",
"type": "string"
},
"incorrect": {
"_format": "color",
"type": "string"
},
"inputColor": {
"_format": "color",
"type": "string"
},
"internal": {
"_format": "color",
"type": "string"
},
"lightAccent": {
"_format": "color",
"type": "string"
},
"linkColor": {
"_format": "color",
"type": "string"
},
"text": {
"_format": "color",
"type": "string"
}
},
"required": [
"accent",
"lightAccent",
"text",
"background",
"internal",
"incorrect",
"correct",
"inputColor",
"linkColor",
"highlightColor"
],
"type": "object"
}
},
"required": [
"Vanilla"
],
"type": "object"
} | o14512 |
{
"properties": {
"dimensions": {
"properties": {
"length": {
"description": "The length of the shape",
"type": "number"
},
"radius": {
"description": "The radius of the shape",
"type": "number"
},
"width": {
"description": "The width of the shape",
"type": "number"
}
},
"required": [
"length",
"width",
"radius"
],
"type": "object"
},
"shape": {
"description": "The type of shape (e.g. triangle, rectangle, circle)",
"type": "string"
}
},
"required": [
"shape",
"dimensions"
],
"type": "object"
} | calculate_area_d167c8f4 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"data": {
"type": "object",
"properties": {
"orientation": {
"type": "string"
},
"keywords": {
"type": "array",
"items": {
"type": "string"
}
},
"native_id": {
"type": "string"
},
"licenses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute_to": {
"type": "array",
"items": {
"type": "string"
}
},
"details": {
"type": "string"
},
"name": {
"type": "string"
},
"name_long": {
"type": "string"
}
}
}
},
"date_created_original": {
"type": "string"
},
"title": {
"type": "string"
},
"camera_exif": {
"type": "object"
},
"source": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"transient_info": {
"type": "object"
},
"date_captured": {
"type": "string"
},
"location": {
"type": "object"
},
"attribution": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
}
},
"license_name": {
"type": "string"
},
"url_shown_at": {
"type": "object",
"properties": {
"url": {
"type": "string"
}
}
},
"sizes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"bytes": {
"type": "integer"
},
"height": {
"type": "integer"
},
"width": {
"type": "integer"
},
"content_type": {
"type": "string"
}
}
}
},
"license_name_long": {
"type": "string"
},
"source_dataset": {
"type": "string"
},
"artist_names": {
"type": "array",
"items": {
"type": "string"
}
},
"url_direct": {
"type": "object",
"properties": {
"url": {
"type": "string"
}
}
},
"license_url": {
"type": "string"
},
"native_source_id": {
"type": "string"
},
"date_created_at_source": {
"type": "string"
},
"_id": {
"type": "string"
},
"providers_list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
}
},
"description": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
} | o60171 |
{
"properties": {
"digits": {
"description": "Include digits",
"type": "boolean"
},
"length": {
"description": "The length of the password",
"type": "integer"
},
"lowercase": {
"description": "Include lowercase letters",
"type": "boolean"
},
"special_characters": {
"description": "Include special characters",
"type": "boolean"
},
"uppercase": {
"description": "Include uppercase letters",
"type": "boolean"
}
},
"required": [
"length"
],
"type": "object"
} | generate_random_password_60146e8c |
{
"id": "http://schemas.gdbots.io/json-schema/gdbots/analytics/mixin/tracker/1-0-0.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"is_enabled": {
"type": "boolean"
}
},
"additionalProperties": true
} | o42519 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://dcc.icgc.org/gene-centric",
"type": "object",
"properties": {
"_gene_id": {
"id": "https://dcc.icgc.org/gene-centric/_gene_id",
"type": "string"
},
"_summary": {
"id": "https://dcc.icgc.org/gene-centric/_summary",
"type": "object",
"properties": {
"_affected_donor_count": {
"id": "https://dcc.icgc.org/gene-centric/_summary/_affected_donor_count",
"type": "integer"
}
},
"additionalProperties": false
},
"biotype": {
"id": "https://dcc.icgc.org/gene-centric/biotype",
"type": "string"
},
"chromosome": {
"id": "https://dcc.icgc.org/gene-centric/chromosome",
"type": "string"
},
"curated_set": {
"id": "https://dcc.icgc.org/gene-centric/curated_set",
"type": "array",
"items": {
"id": "https://dcc.icgc.org/gene-centric/curated_set/0",
"type": "string"
}
},
"description": {
"id": "https://dcc.icgc.org/gene-centric/description",
"type": "string"
},
"donor": {
"id": "https://dcc.icgc.org/gene-centric/donor",
"type": "array",
"items": {
"id": "https://dcc.icgc.org/gene-centric/donor/0",
"type": "object",
"properties": {
"_donor_id": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/_donor_id",
"type": "string"
},
"_project_id": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/_project_id",
"type": "string"
},
"_summary": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/_summary",
"type": "object",
"properties": {
"_age_at_diagnosis_group": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/_summary/_age_at_diagnosis_group",
"type": "string"
},
"_available_data_type": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/_summary/_available_data_type",
"type": "array",
"items": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/_summary/_available_data_type/10",
"type": "string"
},
"additionalItems": false
},
"_state": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/_summary/_state",
"type": "string"
},
"_studies": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/_summary/_studies",
"type": "array",
"items": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/_summary/_studies/1",
"type": "string"
},
"additionalItems": false
},
"experimental_analysis_performed": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/_summary/experimental_analysis_performed",
"type": "array",
"items": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/_summary/experimental_analysis_performed/4",
"type": "string"
},
"additionalItems": false
}
},
"additionalProperties": false
},
"disease_status_last_followup": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/disease_status_last_followup",
"type": "string"
},
"donor_relapse_type": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/donor_relapse_type",
"type": "null"
},
"donor_sex": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/donor_sex",
"type": "string"
},
"donor_tumour_stage_at_diagnosis": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/donor_tumour_stage_at_diagnosis",
"type": "string"
},
"donor_vital_status": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/donor_vital_status",
"type": "string"
},
"project": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/project",
"type": "object",
"properties": {
"_project_id": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/project/_project_id",
"type": "string"
},
"primary_site": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/project/primary_site",
"type": "string"
}
},
"additionalProperties": false
},
"ssm": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/ssm",
"type": "array",
"items": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1",
"type": "object",
"properties": {
"_mutation_id": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/_mutation_id",
"type": "string"
},
"chromosome": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/chromosome",
"type": "string"
},
"chromosome_end": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/chromosome_end",
"type": "string"
},
"chromosome_start": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/chromosome_start",
"type": "string"
},
"consequence": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/consequence",
"type": "array",
"items": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/consequence/0",
"type": "object",
"properties": {
"_gene_id": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/consequence/0/_gene_id",
"type": "string"
},
"consequence_type": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/consequence/0/consequence_type",
"type": "string"
},
"transcript_affected": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/consequence/0/transcript_affected",
"type": "string"
},
"functional_impact_prediction_summary": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/consequence/0/functional_impact_prediction_summary",
"type": "string"
}
},
"additionalProperties": false
},
"additionalItems": false
},
"mutation_type": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/mutation_type",
"type": "string"
},
"observation": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/observation",
"type": "array",
"items": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/observation/0",
"type": "object",
"properties": {
"platform": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/observation/0/platform",
"type": "string"
},
"sequencing_strategy": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/observation/0/sequencing_strategy",
"type": "string"
},
"verification_status": {
"id": "https://dcc.icgc.org/gene-centric/donor/0/ssm/1/observation/0/verification_status",
"type": "string"
}
},
"additionalProperties": false
},
"additionalItems": false
}
},
"additionalProperties": false
},
"additionalItems": false
}
},
"additionalProperties": false
},
"additionalItems": false
},
"drug": {
"id": "https://dcc.icgc.org/gene-centric/drug",
"type": "array",
"items": {
"id": "https://dcc.icgc.org/gene-centric/drug/0",
"type": "string"
},
"additionalItems": false
},
"end": {
"id": "https://dcc.icgc.org/gene-centric/end",
"type": "integer"
},
"external_db_ids": {
"id": "https://dcc.icgc.org/gene-centric/external_db_ids",
"type": "object",
"properties": {
"entrez_gene": {
"id": "https://dcc.icgc.org/gene-centric/external_db_ids/entrez_gene",
"type": "array",
"items": {
"id": "https://dcc.icgc.org/gene-centric/external_db_ids/entrez_gene/0",
"type": "string"
}
},
"hgnc": {
"id": "https://dcc.icgc.org/gene-centric/external_db_ids/hgnc",
"type": "array",
"items": {
"id": "https://dcc.icgc.org/gene-centric/external_db_ids/hgnc/0",
"type": "string"
}
},
"omim_gene": {
"id": "https://dcc.icgc.org/gene-centric/external_db_ids/omim_gene",
"type": "array",
"items": {
"id": "https://dcc.icgc.org/gene-centric/external_db_ids/omim_gene/0",
"type": "string"
}
},
"uniprotkb_swissprot": {
"id": "https://dcc.icgc.org/gene-centric/external_db_ids/uniprotkb_swissprot",
"type": "array",
"items": {
"id": "https://dcc.icgc.org/gene-centric/external_db_ids/uniprotkb_swissprot/0",
"type": "string"
}
}
},
"additionalProperties": false
},
"go_term": {
"id": "https://dcc.icgc.org/gene-centric/go_term",
"type": "object",
"properties": {
"biological_process": {
"id": "https://dcc.icgc.org/gene-centric/go_term/biological_process",
"type": "array",
"items": {
"id": "https://dcc.icgc.org/donor-centric/go_term/biological_process/52",
"type": "string"
},
"additionalItems": false
},
"cellular_component": {
"id": "https://dcc.icgc.org/donor-centric/go_term/cellular_component",
"type": "array",
"items": {
"id": "https://dcc.icgc.org/donor-centric/go_term/cellular_component/39",
"type": "string"
},
"additionalItems": false
},
"molecular_function": {
"id": "https://dcc.icgc.org/donor-centric/go_term/molecular_function",
"type": "array",
"items": {
"id": "https://dcc.icgc.org/donor-centric/go_term/molecular_function/10",
"type": "string"
},
"additionalItems": false
}
},
"additionalProperties": false
},
"name": {
"id": "https://dcc.icgc.org/gene-centric/name",
"type": "string"
},
"pathway": {
"id": "https://dcc.icgc.org/gene-centric/pathway",
"type": "array",
"items": {
"id": "https://dcc.icgc.org/gene-centric/pathway/0",
"type": "string"
},
"additionalItems": false
},
"start": {
"id": "https://dcc.icgc.org/gene-centric/start",
"type": "integer"
},
"strand": {
"id": "https://dcc.icgc.org/gene-centric/strand",
"type": "integer"
},
"symbol": {
"id": "https://dcc.icgc.org/gene-centric/symbol",
"type": "string"
},
"transcripts": {
"id": "https://dcc.icgc.org/gene-centric/transcripts",
"type": "array",
"items": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0",
"type": "object",
"properties": {
"id": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/id",
"type": "string"
},
"name": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/name",
"type": "string"
},
"biotype": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/biotype",
"type": "string"
},
"length_amino_acid": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/length_amino_acid",
"type": "integer"
},
"coding_region_start": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/coding_region_start",
"type": "integer"
},
"coding_region_end": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/coding_region_end",
"type": "integer"
},
"cdna_coding_start": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/cdna_coding_start",
"type": "integer"
},
"cdna_coding_end": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/cdna_coding_end",
"type": "integer"
},
"exons": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/exons",
"type": "array",
"items": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/exons/0",
"type": "object",
"properties": {
"start": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/exons/0/start",
"type": "integer"
},
"end": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/exons/0/end",
"type": "integer"
},
"cdna_start": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/exons/0/cdna_start",
"type": "integer"
},
"cdna_end": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/exons/0/cdna_end",
"type": "integer"
},
"genomic_coding_start": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/exons/0/genomic_coding_start",
"type": "integer"
},
"genomic_coding_end": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/exons/0/genomic_coding_end",
"type": "integer"
},
"cdna_coding_start": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/exons/0/cdna_coding_start",
"type": "integer"
},
"cdna_coding_end": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/exons/0/cdna_coding_end",
"type": "integer"
}
},
"additionalProperties": false
},
"additionalItems": false
},
"domains": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/domains",
"type": "array",
"items": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/domains/0",
"type": "object",
"properties": {
"start": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/domains/0/start",
"type": "integer"
},
"end": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/domains/0/end",
"type": "integer"
},
"description": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/domains/0/description",
"type": "string"
},
"gff_source": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/domains/0/gff_source",
"type": "string"
},
"hit_name": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/domains/0/hit_name",
"type": "string"
},
"interpro_id": {
"id": "https://dcc.icgc.org/gene-centric/transcripts/0/domains/0/interpro_id",
"type": "string"
}
},
"additionalProperties": false
},
"additionalItems": false
}
},
"additionalProperties": false
},
"additionalItems": false
}
},
"additionalProperties": false
} | o47095 |
{
"definitions": {
"https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
},
"description": "Overhead structure represents the resource overhead associated with running a pod.",
"properties": {
"podFixed": {
"additionalProperties": {
"$ref": "#/definitions/https:__kubernetesjsonschema_dev_master__defs_json_defs_io_k8s_apimachinery_pkg_api_resource_Quantity"
},
"description": "PodFixed represents the fixed resource overhead associated with running a pod.",
"type": [
"object",
"null"
]
}
},
"type": "object"
} | kb_656_Normalized |
{
"definitions": {
"color": {
"description": "keep the names short please",
"placeholder": "enter a color",
"type": "string"
}
},
"description": "The demo addon schema for jsone",
"instruction": "Select a row to edit",
"properties": {
"color": {
"$ref": "#/definitions/color"
}
},
"required": [
"color"
]
} | o67374 |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"assertions"
],
"properties": {
"description": {
"type": "string"
},
"context": {},
"assertions": {
"type": "array",
"minItems": 1,
"additionalItems": false,
"items": {
"type": "object",
"required": [
"input",
"output"
],
"properties": {
"input": {},
"output": {}
}
}
}
}
} | o74408 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.