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
14 changes: 6 additions & 8 deletions meta/schemas-root.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Root schema meta-schema",
"description": "Meta-schema for validating root-level schemas",
"type": "object",
"anyOf": [
{
Expand All @@ -21,14 +23,7 @@
}
}
],
"required": [
"x-license",
"title",
"description",
"examples",
"x-links",
"$schema"
],
"required": [ "x-license", "examples", "x-links", "$schema" ],
"properties": {
"$schema": {
"const": "https://json-schema.org/draft/2020-12/schema"
Expand All @@ -51,6 +46,9 @@
"items": {
"$ref": "../schemas/2020-12/ietf/http/https-url.json"
}
},
"examples": {
"type": "array"
}
}
}
2 changes: 2 additions & 0 deletions meta/schemas.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$dynamicAnchor": "meta",
"title": "Schema meta-schema",
"description": "Meta-schema for validating all schemas",
"$ref": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"$id": false,
Expand Down
2 changes: 2 additions & 0 deletions meta/test.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Test meta-schema",
"description": "Meta-schema for validating test files",
"type": "object",
"required": [ "x-license", "tests" ],
"properties": {
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
"access": "public"
},
"devDependencies": {
"@sourcemeta/jsonschema": "^12.10.1"
"@sourcemeta/jsonschema": "^13.1.0"
}
}
4 changes: 0 additions & 4 deletions schemas/2020-12/xbrl/utr/area-item-type-normative.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@
],
"anyOf": [
{
"title": "Acre",
"description": "Acre",
"x-status": "REC",
"x-symbol": "a",
"const": "acre"
},
{
"title": "Square Foot",
"description": "Square Foot",
"x-status": "REC",
"x-symbol": "ft²",
Expand All @@ -31,14 +29,12 @@
"const": "sqmi"
},
{
"title": "Square Yard",
"description": "Square Yard",
"x-status": "REC",
"x-symbol": "yd²",
"const": "sqyd"
},
{
"title": "Hectare",
"description": "Hectare",
"x-status": "REC",
"x-symbol": "ha",
Expand Down
4 changes: 0 additions & 4 deletions schemas/2020-12/xbrl/utr/area-item-type.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@
],
"anyOf": [
{
"title": "Acre",
"description": "Acre",
"x-status": "REC",
"x-symbol": "a",
"const": "acre"
},
{
"title": "Square Foot",
"description": "Square Foot",
"x-status": "REC",
"x-symbol": "ft²",
Expand All @@ -31,14 +29,12 @@
"const": "sqmi"
},
{
"title": "Square Yard",
"description": "Square Yard",
"x-status": "REC",
"x-symbol": "yd²",
"const": "sqyd"
},
{
"title": "Hectare",
"description": "Hectare",
"x-status": "REC",
"x-symbol": "ha",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
],
"anyOf": [
{
"title": "Ampere",
"description": "Ampere",
"x-status": "REC",
"x-symbol": "A",
Expand Down
1 change: 0 additions & 1 deletion schemas/2020-12/xbrl/utr/electric-current-item-type.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
],
"anyOf": [
{
"title": "Ampere",
"description": "Ampere",
"x-status": "REC",
"x-symbol": "A",
Expand Down
11 changes: 0 additions & 11 deletions schemas/2020-12/xbrl/utr/energy-item-type-normative.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@
],
"anyOf": [
{
"title": "Barrel of Oil Equivalent",
"description": "Barrel of Oil Equivalent",
"x-status": "REC",
"x-symbol": "Boe",
"const": "Boe"
},
{
"title": "British Thermal Unit",
"description": "British Thermal Unit",
"x-status": "REC",
"x-symbol": "BTU",
Expand All @@ -31,42 +29,36 @@
"const": "ft_lb"
},
{
"title": "Thousand Barrels of Oil Equivalent",
"description": "Thousand Barrels of Oil Equivalent",
"x-status": "REC",
"x-symbol": "MBoe",
"const": "MBoe"
},
{
"title": "Thousand Cubic Foot Equivalent",
"description": "Thousand Cubic Foot Equivalent",
"x-status": "REC",
"x-symbol": "Mcfe",
"const": "Mcfe"
},
{
"title": "Millions of Barrels of Oil Equivalent",
"description": "Millions of Barrels of Oil Equivalent",
"x-status": "REC",
"x-symbol": "MMBoe",
"const": "MMBoe"
},
{
"title": "Millions of BTU",
"description": "Millions of BTU",
"x-status": "REC",
"x-symbol": "MMBTU",
"const": "MMBTU"
},
{
"title": "Calorie",
"description": "Calorie",
"x-status": "REC",
"x-symbol": "Cal",
"const": "Cal"
},
{
"title": "Joule",
"description": "Joule",
"x-status": "REC",
"x-symbol": "J",
Expand Down Expand Up @@ -94,21 +86,18 @@
"const": "mJ"
},
{
"title": "Megawatt-Hour",
"description": "Megawatt-Hour",
"x-status": "REC",
"x-symbol": "MWh",
"const": "MWh"
},
{
"title": "Gigawatt-Hour",
"description": "Gigawatt-Hour",
"x-status": "REC",
"x-symbol": "GWh",
"const": "GWh"
},
{
"title": "Terawatt-Hour",
"description": "Terawatt-Hour",
"x-status": "REC",
"x-symbol": "TWh",
Expand Down
11 changes: 0 additions & 11 deletions schemas/2020-12/xbrl/utr/energy-item-type.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@
],
"anyOf": [
{
"title": "Barrel of Oil Equivalent",
"description": "Barrel of Oil Equivalent",
"x-status": "REC",
"x-symbol": "Boe",
"const": "Boe"
},
{
"title": "British Thermal Unit",
"description": "British Thermal Unit",
"x-status": "REC",
"x-symbol": "BTU",
Expand All @@ -31,42 +29,36 @@
"const": "ft_lb"
},
{
"title": "Thousand Barrels of Oil Equivalent",
"description": "Thousand Barrels of Oil Equivalent",
"x-status": "REC",
"x-symbol": "MBoe",
"const": "MBoe"
},
{
"title": "Thousand Cubic Foot Equivalent",
"description": "Thousand Cubic Foot Equivalent",
"x-status": "REC",
"x-symbol": "Mcfe",
"const": "Mcfe"
},
{
"title": "Millions of Barrels of Oil Equivalent",
"description": "Millions of Barrels of Oil Equivalent",
"x-status": "REC",
"x-symbol": "MMBoe",
"const": "MMBoe"
},
{
"title": "Millions of BTU",
"description": "Millions of BTU",
"x-status": "REC",
"x-symbol": "MMBTU",
"const": "MMBTU"
},
{
"title": "Calorie",
"description": "Calorie",
"x-status": "REC",
"x-symbol": "Cal",
"const": "Cal"
},
{
"title": "Joule",
"description": "Joule",
"x-status": "REC",
"x-symbol": "J",
Expand Down Expand Up @@ -94,21 +86,18 @@
"const": "mJ"
},
{
"title": "Megawatt-Hour",
"description": "Megawatt-Hour",
"x-status": "REC",
"x-symbol": "MWh",
"const": "MWh"
},
{
"title": "Gigawatt-Hour",
"description": "Gigawatt-Hour",
"x-status": "REC",
"x-symbol": "GWh",
"const": "GWh"
},
{
"title": "Terawatt-Hour",
"description": "Terawatt-Hour",
"x-status": "REC",
"x-symbol": "TWh",
Expand Down
3 changes: 0 additions & 3 deletions schemas/2020-12/xbrl/utr/length-item-type-normative.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"const": "ft"
},
{
"title": "Inch",
"description": "Inch",
"x-status": "REC",
"x-symbol": "in",
Expand Down Expand Up @@ -52,7 +51,6 @@
"const": "cm"
},
{
"title": "Decimetre",
"description": "Decimetre",
"x-status": "REC",
"x-symbol": "dm",
Expand All @@ -66,7 +64,6 @@
"const": "km"
},
{
"title": "Metre",
"description": "Metre",
"x-status": "REC",
"x-symbol": "m",
Expand Down
3 changes: 0 additions & 3 deletions schemas/2020-12/xbrl/utr/length-item-type.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"const": "ft"
},
{
"title": "Inch",
"description": "Inch",
"x-status": "REC",
"x-symbol": "in",
Expand Down Expand Up @@ -52,7 +51,6 @@
"const": "cm"
},
{
"title": "Decimetre",
"description": "Decimetre",
"x-status": "REC",
"x-symbol": "dm",
Expand All @@ -66,7 +64,6 @@
"const": "km"
},
{
"title": "Metre",
"description": "Metre",
"x-status": "REC",
"x-symbol": "m",
Expand Down
3 changes: 0 additions & 3 deletions schemas/2020-12/xbrl/utr/mass-item-type-normative.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"const": "oz"
},
{
"title": "Troy Ounce",
"description": "Troy Ounce",
"x-status": "REC",
"x-symbol": "ozt",
Expand All @@ -45,14 +44,12 @@
"const": "t"
},
{
"title": "Gram",
"description": "Gram",
"x-status": "REC",
"x-symbol": "g",
"const": "g"
},
{
"title": "Kilogram",
"description": "Kilogram",
"x-status": "REC",
"x-symbol": "kg",
Expand Down
Loading