-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating schemas and fixing lint issues
- Loading branch information
Showing
13 changed files
with
75 additions
and
29 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://gobl.org/draft-0/tax/ext-map", | ||
"$ref": "#/$defs/ExtMap", | ||
"$defs": { | ||
"ExtMap": { | ||
"patternProperties": { | ||
"^(?:[a-z]|[a-z0-9][a-z0-9-+]*[a-z0-9])$": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"maxLength": 64, | ||
"minLength": 1, | ||
"pattern": "^(?:[a-z]|[a-z0-9][a-z0-9-+]*[a-z0-9])$", | ||
"title": "Key", | ||
"description": "Text identifier to be used instead of a code for a more verbose but readable identifier." | ||
}, | ||
{ | ||
"type": "string", | ||
"maxLength": 24, | ||
"minLength": 1, | ||
"pattern": "^[A-Z0-9]+(\\.?[A-Z0-9]+)*$", | ||
"title": "Code", | ||
"description": "Alphanumerical text identifier with upper-case letters, no whitespace, nor symbols." | ||
} | ||
], | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object", | ||
"description": "ExtMap is a map of extension keys to either a code or a key." | ||
} | ||
}, | ||
"$comment": "Generated with GOBL v0.64.0" | ||
} |
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
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
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