-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add support for
items
as array to get_schema_fields
- Loading branch information
1 parent
f3d6a21
commit 2115181
Showing
9 changed files
with
185 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "ocdskit" | ||
version = "1.3.1" | ||
version = "1.3.2" | ||
authors = [{name = "Open Contracting Partnership", email = "[email protected]"}] | ||
description = "A suite of command-line tools for working with OCDS data" | ||
readme = "README.rst" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
{ | ||
"properties": { | ||
"json_schema_example_fields": { | ||
"type": "object", | ||
"properties": { | ||
"minimum": { | ||
"minimum": 2 | ||
}, | ||
"minimum2": { | ||
"exclusiveMinimum": true, | ||
"minimum": 2 | ||
}, | ||
"maximum": { | ||
"maximum": 2 | ||
}, | ||
"maximum2": { | ||
"exclusiveMaximum": true, | ||
"maximum": 2 | ||
}, | ||
"minItems": { | ||
"type": "array", | ||
"minItems": 2 | ||
}, | ||
"maxItems": { | ||
"type": "array", | ||
"maxItems": 2 | ||
}, | ||
"minLength": { | ||
"type": "string", | ||
"minLength": 2 | ||
}, | ||
"maxLength": { | ||
"type": "string", | ||
"maxLength": 2 | ||
}, | ||
"maxProperties": { | ||
"type": "object", | ||
"maxProperties": 2 | ||
}, | ||
"multipleOf": { | ||
"type": "number", | ||
"multipleOf": 3 | ||
}, | ||
"not": { | ||
"not": { | ||
"type": "string" | ||
} | ||
}, | ||
"anyOf": { | ||
"anyOf": [ | ||
{"type": "array"}, | ||
{"type": "object"} | ||
] | ||
}, | ||
"allOf": { | ||
"anyOf": [ | ||
{"type": "array"}, | ||
{"type": "object"} | ||
] | ||
}, | ||
"oneOf": { | ||
"oneOf": [ | ||
{"type": "array"}, | ||
{"type": "object"} | ||
] | ||
}, | ||
"oneOf2": { | ||
"oneOf": [ | ||
{"type": "number"}, | ||
{"type": "integer"} | ||
] | ||
}, | ||
"additionalItems": { | ||
"type": "array", | ||
"items": [{ | ||
"type": "string" | ||
}], | ||
"additionalItems": false | ||
}, | ||
"additionalProperties": { | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"additionalProperties2": { | ||
"type": "object", | ||
"patternProperties": { | ||
"okay": { | ||
"type": "string" | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"dependencies": { | ||
"type": "object", | ||
"dependencies": { | ||
"b": ["a"] | ||
} | ||
}, | ||
"format": { | ||
"type": "string", | ||
"format": "email" | ||
} | ||
} | ||
} | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters