{ | |
"$id": "https://unomi.apache.org/schemas/json/goal/1-0-0", | |
"$schema": "https://json-schema.org/draft/2019-09/schema", | |
"title": "Goal", | |
"type": "object", | |
"allOf": [{ "$ref": "https://unomi.apache.org/schemas/json/metadataitem/1-0-0" }], | |
"properties" : { | |
"startEvent" : { | |
"$ref" : "https://unomi.apache.org/schemas/json/condition/1-0-0" | |
}, | |
"targetEvent" : { | |
"$ref" : "https://unomi.apache.org/schemas/json/condition/1-0-0" | |
}, | |
"campaignId" : { | |
"type" : "string" | |
} | |
} | |
} |