Skip to content

Commit

Permalink
update spec and ocrd_tool.schema.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Aug 20, 2024
1 parent 2e7bdc2 commit 346f166
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion repo/spec
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ gdown
httpx>=0.22.0
importlib_metadata ; python_version < '3.8'
importlib_resources ; python_version < '3.10'
jsonschema > 4
jsonschema>=4
lxml
memory-profiler >= 0.58.0
# XXX explicitly do not restrict the numpy version because different
Expand Down
13 changes: 11 additions & 2 deletions src/ocrd_validators/ocrd_tool.schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ properties:
maximum:
type: number
description: Maximum value for number parameters, including the maximum
minProperties:
type: number
description: Minimum number of properties of an object
maxProperties:
type: number
description: Maximum number of properties of an object
exclusiveMinimum:
type: number
description: Minimum value for number parameters, excluding the minimum
Expand All @@ -121,8 +127,11 @@ properties:
type: object
description: Describe the properties of an object value
additionalProperties:
type: boolean
description: Whether an object value may contain properties not explicitly defined
oneOf:
- type: boolean
description: Whether an object value may contain properties not explicitly defined
- type: object
description: Schema any additional properties need to adhere to
required:
type: boolean
description: Whether this parameter is required
Expand Down

0 comments on commit 346f166

Please sign in to comment.