Skip to content

Add properties tests#926

Open
codefromlani wants to merge 3 commits into
json-schema-org:unifyfrom
codefromlani:validation-properties
Open

Add properties tests#926
codefromlani wants to merge 3 commits into
json-schema-org:unifyfrom
codefromlani:validation-properties

Conversation

@codefromlani

Copy link
Copy Markdown

No description provided.

@codefromlani codefromlani requested a review from a team as a code owner June 9, 2026 18:10

@jdesrosiers jdesrosiers left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make the general updates we talked about for the default tests.

  • Use the object schema
  • Include $schema
  • Remove the files the original tests

@jdesrosiers jdesrosiers left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests/v1/properties.json needs to be merged and removed as well.

Comment on lines +47 to +48
"description":
"properties, patternProperties, additionalProperties interaction",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"description":
"properties, patternProperties, additionalProperties interaction",
"description": "properties, patternProperties, additionalProperties interaction",

},
{
"description": "properties with escaped characters",
"compatibility": "4",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is compatible with all dialects

Suggested change
"compatibility": "4",

},
{
"description": "properties whose names are Javascript object property names",
"compatibility": "4",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is compatible with all versions.

Suggested change
"compatibility": "4",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants