Skip to content

Commit

Permalink
updated schema draft 6 iaw recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gregsdennis committed Oct 7, 2020
1 parent be74bfd commit 1d3e94a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Manatee.Json/Schema/MetaSchemas.Draft06.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public static partial class MetaSchemas
.Property("patternProperties", new JsonSchema()
.Type(JsonSchemaType.Object)
.AdditionalProperties(new JsonSchema().RefRoot())
.PropertyNames(new JsonSchema().Format(Formats.Regex))
.Default(new JsonObject()))
.Property("dependencies", new JsonSchema()
.Type(JsonSchemaType.Object)
Expand Down
1 change: 1 addition & 0 deletions Meta-Schemas/schema06.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
"patternProperties": {
"type": "object",
"additionalProperties": { "$ref": "#" },
"propertyNames": { "format": "regex" },
"default": {}
},
"dependencies": {
Expand Down

0 comments on commit 1d3e94a

Please sign in to comment.