add state schema
This commit is contained in:
parent
43a2274b7e
commit
397f7c9dee
9
internal/resource/schemas/processtransition.schema.json
Normal file
9
internal/resource/schemas/processtransition.schema.json
Normal 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" ]
|
||||
}
|
||||
|
10
internal/resource/schemas/storagetransition.schema.json
Normal file
10
internal/resource/schemas/storagetransition.schema.json
Normal 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" ]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user