blob: a8b091e742e13ad97328464b751e38a6f7b650c1 [file] [log] [blame]
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/IntegrationPlatform",
"definitions": {
"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"
},
"IntegrationPlatform": {
"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/IntegrationPlatformSpec"
},
"status": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/IntegrationPlatformStatus"
},
"uid": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"IntegrationPlatformBuildSpec": {
"properties": {
"baseImage": {
"type": "string"
},
"camelVersion": {
"type": "string"
},
"localRepository": {
"type": "string"
},
"properties": {
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
"publishStrategy": {
"type": "string"
},
"registry": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/IntegrationPlatformRegistrySpec"
},
"repositories": {
"items": {
"type": "string"
},
"type": "array"
},
"runtimeVersion": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"IntegrationPlatformRegistrySpec": {
"properties": {
"address": {
"type": "string"
},
"insecure": {
"type": "boolean"
},
"organization": {
"type": "string"
},
"secret": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object"
},
"IntegrationPlatformResourcesSpec": {
"properties": {
"contexts": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"IntegrationPlatformSpec": {
"properties": {
"build": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/IntegrationPlatformBuildSpec"
},
"cluster": {
"type": "string"
},
"profile": {
"type": "string"
},
"resources": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/IntegrationPlatformResourcesSpec"
}
},
"additionalProperties": false,
"type": "object"
},
"IntegrationPlatformStatus": {
"properties": {
"phase": {
"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"
}
}
}