mirror of
https://github.com/harivansh-afk/betterNAS.git
synced 2026-04-18 20:03:36 +00:00
add shared contracts
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
parent
bc1878c1da
commit
679fd504a2
6 changed files with 126 additions and 0 deletions
23
packages/contracts/schemas/control-plane-version.schema.json
Normal file
23
packages/contracts/schemas/control-plane-version.schema.json
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://ainas.local/schemas/control-plane-version.schema.json",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"service",
|
||||
"version",
|
||||
"apiVersion"
|
||||
],
|
||||
"properties": {
|
||||
"service": {
|
||||
"const": "control-plane"
|
||||
},
|
||||
"version": {
|
||||
"type": "string"
|
||||
},
|
||||
"apiVersion": {
|
||||
"const": "v1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue