journeys / iac-f63ed22f4e50Markdown ↓

[{"attributes":["id","title"],"tag":"agent","summary":"Hands a goal to an AI assistant when one is configured, with a manual fallback for users without one. Use it where an assistant can help, such as drafting or reviewing","children":["when","hint","goal","manual-fallback"],"primaryBody":"goal","allowsText":true,"attributeDetails":{"id":{"description":"Stable identifier, unique within the journey. Saved progress refers to it, so avoid renaming it after publishing.","required":true,"type":"string"},"title":{"description":"Heading shown for this stage.","required":true,"type":"string"}},"requiredAttributes":["id","title"],"authoring":{"childBindings":[{"element":"when","minimum":0,"tag":"when","maximum":1,"field":"condition"},{"element":"hint","minimum":0,"tag":"hint","maximum":1,"field":"hint"},{"element":"goal","minimum":1,"tag":"goal","maximum":1,"field":"goal"},{"element":"manual-fallback","minimum":0,"tag":"manual-fallback","maximum":1,"field":"manualFallback"}],"tag":"agent","children":["goal","hint","manual-fallback","when"],"description":"Hands a goal to an AI assistant when one is configured, with a manual fallback for users without one. Use it where an assistant can help, such as drafting or reviewing","exclusiveChildren":[],"fieldPath":"","context":"journey","additionalChoices":[],"allowsText":false,"attributes":[{"name":"id","required":true,"field":"id","valueSchema":{"type":"string"},"constraint":"Stable identifier, unique within the journey. Saved progress refers to it, so avoid renaming it after publishing."},{"name":"title","required":true,"field":"title","valueSchema":{"type":"string"},"constraint":"Heading shown for this stage."}],"id":"agent","collection":false,"exclusiveAttributes":[]}},{"attributes":["id","title"],"tag":"done","summary":"The final stage. Shows closing text and an optional checklist, and clears the user's saved progress. Every Journey ends with one","children":["when","hint","body","check"],"primaryBody":"body","allowsText":true,"attributeDetails":{"title":{"required":true,"description":"Heading shown for this stage.","type":"string"},"id":{"required":true,"description":"Stable identifier, unique within the journey. Saved progress refers to it, so avoid renaming it after publishing.","type":"string"}},"requiredAttributes":["id","title"],"authoring":{"childBindings":[{"element":"when","minimum":0,"tag":"when","maximum":1,"field":"condition"},{"element":"hint","minimum":0,"tag":"hint","maximum":1,"field":"hint"},{"element":"body","minimum":0,"tag":"body","maximum":1,"field":"body"},{"element":"check","minimum":0,"tag":"check","maximum":9223372036854775807,"field":"checklist"}],"tag":"done","children":["body","check","hint","when"],"description":"The final stage. Shows closing text and an optional checklist, and clears the user's saved progress. Every Journey ends with one","exclusiveChildren":[],"fieldPath":"","context":"journey","additionalChoices":[],"allowsText":false,"attributes":[{"field":"id","valueSchema":{"type":"string"},"name":"id","required":true,"constraint":"Stable identifier, unique within the journey. Saved progress refers to it, so avoid renaming it after publishing."},{"field":"title","valueSchema":{"type":"string"},"name":"title","required":true,"constraint":"Heading shown for this stage."}],"id":"done","collection":false,"exclusiveAttributes":[]}},{"attributes":["id","title","description","mutating"],"tag":"execute","summary":"Runs a GraphQL operation when the user presses its button, usually a mutation that saves or changes data. It can capture and reveal values from the response, such as a new record's ID","children":["when","hint","document","variables","capture","reveal"],"primaryBody":"document","allowsText":true,"attributeDetails":{"title":{"type":"string","required":true,"description":"Heading shown for this stage."},"id":{"type":"string","required":true,"description":"Stable identifier, unique within the journey. Saved progress refers to it, so avoid renaming it after publishing."},"description":{"type":"string","required":true,"description":"Text shown on the button that runs the operation."},"mutating":{"type":"boolean","required":false,"description":"Makes the CoCoCo app ask the user to confirm before sending. Required as true when the document is a mutation; optional for a query."}},"requiredAttributes":["id","title"],"authoring":{"tag":"execute","attributes":[{"constraint":"Stable identifier, unique within the journey. Saved progress refers to it, so avoid renaming it after publishing.","valueSchema":{"type":"string"},"field":"id","required":true,"name":"id"},{"constraint":"Heading shown for this stage.","valueSchema":{"type":"string"},"field":"title","required":true,"name":"title"},{"constraint":"Text shown on the button that runs the operation.","valueSchema":{"type":"string"},"field":"description","required":false,"name":"description"},{"constraint":"Makes the CoCoCo app ask the user to confirm before sending. Required as true when the document is a mutation; optional for a query.","valueSchema":{"type":"boolean"},"field":"mutating","required":false,"name":"mutating"}],"description":"Runs a GraphQL operation when the user presses its button, usually a mutation that saves or changes data. It can capture and reveal values from the response, such as a new record's ID","allowsText":false,"fieldPath":"","childBindings":[{"element":"when","minimum":0,"tag":"when","maximum":1,"field":"condition"},{"element":"hint","minimum":0,"tag":"hint","maximum":1,"field":"hint"},{"element":"document","minimum":1,"tag":"document","maximum":1,"field":"document"},{"element":"variables","minimum":0,"tag":"variables","maximum":1,"field":"variables"},{"element":"capture","minimum":0,"tag":"capture","maximum":9223372036854775807,"field":"capture"},{"element":"reveal","minimum":0,"tag":"reveal","maximum":9223372036854775807,"field":"reveal"}],"children":["capture","document","hint","reveal","variables","when"],"exclusiveAttributes":[],"additionalChoices":[],"exclusiveChildren":[],"id":"execute","context":"journey","collection":false}},{"attributes":["id","title","description"],"tag":"fetch","summary":"Runs a GraphQL read when the stage opens, captures values from the response into state, and continues once it succeeds. Use it to load data that later stages need","children":["when","hint","document","variables","capture"],"primaryBody":"document","allowsText":true,"attributeDetails":{"title":{"type":"string","description":"Heading shown for this stage.","required":true},"description":{"type":"string","description":"Text shown while the data loads.","required":true},"id":{"type":"string","description":"Stable identifier, unique within the journey. Saved progress refers to it, so avoid renaming it after publishing.","required":true}},"requiredAttributes":["id","title"],"authoring":{"exclusiveAttributes":[],"collection":false,"allowsText":false,"additionalChoices":[],"description":"Runs a GraphQL read when the stage opens, captures values from the response into state, and continues once it succeeds. Use it to load data that later stages need","exclusiveChildren":[],"attributes":[{"field":"id","name":"id","constraint":"Stable identifier, unique within the journey. Saved progress refers to it, so avoid renaming it after publishing.","valueSchema":{"type":"string"},"required":true},{"field":"title","name":"title","constraint":"Heading shown for this stage.","valueSchema":{"type":"string"},"required":true},{"field":"description","name":"description","constraint":"Text shown while the data loads.","valueSchema":{"type":"string"},"required":false}],"context":"journey","children":["capture","document","hint","variables","when"],"tag":"fetch","fieldPath":"","childBindings":[{"element":"when","minimum":0,"tag":"when","maximum":1,"field":"condition"},{"element":"hint","minimum":0,"tag":"hint","maximum":1,"field":"hint"},{"element":"document","minimum":1,"tag":"document","maximum":1,"field":"document"},{"element":"variables","minimum":0,"tag":"variables","maximum":1,"field":"variables"},{"element":"capture","minimum":0,"tag":"capture","maximum":9223372036854775807,"field":"capture"}],"id":"fetch"}},{"attributes":["id","title"],"tag":"form","summary":"Asks the user for a known set of answers, such as a name, a quantity or a date. Each field writes its answer to Journey state for later stages","children":["when","hint","field"],"allowsText":false,"authoring":{"exclusiveChildren":[],"tag":"form","description":"Asks the user for a known set of answers, such as a name, a quantity or a date. Each field writes its answer to Journey state for later stages","childBindings":[{"element":"when","minimum":0,"tag":"when","maximum":1,"field":"condition"},{"element":"hint","minimum":0,"tag":"hint","maximum":1,"field":"hint"},{"element":"field","minimum":0,"tag":"field","maximum":9223372036854775807,"field":"fields"}],"context":"journey","exclusiveAttributes":[],"collection":false,"id":"form","fieldPath":"","allowsText":false,"children":["field","hint","when"],"additionalChoices":[],"attributes":[{"required":true,"constraint":"Stable identifier, unique within the journey. Saved progress refers to it, so avoid renaming it after publishing.","valueSchema":{"type":"string"},"name":"id","field":"id"},{"required":true,"constraint":"Heading shown for this stage.","valueSchema":{"type":"string"},"name":"title","field":"title"}]},"attributeDetails":{"title":{"required":true,"type":"string","description":"Heading shown for this stage."},"id":{"required":true,"type":"string","description":"Stable identifier, unique within the journey. Saved progress refers to it, so avoid renaming it after publishing."}},"requiredAttributes":["id","title"]},{"attributes":["id","title"],"tag":"info","summary":"Shows text and an optional checklist, then lets the user continue. Use it for instructions, context or a summary part-way through a process","children":["when","hint","body","check"],"primaryBody":"body","allowsText":true,"attributeDetails":{"title":{"type":"string","description":"Heading shown for this stage.","required":true},"id":{"type":"string","description":"Stable identifier, unique within the journey. Saved progress refers to it, so avoid renaming it after publishing.","required":true}},"requiredAttributes":["id","title"],"authoring":{"allowsText":false,"tag":"info","id":"info","additionalChoices":[],"exclusiveChildren":[],"exclusiveAttributes":[],"description":"Shows text and an optional checklist, then lets the user continue. Use it for instructions, context or a summary part-way through a process","collection":false,"children":["body","check","hint","when"],"childBindings":[{"element":"when","minimum":0,"tag":"when","maximum":1,"field":"condition"},{"element":"hint","minimum":0,"tag":"hint","maximum":1,"field":"hint"},{"element":"body","minimum":1,"tag":"body","maximum":1,"field":"body"},{"element":"check","minimum":0,"tag":"check","maximum":9223372036854775807,"field":"checklist"}],"fieldPath":"","attributes":[{"field":"id","valueSchema":{"type":"string"},"name":"id","required":true,"constraint":"Stable identifier, unique within the journey. Saved progress refers to it, so avoid renaming it after publishing."},{"field":"title","valueSchema":{"type":"string"},"name":"title","required":true,"constraint":"Heading shown for this stage."}],"context":"journey"}},{"attributes":["id","title","description","listPath","labelPath","sublabelPath"],"tag":"query-pick","summary":"Runs a GraphQL read and shows the results as a list for the user to choose from; the chosen item's values are captured into state. Use it to select a customer, job or other record","children":["when","hint","document","variables","capture"],"primaryBody":"document","allowsText":true,"attributeDetails":{"sublabelPath":{"type":"string","description":"Optional path, relative to each result, to a secondary line of text.","required":false},"labelPath":{"type":"string","description":"Path, relative to each result, to the label shown for it.","required":true},"description":{"type":"string","description":"Text shown above the list of results.","required":true},"title":{"type":"string","description":"Heading shown for this stage.","required":true},"id":{"type":"string","description":"Stable identifier, unique within the journey. Saved progress refers to it, so avoid renaming it after publishing.","required":true},"listPath":{"type":"string","description":"Path into the response data to the list of results.","required":true}},"requiredAttributes":["id","title"],"authoring":{"description":"Runs a GraphQL read and shows the results as a list for the user to choose from; the chosen item's values are captured into state. Use it to select a customer, job or other record","context":"journey","id":"query-pick","collection":false,"additionalChoices":[],"children":["capture","document","hint","variables","when"],"exclusiveAttributes":[],"childBindings":[{"element":"when","minimum":0,"tag":"when","maximum":1,"field":"condition"},{"element":"hint","minimum":0,"tag":"hint","maximum":1,"field":"hint"},{"element":"document","minimum":1,"tag":"document","maximum":1,"field":"document"},{"element":"variables","minimum":0,"tag":"variables","maximum":1,"field":"variables"},{"element":"capture","minimum":0,"tag":"capture","maximum":9223372036854775807,"field":"capture"}],"fieldPath":"","tag":"query-pick","attributes":[{"constraint":"Stable identifier, unique within the journey. Saved progress refers to it, so avoid renaming it after publishing.","valueSchema":{"type":"string"},"name":"id","field":"id","required":true},{"constraint":"Heading shown for this stage.","valueSchema":{"type":"string"},"name":"title","field":"title","required":true},{"constraint":"Text shown above the list of results.","valueSchema":{"type":"string"},"name":"description","field":"description","required":false},{"constraint":"Path into the response data to the list of results.","valueSchema":{"type":"string"},"name":"listPath","field":"listPath","required":false},{"constraint":"Path, relative to each result, to the label shown for it.","valueSchema":{"type":"string"},"name":"labelPath","field":"labelPath","required":false},{"constraint":"Optional path, relative to each result, to a secondary line of text.","valueSchema":{"type":"string"},"name":"sublabelPath","field":"sublabelPath","required":false}],"exclusiveChildren":[],"allowsText":false}},{"attributes":["id","title","outputKey","schema"],"tag":"schema-form","summary":"Builds a form from a JSON Schema, written inline or captured from an API earlier in the Journey. Use it for nested or typed configuration, or when the fields are only known at runtime","children":["when","hint","schema"],"allowsText":false,"authoring":{"context":"journey","additionalChoices":[],"exclusiveChildren":[],"fieldPath":"","childBindings":[{"element":"when","minimum":0,"tag":"when","maximum":1,"field":"condition"},{"element":"hint","minimum":0,"tag":"hint","maximum":1,"field":"hint"},{"element":"schema","minimum":0,"tag":"schema","maximum":1,"field":"schema"}],"tag":"schema-form","children":["hint","schema","when"],"attributes":[{"constraint":"Stable identifier, unique within the journey. Saved progress refers to it, so avoid renaming it after publishing.","name":"id","required":true,"field":"id","valueSchema":{"type":"string"}},{"constraint":"Heading shown for this stage.","name":"title","required":true,"field":"title","valueSchema":{"type":"string"}},{"constraint":"When set, the whole form is written as one object to $.state.<outputKey>. Otherwise each top-level property is written to its own state key.","name":"outputKey","required":false,"field":"outputKey","valueSchema":{"type":"string"}},{"constraint":"A $. path to a schema captured earlier in the Journey. Alternatively, write the schema inline as a schema child; use one or the other.","name":"schema","required":false,"field":"schemaReference","valueSchema":{"type":"string"}}],"description":"Builds a form from a JSON Schema, written inline or captured from an API earlier in the Journey. Use it for nested or typed configuration, or when the fields are only known at runtime","id":"schema-form","collection":false,"allowsText":false,"exclusiveAttributes":[]},"attributeDetails":{"outputKey":{"type":"string","description":"When set, the whole form is written as one object to $.state.<outputKey>. Otherwise each top-level property is written to its own state key.","required":false},"title":{"type":"string","description":"Heading shown for this stage.","required":true},"id":{"type":"string","description":"Stable identifier, unique within the journey. Saved progress refers to it, so avoid renaming it after publishing.","required":true},"schema":{"type":"path","description":"A $. path to a schema captured earlier in the Journey. Alternatively, write the schema inline as a schema child; use one or the other.","required":false}},"requiredAttributes":["id","title"]},{"attributes":["id","title","description","path","intervalSeconds","timeoutSeconds"],"tag":"wait-for","summary":"Repeatedly runs a GraphQL read until a value in the response equals an expected result, or until it times out. Use it to wait for a job to finish or a status to change; checking only continues while the Journey is open","children":["when","hint","document","variables","equals"],"primaryBody":"document","allowsText":true,"attributeDetails":{"intervalSeconds":{"required":false,"description":"Seconds between checks. Defaults to 3.","type":"number"},"description":{"required":true,"description":"Text shown while waiting.","type":"string"},"timeoutSeconds":{"required":false,"description":"Seconds before the stage stops waiting and offers a retry. Defaults to 120.","type":"number"},"id":{"required":true,"description":"Stable identifier, unique within the journey. Saved progress refers to it, so avoid renaming it after publishing.","type":"string"},"path":{"required":true,"description":"Path into the response data whose value must equal the equals value.","type":"string"},"title":{"required":true,"description":"Heading shown for this stage.","type":"string"}},"requiredAttributes":["id","title"],"authoring":{"attributes":[{"field":"id","constraint":"Stable identifier, unique within the journey. Saved progress refers to it, so avoid renaming it after publishing.","valueSchema":{"type":"string"},"name":"id","required":true},{"field":"title","constraint":"Heading shown for this stage.","valueSchema":{"type":"string"},"name":"title","required":true},{"field":"description","constraint":"Text shown while waiting.","valueSchema":{"type":"string"},"name":"description","required":false},{"field":"path","constraint":"Path into the response data whose value must equal the equals value.","valueSchema":{"type":"string"},"name":"path","required":false},{"field":"intervalSeconds","constraint":"Seconds between checks. Defaults to 3.","valueSchema":{"type":"number"},"name":"intervalSeconds","required":false},{"field":"timeoutSeconds","constraint":"Seconds before the stage stops waiting and offers a retry. Defaults to 120.","valueSchema":{"type":"number"},"name":"timeoutSeconds","required":false}],"children":["document","equals","hint","variables","when"],"exclusiveAttributes":[],"tag":"wait-for","allowsText":false,"fieldPath":"","exclusiveChildren":[],"description":"Repeatedly runs a GraphQL read until a value in the response equals an expected result, or until it times out. Use it to wait for a job to finish or a status to change; checking only continues while the Journey is open","id":"wait-for","collection":false,"childBindings":[{"element":"when","minimum":0,"tag":"when","maximum":1,"field":"condition"},{"element":"hint","minimum":0,"tag":"hint","maximum":1,"field":"hint"},{"element":"document","minimum":1,"tag":"document","maximum":1,"field":"document"},{"element":"variables","minimum":0,"tag":"variables","maximum":1,"field":"variables"},{"element":"equals","minimum":1,"tag":"equals","maximum":1,"field":"equals"}],"context":"journey","additionalChoices":[]}},{"attributes":["id","title","icon","estimatedMinutes"],"tag":"journey","summary":"The root element: a guided process made of ordered stages","children":["agent","done","execute","fetch","form","info","query-pick","schema-form","wait-for","summary","domain","input","knowledge-capture","invariant"],"allowsText":false,"authoring":{"allowsText":false,"tag":"journey","choice":{"groups":[],"variants":{"info":"info","queryPick":"query-pick","execute":"execute","agent":"agent","fetch":"fetch","done":"done","form":"form","waitFor":"wait-for","schemaForm":"schema-form"},"minimum":1,"discriminator":"kind","repeated":true,"maximum":9223372036854775807,"field":"steps"},"id":"journey","childBindings":[{"element":"agent","minimum":0,"tag":"agent","maximum":9223372036854775807,"field":"agent"},{"element":"done","minimum":0,"tag":"done","maximum":9223372036854775807,"field":"done"},{"element":"execute","minimum":0,"tag":"execute","maximum":9223372036854775807,"field":"execute"},{"element":"fetch","minimum":0,"tag":"fetch","maximum":9223372036854775807,"field":"fetch"},{"element":"form","minimum":0,"tag":"form","maximum":9223372036854775807,"field":"form"},{"element":"info","minimum":0,"tag":"info","maximum":9223372036854775807,"field":"info"},{"element":"query-pick","minimum":0,"tag":"query-pick","maximum":9223372036854775807,"field":"query-pick"},{"element":"schema-form","minimum":0,"tag":"schema-form","maximum":9223372036854775807,"field":"schema-form"},{"element":"wait-for","minimum":0,"tag":"wait-for","maximum":9223372036854775807,"field":"wait-for"},{"element":"summary","minimum":0,"tag":"summary","maximum":1,"field":"summary"},{"element":"domain","minimum":0,"tag":"domain","maximum":9223372036854775807,"field":"requiredDomains"},{"element":"input","minimum":0,"tag":"input","maximum":9223372036854775807,"field":"inputs"},{"element":"knowledge-capture","minimum":0,"tag":"knowledge-capture","maximum":1,"field":"knowledgeCaptureTemplate"},{"element":"invariant","minimum":0,"tag":"invariant","maximum":9223372036854775807,"field":"invariants"}],"exclusiveChildren":[],"fieldPath":"","additionalChoices":[],"children":["agent","domain","done","execute","fetch","form","info","input","invariant","knowledge-capture","query-pick","schema-form","summary","wait-for"],"description":"The root element: a guided process made of ordered stages","collection":false,"context":"journey","exclusiveAttributes":[],"attributes":[{"constraint":"Stable handle for the journey, unique on the instance. Saved progress refers to it, so choose it before publishing.","name":"id","required":true,"field":"id","valueSchema":{"type":"string"}},{"constraint":"Name shown to users.","name":"title","required":true,"field":"title","valueSchema":{"type":"string"}},{"constraint":"Icon shown with the journey. Defaults to generic.","name":"icon","required":false,"field":"icon","valueSchema":{"type":"string","enum":["device","network","customer","order","job","note","wrench","check","flag","generic"]}},{"constraint":"Approximate time to complete, in whole minutes.","name":"estimatedMinutes","required":false,"field":"estimatedMinutes","valueSchema":{"type":"integer"}}]},"attributeDetails":{"icon":{"type":"string","description":"Icon shown with the journey. Defaults to generic.","required":false,"allowedValues":["device","network","customer","order","job","note","wrench","check","flag","generic"]},"estimatedMinutes":{"type":"integer","description":"Approximate time to complete, in whole minutes.","required":false},"id":{"type":"string","description":"Stable handle for the journey, unique on the instance. Saved progress refers to it, so choose it before publishing.","required":true},"title":{"type":"string","description":"Name shown to users.","required":true}},"requiredAttributes":["id","title"]},{"attributes":["key","label","kind","required","placeholder","help","resourceType","defaultValue"],"tag":"field","summary":"A question on a form stage. The answer is written to Journey state under its key","children":["when","validation","option"],"allowsText":false,"authoring":{"collection":false,"allowsText":false,"exclusiveChildren":[],"attributes":[{"name":"key","required":true,"field":"key","valueSchema":{"type":"string"},"constraint":"State key the answer is written to, read as $.state.<key>."},{"name":"label","required":true,"field":"label","valueSchema":{"type":"string"},"constraint":"Label shown to the user."},{"name":"kind","required":true,"field":"kind","valueSchema":{"enum":["text","multiline","number","toggle","choice","date","resourcePicker"],"type":"string"},"constraint":"Type of control, which also sets the type of the answer."},{"name":"required","required":false,"field":"required","valueSchema":{"type":"boolean"},"constraint":"Set to true to require an answer before the user can continue."},{"name":"placeholder","required":false,"field":"placeholder","valueSchema":{"type":"string"},"constraint":"Hint text shown inside the empty field."},{"name":"help","required":false,"field":"help","valueSchema":{"type":"string"},"constraint":"Short explanation shown under the field."},{"name":"resourceType","required":false,"field":"resourceType","valueSchema":{"type":"string","enum":["customer","order","job","workcenter"]},"constraint":"The kind of record to pick. Required when kind is resourcePicker."},{"name":"defaultValue","required":false,"field":"defaultValue","valueSchema":{"type":"string"},"constraint":"Initial value, written to state the first time the stage shows if the key has no value yet. For a choice field it must be one of the option values; for a date field it is an ISO date such as 2026-09-29."}],"id":"field","childBindings":[{"element":"when","minimum":0,"tag":"when","maximum":1,"field":"condition"},{"element":"validation","minimum":0,"tag":"validation","maximum":1,"field":"validation"},{"element":"option","minimum":0,"tag":"option","maximum":9223372036854775807,"field":"options"}],"description":"A question on a form stage. The answer is written to Journey state under its key","exclusiveAttributes":[],"additionalChoices":[],"children":["option","validation","when"],"fieldPath":"","context":"journey","tag":"field"},"attributeDetails":{"help":{"type":"string","required":false,"description":"Short explanation shown under the field."},"required":{"type":"boolean","description":"Set to true to require an answer before the user can continue.","required":false},"kind":{"type":"string","description":"Type of control, which also sets the type of the answer.","allowedValues":["text","multiline","number","toggle","choice","date","resourcePicker"],"required":true},"label":{"type":"string","description":"Label shown to the user.","required":true},"placeholder":{"type":"string","description":"Hint text shown inside the empty field.","required":false},"resourceType":{"type":"string","description":"The kind of record to pick. Required when kind is resourcePicker.","allowedValues":["customer","order","job","workcenter"],"required":false},"defaultValue":{"type":"string","description":"Initial value, written to state the first time the stage shows if the key has no value yet. For a choice field it must be one of the option values; for a date field it is an ISO date such as 2026-09-29.","required":false},"key":{"type":"string","description":"State key the answer is written to, read as $.state.<key>.","required":true}},"requiredAttributes":["key","label","kind"]},{"attributes":["key","label","kind","required","resourceType"],"tag":"input","summary":"Read-only context supplied when the journey is launched, such as the customer it concerns. Read it as $.inputs.<key>","children":[],"allowsText":false,"authoring":{"attributes":[{"required":true,"name":"key","field":"key","constraint":"Launch-context key, read as $.inputs.<key>.","valueSchema":{"type":"string"}},{"required":true,"name":"label","field":"label","constraint":"Label describing the input.","valueSchema":{"type":"string"}},{"required":true,"name":"kind","field":"kind","constraint":"text, or resource for a reference to a record.","valueSchema":{"enum":["text","resource"],"type":"string"}},{"required":false,"name":"required","field":"required","constraint":"Set to true when the journey cannot start without this input.","valueSchema":{"type":"boolean"}},{"required":false,"name":"resourceType","field":"resourceType","constraint":"The kind of record. Required when kind is resource.","valueSchema":{"enum":["customer","order","job","workcenter"],"type":"string"}}],"description":"Read-only context supplied when the journey is launched, such as the customer it concerns. Read it as $.inputs.<key>","exclusiveChildren":[],"id":"input","fieldPath":"","children":[],"exclusiveAttributes":[],"collection":false,"tag":"input","context":"journey","additionalChoices":[],"allowsText":false,"childBindings":[]},"attributeDetails":{"required":{"description":"Set to true when the journey cannot start without this input.","type":"boolean","required":false},"label":{"description":"Label describing the input.","type":"string","required":true},"resourceType":{"description":"The kind of record. Required when kind is resource.","type":"string","allowedValues":["customer","order","job","workcenter"],"required":false},"key":{"description":"Launch-context key, read as $.inputs.<key>.","type":"string","required":true},"kind":{"description":"text, or resource for a reference to a record.","type":"string","allowedValues":["text","resource"],"required":true}},"requiredAttributes":["key","label","kind"]},{"attributes":["name","ref","value","type"],"tag":"arg","summary":"One GraphQL variable: a typed literal, or a reference to an input or state value","children":[],"allowsText":true,"authoring":{"context":"journey","fieldPath":"","description":"One GraphQL variable: a typed literal, or a reference to an input or state value","tag":"arg","attributes":[{"required":false,"name":"name","field":"name","constraint":"Variable name. Required inside variables and object; omitted for items in an array.","valueSchema":{"type":"string"}},{"required":false,"name":"ref","field":"ref","constraint":"A $.state or $.inputs path whose value is passed with its type preserved. Cannot be combined with value.","valueSchema":{"type":"string"}},{"required":false,"name":"value","field":"value","constraint":"A literal value. Alternatively, write the literal as the element's text.","valueSchema":{"type":"string"}},{"required":false,"name":"type","field":"type","constraint":"Type of the literal; the default is string. A null literal has no value.","valueSchema":{"type":"string","enum":["string","number","boolean","null"]}}],"allowsText":true,"childBindings":[],"collection":false,"additionalChoices":[],"exclusiveChildren":[],"children":[],"id":"arg","exclusiveAttributes":[],"textBinding":{"nonBlank":false,"representation":"string","field":"text","trim":false,"minLength":0,"language":"text","explicitCDATA":true,"required":false}},"attributeDetails":{"ref":{"required":false,"type":"path","description":"A $.state or $.inputs path whose value is passed with its type preserved. Cannot be combined with value."},"name":{"required":false,"type":"string","description":"Variable name. Required inside variables and object; omitted for items in an array."},"value":{"required":false,"type":"literal","description":"A literal value. Alternatively, write the literal as the element's text."},"type":{"required":false,"allowedValues":["string","number","boolean","null"],"description":"Type of the literal; the default is string. A null literal has no value."}},"requiredAttributes":[]},{"attributes":["key","path"],"tag":"capture","summary":"Copies a value from the response into Journey state for later stages","children":[],"allowsText":false,"authoring":{"id":"capture","allowsText":false,"children":[],"exclusiveAttributes":[],"tag":"capture","collection":false,"attributes":[{"required":true,"name":"key","field":"key","constraint":"State key the captured value is written to.","valueSchema":{"type":"string"}},{"required":true,"name":"path","field":"path","constraint":"Path into the response data. The value keeps its JSON type.","valueSchema":{"type":"string"}}],"childBindings":[],"additionalChoices":[],"fieldPath":"","context":"journey","exclusiveChildren":[],"description":"Copies a value from the response into Journey state for later stages"},"attributeDetails":{"path":{"required":true,"description":"Path into the response data. The value keeps its JSON type.","type":"string"},"key":{"required":true,"description":"State key the captured value is written to.","type":"string"}},"requiredAttributes":["key","path"]},{"attributes":["key","label","copyable","monospaced"],"tag":"reveal","summary":"Shows a captured value to the user after the stage runs, such as a new record's ID","children":[],"allowsText":false,"authoring":{"children":[],"description":"Shows a captured value to the user after the stage runs, such as a new record's ID","childBindings":[],"exclusiveChildren":[],"id":"reveal","context":"journey","fieldPath":"","collection":false,"attributes":[{"required":true,"name":"key","field":"key","constraint":"State key of the captured value to show.","valueSchema":{"type":"string"}},{"required":true,"name":"label","field":"label","constraint":"Label shown with the value.","valueSchema":{"type":"string"}},{"required":false,"name":"copyable","field":"copyable","constraint":"Set to true to offer a copy button.","valueSchema":{"type":"boolean"}},{"required":false,"name":"monospaced","field":"monospaced","constraint":"Set to true to show the value in a fixed-width font, which suits identifiers.","valueSchema":{"type":"boolean"}}],"additionalChoices":[],"allowsText":false,"exclusiveAttributes":[],"tag":"reveal"},"attributeDetails":{"copyable":{"required":false,"description":"Set to true to offer a copy button.","type":"boolean"},"label":{"required":true,"description":"Label shown with the value.","type":"string"},"key":{"required":true,"description":"State key of the captured value to show.","type":"string"},"monospaced":{"required":false,"description":"Set to true to show the value in a fixed-width font, which suits identifiers.","type":"boolean"}},"requiredAttributes":["key","label"]},{"attributes":["canSuggest"],"tag":"hint","summary":"Context for an AI assistant about this stage. It does not set up an assistant by itself","children":[],"allowsText":true,"authoring":{"description":"Context for an AI assistant about this stage. It does not set up an assistant by itself","attributes":[{"required":false,"name":"canSuggest","field":"canSuggest","constraint":"On form stages, lets an AI assistant propose values for the whole form, where one is configured.","valueSchema":{"type":"boolean"}}],"context":"journey","tag":"hint","fieldPath":"","allowsText":true,"exclusiveChildren":[],"textBinding":{"representation":"string","field":"context","nonBlank":false,"language":"text","trim":false,"required":false,"explicitCDATA":true,"minLength":0},"childBindings":[],"children":[],"additionalChoices":[],"id":"hint","collection":false,"exclusiveAttributes":[]},"attributeDetails":{"canSuggest":{"description":"On form stages, lets an AI assistant propose values for the whole form, where one is configured.","type":"boolean","required":false}},"requiredAttributes":[]},{"attributes":["pattern","min","max"],"tag":"validation","summary":"Extra rules a field's answer must meet: a pattern for text, or a range for numbers","children":[],"allowsText":false,"authoring":{"context":"journey","exclusiveAttributes":[],"children":[],"childBindings":[],"id":"validation","additionalChoices":[],"attributes":[{"required":false,"name":"pattern","field":"pattern","constraint":"Regular expression the whole value must match, for text and multiline fields. Empty values pass; use required to demand an answer.","valueSchema":{"type":"string"}},{"required":false,"name":"min","field":"min","constraint":"Lowest allowed value, for number fields.","valueSchema":{"type":"number"}},{"required":false,"name":"max","field":"max","constraint":"Highest allowed value, for number fields.","valueSchema":{"type":"number"}}],"description":"Extra rules a field's answer must meet: a pattern for text, or a range for numbers","allowsText":false,"fieldPath":"","collection":false,"exclusiveChildren":[],"tag":"validation"},"attributeDetails":{"max":{"description":"Highest allowed value, for number fields.","type":"number","required":false},"pattern":{"description":"Regular expression the whole value must match, for text and multiline fields. Empty values pass; use required to demand an answer.","type":"string","required":false},"min":{"description":"Lowest allowed value, for number fields.","type":"number","required":false}},"requiredAttributes":[]},{"attributes":["value","label","detail"],"tag":"option","summary":"One choice in a choice field","children":[],"allowsText":false,"authoring":{"allowsText":false,"fieldPath":"","id":"option","childBindings":[],"additionalChoices":[],"attributes":[{"required":true,"name":"value","field":"value","constraint":"Value written to state when this choice is selected.","valueSchema":{"type":"string"}},{"required":true,"name":"label","field":"label","constraint":"Text shown for the choice.","valueSchema":{"type":"string"}},{"required":false,"name":"detail","field":"detail","constraint":"Optional secondary text shown under the label.","valueSchema":{"type":"string"}}],"tag":"option","exclusiveChildren":[],"context":"journey","collection":false,"exclusiveAttributes":[],"description":"One choice in a choice field","children":[]},"attributeDetails":{"label":{"type":"string","description":"Text shown for the choice.","required":true},"detail":{"type":"string","description":"Optional secondary text shown under the label.","required":false},"value":{"type":"string","description":"Value written to state when this choice is selected.","required":true}},"requiredAttributes":["value","label"]},{"attributes":["id","description"],"tag":"invariant","summary":"A rule the process must always satisfy, such as a count staying positive. It documents intent; it is not a permission check","children":["when","assert"],"allowsText":false,"authoring":{"additionalChoices":[],"description":"A rule the process must always satisfy, such as a count staying positive. It documents intent; it is not a permission check","exclusiveAttributes":[],"childBindings":[{"element":"when","minimum":0,"tag":"when","maximum":1,"field":"when"},{"element":"assert","minimum":1,"tag":"assert","maximum":1,"field":"assert"}],"attributes":[{"required":true,"name":"id","field":"id","constraint":"Identifier for the obligation, unique within the journey.","valueSchema":{"type":"string"}},{"required":false,"name":"description","field":"description","constraint":"Plain-language statement of the obligation.","valueSchema":{"type":"string"}}],"id":"invariant","children":["assert","when"],"collection":false,"exclusiveChildren":[],"context":"journey","allowsText":false,"fieldPath":"","tag":"invariant"},"attributeDetails":{"description":{"description":"Plain-language statement of the obligation.","required":false,"type":"string"},"id":{"description":"Identifier for the obligation, unique within the journey.","required":true,"type":"string"}},"requiredAttributes":["id"]},{"attributes":["path","value","type"],"tag":"eq","summary":"Condition that holds when the value at path equals value","children":[],"allowsText":false,"authoring":{"description":"Condition that holds when the value at path equals value","fieldPath":"","exclusiveAttributes":[],"additionalChoices":[],"attributes":[{"constraint":"The $.state or $.inputs path to test.","valueSchema":{"type":"string"},"field":"path","name":"path","required":true},{"constraint":"Value to compare against. Required, except with type=\"null\"; use exists to test whether a value is present.","valueSchema":{"type":"string"},"field":"value","name":"value","required":false},{"constraint":"Type of value. Set it when comparing typed answers; the default is string.","valueSchema":{"type":"string","enum":["string","number","boolean","null"]},"field":"type","name":"type","required":false}],"collection":false,"exclusiveChildren":[],"allowsText":false,"children":[],"tag":"eq","id":"eq","context":"journey","childBindings":[]},"attributeDetails":{"value":{"required":true,"type":"literal","description":"Value to compare against. Required, except with type=\"null\"; use exists to test whether a value is present."},"type":{"required":false,"allowedValues":["string","number","boolean","null"],"description":"Type of value. Set it when comparing typed answers; the default is string."},"path":{"required":true,"type":"path","description":"The $.state or $.inputs path to test."}},"requiredAttributes":["path"]},{"attributes":["path","value","type"],"tag":"neq","summary":"Condition that holds when the value at path does not equal value","children":[],"allowsText":false,"authoring":{"exclusiveChildren":[],"collection":false,"description":"Condition that holds when the value at path does not equal value","id":"neq","children":[],"childBindings":[],"fieldPath":"","tag":"neq","context":"journey","allowsText":false,"attributes":[{"constraint":"The $.state or $.inputs path to test.","valueSchema":{"type":"string"},"field":"path","name":"path","required":true},{"constraint":"Value to compare against. Required, except with type=\"null\"; use exists to test whether a value is present.","valueSchema":{"type":"string"},"field":"value","name":"value","required":false},{"constraint":"Type of value. Set it when comparing typed answers; the default is string.","valueSchema":{"enum":["string","number","boolean","null"],"type":"string"},"field":"type","name":"type","required":false}],"exclusiveAttributes":[],"additionalChoices":[]},"attributeDetails":{"value":{"type":"literal","required":true,"description":"Value to compare against. Required, except with type=\"null\"; use exists to test whether a value is present."},"type":{"description":"Type of value. Set it when comparing typed answers; the default is string.","required":false,"allowedValues":["string","number","boolean","null"]},"path":{"type":"path","required":true,"description":"The $.state or $.inputs path to test."}},"requiredAttributes":["path"]},{"attributes":["path","value","type"],"tag":"lt","summary":"Condition that holds when the value at path is less than value","children":[],"allowsText":false,"authoring":{"context":"journey","fieldPath":"","exclusiveAttributes":[],"id":"lt","attributes":[{"constraint":"The $.state or $.inputs path to test.","valueSchema":{"type":"string"},"field":"path","name":"path","required":true},{"constraint":"Number or text to compare against.","valueSchema":{"type":"string"},"field":"value","name":"value","required":false},{"constraint":"Type of value: number, or string (the default).","valueSchema":{"type":"string","enum":["string","number"]},"field":"type","name":"type","required":false}],"tag":"lt","children":[],"childBindings":[],"exclusiveChildren":[],"description":"Condition that holds when the value at path is less than value","collection":false,"additionalChoices":[],"allowsText":false},"attributeDetails":{"path":{"description":"The $.state or $.inputs path to test.","type":"path","required":true},"type":{"allowedValues":["string","number"],"required":false,"description":"Type of value: number, or string (the default)."},"value":{"description":"Number or text to compare against.","type":"literal","required":true}},"requiredAttributes":["path"]},{"attributes":["path","value","type"],"tag":"lte","summary":"Condition that holds when the value at path is less than or equal to value","children":[],"allowsText":false,"authoring":{"id":"lte","additionalChoices":[],"children":[],"attributes":[{"constraint":"The $.state or $.inputs path to test.","valueSchema":{"type":"string"},"field":"path","name":"path","required":true},{"constraint":"Number or text to compare against.","valueSchema":{"type":"string"},"field":"value","name":"value","required":false},{"constraint":"Type of value: number, or string (the default).","valueSchema":{"enum":["string","number"],"type":"string"},"field":"type","name":"type","required":false}],"collection":false,"childBindings":[],"tag":"lte","exclusiveAttributes":[],"fieldPath":"","context":"journey","allowsText":false,"exclusiveChildren":[],"description":"Condition that holds when the value at path is less than or equal to value"},"attributeDetails":{"path":{"type":"path","required":true,"description":"The $.state or $.inputs path to test."},"type":{"description":"Type of value: number, or string (the default).","required":false,"allowedValues":["string","number"]},"value":{"type":"literal","required":true,"description":"Number or text to compare against."}},"requiredAttributes":["path"]},{"attributes":["path","value","type"],"tag":"gt","summary":"Condition that holds when the value at path is greater than value","children":[],"allowsText":false,"authoring":{"exclusiveChildren":[],"tag":"gt","childBindings":[],"description":"Condition that holds when the value at path is greater than value","fieldPath":"","id":"gt","exclusiveAttributes":[],"collection":false,"additionalChoices":[],"children":[],"attributes":[{"constraint":"The $.state or $.inputs path to test.","valueSchema":{"type":"string"},"field":"path","name":"path","required":true},{"constraint":"Number or text to compare against.","valueSchema":{"type":"string"},"field":"value","name":"value","required":false},{"constraint":"Type of value: number, or string (the default).","valueSchema":{"enum":["string","number"],"type":"string"},"field":"type","name":"type","required":false}],"allowsText":false,"context":"journey"},"attributeDetails":{"value":{"type":"literal","required":true,"description":"Number or text to compare against."},"type":{"allowedValues":["string","number"],"required":false,"description":"Type of value: number, or string (the default)."},"path":{"type":"path","required":true,"description":"The $.state or $.inputs path to test."}},"requiredAttributes":["path"]},{"attributes":["path","value","type"],"tag":"gte","summary":"Condition that holds when the value at path is greater than or equal to value","children":[],"allowsText":false,"authoring":{"exclusiveAttributes":[],"description":"Condition that holds when the value at path is greater than or equal to value","collection":false,"id":"gte","fieldPath":"","children":[],"additionalChoices":[],"context":"journey","attributes":[{"constraint":"The $.state or $.inputs path to test.","valueSchema":{"type":"string"},"field":"path","name":"path","required":true},{"constraint":"Number or text to compare against.","valueSchema":{"type":"string"},"field":"value","name":"value","required":false},{"constraint":"Type of value: number, or string (the default).","valueSchema":{"type":"string","enum":["string","number"]},"field":"type","name":"type","required":false}],"allowsText":false,"exclusiveChildren":[],"tag":"gte","childBindings":[]},"attributeDetails":{"path":{"type":"path","description":"The $.state or $.inputs path to test.","required":true},"type":{"description":"Type of value: number, or string (the default).","required":false,"allowedValues":["string","number"]},"value":{"type":"literal","description":"Number or text to compare against.","required":true}},"requiredAttributes":["path"]},{"attributes":["path","value"],"tag":"exists","summary":"Condition that holds when the value at path is present and not null; an empty string still exists","children":[],"allowsText":false,"authoring":{"attributes":[{"constraint":"The $.state or $.inputs path to test.","valueSchema":{"type":"string"},"field":"path","name":"path","required":true},{"constraint":"Set to false to test that the value is absent. Defaults to true.","valueSchema":{"type":"string","enum":["true","false"]},"field":"value","name":"value","required":false}],"exclusiveChildren":[],"childBindings":[],"allowsText":false,"context":"journey","id":"exists","additionalChoices":[],"description":"Condition that holds when the value at path is present and not null; an empty string still exists","tag":"exists","collection":false,"fieldPath":"","exclusiveAttributes":[],"children":[]},"attributeDetails":{"value":{"description":"Set to false to test that the value is absent. Defaults to true.","allowedValues":["true","false"],"required":false},"path":{"description":"The $.state or $.inputs path to test.","required":true,"type":"path"}},"requiredAttributes":["path"]},{"attributes":[],"tag":"when","summary":"Holds the one condition that decides whether a stage or field takes part","children":["eq","neq","lt","lte","gt","gte","exists","all","any","not"],"allowsText":false,"authoring":{"children":["all","any","eq","exists","gt","gte","lt","lte","neq","not"],"collection":false,"attributes":[],"fieldPath":"","tag":"when","context":"journey","childBindings":[{"element":"eq","minimum":0,"tag":"eq","maximum":9223372036854775807,"field":"eq"},{"element":"neq","minimum":0,"tag":"neq","maximum":9223372036854775807,"field":"neq"},{"element":"lt","minimum":0,"tag":"lt","maximum":9223372036854775807,"field":"lt"},{"element":"lte","minimum":0,"tag":"lte","maximum":9223372036854775807,"field":"lte"},{"element":"gt","minimum":0,"tag":"gt","maximum":9223372036854775807,"field":"gt"},{"element":"gte","minimum":0,"tag":"gte","maximum":9223372036854775807,"field":"gte"},{"element":"exists","minimum":0,"tag":"exists","maximum":9223372036854775807,"field":"exists"},{"element":"all","minimum":0,"tag":"all","maximum":9223372036854775807,"field":"all"},{"element":"any","minimum":0,"tag":"any","maximum":9223372036854775807,"field":"any"},{"element":"not","minimum":0,"tag":"not","maximum":9223372036854775807,"field":"not"}],"allowsText":false,"description":"Holds the one condition that decides whether a stage or field takes part","id":"when","choice":{"groups":[],"field":"conditions","repeated":true,"maximum":1,"minimum":1,"variants":{"not":"not","all":"all","neq":"neq","gte":"gte","eq":"eq","exists":"exists","lte":"lte","any":"any","gt":"gt","lt":"lt"},"discriminator":"kind"},"additionalChoices":[],"exclusiveAttributes":[],"exclusiveChildren":[]},"attributeDetails":{},"requiredAttributes":[]},{"attributes":[],"tag":"assert","summary":"Holds the one condition an invariant requires","children":["eq","neq","lt","lte","gt","gte","exists","all","any","not"],"allowsText":false,"authoring":{"choice":{"groups":[],"maximum":1,"variants":{"lt":"lt","lte":"lte","any":"any","neq":"neq","all":"all","eq":"eq","gt":"gt","not":"not","gte":"gte","exists":"exists"},"repeated":true,"discriminator":"kind","field":"conditions","minimum":1},"id":"assert","children":["all","any","eq","exists","gt","gte","lt","lte","neq","not"],"exclusiveAttributes":[],"fieldPath":"","childBindings":[{"element":"eq","minimum":0,"tag":"eq","maximum":9223372036854775807,"field":"eq"},{"element":"neq","minimum":0,"tag":"neq","maximum":9223372036854775807,"field":"neq"},{"element":"lt","minimum":0,"tag":"lt","maximum":9223372036854775807,"field":"lt"},{"element":"lte","minimum":0,"tag":"lte","maximum":9223372036854775807,"field":"lte"},{"element":"gt","minimum":0,"tag":"gt","maximum":9223372036854775807,"field":"gt"},{"element":"gte","minimum":0,"tag":"gte","maximum":9223372036854775807,"field":"gte"},{"element":"exists","minimum":0,"tag":"exists","maximum":9223372036854775807,"field":"exists"},{"element":"all","minimum":0,"tag":"all","maximum":9223372036854775807,"field":"all"},{"element":"any","minimum":0,"tag":"any","maximum":9223372036854775807,"field":"any"},{"element":"not","minimum":0,"tag":"not","maximum":9223372036854775807,"field":"not"}],"exclusiveChildren":[],"allowsText":false,"collection":false,"additionalChoices":[],"description":"Holds the one condition an invariant requires","tag":"assert","context":"journey","attributes":[]},"attributeDetails":{},"requiredAttributes":[]},{"attributes":[],"tag":"all","summary":"Condition that holds when every child condition holds","children":["eq","neq","lt","lte","gt","gte","exists","all","any","not"],"allowsText":false,"authoring":{"childBindings":[{"element":"eq","minimum":0,"tag":"eq","maximum":9223372036854775807,"field":"eq"},{"element":"neq","minimum":0,"tag":"neq","maximum":9223372036854775807,"field":"neq"},{"element":"lt","minimum":0,"tag":"lt","maximum":9223372036854775807,"field":"lt"},{"element":"lte","minimum":0,"tag":"lte","maximum":9223372036854775807,"field":"lte"},{"element":"gt","minimum":0,"tag":"gt","maximum":9223372036854775807,"field":"gt"},{"element":"gte","minimum":0,"tag":"gte","maximum":9223372036854775807,"field":"gte"},{"element":"exists","minimum":0,"tag":"exists","maximum":9223372036854775807,"field":"exists"},{"element":"all","minimum":0,"tag":"all","maximum":9223372036854775807,"field":"all"},{"element":"any","minimum":0,"tag":"any","maximum":9223372036854775807,"field":"any"},{"element":"not","minimum":0,"tag":"not","maximum":9223372036854775807,"field":"not"}],"context":"journey","additionalChoices":[],"tag":"all","exclusiveChildren":[],"id":"all","fieldPath":"","children":["all","any","eq","exists","gt","gte","lt","lte","neq","not"],"description":"Condition that holds when every child condition holds","choice":{"groups":[],"maximum":9223372036854775807,"variants":{"eq":"eq","not":"not","any":"any","lt":"lt","gte":"gte","all":"all","gt":"gt","lte":"lte","exists":"exists","neq":"neq"},"discriminator":"kind","repeated":true,"minimum":0,"field":"conditions"},"exclusiveAttributes":[],"allowsText":false,"collection":false,"attributes":[]},"attributeDetails":{},"requiredAttributes":[]},{"attributes":[],"tag":"any","summary":"Condition that holds when at least one child condition holds","children":["eq","neq","lt","lte","gt","gte","exists","all","any","not"],"allowsText":false,"authoring":{"description":"Condition that holds when at least one child condition holds","additionalChoices":[],"children":["all","any","eq","exists","gt","gte","lt","lte","neq","not"],"exclusiveAttributes":[],"choice":{"variants":{"eq":"eq","lt":"lt","gt":"gt","gte":"gte","all":"all","not":"not","neq":"neq","lte":"lte","exists":"exists","any":"any"},"discriminator":"kind","groups":[],"field":"conditions","maximum":9223372036854775807,"repeated":true,"minimum":0},"exclusiveChildren":[],"allowsText":false,"fieldPath":"","context":"journey","id":"any","attributes":[],"tag":"any","collection":false,"childBindings":[{"element":"eq","minimum":0,"tag":"eq","maximum":9223372036854775807,"field":"eq"},{"element":"neq","minimum":0,"tag":"neq","maximum":9223372036854775807,"field":"neq"},{"element":"lt","minimum":0,"tag":"lt","maximum":9223372036854775807,"field":"lt"},{"element":"lte","minimum":0,"tag":"lte","maximum":9223372036854775807,"field":"lte"},{"element":"gt","minimum":0,"tag":"gt","maximum":9223372036854775807,"field":"gt"},{"element":"gte","minimum":0,"tag":"gte","maximum":9223372036854775807,"field":"gte"},{"element":"exists","minimum":0,"tag":"exists","maximum":9223372036854775807,"field":"exists"},{"element":"all","minimum":0,"tag":"all","maximum":9223372036854775807,"field":"all"},{"element":"any","minimum":0,"tag":"any","maximum":9223372036854775807,"field":"any"},{"element":"not","minimum":0,"tag":"not","maximum":9223372036854775807,"field":"not"}]},"attributeDetails":{},"requiredAttributes":[]},{"attributes":[],"tag":"not","summary":"Condition that holds when its single child condition does not","children":["eq","neq","lt","lte","gt","gte","exists","all","any","not"],"allowsText":false,"authoring":{"tag":"not","collection":false,"childBindings":[{"element":"eq","minimum":0,"tag":"eq","maximum":9223372036854775807,"field":"eq"},{"element":"neq","minimum":0,"tag":"neq","maximum":9223372036854775807,"field":"neq"},{"element":"lt","minimum":0,"tag":"lt","maximum":9223372036854775807,"field":"lt"},{"element":"lte","minimum":0,"tag":"lte","maximum":9223372036854775807,"field":"lte"},{"element":"gt","minimum":0,"tag":"gt","maximum":9223372036854775807,"field":"gt"},{"element":"gte","minimum":0,"tag":"gte","maximum":9223372036854775807,"field":"gte"},{"element":"exists","minimum":0,"tag":"exists","maximum":9223372036854775807,"field":"exists"},{"element":"all","minimum":0,"tag":"all","maximum":9223372036854775807,"field":"all"},{"element":"any","minimum":0,"tag":"any","maximum":9223372036854775807,"field":"any"},{"element":"not","minimum":0,"tag":"not","maximum":9223372036854775807,"field":"not"}],"additionalChoices":[],"allowsText":false,"children":["all","any","eq","exists","gt","gte","lt","lte","neq","not"],"exclusiveAttributes":[],"exclusiveChildren":[],"choice":{"repeated":true,"minimum":1,"variants":{"exists":"exists","all":"all","lt":"lt","eq":"eq","any":"any","not":"not","lte":"lte","neq":"neq","gt":"gt","gte":"gte"},"maximum":1,"field":"conditions","groups":[],"discriminator":"kind"},"fieldPath":"","attributes":[],"description":"Condition that holds when its single child condition does not","id":"not","context":"journey"},"attributeDetails":{},"requiredAttributes":[]},{"attributes":[],"tag":"variables","summary":"The GraphQL variables sent with the stage's document","children":["arg","object","array"],"allowsText":false,"authoring":{"id":"variables","childBindings":[{"element":"arg","minimum":0,"tag":"arg","maximum":9223372036854775807,"field":"arg"},{"element":"object","minimum":0,"tag":"object","maximum":9223372036854775807,"field":"object"},{"element":"array","minimum":0,"tag":"array","maximum":9223372036854775807,"field":"array"}],"exclusiveAttributes":[],"additionalChoices":[],"context":"journey","fieldPath":"","description":"The GraphQL variables sent with the stage's document","choice":{"discriminator":"element","groups":[],"repeated":true,"variants":{"array":"array","arg":"arg","object":"object"},"minimum":0,"field":"entries","maximum":9223372036854775807},"children":["arg","array","object"],"exclusiveChildren":[],"allowsText":false,"attributes":[],"tag":"variables","collection":false},"attributeDetails":{},"requiredAttributes":[]},{"attributes":["name"],"tag":"object","summary":"A nested object value within variables","children":["arg","object","array"],"allowsText":false,"authoring":{"id":"object","fieldPath":"","exclusiveAttributes":[],"children":["arg","array","object"],"childBindings":[{"element":"arg","minimum":0,"tag":"arg","maximum":9223372036854775807,"field":"arg"},{"element":"object","minimum":0,"tag":"object","maximum":9223372036854775807,"field":"object"},{"element":"array","minimum":0,"tag":"array","maximum":9223372036854775807,"field":"array"}],"exclusiveChildren":[],"additionalChoices":[],"allowsText":false,"attributes":[{"required":false,"name":"name","valueSchema":{"type":"string"},"field":"name","constraint":"Name of the object within the enclosing variables or object."}],"tag":"object","choice":{"minimum":0,"groups":[],"field":"entries","variants":{"object":"object","array":"array","arg":"arg"},"discriminator":"element","maximum":9223372036854775807,"repeated":true},"collection":false,"description":"A nested object value within variables","context":"journey"},"attributeDetails":{"name":{"type":"string","description":"Name of the object within the enclosing variables or object.","required":false}},"requiredAttributes":[]},{"attributes":["name"],"tag":"array","summary":"A list value within variables","children":["arg","object","array"],"allowsText":false,"authoring":{"tag":"array","exclusiveChildren":[],"id":"array","attributes":[{"name":"name","required":false,"field":"name","valueSchema":{"type":"string"},"constraint":"Name of the array within the enclosing variables or object."}],"context":"journey","choice":{"minimum":0,"discriminator":"element","groups":[],"variants":{"object":"object","arg":"arg","array":"array"},"maximum":9223372036854775807,"field":"entries","repeated":true},"children":["arg","array","object"],"description":"A list value within variables","allowsText":false,"fieldPath":"","exclusiveAttributes":[],"childBindings":[{"element":"arg","minimum":0,"tag":"arg","maximum":9223372036854775807,"field":"arg"},{"element":"object","minimum":0,"tag":"object","maximum":9223372036854775807,"field":"object"},{"element":"array","minimum":0,"tag":"array","maximum":9223372036854775807,"field":"array"}],"collection":false,"additionalChoices":[]},"attributeDetails":{"name":{"type":"string","required":false,"description":"Name of the array within the enclosing variables or object."}},"requiredAttributes":[]},{"attributes":[],"tag":"body","summary":"Text shown on the stage. Supports {{ }} interpolation of inputs and state","children":[],"allowsText":true,"authoring":{"exclusiveChildren":[],"additionalChoices":[],"children":[],"attributes":[],"description":"Text shown on the stage. Supports {{ }} interpolation of inputs and state","fieldPath":"","exclusiveAttributes":[],"id":"body","tag":"body","allowsText":true,"childBindings":[],"textBinding":{"language":"text","trim":false,"field":"","representation":"string","minLength":0,"nonBlank":false,"required":true,"explicitCDATA":true},"context":"journey","collection":false},"attributeDetails":{},"requiredAttributes":[]},{"attributes":[],"tag":"check","summary":"One checklist item shown on the stage. Guidance only; the user does not have to tick it","children":[],"allowsText":true,"authoring":{"collection":false,"childBindings":[],"description":"One checklist item shown on the stage. Guidance only; the user does not have to tick it","allowsText":true,"context":"journey","children":[],"exclusiveAttributes":[],"tag":"check","textBinding":{"nonBlank":false,"representation":"string","required":true,"field":"","language":"text","explicitCDATA":true,"minLength":0,"trim":false},"additionalChoices":[],"id":"check","attributes":[],"exclusiveChildren":[],"fieldPath":""},"attributeDetails":{},"requiredAttributes":[]},{"attributes":[],"tag":"summary","summary":"A short description of the journey","children":[],"allowsText":true,"authoring":{"childBindings":[],"children":[],"additionalChoices":[],"collection":false,"allowsText":true,"id":"summary","context":"journey","textBinding":{"required":true,"minLength":0,"nonBlank":false,"language":"text","representation":"string","explicitCDATA":true,"field":"","trim":false},"tag":"summary","exclusiveAttributes":[],"exclusiveChildren":[],"fieldPath":"","description":"A short description of the journey","attributes":[]},"attributeDetails":{},"requiredAttributes":[]},{"attributes":[],"tag":"domain","summary":"A business domain the journey belongs to. Domains narrow who it is offered to, but never grant permissions","children":[],"allowsText":true,"authoring":{"id":"domain","textBinding":{"explicitCDATA":true,"trim":false,"minLength":0,"representation":"string","nonBlank":false,"language":"text","required":true,"field":""},"description":"A business domain the journey belongs to. Domains narrow who it is offered to, but never grant permissions","exclusiveAttributes":[],"attributes":[],"allowsText":true,"children":[],"exclusiveChildren":[],"additionalChoices":[],"context":"journey","childBindings":[],"fieldPath":"","collection":false,"tag":"domain"},"attributeDetails":{},"requiredAttributes":[]},{"attributes":[],"tag":"document","summary":"The GraphQL operation the stage runs, usually inside CDATA","children":[],"allowsText":true,"authoring":{"childBindings":[],"allowsText":true,"additionalChoices":[],"attributes":[],"context":"journey","tag":"document","fieldPath":"","textBinding":{"trim":false,"nonBlank":false,"language":"text","explicitCDATA":true,"required":true,"minLength":0,"field":"","representation":"string"},"collection":false,"description":"The GraphQL operation the stage runs, usually inside CDATA","exclusiveChildren":[],"id":"document","children":[],"exclusiveAttributes":[]},"attributeDetails":{},"requiredAttributes":[]},{"attributes":[],"tag":"schema","summary":"An inline form schema: prefer a schema root in urn:cococo:json-schema:1; JSON text or CDATA remains accepted","children":[],"allowsText":true,"authoring":{"description":"An inline form schema: prefer a schema root in urn:cococo:json-schema:1; JSON text or CDATA remains accepted","collection":false,"childBindings":[],"id":"schema","fieldPath":"","exclusiveAttributes":[],"attributes":[],"tag":"schema","additionalChoices":[],"children":[],"context":"journey","textBinding":{"language":"jsonSchema","trim":false,"field":"","nonBlank":false,"explicitCDATA":false,"representation":"jsonObject","required":true,"minLength":0,"embeddedDialect":"urn:cococo:json-schema:1"},"exclusiveChildren":[],"allowsText":true},"attributeDetails":{},"requiredAttributes":[]},{"attributes":[],"tag":"goal","summary":"What the AI assistant should achieve in an agent stage","children":[],"allowsText":true,"authoring":{"fieldPath":"","allowsText":true,"tag":"goal","attributes":[],"children":[],"id":"goal","additionalChoices":[],"exclusiveChildren":[],"context":"journey","description":"What the AI assistant should achieve in an agent stage","collection":false,"textBinding":{"required":true,"field":"","nonBlank":false,"language":"text","explicitCDATA":true,"representation":"string","minLength":0,"trim":false},"childBindings":[],"exclusiveAttributes":[]},"attributeDetails":{},"requiredAttributes":[]},{"attributes":[],"tag":"knowledge-capture","summary":"A template for a note built from the run's data, which the user can edit and copy at the end","children":[],"allowsText":true,"authoring":{"context":"journey","additionalChoices":[],"children":[],"exclusiveAttributes":[],"id":"knowledge-capture","exclusiveChildren":[],"collection":false,"tag":"knowledge-capture","description":"A template for a note built from the run's data, which the user can edit and copy at the end","attributes":[],"fieldPath":"","textBinding":{"nonBlank":false,"representation":"string","field":"","trim":false,"language":"text","required":true,"minLength":0,"explicitCDATA":true},"allowsText":true,"childBindings":[]},"attributeDetails":{},"requiredAttributes":[]},{"attributes":["type","value"],"tag":"equals","summary":"The value a wait-for stage waits for","children":[],"allowsText":true,"authoring":{"textBinding":{"representation":"string","required":false,"nonBlank":false,"language":"text","minLength":0,"field":"text","explicitCDATA":true,"trim":false},"children":[],"childBindings":[],"attributes":[{"required":false,"valueSchema":{"enum":["string","number","boolean","null"],"type":"string"},"name":"type","constraint":"Type of value; the default is string.","field":"type"},{"required":false,"valueSchema":{"type":"string"},"name":"value","constraint":"Value the path must equal for the wait to finish. Alternatively, write it as the element's text.","field":"value"}],"context":"journey","exclusiveAttributes":[],"fieldPath":"","allowsText":true,"collection":false,"description":"The value a wait-for stage waits for","exclusiveChildren":[],"id":"equals","additionalChoices":[],"tag":"equals"},"attributeDetails":{"value":{"description":"Value the path must equal for the wait to finish. Alternatively, write it as the element's text.","type":"literal","required":false},"type":{"description":"Type of value; the default is string.","required":false,"allowedValues":["string","number","boolean","null"]}},"requiredAttributes":[]},{"attributes":[],"tag":"manual-fallback","summary":"Fallback for runners without an assistant","children":["body","check"],"allowsText":false,"authoring":{"context":"journey","collection":false,"additionalChoices":[],"id":"manual-fallback","allowsText":false,"exclusiveChildren":[],"attributes":[],"exclusiveAttributes":[],"children":["body","check"],"childBindings":[{"element":"body","minimum":1,"tag":"body","maximum":1,"field":"body"},{"element":"check","minimum":0,"tag":"check","maximum":9223372036854775807,"field":"checklist"}],"fieldPath":"","tag":"manual-fallback","description":"Fallback for runners without an assistant"},"attributeDetails":{},"requiredAttributes":[]}]

Published platform manual · revision 2c813b8894c3