| { |
| "validatedResourceType": "validation/test/resourceType1", |
| "applicablePaths": [ |
| "/validation/testing/fakeFolder1" |
| ], |
| "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.impl.validators.RegexValidator": { |
| "jcr:primaryType" : "nt:unstructured", |
| "validatorArguments" : ["regex=^\\\p{Upper}+$"] |
| } |
| } |
| }, |
| "field2" : { |
| "jcr:primaryType" : "nt:unstructured" |
| } |
| } |
| } |