Skip to content
invocations.json 1 KiB
Newer Older
{
	"$schema": "http://json-schema.org/draft-07/schema#", 
	"$id": "https://gitlab.ow2.org/decoder/pkm-api/-/tree/master/api/invocations.json", 
	"type": "object",
	"required": [
		"invocationID",
		"tool",
		"user",
		"timestampRequest",
		"invocationStatus",
		"invocationConfiguration"
	],
	"properties": {
		"invocationID": {
			"type": "string"
		},
		"tool": {
			"type": "string"
		},
		"invocationConfiguration": {
			"type": "object"
		},
		"user": {
			"type": "string"
		},
		"timestampRequest": {
			"type": "string"
		},
		"timestampStart": {
			"type":  "string"
		},
		"timestampCompleted": {
			"type": "string"
		},
		"invocationStatus": {
			"type": "string",
			"enum" : ["PENDING","RUNNING", "COMPLETED","FAILED"]
		},
		"invocationResults": {
			"type": "array",
			"default": [],
			"items":{
				"type": "object",
				"required": [
					"path"
				],
				"properties": {
					"path": {
						"type": "string"