Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema for Custom Signatures, Improved File Formats Schema, and Dynamic Schema Tests #20

Merged
merged 6 commits into from
Nov 3, 2023

Conversation

MatteoCampinoti94
Copy link
Member

@MatteoCampinoti94 MatteoCampinoti94 commented Nov 3, 2023

Custom Signatures

  • Added custom_signatures.schema.json to control structure of custom_signatures.json
  • Ensures that eof and bof can either be set alone (XOR), or requires operator if they are both set

File Formats

  • Require that the property of an action be set if the action property is set to it (i.e., if action: convert, then the convert property is required)
  • Require PUID keys to contain at least one character and can only contain letters, numbers, dashes, underscores, and slashes ([a-zA-Z0-9_/-])

Tests

  • Schemata tests are now performed dynamically based on the name of schema files

@MatteoCampinoti94 MatteoCampinoti94 self-assigned this Nov 3, 2023
@MatteoCampinoti94 MatteoCampinoti94 changed the title Schema for Custom Signatures and Improved File Formats Schema Schema for Custom Signatures, Improved File Formats Schema, and Dynamic Schema Tests Nov 3, 2023
@MatteoCampinoti94 MatteoCampinoti94 merged commit 94425bf into main Nov 3, 2023
1 check passed
@MatteoCampinoti94 MatteoCampinoti94 deleted the schemata branch November 3, 2023 09:02
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