diff --git a/internal/resource/schemas/processtransition.schema.json b/internal/resource/schemas/processtransition.schema.json new file mode 100644 index 0000000..9e3ed49 --- /dev/null +++ b/internal/resource/schemas/processtransition.schema.json @@ -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" ] +} + diff --git a/internal/resource/schemas/storagetransition.schema.json b/internal/resource/schemas/storagetransition.schema.json new file mode 100644 index 0000000..80fe749 --- /dev/null +++ b/internal/resource/schemas/storagetransition.schema.json @@ -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" ] + } +} +