From c2943cd05bd434ac463aaec72e8b3bd7821c9159 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Tue, 18 Nov 2025 10:39:45 -0400 Subject: [PATCH] Lint non-trailing periods in schema titles and descriptions Signed-off-by: Juan Cruz Viotti --- Makefile | 1 + generate/xbrl/utr/main.py | 5 ++ meta/schemas-root.json | 53 ++++++++++++++ meta/schemas.json | 73 ++++++++----------- .../utr/duration-item-type-normative.json | 16 ++-- schemas/xbrl/utr/duration-item-type.json | 16 ++-- .../electric-charge-item-type-normative.json | 4 +- .../xbrl/utr/electric-charge-item-type.json | 4 +- .../xbrl/utr/energy-item-type-normative.json | 6 +- schemas/xbrl/utr/energy-item-type.json | 6 +- .../xbrl/utr/force-item-type-normative.json | 2 +- schemas/xbrl/utr/force-item-type.json | 2 +- .../ghg-emissions-item-type-normative.json | 8 +- schemas/xbrl/utr/ghg-emissions-item-type.json | 10 +-- .../xbrl/utr/mass-item-type-normative.json | 2 +- schemas/xbrl/utr/mass-item-type.json | 2 +- .../utr/plane-angle-item-type-normative.json | 4 +- schemas/xbrl/utr/plane-angle-item-type.json | 4 +- .../xbrl/utr/power-item-type-normative.json | 8 +- schemas/xbrl/utr/power-item-type.json | 8 +- .../utr/pressure-item-type-normative.json | 8 +- schemas/xbrl/utr/pressure-item-type.json | 8 +- .../utr/temperature-item-type-normative.json | 6 +- schemas/xbrl/utr/temperature-item-type.json | 6 +- schemas/xbrl/utr/volume-item-type.json | 10 +-- 25 files changed, 158 insertions(+), 114 deletions(-) create mode 100644 meta/schemas-root.json diff --git a/Makefile b/Makefile index 306a27c1..852cf2f8 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,7 @@ all: common test common: $(JSONSCHEMA) metaschema schemas meta --verbose $(JSONSCHEMA) lint schemas meta --verbose + $(JSONSCHEMA) validate meta/schemas-root.json --verbose $(SCHEMAS) $(JSONSCHEMA) validate meta/schemas.json --verbose $(SCHEMAS) $(JSONSCHEMA) validate meta/test.json --verbose $(TESTS) $(SHELLCHECK) scripts/*.sh diff --git a/generate/xbrl/utr/main.py b/generate/xbrl/utr/main.py index 39b1864b..7102d0ea 100644 --- a/generate/xbrl/utr/main.py +++ b/generate/xbrl/utr/main.py @@ -49,6 +49,11 @@ def create_unit_schema_entry(unit): symbol = unit.get(f"{UTR_NS}symbol", "") status = unit.get(f"{UTR_NS}status", "") + if definition.endswith('.'): + definition = definition[:-1] + + definition = re.sub(r'\s{2,}', ' ', definition) + entry = { "const": unit_id, "title": unit_name, diff --git a/meta/schemas-root.json b/meta/schemas-root.json new file mode 100644 index 00000000..f43ba35f --- /dev/null +++ b/meta/schemas-root.json @@ -0,0 +1,53 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "anyOf": [ + { + "properties": { + "examples": { + "type": "array", + "minItems": 1 + }, + "const": true + } + }, + { + "properties": { + "examples": { + "type": "array", + "minItems": 3 + }, + "const": false + } + } + ], + "required": [ + "x-license", + "title", + "description", + "examples", + "x-links", + "$schema" + ], + "properties": { + "$schema": { + "const": "https://json-schema.org/draft/2020-12/schema" + }, + "$comment": { + "not": { + "$ref": "../schemas/ietf/uri/uri-reference.json" + } + }, + "x-license": { + "const": "https://github.com/sourcemeta/std/blob/main/LICENSE" + }, + "x-links": { + "type": "array", + "minItems": 1, + "uniqueItems": true, + "items": { + "$ref": "../schemas/ietf/http/https-url.json" + } + } + } +} diff --git a/meta/schemas.json b/meta/schemas.json index 7e2caf31..b4b6605c 100644 --- a/meta/schemas.json +++ b/meta/schemas.json @@ -1,54 +1,39 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "anyOf": [ - { - "properties": { - "examples": { - "type": "array", - "minItems": 1 - }, - "const": true - } - }, - { - "properties": { - "examples": { - "type": "array", - "minItems": 3 - }, - "const": false - } - } - ], - "required": [ - "x-license", - "title", - "description", - "examples", - "x-links", - "$schema" - ], + "$dynamicAnchor": "meta", + "$ref": "https://json-schema.org/draft/2020-12/schema", "properties": { - "$schema": { - "const": "https://json-schema.org/draft/2020-12/schema" - }, "$id": false, "$comment": { - "not": { - "$ref": "../schemas/ietf/uri/uri-reference.json" - } + "$ref": "#/$defs/clean-prose" }, - "x-license": { - "const": "https://github.com/sourcemeta/std/blob/main/LICENSE" + "title": { + "$ref": "#/$defs/clean-prose" }, - "x-links": { - "type": "array", - "minItems": 1, - "uniqueItems": true, - "items": { - "$ref": "../schemas/ietf/http/https-url.json" - } + "description": { + "$ref": "#/$defs/clean-prose" + } + }, + "$defs": { + "clean-prose": { + "type": "string", + "not": { + "anyOf": [ + { + "pattern": "\\.$" + }, + { + "pattern": " \\s" + }, + { + "pattern": "[\\n\\r\\t]" + }, + { + "pattern": "[\\x00-\\x1F\\x7F]" + } + ] + }, + "pattern": "^[^\\s].*[^\\s]$|^[^\\s]$" } } } diff --git a/schemas/xbrl/utr/duration-item-type-normative.json b/schemas/xbrl/utr/duration-item-type-normative.json index 18fcbe59..7555a90d 100644 --- a/schemas/xbrl/utr/duration-item-type-normative.json +++ b/schemas/xbrl/utr/duration-item-type-normative.json @@ -11,56 +11,56 @@ "anyOf": [ { "title": "Year", - "description": "Gregorian calendar year of 365 days. Use only as a denominator because durationItemType is not numeric and has no units.", + "description": "Gregorian calendar year of 365 days. Use only as a denominator because durationItemType is not numeric and has no units", "x-status": "REC", "x-symbol": "yr", "const": "Y" }, { "title": "Month", - "description": "Gregorian calendar month of 30.41 days. Use only as a denominator because durationItemType is not numeric and has no units.", + "description": "Gregorian calendar month of 30.41 days. Use only as a denominator because durationItemType is not numeric and has no units", "x-status": "REC", "x-symbol": "mo", "const": "M" }, { "title": "Day", - "description": "Day of 24 hours. Use only as a denominator because durationItemType is not numeric and has no units.", + "description": "Day of 24 hours. Use only as a denominator because durationItemType is not numeric and has no units", "x-status": "REC", "x-symbol": "d", "const": "D" }, { "title": "Hour", - "description": "Hour of 60 minutes. Use only as a denominator because durationItemType is not numeric and has no units.", + "description": "Hour of 60 minutes. Use only as a denominator because durationItemType is not numeric and has no units", "x-status": "REC", "x-symbol": "h", "const": "H" }, { "title": "Minute", - "description": "Minute of 60 seconds. Use only as a denominator because durationItemType is not numeric and has no units.", + "description": "Minute of 60 seconds. Use only as a denominator because durationItemType is not numeric and has no units", "x-status": "REC", "x-symbol": "m", "const": "MM" }, { "title": "Second", - "description": "Second. Use only as a denominator because durationItemType is not numeric and has no units.", + "description": "Second. Use only as a denominator because durationItemType is not numeric and has no units", "x-status": "REC", "x-symbol": "s", "const": "S" }, { "title": "Quarter", - "description": "Gregorian Calendar Quarter (three months). Use only as a denominator because durationItemType is not numeric and has no units.", + "description": "Gregorian Calendar Quarter (three months). Use only as a denominator because durationItemType is not numeric and has no units", "x-status": "REC", "x-symbol": "qtr", "const": "Q" }, { "title": "Week", - "description": "Gregorian Calendar Week. Use only as a denominator because durationItemType is not numeric and has no units.", + "description": "Gregorian Calendar Week. Use only as a denominator because durationItemType is not numeric and has no units", "x-status": "REC", "x-symbol": "wk", "const": "WK" diff --git a/schemas/xbrl/utr/duration-item-type.json b/schemas/xbrl/utr/duration-item-type.json index 18fcbe59..7555a90d 100644 --- a/schemas/xbrl/utr/duration-item-type.json +++ b/schemas/xbrl/utr/duration-item-type.json @@ -11,56 +11,56 @@ "anyOf": [ { "title": "Year", - "description": "Gregorian calendar year of 365 days. Use only as a denominator because durationItemType is not numeric and has no units.", + "description": "Gregorian calendar year of 365 days. Use only as a denominator because durationItemType is not numeric and has no units", "x-status": "REC", "x-symbol": "yr", "const": "Y" }, { "title": "Month", - "description": "Gregorian calendar month of 30.41 days. Use only as a denominator because durationItemType is not numeric and has no units.", + "description": "Gregorian calendar month of 30.41 days. Use only as a denominator because durationItemType is not numeric and has no units", "x-status": "REC", "x-symbol": "mo", "const": "M" }, { "title": "Day", - "description": "Day of 24 hours. Use only as a denominator because durationItemType is not numeric and has no units.", + "description": "Day of 24 hours. Use only as a denominator because durationItemType is not numeric and has no units", "x-status": "REC", "x-symbol": "d", "const": "D" }, { "title": "Hour", - "description": "Hour of 60 minutes. Use only as a denominator because durationItemType is not numeric and has no units.", + "description": "Hour of 60 minutes. Use only as a denominator because durationItemType is not numeric and has no units", "x-status": "REC", "x-symbol": "h", "const": "H" }, { "title": "Minute", - "description": "Minute of 60 seconds. Use only as a denominator because durationItemType is not numeric and has no units.", + "description": "Minute of 60 seconds. Use only as a denominator because durationItemType is not numeric and has no units", "x-status": "REC", "x-symbol": "m", "const": "MM" }, { "title": "Second", - "description": "Second. Use only as a denominator because durationItemType is not numeric and has no units.", + "description": "Second. Use only as a denominator because durationItemType is not numeric and has no units", "x-status": "REC", "x-symbol": "s", "const": "S" }, { "title": "Quarter", - "description": "Gregorian Calendar Quarter (three months). Use only as a denominator because durationItemType is not numeric and has no units.", + "description": "Gregorian Calendar Quarter (three months). Use only as a denominator because durationItemType is not numeric and has no units", "x-status": "REC", "x-symbol": "qtr", "const": "Q" }, { "title": "Week", - "description": "Gregorian Calendar Week. Use only as a denominator because durationItemType is not numeric and has no units.", + "description": "Gregorian Calendar Week. Use only as a denominator because durationItemType is not numeric and has no units", "x-status": "REC", "x-symbol": "wk", "const": "WK" diff --git a/schemas/xbrl/utr/electric-charge-item-type-normative.json b/schemas/xbrl/utr/electric-charge-item-type-normative.json index c402517e..d0364129 100644 --- a/schemas/xbrl/utr/electric-charge-item-type-normative.json +++ b/schemas/xbrl/utr/electric-charge-item-type-normative.json @@ -11,14 +11,14 @@ "anyOf": [ { "title": "Ampere Hours", - "description": "An ampere hour or amp hour is a unit of electric charge, equal to the charge transferred by a steady current of one ampere flowing for one hour.", + "description": "An ampere hour or amp hour is a unit of electric charge, equal to the charge transferred by a steady current of one ampere flowing for one hour", "x-status": "REC", "x-symbol": "Ah", "const": "Ah" }, { "title": "Coulomb", - "description": "The coulomb is the International System of Units (SI) unit of electric charge. It is the charge transported by a constant current of one ampere in one second.", + "description": "The coulomb is the International System of Units (SI) unit of electric charge. It is the charge transported by a constant current of one ampere in one second", "x-status": "REC", "x-symbol": "C", "const": "C" diff --git a/schemas/xbrl/utr/electric-charge-item-type.json b/schemas/xbrl/utr/electric-charge-item-type.json index c402517e..d0364129 100644 --- a/schemas/xbrl/utr/electric-charge-item-type.json +++ b/schemas/xbrl/utr/electric-charge-item-type.json @@ -11,14 +11,14 @@ "anyOf": [ { "title": "Ampere Hours", - "description": "An ampere hour or amp hour is a unit of electric charge, equal to the charge transferred by a steady current of one ampere flowing for one hour.", + "description": "An ampere hour or amp hour is a unit of electric charge, equal to the charge transferred by a steady current of one ampere flowing for one hour", "x-status": "REC", "x-symbol": "Ah", "const": "Ah" }, { "title": "Coulomb", - "description": "The coulomb is the International System of Units (SI) unit of electric charge. It is the charge transported by a constant current of one ampere in one second.", + "description": "The coulomb is the International System of Units (SI) unit of electric charge. It is the charge transported by a constant current of one ampere in one second", "x-status": "REC", "x-symbol": "C", "const": "C" diff --git a/schemas/xbrl/utr/energy-item-type-normative.json b/schemas/xbrl/utr/energy-item-type-normative.json index cac79191..f8c48742 100644 --- a/schemas/xbrl/utr/energy-item-type-normative.json +++ b/schemas/xbrl/utr/energy-item-type-normative.json @@ -158,21 +158,21 @@ }, { "title": "Volt-ampere-hours", - "description": "Volt-ampere (VA) hours of energy.", + "description": "Volt-ampere (VA) hours of energy", "x-status": "REC", "x-symbol": "VAh", "const": "VAh" }, { "title": "Dekatherm", - "description": "The dekatherm is a unit of energy used to measure natural gas. One dekatherm is equal to 10 therms or one million British thermal units (Btu).", + "description": "The dekatherm is a unit of energy used to measure natural gas. One dekatherm is equal to 10 therms or one million British thermal units (Btu)", "x-status": "REC", "x-symbol": "dth", "const": "dth" }, { "title": "Megawatt-Day", - "description": "Megawatt-Day is used to measure energy generated in one day by a power-plant. Is commonly used to define fuel-burnup. A commonly used measure of fuel burnup is the fission energy release per unit mass of fuel.", + "description": "Megawatt-Day is used to measure energy generated in one day by a power-plant. Is commonly used to define fuel-burnup. A commonly used measure of fuel burnup is the fission energy release per unit mass of fuel", "x-status": "REC", "x-symbol": "MWd", "const": "MWd" diff --git a/schemas/xbrl/utr/energy-item-type.json b/schemas/xbrl/utr/energy-item-type.json index cac79191..f8c48742 100644 --- a/schemas/xbrl/utr/energy-item-type.json +++ b/schemas/xbrl/utr/energy-item-type.json @@ -158,21 +158,21 @@ }, { "title": "Volt-ampere-hours", - "description": "Volt-ampere (VA) hours of energy.", + "description": "Volt-ampere (VA) hours of energy", "x-status": "REC", "x-symbol": "VAh", "const": "VAh" }, { "title": "Dekatherm", - "description": "The dekatherm is a unit of energy used to measure natural gas. One dekatherm is equal to 10 therms or one million British thermal units (Btu).", + "description": "The dekatherm is a unit of energy used to measure natural gas. One dekatherm is equal to 10 therms or one million British thermal units (Btu)", "x-status": "REC", "x-symbol": "dth", "const": "dth" }, { "title": "Megawatt-Day", - "description": "Megawatt-Day is used to measure energy generated in one day by a power-plant. Is commonly used to define fuel-burnup. A commonly used measure of fuel burnup is the fission energy release per unit mass of fuel.", + "description": "Megawatt-Day is used to measure energy generated in one day by a power-plant. Is commonly used to define fuel-burnup. A commonly used measure of fuel burnup is the fission energy release per unit mass of fuel", "x-status": "REC", "x-symbol": "MWd", "const": "MWd" diff --git a/schemas/xbrl/utr/force-item-type-normative.json b/schemas/xbrl/utr/force-item-type-normative.json index 8785a85c..258046d5 100644 --- a/schemas/xbrl/utr/force-item-type-normative.json +++ b/schemas/xbrl/utr/force-item-type-normative.json @@ -11,7 +11,7 @@ "anyOf": [ { "title": "Newton", - "description": "The newton is the International System of Units (SI) derived unit of force. One newton is the force needed to accelerate one kilogram of mass at the rate of one metre per second squared in direction of the applied force.", + "description": "The newton is the International System of Units (SI) derived unit of force. One newton is the force needed to accelerate one kilogram of mass at the rate of one metre per second squared in direction of the applied force", "x-status": "REC", "x-symbol": "N", "const": "N" diff --git a/schemas/xbrl/utr/force-item-type.json b/schemas/xbrl/utr/force-item-type.json index 8785a85c..258046d5 100644 --- a/schemas/xbrl/utr/force-item-type.json +++ b/schemas/xbrl/utr/force-item-type.json @@ -11,7 +11,7 @@ "anyOf": [ { "title": "Newton", - "description": "The newton is the International System of Units (SI) derived unit of force. One newton is the force needed to accelerate one kilogram of mass at the rate of one metre per second squared in direction of the applied force.", + "description": "The newton is the International System of Units (SI) derived unit of force. One newton is the force needed to accelerate one kilogram of mass at the rate of one metre per second squared in direction of the applied force", "x-status": "REC", "x-symbol": "N", "const": "N" diff --git a/schemas/xbrl/utr/ghg-emissions-item-type-normative.json b/schemas/xbrl/utr/ghg-emissions-item-type-normative.json index f7396d8a..6eef026b 100644 --- a/schemas/xbrl/utr/ghg-emissions-item-type-normative.json +++ b/schemas/xbrl/utr/ghg-emissions-item-type-normative.json @@ -11,28 +11,28 @@ "anyOf": [ { "title": "Metric tonnes of CO2 equivalent", - "description": "Carbon dioxide equivalent is calculated for emissions other than carbon dioxide according to their global warming potential (GWP). As estimates of GWP may change over time, the UTR defines no fixed conversion rates.", + "description": "Carbon dioxide equivalent is calculated for emissions other than carbon dioxide according to their global warming potential (GWP). As estimates of GWP may change over time, the UTR defines no fixed conversion rates", "x-status": "REC", "x-symbol": "tCO2e", "const": "tCO2e" }, { "title": "Thousand metric tonnes of CO2 equivalent", - "description": "Carbon dioxide equivalent is calculated for emissions other than carbon dioxide according to their global warming potential (GWP). As estimates of GWP may change over time, the UTR defines no fixed conversion rates.", + "description": "Carbon dioxide equivalent is calculated for emissions other than carbon dioxide according to their global warming potential (GWP). As estimates of GWP may change over time, the UTR defines no fixed conversion rates", "x-status": "REC", "x-symbol": "ktCO2e", "const": "ktCO2e" }, { "title": "Million metric tonnes of CO2 equivalent", - "description": "Carbon dioxide equivalent is calculated for emissions other than carbon dioxide according to their global warming potential (GWP). As estimates of GWP may change over time, the UTR defines no fixed conversion rates.", + "description": "Carbon dioxide equivalent is calculated for emissions other than carbon dioxide according to their global warming potential (GWP). As estimates of GWP may change over time, the UTR defines no fixed conversion rates", "x-status": "REC", "x-symbol": "MtCO2e", "const": "MtCO2e" }, { "title": "Thousand million metric tonnes of CO2 equivalent", - "description": "Carbon dioxide equivalent is calculated for emissions other than carbon dioxide according to their global warming potential (GWP). As estimates of GWP may change over time, the UTR defines no fixed conversion rates.", + "description": "Carbon dioxide equivalent is calculated for emissions other than carbon dioxide according to their global warming potential (GWP). As estimates of GWP may change over time, the UTR defines no fixed conversion rates", "x-status": "REC", "x-symbol": "GtCO2e", "const": "GtCO2e" diff --git a/schemas/xbrl/utr/ghg-emissions-item-type.json b/schemas/xbrl/utr/ghg-emissions-item-type.json index f2e30a46..a579aec9 100644 --- a/schemas/xbrl/utr/ghg-emissions-item-type.json +++ b/schemas/xbrl/utr/ghg-emissions-item-type.json @@ -11,35 +11,35 @@ "anyOf": [ { "title": "Metric tonnes of CO2 equivalent", - "description": "Carbon dioxide equivalent is calculated for emissions other than carbon dioxide according to their global warming potential (GWP). As estimates of GWP may change over time, the UTR defines no fixed conversion rates.", + "description": "Carbon dioxide equivalent is calculated for emissions other than carbon dioxide according to their global warming potential (GWP). As estimates of GWP may change over time, the UTR defines no fixed conversion rates", "x-status": "REC", "x-symbol": "tCO2e", "const": "tCO2e" }, { "title": "Thousand metric tonnes of CO2 equivalent", - "description": "Carbon dioxide equivalent is calculated for emissions other than carbon dioxide according to their global warming potential (GWP). As estimates of GWP may change over time, the UTR defines no fixed conversion rates.", + "description": "Carbon dioxide equivalent is calculated for emissions other than carbon dioxide according to their global warming potential (GWP). As estimates of GWP may change over time, the UTR defines no fixed conversion rates", "x-status": "REC", "x-symbol": "ktCO2e", "const": "ktCO2e" }, { "title": "Million metric tonnes of CO2 equivalent", - "description": "Carbon dioxide equivalent is calculated for emissions other than carbon dioxide according to their global warming potential (GWP). As estimates of GWP may change over time, the UTR defines no fixed conversion rates.", + "description": "Carbon dioxide equivalent is calculated for emissions other than carbon dioxide according to their global warming potential (GWP). As estimates of GWP may change over time, the UTR defines no fixed conversion rates", "x-status": "REC", "x-symbol": "MtCO2e", "const": "MtCO2e" }, { "title": "Thousand million metric tonnes of CO2 equivalent", - "description": "Carbon dioxide equivalent is calculated for emissions other than carbon dioxide according to their global warming potential (GWP). As estimates of GWP may change over time, the UTR defines no fixed conversion rates.", + "description": "Carbon dioxide equivalent is calculated for emissions other than carbon dioxide according to their global warming potential (GWP). As estimates of GWP may change over time, the UTR defines no fixed conversion rates", "x-status": "REC", "x-symbol": "GtCO2e", "const": "GtCO2e" }, { "title": "Grams of CO2 equivalent", - "description": "Carbon dioxide equivalent is calculated for emissions other than carbon dioxide according to their global warming potential (GWP). As estimates of GWP may change over time, the UTR defines no fixed conversion rates.", + "description": "Carbon dioxide equivalent is calculated for emissions other than carbon dioxide according to their global warming potential (GWP). As estimates of GWP may change over time, the UTR defines no fixed conversion rates", "x-status": "CR", "x-symbol": "gCO2e", "const": "gCO2e" diff --git a/schemas/xbrl/utr/mass-item-type-normative.json b/schemas/xbrl/utr/mass-item-type-normative.json index 13c5a37d..1ecf3fdf 100644 --- a/schemas/xbrl/utr/mass-item-type-normative.json +++ b/schemas/xbrl/utr/mass-item-type-normative.json @@ -11,7 +11,7 @@ "anyOf": [ { "title": "Pound", - "description": "Pound of Mass, as Used in Commerce (http://en.wikipedia.org/wiki/Pound_(mass)#Use_in_Commerce))", + "description": "Pound of Mass, as Used in Commerce (http://en.wikipedia.org/wiki/Pound_(mass)#Use_in_Commerce))", "x-status": "REC", "x-symbol": "lb", "const": "lb" diff --git a/schemas/xbrl/utr/mass-item-type.json b/schemas/xbrl/utr/mass-item-type.json index 13c5a37d..1ecf3fdf 100644 --- a/schemas/xbrl/utr/mass-item-type.json +++ b/schemas/xbrl/utr/mass-item-type.json @@ -11,7 +11,7 @@ "anyOf": [ { "title": "Pound", - "description": "Pound of Mass, as Used in Commerce (http://en.wikipedia.org/wiki/Pound_(mass)#Use_in_Commerce))", + "description": "Pound of Mass, as Used in Commerce (http://en.wikipedia.org/wiki/Pound_(mass)#Use_in_Commerce))", "x-status": "REC", "x-symbol": "lb", "const": "lb" diff --git a/schemas/xbrl/utr/plane-angle-item-type-normative.json b/schemas/xbrl/utr/plane-angle-item-type-normative.json index 51d0f210..52935fae 100644 --- a/schemas/xbrl/utr/plane-angle-item-type-normative.json +++ b/schemas/xbrl/utr/plane-angle-item-type-normative.json @@ -11,14 +11,14 @@ "anyOf": [ { "title": "Degree", - "description": "The degree is a measurement of a plane angle, defined so that a full rotation is 360 degrees. In XBRL the degree is reported in a decimal format.", + "description": "The degree is a measurement of a plane angle, defined so that a full rotation is 360 degrees. In XBRL the degree is reported in a decimal format", "x-status": "REC", "x-symbol": "°", "const": "Degree" }, { "title": "Radian", - "description": "The radian is the standard unit of angular measure. The radian is an SI derived unit.", + "description": "The radian is the standard unit of angular measure. The radian is an SI derived unit", "x-status": "REC", "x-symbol": "rad", "const": "rad" diff --git a/schemas/xbrl/utr/plane-angle-item-type.json b/schemas/xbrl/utr/plane-angle-item-type.json index 51d0f210..52935fae 100644 --- a/schemas/xbrl/utr/plane-angle-item-type.json +++ b/schemas/xbrl/utr/plane-angle-item-type.json @@ -11,14 +11,14 @@ "anyOf": [ { "title": "Degree", - "description": "The degree is a measurement of a plane angle, defined so that a full rotation is 360 degrees. In XBRL the degree is reported in a decimal format.", + "description": "The degree is a measurement of a plane angle, defined so that a full rotation is 360 degrees. In XBRL the degree is reported in a decimal format", "x-status": "REC", "x-symbol": "°", "const": "Degree" }, { "title": "Radian", - "description": "The radian is the standard unit of angular measure. The radian is an SI derived unit.", + "description": "The radian is the standard unit of angular measure. The radian is an SI derived unit", "x-status": "REC", "x-symbol": "rad", "const": "rad" diff --git a/schemas/xbrl/utr/power-item-type-normative.json b/schemas/xbrl/utr/power-item-type-normative.json index 3202e614..358f4ccf 100644 --- a/schemas/xbrl/utr/power-item-type-normative.json +++ b/schemas/xbrl/utr/power-item-type-normative.json @@ -53,28 +53,28 @@ }, { "title": "Volt-ampere reactive", - "description": "In electric power transmission and distribution, volt-ampere reactive (var) is a unit by which reactive power is expressed in an AC electric power system. Reactive power is the power that is wasted and not used to do work on the load.", + "description": "In electric power transmission and distribution, volt-ampere reactive (var) is a unit by which reactive power is expressed in an AC electric power system. Reactive power is the power that is wasted and not used to do work on the load", "x-status": "REC", "x-symbol": "var", "const": "var" }, { "title": "Volt-ampere", - "description": "A volt-ampere (VA) is the unit used for the apparent power in an electrical circuit, equal to the product of root-mean-square (RMS) voltage and RMS current. In direct current (DC) circuits, this product is equal to the real power (active power) in watts. Volt-amperes are useful only in the context of alternating current (AC) circuits.", + "description": "A volt-ampere (VA) is the unit used for the apparent power in an electrical circuit, equal to the product of root-mean-square (RMS) voltage and RMS current. In direct current (DC) circuits, this product is equal to the real power (active power) in watts. Volt-amperes are useful only in the context of alternating current (AC) circuits", "x-status": "REC", "x-symbol": "VA", "const": "VA" }, { "title": "Million Volt-ampere reactive", - "description": "In electric power transmission and distribution, Million volt-ampere reactive (Mvar) is a unit by which reactive power is expressed in an AC electric power system. Reactive power is the power that is wasted and not used to do work on the load.", + "description": "In electric power transmission and distribution, Million volt-ampere reactive (Mvar) is a unit by which reactive power is expressed in an AC electric power system. Reactive power is the power that is wasted and not used to do work on the load", "x-status": "REC", "x-symbol": "Mvar", "const": "Mvar" }, { "title": "MegaVolt-ampere", - "description": "A megavolt-ampere (MVA) is the unit used for the apparent power in an electrical circuit, equal to the product of root-mean-square (RMS) voltage and RMS current. In direct current (DC) circuits, this product is equal to the real power (active power) in watts. Volt-amperes are useful only in the context of alternating current (AC) circuits.", + "description": "A megavolt-ampere (MVA) is the unit used for the apparent power in an electrical circuit, equal to the product of root-mean-square (RMS) voltage and RMS current. In direct current (DC) circuits, this product is equal to the real power (active power) in watts. Volt-amperes are useful only in the context of alternating current (AC) circuits", "x-status": "REC", "x-symbol": "MVA", "const": "MVA" diff --git a/schemas/xbrl/utr/power-item-type.json b/schemas/xbrl/utr/power-item-type.json index 3202e614..358f4ccf 100644 --- a/schemas/xbrl/utr/power-item-type.json +++ b/schemas/xbrl/utr/power-item-type.json @@ -53,28 +53,28 @@ }, { "title": "Volt-ampere reactive", - "description": "In electric power transmission and distribution, volt-ampere reactive (var) is a unit by which reactive power is expressed in an AC electric power system. Reactive power is the power that is wasted and not used to do work on the load.", + "description": "In electric power transmission and distribution, volt-ampere reactive (var) is a unit by which reactive power is expressed in an AC electric power system. Reactive power is the power that is wasted and not used to do work on the load", "x-status": "REC", "x-symbol": "var", "const": "var" }, { "title": "Volt-ampere", - "description": "A volt-ampere (VA) is the unit used for the apparent power in an electrical circuit, equal to the product of root-mean-square (RMS) voltage and RMS current. In direct current (DC) circuits, this product is equal to the real power (active power) in watts. Volt-amperes are useful only in the context of alternating current (AC) circuits.", + "description": "A volt-ampere (VA) is the unit used for the apparent power in an electrical circuit, equal to the product of root-mean-square (RMS) voltage and RMS current. In direct current (DC) circuits, this product is equal to the real power (active power) in watts. Volt-amperes are useful only in the context of alternating current (AC) circuits", "x-status": "REC", "x-symbol": "VA", "const": "VA" }, { "title": "Million Volt-ampere reactive", - "description": "In electric power transmission and distribution, Million volt-ampere reactive (Mvar) is a unit by which reactive power is expressed in an AC electric power system. Reactive power is the power that is wasted and not used to do work on the load.", + "description": "In electric power transmission and distribution, Million volt-ampere reactive (Mvar) is a unit by which reactive power is expressed in an AC electric power system. Reactive power is the power that is wasted and not used to do work on the load", "x-status": "REC", "x-symbol": "Mvar", "const": "Mvar" }, { "title": "MegaVolt-ampere", - "description": "A megavolt-ampere (MVA) is the unit used for the apparent power in an electrical circuit, equal to the product of root-mean-square (RMS) voltage and RMS current. In direct current (DC) circuits, this product is equal to the real power (active power) in watts. Volt-amperes are useful only in the context of alternating current (AC) circuits.", + "description": "A megavolt-ampere (MVA) is the unit used for the apparent power in an electrical circuit, equal to the product of root-mean-square (RMS) voltage and RMS current. In direct current (DC) circuits, this product is equal to the real power (active power) in watts. Volt-amperes are useful only in the context of alternating current (AC) circuits", "x-status": "REC", "x-symbol": "MVA", "const": "MVA" diff --git a/schemas/xbrl/utr/pressure-item-type-normative.json b/schemas/xbrl/utr/pressure-item-type-normative.json index fde8650c..664d9ee9 100644 --- a/schemas/xbrl/utr/pressure-item-type-normative.json +++ b/schemas/xbrl/utr/pressure-item-type-normative.json @@ -11,28 +11,28 @@ "anyOf": [ { "title": "Pascal", - "description": "The pascal is the SI derived unit of pressure used to quantify internal pressure, stress, Young's modulus and ultimate tensile strength. It is defined as one newton per square meter.", + "description": "The pascal is the SI derived unit of pressure used to quantify internal pressure, stress, Young's modulus and ultimate tensile strength. It is defined as one newton per square meter", "x-status": "REC", "x-symbol": "Pa", "const": "Pa" }, { "title": "Bar", - "description": "The bar is a metric unit of pressure, but is not approved as part of the International System of Units (SI). It is defined as exactly equal to 100000 Pa, which is slightly less than the current average atmospheric pressure on Earth at sea level.", + "description": "The bar is a metric unit of pressure, but is not approved as part of the International System of Units (SI). It is defined as exactly equal to 100000 Pa, which is slightly less than the current average atmospheric pressure on Earth at sea level", "x-status": "REC", "x-symbol": "bar", "const": "Bar" }, { "title": "Pounds Per Square Inch", - "description": "The pound per square inch is a unit of pressure or of stress based on avoirdupois units. It is the pressure resulting from a force of one pound-force applied to an area of one square inch.", + "description": "The pound per square inch is a unit of pressure or of stress based on avoirdupois units. It is the pressure resulting from a force of one pound-force applied to an area of one square inch", "x-status": "REC", "x-symbol": "psi", "const": "psi" }, { "title": "Standard Atmosphere", - "description": "The standard atmosphere is a unit of pressure defined as 101325 Pa (1.01325 bar). It is sometimes used as a reference or standard pressure.", + "description": "The standard atmosphere is a unit of pressure defined as 101325 Pa (1.01325 bar). It is sometimes used as a reference or standard pressure", "x-status": "REC", "x-symbol": "atm", "const": "atm" diff --git a/schemas/xbrl/utr/pressure-item-type.json b/schemas/xbrl/utr/pressure-item-type.json index fde8650c..664d9ee9 100644 --- a/schemas/xbrl/utr/pressure-item-type.json +++ b/schemas/xbrl/utr/pressure-item-type.json @@ -11,28 +11,28 @@ "anyOf": [ { "title": "Pascal", - "description": "The pascal is the SI derived unit of pressure used to quantify internal pressure, stress, Young's modulus and ultimate tensile strength. It is defined as one newton per square meter.", + "description": "The pascal is the SI derived unit of pressure used to quantify internal pressure, stress, Young's modulus and ultimate tensile strength. It is defined as one newton per square meter", "x-status": "REC", "x-symbol": "Pa", "const": "Pa" }, { "title": "Bar", - "description": "The bar is a metric unit of pressure, but is not approved as part of the International System of Units (SI). It is defined as exactly equal to 100000 Pa, which is slightly less than the current average atmospheric pressure on Earth at sea level.", + "description": "The bar is a metric unit of pressure, but is not approved as part of the International System of Units (SI). It is defined as exactly equal to 100000 Pa, which is slightly less than the current average atmospheric pressure on Earth at sea level", "x-status": "REC", "x-symbol": "bar", "const": "Bar" }, { "title": "Pounds Per Square Inch", - "description": "The pound per square inch is a unit of pressure or of stress based on avoirdupois units. It is the pressure resulting from a force of one pound-force applied to an area of one square inch.", + "description": "The pound per square inch is a unit of pressure or of stress based on avoirdupois units. It is the pressure resulting from a force of one pound-force applied to an area of one square inch", "x-status": "REC", "x-symbol": "psi", "const": "psi" }, { "title": "Standard Atmosphere", - "description": "The standard atmosphere is a unit of pressure defined as 101325 Pa (1.01325 bar). It is sometimes used as a reference or standard pressure.", + "description": "The standard atmosphere is a unit of pressure defined as 101325 Pa (1.01325 bar). It is sometimes used as a reference or standard pressure", "x-status": "REC", "x-symbol": "atm", "const": "atm" diff --git a/schemas/xbrl/utr/temperature-item-type-normative.json b/schemas/xbrl/utr/temperature-item-type-normative.json index d7d31d7f..ccc943bf 100644 --- a/schemas/xbrl/utr/temperature-item-type-normative.json +++ b/schemas/xbrl/utr/temperature-item-type-normative.json @@ -11,21 +11,21 @@ "anyOf": [ { "title": "Celsius", - "description": "A temperature scale based on 0° for the freezing point of water and 100° for the boiling point of water at 1 atm pressure.", + "description": "A temperature scale based on 0° for the freezing point of water and 100° for the boiling point of water at 1 atm pressure", "x-status": "REC", "x-symbol": "°C", "const": "Celsius" }, { "title": "Kelvin", - "description": "The kelvin is a unit of measure for temperature based upon an absolute scale. It is one of the seven base units in the International System of Units (SI) and is assigned the unit symbol K. The Kelvin scale is an absolute, thermodynamic temperature scale using as its null point absolute zero, the temperature at which all thermal motion ceases in the classical description of thermodynamics. The kelvin is defined as the fraction  1⁄273.16 of the thermodynamic temperature of the triple point of water (exactly 0.01 °C or 32.018 °F). In other words, it is defined such that the triple point of water is exactly 273.16 K.", + "description": "The kelvin is a unit of measure for temperature based upon an absolute scale. It is one of the seven base units in the International System of Units (SI) and is assigned the unit symbol K. The Kelvin scale is an absolute, thermodynamic temperature scale using as its null point absolute zero, the temperature at which all thermal motion ceases in the classical description of thermodynamics. The kelvin is defined as the fraction 1⁄273.16 of the thermodynamic temperature of the triple point of water (exactly 0.01 °C or 32.018 °F). In other words, it is defined such that the triple point of water is exactly 273.16 K", "x-status": "REC", "x-symbol": "K", "const": "K" }, { "title": "Fahrenheit", - "description": "Fahrenheit is a unit of measure for temperature defined by two fixed points: the temperature at which water freezes into ice is defined as 32 °F, and the boiling point of water is defined to be 212 °F, a 180 °F separation, as defined at sea level and standard atmospheric pressure.", + "description": "Fahrenheit is a unit of measure for temperature defined by two fixed points: the temperature at which water freezes into ice is defined as 32 °F, and the boiling point of water is defined to be 212 °F, a 180 °F separation, as defined at sea level and standard atmospheric pressure", "x-status": "REC", "x-symbol": "°F", "const": "F" diff --git a/schemas/xbrl/utr/temperature-item-type.json b/schemas/xbrl/utr/temperature-item-type.json index d7d31d7f..ccc943bf 100644 --- a/schemas/xbrl/utr/temperature-item-type.json +++ b/schemas/xbrl/utr/temperature-item-type.json @@ -11,21 +11,21 @@ "anyOf": [ { "title": "Celsius", - "description": "A temperature scale based on 0° for the freezing point of water and 100° for the boiling point of water at 1 atm pressure.", + "description": "A temperature scale based on 0° for the freezing point of water and 100° for the boiling point of water at 1 atm pressure", "x-status": "REC", "x-symbol": "°C", "const": "Celsius" }, { "title": "Kelvin", - "description": "The kelvin is a unit of measure for temperature based upon an absolute scale. It is one of the seven base units in the International System of Units (SI) and is assigned the unit symbol K. The Kelvin scale is an absolute, thermodynamic temperature scale using as its null point absolute zero, the temperature at which all thermal motion ceases in the classical description of thermodynamics. The kelvin is defined as the fraction  1⁄273.16 of the thermodynamic temperature of the triple point of water (exactly 0.01 °C or 32.018 °F). In other words, it is defined such that the triple point of water is exactly 273.16 K.", + "description": "The kelvin is a unit of measure for temperature based upon an absolute scale. It is one of the seven base units in the International System of Units (SI) and is assigned the unit symbol K. The Kelvin scale is an absolute, thermodynamic temperature scale using as its null point absolute zero, the temperature at which all thermal motion ceases in the classical description of thermodynamics. The kelvin is defined as the fraction 1⁄273.16 of the thermodynamic temperature of the triple point of water (exactly 0.01 °C or 32.018 °F). In other words, it is defined such that the triple point of water is exactly 273.16 K", "x-status": "REC", "x-symbol": "K", "const": "K" }, { "title": "Fahrenheit", - "description": "Fahrenheit is a unit of measure for temperature defined by two fixed points: the temperature at which water freezes into ice is defined as 32 °F, and the boiling point of water is defined to be 212 °F, a 180 °F separation, as defined at sea level and standard atmospheric pressure.", + "description": "Fahrenheit is a unit of measure for temperature defined by two fixed points: the temperature at which water freezes into ice is defined as 32 °F, and the boiling point of water is defined to be 212 °F, a 180 °F separation, as defined at sea level and standard atmospheric pressure", "x-status": "REC", "x-symbol": "°F", "const": "F" diff --git a/schemas/xbrl/utr/volume-item-type.json b/schemas/xbrl/utr/volume-item-type.json index b7c206c6..28f9476f 100644 --- a/schemas/xbrl/utr/volume-item-type.json +++ b/schemas/xbrl/utr/volume-item-type.json @@ -102,35 +102,35 @@ }, { "title": "Hectolitre", - "description": "A metric unit of volume equal to one hundred litres, used especially for wine, beer, grain and other agricultural produce.", + "description": "A metric unit of volume equal to one hundred litres, used especially for wine, beer, grain and other agricultural produce", "x-status": "CR", "x-symbol": "hl", "const": "hl" }, { "title": "Millions of hectolitres", - "description": "A million hectolitres (a metric unit of volume equal to one hundred litres, used especially for wine, beer, grain and other agricultural produce).", + "description": "A million hectolitres (a metric unit of volume equal to one hundred litres, used especially for wine, beer, grain and other agricultural produce)", "x-status": "CR", "x-symbol": "Mhl", "const": "Mhl" }, { "title": "Megalitre", - "description": "A million litres.", + "description": "A million litres", "x-status": "CR", "x-symbol": "Ml", "const": "Ml" }, { "title": "Thousand cubic metres", - "description": "A thousand cubic metres.", + "description": "A thousand cubic metres", "x-status": "CR", "x-symbol": "Mm³", "const": "Mm3" }, { "title": "Twenty-foot equivalent unit", - "description": "A general (inexact) unit of cargo capacity, often used for container ships and container ports. The 'volume' of a 20-foot-long intermodal container, which vary in height, giving a range of possible volumes.", + "description": "A general (inexact) unit of cargo capacity, often used for container ships and container ports. The 'volume' of a 20-foot-long intermodal container, which vary in height, giving a range of possible volumes", "x-status": "CR", "x-symbol": "TEU", "const": "TEU"