Last active
April 12, 2021 10:55
-
-
Save SpikeXy/8d9dc39fa3cde80076e5f9883c3e43f0 to your computer and use it in GitHub Desktop.
OrchardCore.Forms.ValidateRule.Recipe.json for insert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "", | |
"displayName": "", | |
"description": "", | |
"author": "", | |
"website": "", | |
"version": "", | |
"issetuprecipe": false, | |
"categories": [], | |
"tags": [], | |
"steps": [ | |
{ | |
"name": "Feature", | |
"enable": [ | |
"Application.Default", | |
"OrchardCore.Cms.Web", | |
"OrchardCore.Settings", | |
"OrchardCore.Admin", | |
"OrchardCore.Liquid", | |
"OrchardCore.Contents", | |
"OrchardCore.ContentTypes", | |
"OrchardCore.AdminMenu", | |
"OrchardCore.Templates", | |
"OrchardCore.Alias", | |
"OrchardCore.Autoroute", | |
"OrchardCore.Shortcodes", | |
"OrchardCore.ContentFields", | |
"OrchardCore.ContentPreview", | |
"OrchardCore.Deployment", | |
"OrchardCore.Contents.FileContentDefinition", | |
"OrchardCore.CustomSettings", | |
"OrchardCore.Deployment.Remote", | |
"OrchardCore.Diagnostics", | |
"OrchardCore.DynamicCache", | |
"OrchardCore.Resources", | |
"OrchardCore.Widgets", | |
"OrchardCore.Features", | |
"OrchardCore.Feeds", | |
"OrchardCore.Flows", | |
"OrchardCore.Forms", | |
"OrchardCore.HomeRoute", | |
"OrchardCore.Html", | |
"OrchardCore.Indexing", | |
"OrchardCore.Scripting", | |
"OrchardCore.Layers", | |
"OrchardCore.Lists", | |
"OrchardCore.Lucene", | |
"OrchardCore.Markdown", | |
"OrchardCore.Media", | |
"OrchardCore.Title", | |
"OrchardCore.Menu", | |
"OrchardCore.Navigation", | |
"OrchardCore.Placements", | |
"OrchardCore.Queries", | |
"OrchardCore.Users", | |
"OrchardCore.Recipes", | |
"OrchardCore.Roles", | |
"OrchardCore.Shortcodes.Templates", | |
"OrchardCore.Taxonomies", | |
"OrchardCore.Themes", | |
"OrchardCore.Workflows", | |
"OrchardCore.Workflows.Http", | |
"OrchardCore.Workflows.Timers", | |
"SafeMode", | |
"TheAdmin", | |
"TheBlogTheme" | |
] | |
}, | |
{ | |
"name": "WorkflowType", | |
"data": [ | |
{ | |
"WorkflowTypeId": "4hm71j4t32wgbwtw1djawj7cmc", | |
"Name": "testValidationRule", | |
"IsEnabled": true, | |
"IsSingleton": false, | |
"DeleteFinishedWorkflows": false, | |
"Activities": [ | |
{ | |
"ActivityId": "4nfmzbw0f4aeg0t1qda7j60ndj", | |
"Name": "HttpRequestEvent", | |
"X": 80, | |
"Y": 70, | |
"IsStart": true, | |
"Properties": { | |
"ActivityMetadata": { | |
"Title": "FormRequest" | |
}, | |
"HttpMethod": "POST", | |
"Url": "/workflows/Invoke?token=CfDJ8GcELClHTb9NjtW0rg4wsUTyaBGaLbIdZm9xUfILvm4m7KMD0mJs6XqzQNXA4JkgQDgnP2pQVt-tbSJjs67rPU69pIt6OUFPDrtk7PoCxXnfkVa4TTQaY1G82k7Ne8zziOPrctnN6ek_nDNsAr1OMEyVTJn1qI5Q1dfwcvUKFxC9Q1D7Ua14y4TEBfpvUf9fPu7ahpkKuwmzxm8R4vi4OcSXfAZQcgMq2cJWFj1YbNvF", | |
"ValidateAntiforgeryToken": false, | |
"TokenLifeSpan": 0 | |
} | |
}, | |
{ | |
"ActivityId": "4chcj8akbkg08vk6m332wdh8w3", | |
"Name": "ValidateRuleFormTask", | |
"X": 370, | |
"Y": 120, | |
"IsStart": true, | |
"Properties": { | |
"ActivityMetadata": { | |
"Title": null | |
} | |
} | |
}, | |
{ | |
"ActivityId": "46zhrej673dp00mkv1egzrtw40", | |
"Name": "HttpRedirectTask", | |
"X": 720, | |
"Y": 60, | |
"IsStart": false, | |
"Properties": { | |
"ActivityMetadata": { | |
"Title": "Success" | |
}, | |
"Location": { | |
"Expression": "/Success" | |
}, | |
"Permanent": false | |
} | |
}, | |
{ | |
"ActivityId": "4yky637j8kz0r1r3fbrne5145z", | |
"Name": "HttpRedirectTask", | |
"X": 720, | |
"Y": 220, | |
"IsStart": false, | |
"Properties": { | |
"ActivityMetadata": { | |
"Title": "Error" | |
}, | |
"Location": { | |
"Expression": "/Error" | |
}, | |
"Permanent": false | |
} | |
} | |
], | |
"Transitions": [ | |
{ | |
"Id": 0, | |
"SourceActivityId": "4nfmzbw0f4aeg0t1qda7j60ndj", | |
"SourceOutcomeName": "Done", | |
"DestinationActivityId": "4chcj8akbkg08vk6m332wdh8w3" | |
}, | |
{ | |
"Id": 0, | |
"SourceActivityId": "4chcj8akbkg08vk6m332wdh8w3", | |
"SourceOutcomeName": "Valid", | |
"DestinationActivityId": "46zhrej673dp00mkv1egzrtw40" | |
}, | |
{ | |
"Id": 0, | |
"SourceActivityId": "4chcj8akbkg08vk6m332wdh8w3", | |
"SourceOutcomeName": "Invalid", | |
"DestinationActivityId": "4yky637j8kz0r1r3fbrne5145z" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"name": "content", | |
"data": [ | |
{ | |
"ContentItemId": "47sm42ap4hwc350af6g2754axv", | |
"ContentItemVersionId": "4rbsj78yf1rd2r4609qaxr6t48", | |
"ContentType": "Page", | |
"DisplayText": "validateRuleTest", | |
"Latest": true, | |
"Published": true, | |
"ModifiedUtc": "2021-04-09T07:07:32.2939793Z", | |
"PublishedUtc": "2021-04-09T07:07:32.4738784Z", | |
"CreatedUtc": "2021-04-09T04:33:57.4041318Z", | |
"Owner": "4sstve77h73get4kmv082gknd9", | |
"Author": "spike", | |
"Page": {}, | |
"AutoroutePart": { | |
"Path": "validateRuleTest", | |
"SetHomepage": false, | |
"Disabled": false, | |
"RouteContainedItems": false, | |
"Absolute": false | |
}, | |
"FlowPart": { | |
"Widgets": [ | |
{ | |
"ContentItemId": "4f5bbnv1ad9fdr7447j68638n5", | |
"ContentItemVersionId": null, | |
"ContentType": "Form", | |
"DisplayText": "testform", | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-09T07:07:32.3028928Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": "", | |
"Author": "spike", | |
"TitlePart": { | |
"Title": "testform" | |
}, | |
"FormElementPart": { | |
"Id": "testform" | |
}, | |
"FormPart": { | |
"EnableAntiForgeryToken": false, | |
"Action": "/workflows/Invoke?token=CfDJ8GcELClHTb9NjtW0rg4wsUTyaBGaLbIdZm9xUfILvm4m7KMD0mJs6XqzQNXA4JkgQDgnP2pQVt-tbSJjs67rPU69pIt6OUFPDrtk7PoCxXnfkVa4TTQaY1G82k7Ne8zziOPrctnN6ek_nDNsAr1OMEyVTJn1qI5Q1dfwcvUKFxC9Q1D7Ua14y4TEBfpvUf9fPu7ahpkKuwmzxm8R4vi4OcSXfAZQcgMq2cJWFj1YbNvF", | |
"Method": "POST", | |
"WorkflowTypeId": null, | |
"EncType": "application/x-www-form-urlencoded" | |
}, | |
"FlowPart": { | |
"Widgets": [ | |
{ | |
"ContentItemId": "40r9qc86vggj8zm1y016k772ms", | |
"ContentItemVersionId": null, | |
"ContentType": "Input", | |
"DisplayText": "NoneValidation", | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-09T07:07:32.309438Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": "", | |
"Author": "spike", | |
"FormInputElementPart": { | |
"Name": "NoneValidation" | |
}, | |
"FormElementPart": { | |
"Id": "NoneValidation" | |
}, | |
"InputPart": { | |
"Type": "text", | |
"DefaultValue": null, | |
"Placeholder": "NoneValidate" | |
}, | |
"ValidationRulePart": { | |
"Type": "none", | |
"Option": null, | |
"ValidationMessage": null | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
}, | |
{ | |
"ContentItemId": "49hxbeqzdcmpbw7r7dsp2xvycn", | |
"ContentItemVersionId": null, | |
"ContentType": "Input", | |
"DisplayText": "containsValidation", | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-09T07:07:32.3155765Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": "", | |
"Author": "spike", | |
"FormInputElementPart": { | |
"Name": "containsValidation" | |
}, | |
"FormElementPart": { | |
"Id": "containsValidation" | |
}, | |
"InputPart": { | |
"Type": "text", | |
"DefaultValue": null, | |
"Placeholder": "containsValidate" | |
}, | |
"ValidationRulePart": { | |
"Type": "contains", | |
"Option": "think", | |
"ValidationMessage": "Your input is incorrect" | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
}, | |
{ | |
"ContentItemId": "47rfhzxsrefngrybt5zta4xgww", | |
"ContentItemVersionId": null, | |
"ContentType": "Input", | |
"DisplayText": "equalsValidation", | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-09T07:07:32.3238045Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": "", | |
"Author": "spike", | |
"FormInputElementPart": { | |
"Name": "equalsValidation" | |
}, | |
"FormElementPart": { | |
"Id": "equalsValidation" | |
}, | |
"InputPart": { | |
"Type": "text", | |
"DefaultValue": null, | |
"Placeholder": "equalsValidate" | |
}, | |
"ValidationRulePart": { | |
"Type": "equals", | |
"Option": "think", | |
"ValidationMessage": null | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
}, | |
{ | |
"ContentItemId": "41e9f1qaq47rc0hqzfbm8qs8my", | |
"ContentItemVersionId": null, | |
"ContentType": "Input", | |
"DisplayText": "isAfterValidation", | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-09T07:07:32.3311836Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": "", | |
"Author": "spike", | |
"FormInputElementPart": { | |
"Name": "isAfterValidation" | |
}, | |
"FormElementPart": { | |
"Id": "isAfterValidation" | |
}, | |
"InputPart": { | |
"Type": "text", | |
"DefaultValue": null, | |
"Placeholder": "isAfterValidate" | |
}, | |
"ValidationRulePart": { | |
"Type": "isAfter", | |
"Option": "2020-01-01", | |
"ValidationMessage": null | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
}, | |
{ | |
"ContentItemId": "4cexbzp3j0bnvtwhe8mfmkvwnj", | |
"ContentItemVersionId": null, | |
"ContentType": "Input", | |
"DisplayText": "isBeforeValidation", | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-09T07:07:32.3413559Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": "", | |
"Author": "spike", | |
"FormInputElementPart": { | |
"Name": "isBeforeValidation" | |
}, | |
"FormElementPart": { | |
"Id": "isBeforeValidation" | |
}, | |
"InputPart": { | |
"Type": "text", | |
"DefaultValue": null, | |
"Placeholder": "isBeforeValidate" | |
}, | |
"ValidationRulePart": { | |
"Type": "isBefore", | |
"Option": "2020-01-01", | |
"ValidationMessage": null | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
}, | |
{ | |
"ContentItemId": "41fvgth43awxrx71w50fj7j94q", | |
"ContentItemVersionId": null, | |
"ContentType": "Input", | |
"DisplayText": "isBooleanValidate", | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-09T07:07:32.3475466Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": "", | |
"Author": "spike", | |
"FormInputElementPart": { | |
"Name": "isBooleanValidate" | |
}, | |
"FormElementPart": { | |
"Id": "isBooleanValidate" | |
}, | |
"InputPart": { | |
"Type": "text", | |
"DefaultValue": null, | |
"Placeholder": "isBooleanValidate" | |
}, | |
"ValidationRulePart": { | |
"Type": "isBoolean", | |
"Option": null, | |
"ValidationMessage": null | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
}, | |
{ | |
"ContentItemId": "477mw8gz8sz1dx0zayq0y4dr4p", | |
"ContentItemVersionId": null, | |
"ContentType": "Input", | |
"DisplayText": "isByteLengthValidation", | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-09T07:07:32.3567643Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": "", | |
"Author": "spike", | |
"FormInputElementPart": { | |
"Name": "isByteLengthValidation" | |
}, | |
"FormElementPart": { | |
"Id": "isByteLengthValidation" | |
}, | |
"InputPart": { | |
"Type": "text", | |
"DefaultValue": null, | |
"Placeholder": "isByteLengthValidation" | |
}, | |
"ValidationRulePart": { | |
"Type": "isByteLength", | |
"Option": "{\"min\": 0, \"max\": 2}", | |
"ValidationMessage": null | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
}, | |
{ | |
"ContentItemId": "4ykketxz02n75wbm53f933wadf", | |
"ContentItemVersionId": null, | |
"ContentType": "Input", | |
"DisplayText": "isDateValidation", | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-09T07:07:32.3639482Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": "", | |
"Author": "spike", | |
"FormInputElementPart": { | |
"Name": "isDateValidation" | |
}, | |
"FormElementPart": { | |
"Id": "isDateValidation" | |
}, | |
"InputPart": { | |
"Type": "text", | |
"DefaultValue": null, | |
"Placeholder": "isDateValidation" | |
}, | |
"ValidationRulePart": { | |
"Type": "isDate", | |
"Option": null, | |
"ValidationMessage": null | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
}, | |
{ | |
"ContentItemId": "4swrkqd126epf23hdc9rj9t850", | |
"ContentItemVersionId": null, | |
"ContentType": "Input", | |
"DisplayText": "isDecimalValidation", | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-09T07:07:32.3730703Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": "", | |
"Author": "spike", | |
"FormInputElementPart": { | |
"Name": "isDecimalValidation" | |
}, | |
"FormElementPart": { | |
"Id": "isDecimalValidation" | |
}, | |
"InputPart": { | |
"Type": "text", | |
"DefaultValue": null, | |
"Placeholder": "isDecimalValidation" | |
}, | |
"ValidationRulePart": { | |
"Type": "isDecimal", | |
"Option": null, | |
"ValidationMessage": null | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
}, | |
{ | |
"ContentItemId": "4bhj6g17zqjgq39c32jt8fc6nn", | |
"ContentItemVersionId": null, | |
"ContentType": "Input", | |
"DisplayText": "isDivisibleByValidation", | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-09T07:07:32.3804787Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": "", | |
"Author": "spike", | |
"FormInputElementPart": { | |
"Name": "isDivisibleByValidation" | |
}, | |
"FormElementPart": { | |
"Id": "isDivisibleByValidation" | |
}, | |
"InputPart": { | |
"Type": "text", | |
"DefaultValue": null, | |
"Placeholder": "isDivisibleByValidation" | |
}, | |
"ValidationRulePart": { | |
"Type": "isDivisibleBy", | |
"Option": "3", | |
"ValidationMessage": null | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
}, | |
{ | |
"ContentItemId": "4mhh8cpc94p2f623y2b5e5g1m4", | |
"ContentItemVersionId": null, | |
"ContentType": "Input", | |
"DisplayText": "isEmptyValidation", | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-09T07:07:32.399662Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": "", | |
"Author": "spike", | |
"FormInputElementPart": { | |
"Name": "isEmptyValidation" | |
}, | |
"FormElementPart": { | |
"Id": "isEmptyValidation" | |
}, | |
"InputPart": { | |
"Type": "text", | |
"DefaultValue": null, | |
"Placeholder": "isEmptyValidation" | |
}, | |
"ValidationRulePart": { | |
"Type": "isEmpty", | |
"Option": null, | |
"ValidationMessage": null | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
}, | |
{ | |
"ContentItemId": "4t7aj1610f01tsnnprhrpd19cm", | |
"ContentItemVersionId": null, | |
"ContentType": "Input", | |
"DisplayText": "isFloatValidation", | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-09T07:07:32.4092619Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": "", | |
"Author": "spike", | |
"FormInputElementPart": { | |
"Name": "isFloatValidation" | |
}, | |
"FormElementPart": { | |
"Id": "isFloatValidation" | |
}, | |
"InputPart": { | |
"Type": "text", | |
"DefaultValue": null, | |
"Placeholder": "isFloatValidation" | |
}, | |
"ValidationRulePart": { | |
"Type": "isFloat", | |
"Option": "{ \"min\": 7.22, \"max\": 9.55 }", | |
"ValidationMessage": null | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
}, | |
{ | |
"ContentItemId": "4efy6txn0ch6wxhht0fwwn2an1", | |
"ContentItemVersionId": null, | |
"ContentType": "Input", | |
"DisplayText": "isIntValidation", | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-09T07:07:32.4201772Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": "", | |
"Author": "spike", | |
"FormInputElementPart": { | |
"Name": "isIntValidation" | |
}, | |
"FormElementPart": { | |
"Id": "isIntValidation" | |
}, | |
"InputPart": { | |
"Type": "text", | |
"DefaultValue": null, | |
"Placeholder": "isIntValidation" | |
}, | |
"ValidationRulePart": { | |
"Type": "isInt", | |
"Option": null, | |
"ValidationMessage": null | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
}, | |
{ | |
"ContentItemId": "4yv6gz6vj1e5234m9c7cg691nc", | |
"ContentItemVersionId": null, | |
"ContentType": "Input", | |
"DisplayText": "isJsonValidation", | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-09T07:07:32.4269559Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": "", | |
"Author": "spike", | |
"FormInputElementPart": { | |
"Name": "isJsonValidation" | |
}, | |
"FormElementPart": { | |
"Id": "isJsonValidation" | |
}, | |
"InputPart": { | |
"Type": "text", | |
"DefaultValue": null, | |
"Placeholder": "isJsonValidation" | |
}, | |
"ValidationRulePart": { | |
"Type": "isJSON", | |
"Option": null, | |
"ValidationMessage": null | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
}, | |
{ | |
"ContentItemId": "4g57pd3kx5s240n2n7r8s8a54j", | |
"ContentItemVersionId": null, | |
"ContentType": "Input", | |
"DisplayText": "isLengthValidation", | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-09T07:07:32.4347189Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": "", | |
"Author": "spike", | |
"FormInputElementPart": { | |
"Name": "isLengthValidation" | |
}, | |
"FormElementPart": { | |
"Id": "isLengthValidation" | |
}, | |
"InputPart": { | |
"Type": "text", | |
"DefaultValue": null, | |
"Placeholder": "isLengthValidation" | |
}, | |
"ValidationRulePart": { | |
"Type": "isLength", | |
"Option": "{ \"min\":1, \"max\": 3}", | |
"ValidationMessage": null | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
}, | |
{ | |
"ContentItemId": "4cjx834a9vefgs40578zp2w6dp", | |
"ContentItemVersionId": null, | |
"ContentType": "Input", | |
"DisplayText": "isNumericValidation", | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-09T07:07:32.4416254Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": "", | |
"Author": "spike", | |
"FormInputElementPart": { | |
"Name": "isNumericValidation" | |
}, | |
"FormElementPart": { | |
"Id": "isNumericValidation" | |
}, | |
"InputPart": { | |
"Type": "text", | |
"DefaultValue": null, | |
"Placeholder": "isNumericValidation" | |
}, | |
"ValidationRulePart": { | |
"Type": "isNumeric", | |
"Option": null, | |
"ValidationMessage": null | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
}, | |
{ | |
"ContentItemId": "4p20j2kxfda0b17f3h01ap24na", | |
"ContentItemVersionId": null, | |
"ContentType": "Input", | |
"DisplayText": "matchValidation", | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-09T07:07:32.4493079Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": "", | |
"Author": "spike", | |
"FormInputElementPart": { | |
"Name": "matchValidation" | |
}, | |
"FormElementPart": { | |
"Id": "matchValidation" | |
}, | |
"InputPart": { | |
"Type": "text", | |
"DefaultValue": null, | |
"Placeholder": "matchValidation" | |
}, | |
"ValidationRulePart": { | |
"Type": "matches", | |
"Option": "^\\\\d{2}$", | |
"ValidationMessage": null | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
}, | |
{ | |
"ContentItemId": "4xxsq45nmg09e24d86q41c7anb", | |
"ContentItemVersionId": null, | |
"ContentType": "Button", | |
"DisplayText": "submitbtn", | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-09T07:07:32.4570132Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": "", | |
"Author": "spike", | |
"FormInputElementPart": { | |
"Name": "submitbtn" | |
}, | |
"FormElementPart": { | |
"Id": "submitbtn" | |
}, | |
"ButtonPart": { | |
"Text": "submit", | |
"Type": "submit" | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
} | |
] | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
} | |
] | |
}, | |
"TitlePart": { | |
"Title": "validateRuleTest" | |
} | |
}, | |
{ | |
"ContentItemId": "4dqa03ge7s5e8z6ph0fthg73cz", | |
"ContentItemVersionId": "4ggf0203r96z22wm5rxycqz7nr", | |
"ContentType": "Page", | |
"DisplayText": "Success", | |
"Latest": true, | |
"Published": true, | |
"ModifiedUtc": "2021-04-12T10:50:54.7365334Z", | |
"PublishedUtc": "2021-04-12T10:50:54.8377528Z", | |
"CreatedUtc": "2021-04-12T10:50:54.7365334Z", | |
"Owner": "4sstve77h73get4kmv082gknd9", | |
"Author": "spike", | |
"Page": {}, | |
"AutoroutePart": { | |
"Path": "Success", | |
"SetHomepage": false, | |
"Disabled": false, | |
"RouteContainedItems": false, | |
"Absolute": false | |
}, | |
"FlowPart": { | |
"Widgets": [ | |
{ | |
"ContentItemId": "4hqtkay5gdy2e3zgzv2rq1ekx2", | |
"ContentItemVersionId": null, | |
"ContentType": "Paragraph", | |
"DisplayText": null, | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-12T10:50:54.6611479Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": null, | |
"Author": "spike", | |
"Paragraph": { | |
"Content": { | |
"Html": "<p>Success<br></p>" | |
} | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
} | |
] | |
}, | |
"TitlePart": { | |
"Title": "Success" | |
} | |
}, | |
{ | |
"ContentItemId": "4bwvy620zkbd5rpndx5zj0e1nc", | |
"ContentItemVersionId": "4vw86neh7zwrksfejy1eq6xmwx", | |
"ContentType": "Page", | |
"DisplayText": "Error", | |
"Latest": true, | |
"Published": true, | |
"ModifiedUtc": "2021-04-12T10:51:10.5819186Z", | |
"PublishedUtc": "2021-04-12T10:51:10.5895328Z", | |
"CreatedUtc": "2021-04-12T10:51:10.5819186Z", | |
"Owner": "4sstve77h73get4kmv082gknd9", | |
"Author": "spike", | |
"Page": {}, | |
"AutoroutePart": { | |
"Path": "Error", | |
"SetHomepage": false, | |
"Disabled": false, | |
"RouteContainedItems": false, | |
"Absolute": false | |
}, | |
"FlowPart": { | |
"Widgets": [ | |
{ | |
"ContentItemId": "4g38qbw7pg5j60hp0nctf3fn4n", | |
"ContentItemVersionId": null, | |
"ContentType": "Paragraph", | |
"DisplayText": null, | |
"Latest": false, | |
"Published": false, | |
"ModifiedUtc": "2021-04-12T10:51:10.5714272Z", | |
"PublishedUtc": null, | |
"CreatedUtc": null, | |
"Owner": null, | |
"Author": "spike", | |
"Paragraph": { | |
"Content": { | |
"Html": "<p>Error<br></p>" | |
} | |
}, | |
"FlowMetadata": { | |
"Alignment": 3, | |
"Size": 100 | |
} | |
} | |
] | |
}, | |
"TitlePart": { | |
"Title": "Error" | |
} | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment