forked from project-kessel/inventory-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema_cache.json
More file actions
21 lines (21 loc) · 10.3 KB
/
schema_cache.json
File metadata and controls
21 lines (21 loc) · 10.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"common:host": "{\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"type\": \"object\",\n \"properties\": {\n \"workspace_id\": { \"type\": \"string\" }\n },\n \"required\": [\n \"workspace_id\"\n ]\n}\n\n",
"common:k8s_cluster": "{\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"type\": \"object\",\n \"properties\": {\n \"workspace_id\": { \"type\": \"string\" }\n },\n \"required\": [\n \"workspace_id\"\n ]\n}\n\n",
"common:k8s_policy": "{\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"type\": \"object\",\n \"properties\": {\n \"workspace_id\": { \"type\": \"string\" }\n },\n \"required\": [\n \"workspace_id\"\n ]\n}\n\n",
"common:notifications_integration": "{\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"type\": \"object\",\n \"properties\": {\n \"workspace_id\": { \"type\": \"string\" }\n },\n \"required\": [\n \"workspace_id\"\n ]\n}\n\n",
"config:host": "cmVzb3VyY2VfcmVwb3J0ZXJzOgogICAgLSBoYmkKcmVzb3VyY2VfdHlwZTogaG9zdAo=",
"config:host:hbi": "bmFtZXNwYWNlOiBoYmkKcmVwb3J0ZXJfbmFtZTogaGJpCnJlc291cmNlX3R5cGU6IGhvc3QK",
"config:k8s_cluster": "cmVzb3VyY2VfcmVwb3J0ZXJzOgogICAgLSBBQ00KICAgIC0gQUNTCiAgICAtIE9DTQpyZXNvdXJjZV90eXBlOiBrOHNfY2x1c3Rlcgo=",
"config:k8s_cluster:acm": "bmFtZXNwYWNlOiBhY20KcmVwb3J0ZXJfbmFtZTogYWNtCnJlc291cmNlX3R5cGU6IGs4c19jbHVzdGVyCg==",
"config:k8s_cluster:acs": "bmFtZXNwYWNlOiBhY3MKcmVwb3J0ZXJfbmFtZTogYWNzCnJlc291cmNlX3R5cGU6IGs4c19jbHVzdGVyCg==",
"config:k8s_cluster:ocm": "bmFtZXNwYWNlOiBvY20KcmVwb3J0ZXJfbmFtZTogb2NtCnJlc291cmNlX3R5cGU6IGs4c19jbHVzdGVyCg==",
"config:k8s_policy": "cmVzb3VyY2VfcmVwb3J0ZXJzOgogICAgLSBBQ00KcmVzb3VyY2VfdHlwZTogazhzX3BvbGljeQo=",
"config:k8s_policy:acm": "bmFtZXNwYWNlOiBhY20KcmVwb3J0ZXJfbmFtZTogYWNtCnJlc291cmNlX3R5cGU6IGs4c19wb2xpY3kK",
"config:notifications_integration": "cmVzb3VyY2VfcmVwb3J0ZXJzOgogICAgLSBOT1RJRklDQVRJT05TCnJlc291cmNlX3R5cGU6IG5vdGlmaWNhdGlvbnMvaW50ZWdyYXRpb24K",
"host:hbi": "{\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"type\": \"object\",\n \"properties\": {\n \"satellite_id\": {\n \"oneOf\": [\n { \"type\": \"string\", \"format\": \"uuid\" },\n { \"type\": \"string\", \"pattern\": \"^\\\\d{10}$\" },\n { \"type\": \"null\" }\n ]\n },\n \"subscription_manager_id\": { \n \"oneOf\": [\n { \"type\": \"string\", \"format\": \"uuid\" },\n { \"type\": \"null\" }\n ]\n },\n \"insights_id\": { \n \"oneOf\": [\n { \"type\": \"string\", \"format\": \"uuid\" },\n { \"type\": \"null\" }\n ]\n },\n \"ansible_host\": {\n \"oneOf\": [\n { \"type\": \"string\", \"maxLength\": 255 },\n { \"type\": \"null\" }\n ]\n }\n },\n \"required\": []\n}\n",
"k8s_cluster:acm": "{\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"type\": \"object\",\n \"properties\": {\n \"external_cluster_id\": { \"type\": \"string\" },\n \"cluster_status\": {\n \"type\": \"string\",\n \"enum\": [\n \"CLUSTER_STATUS_UNSPECIFIED\",\n \"CLUSTER_STATUS_OTHER\",\n \"READY\",\n \"FAILED\",\n \"OFFLINE\"\n ]\n },\n \"cluster_reason\": { \"type\": \"string\" },\n \"kube_version\": { \"type\": \"string\" },\n \"kube_vendor\": {\n \"type\": \"string\",\n \"enum\": [\n \"KUBE_VENDOR_UNSPECIFIED\",\n \"KUBE_VENDOR_OTHER\",\n \"AKS\",\n \"EKS\",\n \"IKS\",\n \"OPENSHIFT\",\n \"GKE\"\n ]\n },\n \"vendor_version\": { \"type\": \"string\" },\n \"cloud_platform\": {\n \"type\": \"string\",\n \"enum\": [\n \"CLOUD_PLATFORM_UNSPECIFIED\",\n \"CLOUD_PLATFORM_OTHER\",\n \"NONE_UPI\",\n \"BAREMETAL_IPI\",\n \"BAREMETAL_UPI\",\n \"AWS_IPI\",\n \"AWS_UPI\",\n \"AZURE_IPI\",\n \"AZURE_UPI\",\n \"IBMCLOUD_IPI\",\n \"IBMCLOUD_UPI\",\n \"KUBEVIRT_IPI\",\n \"OPENSTACK_IPI\",\n \"OPENSTACK_UPI\",\n \"GCP_IPI\",\n \"GCP_UPI\",\n \"NUTANIX_IPI\",\n \"NUTANIX_UPI\",\n \"VSPHERE_IPI\",\n \"VSPHERE_UPI\",\n \"OVIRT_IPI\"\n ]\n },\n \"nodes\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": { \"type\": \"string\" },\n \"cpu\": { \"type\": \"string\" },\n \"memory\": { \"type\": \"string\" }\n },\n \"required\": [\n \"name\",\n \"cpu\",\n \"memory\"\n ]\n }\n\n }\n },\n \"required\": [\n \"external_cluster_id\",\n \"cluster_status\",\n \"cluster_reason\",\n \"kube_version\",\n \"kube_vendor\",\n \"vendor_version\",\n \"cloud_platform\"\n ]\n}\n\n",
"k8s_cluster:acs": "{\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"type\": \"object\",\n \"properties\": {\n \"external_cluster_id\": { \"type\": \"string\" },\n \"cluster_status\": {\n \"type\": \"string\",\n \"enum\": [\n \"CLUSTER_STATUS_UNSPECIFIED\",\n \"CLUSTER_STATUS_OTHER\",\n \"READY\",\n \"FAILED\",\n \"OFFLINE\"\n ]\n },\n \"cluster_reason\": { \"type\": \"string\" },\n \"kube_version\": { \"type\": \"string\" },\n \"kube_vendor\": {\n \"type\": \"string\",\n \"enum\": [\n \"KUBE_VENDOR_UNSPECIFIED\",\n \"KUBE_VENDOR_OTHER\",\n \"AKS\",\n \"EKS\",\n \"IKS\",\n \"OPENSHIFT\",\n \"GKE\"\n ]\n },\n \"vendor_version\": { \"type\": \"string\" },\n \"cloud_platform\": {\n \"type\": \"string\",\n \"enum\": [\n \"CLOUD_PLATFORM_UNSPECIFIED\",\n \"CLOUD_PLATFORM_OTHER\",\n \"NONE_UPI\",\n \"BAREMETAL_IPI\",\n \"BAREMETAL_UPI\",\n \"AWS_IPI\",\n \"AWS_UPI\",\n \"AZURE_IPI\",\n \"AZURE_UPI\",\n \"IBMCLOUD_IPI\",\n \"IBMCLOUD_UPI\",\n \"KUBEVIRT_IPI\",\n \"OPENSTACK_IPI\",\n \"OPENSTACK_UPI\",\n \"GCP_IPI\",\n \"GCP_UPI\",\n \"NUTANIX_IPI\",\n \"NUTANIX_UPI\",\n \"VSPHERE_IPI\",\n \"VSPHERE_UPI\",\n \"OVIRT_IPI\"\n ]\n },\n \"nodes\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": { \"type\": \"string\" },\n \"cpu\": { \"type\": \"string\" },\n \"memory\": { \"type\": \"string\" }\n },\n \"required\": [\n \"name\",\n \"cpu\",\n \"memory\"\n ]\n }\n\n }\n },\n \"required\": [\n \"external_cluster_id\",\n \"cluster_status\",\n \"cluster_reason\",\n \"kube_version\",\n \"kube_vendor\",\n \"vendor_version\",\n \"cloud_platform\"\n ]\n}\n\n",
"k8s_cluster:ocm": "{\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"type\": \"object\",\n \"properties\": {\n \"external_cluster_id\": { \"type\": \"string\" },\n \"cluster_status\": {\n \"type\": \"string\",\n \"enum\": [\n \"CLUSTER_STATUS_UNSPECIFIED\",\n \"CLUSTER_STATUS_OTHER\",\n \"READY\",\n \"FAILED\",\n \"OFFLINE\"\n ]\n },\n \"cluster_reason\": { \"type\": \"string\" },\n \"kube_version\": { \"type\": \"string\" },\n \"kube_vendor\": {\n \"type\": \"string\",\n \"enum\": [\n \"KUBE_VENDOR_UNSPECIFIED\",\n \"KUBE_VENDOR_OTHER\",\n \"AKS\",\n \"EKS\",\n \"IKS\",\n \"OPENSHIFT\",\n \"GKE\"\n ]\n },\n \"vendor_version\": { \"type\": \"string\" },\n \"cloud_platform\": {\n \"type\": \"string\",\n \"enum\": [\n \"CLOUD_PLATFORM_UNSPECIFIED\",\n \"CLOUD_PLATFORM_OTHER\",\n \"NONE_UPI\",\n \"BAREMETAL_IPI\",\n \"BAREMETAL_UPI\",\n \"AWS_IPI\",\n \"AWS_UPI\",\n \"AZURE_IPI\",\n \"AZURE_UPI\",\n \"IBMCLOUD_IPI\",\n \"IBMCLOUD_UPI\",\n \"KUBEVIRT_IPI\",\n \"OPENSTACK_IPI\",\n \"OPENSTACK_UPI\",\n \"GCP_IPI\",\n \"GCP_UPI\",\n \"NUTANIX_IPI\",\n \"NUTANIX_UPI\",\n \"VSPHERE_IPI\",\n \"VSPHERE_UPI\",\n \"OVIRT_IPI\"\n ]\n },\n \"nodes\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": { \"type\": \"string\" },\n \"cpu\": { \"type\": \"string\" },\n \"memory\": { \"type\": \"string\" }\n },\n \"required\": [\n \"name\",\n \"cpu\",\n \"memory\"\n ]\n }\n\n }\n },\n \"required\": [\n \"external_cluster_id\",\n \"cluster_status\",\n \"cluster_reason\",\n \"kube_version\",\n \"kube_vendor\",\n \"vendor_version\",\n \"cloud_platform\"\n ]\n}\n\n",
"k8s_policy:acm": "{\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"type\": \"object\",\n \"properties\": {\n \"disabled\": {\n \"type\": \"boolean\",\n \"description\": \"Defines if the policy is currently enabled or disabled across all targets.\"\n },\n \"severity\": {\n \"type\": \"string\",\n \"enum\": [\n \"SEVERITY_UNSPECIFIED\",\n \"SEVERITY_OTHER\",\n \"LOW\",\n \"MEDIUM\",\n \"HIGH\",\n \"CRITICAL\"\n ],\n \"description\": \"The severity level of the policy.\"\n }\n },\n \"required\": [\n \"disabled\",\n \"severity\"\n ]\n}\n",
"notifications_integration:notifications": "{\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"type\": \"object\",\n \"properties\": {\n \"reporter_type\": {\n \"type\": \"string\",\n \"enum\": [\n \"NOTIFICATIONS\"\n ],\n \"description\": \"The type of reporter, fixed to 'NOTIFICATIONS' for this schema.\"\n },\n \"reporter_instance_id\": {\n \"type\": \"string\",\n \"description\": \"A unique identifier for the reporter instance, such as a service account.\"\n },\n \"local_resource_id\": {\n \"type\": \"string\",\n \"description\": \"A string representing the local identifier of the resource.\"\n }\n },\n \"required\": [\n \"reporter_type\",\n \"reporter_instance_id\",\n \"local_resource_id\"\n ]\n}\n"
}