Skip to content

Commit

Permalink
Unique items (#54)
Browse files Browse the repository at this point in the history
* unique items in schema

* uniqueItems
  • Loading branch information
mesemus authored Sep 2, 2022
1 parent 8ff11e3 commit ca7d23e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions oarepo_model_builder/validation/schemas/modelschema.json5
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@
"type": "string"
}
}
},
// for array
"uniqueItems": {
"type": "boolean"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = oarepo-model-builder
version = 1.0.0.dev10
version = 1.0.0.dev11
description = An utility library that generates OARepo required data model files from a JSON specification file
authors = Miroslav Bauer <[email protected]>, Miroslav Simek <[email protected]>
readme = README.md
Expand Down

0 comments on commit ca7d23e

Please sign in to comment.