| { |
| "$schema": "http://json-schema.org/draft-04/schema#", |
| "$ref": "#/definitions/IntegrationKit", |
| "definitions": { |
| "Artifact": { |
| "required": [ |
| "id" |
| ], |
| "properties": { |
| "id": { |
| "type": "string" |
| }, |
| "location": { |
| "type": "string" |
| }, |
| "target": { |
| "type": "string" |
| } |
| }, |
| "additionalProperties": false, |
| "type": "object" |
| }, |
| "ConfigurationSpec": { |
| "required": [ |
| "type", |
| "value" |
| ], |
| "properties": { |
| "type": { |
| "type": "string" |
| }, |
| "value": { |
| "type": "string" |
| } |
| }, |
| "additionalProperties": false, |
| "type": "object" |
| }, |
| "Failure": { |
| "required": [ |
| "reason", |
| "time", |
| "recovery" |
| ], |
| "properties": { |
| "reason": { |
| "type": "string" |
| }, |
| "recovery": { |
| "$schema": "http://json-schema.org/draft-04/schema#", |
| "$ref": "#/definitions/FailureRecovery" |
| }, |
| "time": { |
| "$ref": "#/definitions/Time" |
| } |
| }, |
| "additionalProperties": false, |
| "type": "object" |
| }, |
| "FailureRecovery": { |
| "required": [ |
| "attempt", |
| "attemptMax", |
| "attemptTime" |
| ], |
| "properties": { |
| "attempt": { |
| "type": "integer" |
| }, |
| "attemptMax": { |
| "type": "integer" |
| }, |
| "attemptTime": { |
| "$ref": "#/definitions/Time" |
| } |
| }, |
| "additionalProperties": false, |
| "type": "object" |
| }, |
| "Initializer": { |
| "required": [ |
| "name" |
| ], |
| "properties": { |
| "name": { |
| "type": "string" |
| } |
| }, |
| "additionalProperties": false, |
| "type": "object" |
| }, |
| "Initializers": { |
| "required": [ |
| "pending" |
| ], |
| "properties": { |
| "pending": { |
| "items": { |
| "$schema": "http://json-schema.org/draft-04/schema#", |
| "$ref": "#/definitions/Initializer" |
| }, |
| "type": "array" |
| }, |
| "result": { |
| "$schema": "http://json-schema.org/draft-04/schema#", |
| "$ref": "#/definitions/Status" |
| } |
| }, |
| "additionalProperties": false, |
| "type": "object" |
| }, |
| "IntegrationKit": { |
| "properties": { |
| "annotations": { |
| "patternProperties": { |
| ".*": { |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "apiVersion": { |
| "type": "string" |
| }, |
| "clusterName": { |
| "type": "string" |
| }, |
| "creationTimestamp": { |
| "$schema": "http://json-schema.org/draft-04/schema#", |
| "$ref": "#/definitions/Time" |
| }, |
| "deletionGracePeriodSeconds": { |
| "type": "integer" |
| }, |
| "deletionTimestamp": { |
| "$ref": "#/definitions/Time" |
| }, |
| "finalizers": { |
| "items": { |
| "type": "string" |
| }, |
| "type": "array" |
| }, |
| "generateName": { |
| "type": "string" |
| }, |
| "generation": { |
| "type": "integer" |
| }, |
| "initializers": { |
| "$schema": "http://json-schema.org/draft-04/schema#", |
| "$ref": "#/definitions/Initializers" |
| }, |
| "kind": { |
| "type": "string" |
| }, |
| "labels": { |
| "patternProperties": { |
| ".*": { |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "name": { |
| "type": "string" |
| }, |
| "namespace": { |
| "type": "string" |
| }, |
| "ownerReferences": { |
| "items": { |
| "$schema": "http://json-schema.org/draft-04/schema#", |
| "$ref": "#/definitions/OwnerReference" |
| }, |
| "type": "array" |
| }, |
| "resourceVersion": { |
| "type": "string" |
| }, |
| "selfLink": { |
| "type": "string" |
| }, |
| "spec": { |
| "$schema": "http://json-schema.org/draft-04/schema#", |
| "$ref": "#/definitions/IntegrationKitSpec" |
| }, |
| "status": { |
| "$schema": "http://json-schema.org/draft-04/schema#", |
| "$ref": "#/definitions/IntegrationKitStatus" |
| }, |
| "uid": { |
| "type": "string" |
| } |
| }, |
| "additionalProperties": false, |
| "type": "object" |
| }, |
| "IntegrationKitCondition": { |
| "required": [ |
| "type", |
| "status" |
| ], |
| "properties": { |
| "lastTransitionTime": { |
| "$ref": "#/definitions/Time" |
| }, |
| "lastUpdateTime": { |
| "$ref": "#/definitions/Time" |
| }, |
| "message": { |
| "type": "string" |
| }, |
| "reason": { |
| "type": "string" |
| }, |
| "status": { |
| "type": "string" |
| }, |
| "type": { |
| "type": "string" |
| } |
| }, |
| "additionalProperties": false, |
| "type": "object" |
| }, |
| "IntegrationKitSpec": { |
| "properties": { |
| "configuration": { |
| "items": { |
| "$schema": "http://json-schema.org/draft-04/schema#", |
| "$ref": "#/definitions/ConfigurationSpec" |
| }, |
| "type": "array" |
| }, |
| "dependencies": { |
| "items": { |
| "type": "string" |
| }, |
| "type": "array" |
| }, |
| "image": { |
| "type": "string" |
| }, |
| "profile": { |
| "type": "string" |
| }, |
| "repositories": { |
| "items": { |
| "type": "string" |
| }, |
| "type": "array" |
| }, |
| "traits": { |
| "patternProperties": { |
| ".*": { |
| "$schema": "http://json-schema.org/draft-04/schema#", |
| "$ref": "#/definitions/TraitSpec" |
| } |
| }, |
| "type": "object" |
| } |
| }, |
| "additionalProperties": false, |
| "type": "object" |
| }, |
| "IntegrationKitStatus": { |
| "properties": { |
| "artifacts": { |
| "items": { |
| "$schema": "http://json-schema.org/draft-04/schema#", |
| "$ref": "#/definitions/Artifact" |
| }, |
| "type": "array" |
| }, |
| "baseImage": { |
| "type": "string" |
| }, |
| "camelVersion": { |
| "type": "string" |
| }, |
| "conditions": { |
| "items": { |
| "$schema": "http://json-schema.org/draft-04/schema#", |
| "$ref": "#/definitions/IntegrationKitCondition" |
| }, |
| "type": "array" |
| }, |
| "digest": { |
| "type": "string" |
| }, |
| "failure": { |
| "$schema": "http://json-schema.org/draft-04/schema#", |
| "$ref": "#/definitions/Failure" |
| }, |
| "image": { |
| "type": "string" |
| }, |
| "phase": { |
| "type": "string" |
| }, |
| "platform": { |
| "type": "string" |
| }, |
| "runtimeVersion": { |
| "type": "string" |
| }, |
| "version": { |
| "type": "string" |
| } |
| }, |
| "additionalProperties": false, |
| "type": "object" |
| }, |
| "OwnerReference": { |
| "required": [ |
| "apiVersion", |
| "kind", |
| "name", |
| "uid" |
| ], |
| "properties": { |
| "apiVersion": { |
| "type": "string" |
| }, |
| "blockOwnerDeletion": { |
| "type": "boolean" |
| }, |
| "controller": { |
| "type": "boolean" |
| }, |
| "kind": { |
| "type": "string" |
| }, |
| "name": { |
| "type": "string" |
| }, |
| "uid": { |
| "type": "string" |
| } |
| }, |
| "additionalProperties": false, |
| "type": "object" |
| }, |
| "Status": { |
| "properties": { |
| "apiVersion": { |
| "type": "string" |
| }, |
| "code": { |
| "type": "integer" |
| }, |
| "continue": { |
| "type": "string" |
| }, |
| "details": { |
| "$schema": "http://json-schema.org/draft-04/schema#", |
| "$ref": "#/definitions/StatusDetails" |
| }, |
| "kind": { |
| "type": "string" |
| }, |
| "message": { |
| "type": "string" |
| }, |
| "reason": { |
| "type": "string" |
| }, |
| "resourceVersion": { |
| "type": "string" |
| }, |
| "selfLink": { |
| "type": "string" |
| }, |
| "status": { |
| "type": "string" |
| } |
| }, |
| "additionalProperties": false, |
| "type": "object" |
| }, |
| "StatusCause": { |
| "properties": { |
| "field": { |
| "type": "string" |
| }, |
| "message": { |
| "type": "string" |
| }, |
| "reason": { |
| "type": "string" |
| } |
| }, |
| "additionalProperties": false, |
| "type": "object" |
| }, |
| "StatusDetails": { |
| "properties": { |
| "causes": { |
| "items": { |
| "$schema": "http://json-schema.org/draft-04/schema#", |
| "$ref": "#/definitions/StatusCause" |
| }, |
| "type": "array" |
| }, |
| "group": { |
| "type": "string" |
| }, |
| "kind": { |
| "type": "string" |
| }, |
| "name": { |
| "type": "string" |
| }, |
| "retryAfterSeconds": { |
| "type": "integer" |
| }, |
| "uid": { |
| "type": "string" |
| } |
| }, |
| "additionalProperties": false, |
| "type": "object" |
| }, |
| "Time": { |
| "additionalProperties": false, |
| "type": "object" |
| }, |
| "TraitSpec": { |
| "properties": { |
| "configuration": { |
| "patternProperties": { |
| ".*": { |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| } |
| }, |
| "additionalProperties": false, |
| "type": "object" |
| } |
| } |
| } |