blob: 4a0fc61a003c2d3b8d174dcc8d3aaca641787c80 [file] [log] [blame]
{
"validatedResourceType": "validation/test/resourceType1",
"applicablePaths": [
"/validation/testing/fakeFolder1",
"/content/validated"
],
"sling:resourceType": "sling/validation/model",
"properties": {
"jcr:primaryType" : "nt:unstructured",
"field1": {
"jcr:primaryType" : "nt:unstructured",
"propertyType": "string",
"validators": {
"jcr:primaryType" : "nt:unstructured",
"org.apache.sling.validation.core.RegexValidator": {
"jcr:primaryType" : "nt:unstructured",
"validatorArguments" : ["regex=^\\\p{Upper}+$"],
"severity" : "10"
}
}
},
"field2" : {
"jcr:primaryType" : "nt:unstructured"
}
}
}