add state schema
Some checks failed
Lint / golangci-lint (push) Failing after 9m48s
Declarative Tests / test (push) Failing after 1m3s

This commit is contained in:
Matthew Rich 2024-05-05 18:03:35 -07:00
parent 43a2274b7e
commit 397f7c9dee
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,9 @@
{
"$id": "processtransition.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "processtransition",
"type": "string",
"description": "Process state transition",
"enum": [ "created", "restarting", "running", "paused", "exited", "dead" ]
}

View File

@ -0,0 +1,10 @@
{
"$id": "storagetransition.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "storagetransition",
"type": "string",
"description": "Storage state transition",
"enum": [ "absent", "present" ]
}
}