diff --git a/package-lock.json b/package-lock.json index 4c16f619..2f03af23 100644 --- a/package-lock.json +++ b/package-lock.json @@ -905,7 +905,6 @@ "integrity": "sha512-ne4A0IpG3+2ETuREInjPNhUGis1SFjv1d5asp8MzEAGtOZeTeHVDOYqOgqfhvseqg/iXty2hjBf1zAOb7RNiNw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "undici-types": "~7.16.0" } @@ -916,7 +915,6 @@ "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -1157,7 +1155,6 @@ "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "env-paths": "^2.2.1", "import-fresh": "^3.3.0", @@ -1883,7 +1880,6 @@ "integrity": "sha512-quyMrVt6svPS7CjQ9gKb3GLEX/rl3BCL2oa/QkNcXv4YNVBC9olt3s+H7ukto06q7B1Qz46PbrKLO34PR6vXcA==", "dev": true, "license": "MIT", - "peer": true, "bin": { "prettier": "bin/prettier.cjs" }, @@ -2281,7 +2277,6 @@ "integrity": "sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==", "dev": true, "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" diff --git a/schemas/vector/ivsApi/v1.schema.json b/schemas/vector/ivsApi/v1.schema.json new file mode 100644 index 00000000..46898da7 --- /dev/null +++ b/schemas/vector/ivsApi/v1.schema.json @@ -0,0 +1,40 @@ +{ + "$id": "https://mapcolonies.com/vector/ivsApi/v1", + "type": "object", + "title": "vectorIvsApiSchemaV1", + "description": "Vector's IVS API schema", + "allOf": [ + { + "$ref": "https://mapcolonies.com/common/boilerplate/v2" + }, + { + "$ref": "#/definitions/databases" + } + ], + "definitions": { + "databases": { + "type": "object", + "required": ["db"], + "properties": { + "db": { + "allOf": [ + { + "$ref": "https://mapcolonies.com/common/db/full/v2" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "x-env-value": "DB_TYPE", + "default": "postgres" + } + }, + "required": ["type"] + } + ] + } + } + } + } +}