Skip to content

Commit

Permalink
chore: update schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra committed Mar 19, 2024
1 parent 3afb42a commit d83dfac
Show file tree
Hide file tree
Showing 10 changed files with 591 additions and 2 deletions.
61 changes: 61 additions & 0 deletions schema/openapi/canary.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,12 @@
},
"type": "array"
},
"catalog": {
"items": {
"$ref": "#/$defs/CatalogCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
Expand Down Expand Up @@ -728,6 +734,52 @@
"additionalProperties": false,
"type": "object"
},
"CatalogCheck": {
"properties": {
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"transformDeleteStrategy": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"test": {
"$ref": "#/$defs/Template"
},
"display": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"selector": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"name",
"selector"
]
},
"CheckRelationship": {
"properties": {
"components": {
Expand Down Expand Up @@ -2186,6 +2238,9 @@
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"kubeconfig": {
"$ref": "#/$defs/EnvVar"
},
"ignore": {
"items": {
"type": "string"
Expand Down Expand Up @@ -3120,6 +3175,12 @@
"additionalProperties": false,
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"properties": {
"description": {
Expand Down
61 changes: 61 additions & 0 deletions schema/openapi/canary.spec.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,12 @@
},
"type": "array"
},
"catalog": {
"items": {
"$ref": "#/$defs/CatalogCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
Expand Down Expand Up @@ -728,6 +734,52 @@
"additionalProperties": false,
"type": "object"
},
"CatalogCheck": {
"properties": {
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"transformDeleteStrategy": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"test": {
"$ref": "#/$defs/Template"
},
"display": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"selector": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"name",
"selector"
]
},
"CheckRelationship": {
"properties": {
"components": {
Expand Down Expand Up @@ -2186,6 +2238,9 @@
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"kubeconfig": {
"$ref": "#/$defs/EnvVar"
},
"ignore": {
"items": {
"type": "string"
Expand Down Expand Up @@ -3120,6 +3175,12 @@
"additionalProperties": false,
"type": "object"
},
"ResourceSelectors": {
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"type": "array"
},
"ResticCheck": {
"properties": {
"description": {
Expand Down
55 changes: 55 additions & 0 deletions schema/openapi/component.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,12 @@
},
"type": "array"
},
"catalog": {
"items": {
"$ref": "#/$defs/CatalogCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
Expand Down Expand Up @@ -655,6 +661,52 @@
"additionalProperties": false,
"type": "object"
},
"CatalogCheck": {
"properties": {
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"transformDeleteStrategy": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"test": {
"$ref": "#/$defs/Template"
},
"display": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"selector": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"name",
"selector"
]
},
"CheckRelationship": {
"properties": {
"components": {
Expand Down Expand Up @@ -2419,6 +2471,9 @@
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"kubeconfig": {
"$ref": "#/$defs/EnvVar"
},
"ignore": {
"items": {
"type": "string"
Expand Down
55 changes: 55 additions & 0 deletions schema/openapi/component.spec.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,12 @@
},
"type": "array"
},
"catalog": {
"items": {
"$ref": "#/$defs/CatalogCheck"
},
"type": "array"
},
"opensearch": {
"items": {
"$ref": "#/$defs/OpenSearchCheck"
Expand Down Expand Up @@ -655,6 +661,52 @@
"additionalProperties": false,
"type": "object"
},
"CatalogCheck": {
"properties": {
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"icon": {
"type": "string"
},
"labels": {
"$ref": "#/$defs/Labels"
},
"transformDeleteStrategy": {
"type": "string"
},
"metrics": {
"items": {
"$ref": "#/$defs/Metrics"
},
"type": "array"
},
"test": {
"$ref": "#/$defs/Template"
},
"display": {
"$ref": "#/$defs/Template"
},
"transform": {
"$ref": "#/$defs/Template"
},
"selector": {
"$ref": "#/$defs/ResourceSelectors"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"name",
"selector"
]
},
"CheckRelationship": {
"properties": {
"components": {
Expand Down Expand Up @@ -2419,6 +2471,9 @@
"resource": {
"$ref": "#/$defs/ResourceSelector"
},
"kubeconfig": {
"$ref": "#/$defs/EnvVar"
},
"ignore": {
"items": {
"type": "string"
Expand Down
Loading

0 comments on commit d83dfac

Please sign in to comment.