Skip to content

docs(oasf): taxonomy and schema validator updates#483

Open
akijakya wants to merge 2 commits into
mainfrom
update/oasf-categories-schema-validator-updates
Open

docs(oasf): taxonomy and schema validator updates#483
akijakya wants to merge 2 commits into
mainfrom
update/oasf-categories-schema-validator-updates

Conversation

@akijakya
Copy link
Copy Markdown
Member

  1. updated contribution guide with latest changes on how the taxonomy gets created from the json files.
  2. updated validation comparison since the json draft-07 schema generator got updated (feat(server): json schema generator maxLength and pattern constraints oasf#464)

akijakya added 2 commits May 26, 2026 16:12
Signed-off-by: András Jáky <ajaky@cisco.com>
agntcy/oasf#464
Signed-off-by: András Jáky <ajaky@cisco.com>
@akijakya akijakya requested a review from keraron May 26, 2026 14:24
@akijakya akijakya self-assigned this May 26, 2026
@akijakya akijakya requested a review from a team as a code owner May 26, 2026 14:24
Copilot AI review requested due to automatic review settings May 26, 2026 14:24
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates OASF documentation to reflect recent taxonomy/category creation changes and align the validator behavior comparison with updated JSON Schema generation output.

Changes:

  • Updated validation comparison to reflect that regex pattern constraints now fail JSON Schema validation (while API treats them as warnings).
  • Updated contributing guide to describe category creation via "category": true on class JSON files and adjusted extension directory guidance accordingly.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
docs/oasf/validation-comparison.md Updates the comparison table and summary sections to reflect stricter JSON Schema behavior for regex patterns and inherited max length.
docs/oasf/contributing.md Updates contributor guidance on taxonomy/category creation and extension layout, including marking categories via a class JSON property.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/oasf/contributing.md
An attribute is the more generic name for both fields and entities in OASF.
A field is a scalar attribute while an entity is a complex attribute.
- **Category:** A Category organizes classes that represent a particular domain.
- **Category:** A Category organizes classes that represent a particular domain. Categories are marked by adding `category: true` to a class JSON file and can be created at any level of the taxonomy tree.
Comment thread docs/oasf/contributing.md
Comment on lines +398 to +403
| `skills` | Create it to define new skill classes. Categories are created by |
| | adding `"category": true` to a skill class JSON file. |
| `domains` | Create it to define new domain classes. Categories are created by |
| | adding `"category": true` to a domain class JSON file. |
| `modules` | Create it to define new module classes. Categories are created by |
| | adding `"category": true` to a module class JSON file. |
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