Skip to content
Snippets Groups Projects
Commit e0ecefff authored by Alvaro Cabrera's avatar Alvaro Cabrera
Browse files

Basic impl for patternProperties

parent 42a127ef
No related branches found
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -14,6 +14,17 @@
"required": ["one", "three"]
},
"valid": true
},
{
"description": "should handle patternProperties",
"schema": {
"type": "object",
"patternProperties": {
"a\\w{4,12}": { "type": "string" },
"xy-[a-f\\d]{4}-n[pqrz]": { "type": "string" }
}
},
"valid": true
}
]
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment