Skip to content

Commit

Permalink
Fix min_items in JSON schema
Browse files Browse the repository at this point in the history
  • Loading branch information
aganders3 committed Aug 23, 2023
1 parent 7a285ee commit 795336a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/npe2/manifest/contributions/_json_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
]

JsonType = Literal["array", "boolean", "integer", "null", "number", "object", "string"]
JsonTypeArray = conlist(JsonType, min_items=True, unique_items=True)
StringArrayMin1 = conlist(str, unique_items=True, min_items=1)
JsonTypeArray = conlist(JsonType, min_items=1, unique_items=True)
StringArrayMin1 = conlist(str, min_items=1, unique_items=True)
StringArray = conlist(str, unique_items=True)

PY_NAME_TO_JSON_NAME = {
Expand Down

0 comments on commit 795336a

Please sign in to comment.