blob: a1ef8f0129d5dac5f7c6296c999128d110805e6a [file] [log] [blame]
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/Integration",
"definitions": {
"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"
},
"Integration": {
"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/IntegrationSpec"
},
"status": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/IntegrationStatus"
},
"uid": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"IntegrationSpec": {
"properties": {
"configuration": {
"items": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/ConfigurationSpec"
},
"type": "array"
},
"context": {
"type": "string"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"profile": {
"type": "string"
},
"replicas": {
"type": "integer"
},
"repositories": {
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"items": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/ResourceSpec"
},
"type": "array"
},
"serviceAccountName": {
"type": "string"
},
"sources": {
"items": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/SourceSpec"
},
"type": "array"
},
"traits": {
"patternProperties": {
".*": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/TraitSpec"
}
},
"type": "object"
}
},
"additionalProperties": false,
"type": "object"
},
"IntegrationStatus": {
"properties": {
"camelVersion": {
"type": "string"
},
"context": {
"type": "string"
},
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"digest": {
"type": "string"
},
"failure": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/Failure"
},
"generatedSources": {
"items": {
"$ref": "#/definitions/SourceSpec"
},
"type": "array"
},
"image": {
"type": "string"
},
"phase": {
"type": "string"
},
"runtimeVersion": {
"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"
},
"ResourceSpec": {
"properties": {
"compression": {
"type": "boolean"
},
"content": {
"type": "string"
},
"contentKey": {
"type": "string"
},
"contentRef": {
"type": "string"
},
"mountPath": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"SourceSpec": {
"properties": {
"compression": {
"type": "boolean"
},
"content": {
"type": "string"
},
"contentKey": {
"type": "string"
},
"contentRef": {
"type": "string"
},
"language": {
"type": "string"
},
"name": {
"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"
}
}
}