go-sdk/internal/jsonschema/testdata/draft2020-12
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Amsterdam 061f842459 jsonschema: validate numbers and strings
Add validation for keywords related to numbers and strings.

It may be surprising that keywords like "minimum" or "minLength"
don't imply that the instance is a number or string.
But that is how JSON Schema is designed.

Change-Id: I8805a5fe91ee345931e1c989f174ea2d0be6665a
Reviewed-on: https://go-review.googlesource.com/c/tools/+/667975
Reviewed-by: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Jonathan Amsterdam <jba@google.com>
2025-04-30 09:35:26 -07:00
..
const.json jsonschema: validate some keywords 2025-04-25 08:34:02 -07:00
enum.json jsonschema: validate some keywords 2025-04-25 08:34:02 -07:00
exclusiveMaximum.json jsonschema: validate numbers and strings 2025-04-30 09:35:26 -07:00
exclusiveMinimum.json jsonschema: validate numbers and strings 2025-04-30 09:35:26 -07:00
maximum.json jsonschema: validate numbers and strings 2025-04-30 09:35:26 -07:00
maxLength.json jsonschema: validate numbers and strings 2025-04-30 09:35:26 -07:00
minimum.json jsonschema: validate numbers and strings 2025-04-30 09:35:26 -07:00
minLength.json jsonschema: validate numbers and strings 2025-04-30 09:35:26 -07:00
multipleOf.json jsonschema: validate numbers and strings 2025-04-30 09:35:26 -07:00
pattern.json jsonschema: validate numbers and strings 2025-04-30 09:35:26 -07:00
README.md jsonschema: validate some keywords 2025-04-25 08:34:02 -07:00
type.json jsonschema: validate some keywords 2025-04-25 08:34:02 -07:00

JSON Schema test suite for 2020-12

These files were copied from github.com/json-schema-org/JSON-Schema-Test-Suite@83e866b46c/tests/draft2020-12.