Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ expressed as JSON Schema definitions.
|--------------|----------|-------|
| IEEE | [IEEE Std 754-2019](https://ieeexplore.ieee.org/document/8766229) | IEEE Standard for Floating-Point Arithmetic |
| IEEE | [IEEE Std 1003.1-2017](https://pubs.opengroup.org/onlinepubs/9699919799/) | IEEE Standard for Information Technology—Portable Operating System Interface (POSIX) Base Specifications, Issue 7 |
| IETF | [RFC 3066](https://www.rfc-editor.org/rfc/rfc3066) | Tags for the Identification of Languages |
| IETF | [RFC 3986](https://www.rfc-editor.org/rfc/rfc3986) | Uniform Resource Identifier (URI): Generic Syntax |
| IETF | [RFC 4648](https://www.rfc-editor.org/rfc/rfc4648) | The Base16, Base32, and Base64 Data Encodings |
| IETF | [RFC 4918](https://www.rfc-editor.org/rfc/rfc4918) | HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV) |
Expand Down
26 changes: 26 additions & 0 deletions schemas/ietf/language/3066/tag-syntax.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "RFC 3066 Language Tag",
"description": "A language tag conforming to language tags at the syntax level only",
"examples": [
"en",
"en-US",
"de-DE",
"fr-FR",
"ja",
"zh-CN",
"es-MX",
"i-navajo",
"x-private",
"en-US-x-twain"
],
"deprecated": true,
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [ "https://www.rfc-editor.org/rfc/rfc3066.html" ],
"type": "string",
"not": {
"$comment": "Cannot contain whitespace or control characters",
"pattern": "[\\s]"
},
"pattern": "^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "RFC 5646 BCP 47 Language Tag",
"description": "A language tag conforming to language tag full syntax at the syntax level only",
"title": "RFC 5646 Language Tag (BCP 47)",
"description": "A language tag conforming to language tags at the syntax level only",
"examples": [
"en",
"en-US",
Expand Down
Loading