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 @@ -78,6 +78,7 @@ expressed as JSON Schema definitions.
| JSON Schema | [Draft 2020-12](https://json-schema.org/draft/2020-12/json-schema-core) | JSON Schema: A Media Type for Describing JSON Documents |
| W3C | [XML Schema Part 2](https://www.w3.org/TR/xmlschema-2/) | XML Schema Datatypes Second Edition |
| XBRL International | [XBRL 2.1](https://www.xbrl.org/Specification/XBRL-2.1/REC-2003-12-31/XBRL-2.1-REC-2003-12-31+corrected-errata-2013-02-20.html) | Extensible Business Reporting Language (XBRL) 2.1 |
| XBRL International | [XBRL DTR](https://www.xbrl.org/dtr/dtr.html) | XBRL Data Types Registry |

To request coverage of another standard, please [open an issue on
GitHub](https://github.com/sourcemeta/std/issues).
Expand Down
12 changes: 12 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/area-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 areaItemType",
"description": "This type represents an area measurement",
"examples": [ 100.5, 0.25, 1000000 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
16 changes: 16 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/datetime-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 dateTimeItemType",
"description": "This type is for date-time values that require both date and time components. This is a restriction of XBRL dateTimeItemType to exclude date-only values",
"examples": [
"2023-12-31T23:59:59Z",
"2024-01-01T00:00:00-05:00",
"2024-06-15T12:30:00"
],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../w3c/xmlschema/2001/date-time.json"
}
12 changes: 12 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/domain-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 domainItemType",
"description": "The domain member item type is used to indicate that an element is a domain member and therefore should not have any content",
"examples": [ "" ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"const": ""
}
12 changes: 12 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/electric-charge-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 electricChargeItemType",
"description": "This type represents a measurement of physical charge property",
"examples": [ 1.602e-19, 100.5, 0.001 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
12 changes: 12 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/electric-current-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 electricCurrentItemType",
"description": "This type represents a measurement of electric charge flow",
"examples": [ 10.5, 0.5, 100 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
12 changes: 12 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/energy-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 energyItemType",
"description": "This type represents a unit of energy",
"examples": [ 1000.5, 25.75, 99999 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 energyPerMonetaryItemType",
"description": "This type represents energy per monetary unit, such as energy intensity",
"examples": [ 1000.5, 25.75, 100 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
16 changes: 16 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/escaped-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 escapedItemType",
"description": "This type specializes string for escaped content and is suitable for representing HTML 4.0 escaped content",
"examples": [
"<div>Hello</div>",
"Some & text",
"Plain text"
],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/string-item-type.json"
}
12 changes: 12 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/flow-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 flowItemType",
"description": "This type represents a measurement of volumetric flow rate",
"examples": [ 100.5, 25.75, 1000 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
12 changes: 12 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/force-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 forceItemType",
"description": "This type represents a measurement of physical force, such as in newtons",
"examples": [ 100.5, 9.81, 1000 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
12 changes: 12 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/frequency-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 frequencyItemType",
"description": "This type represents a measurement of the number of occurrences per unit time",
"examples": [ 50, 60.5, 1000 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
12 changes: 12 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/ghg-emissions-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 ghgEmissionsItemType",
"description": "This type represents greenhouse gas emissions measured in global warming potential using CO2 equivalents",
"examples": [ 1000.5, 25.75, 50000 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 ghgEmissionsPerMonetaryItemType",
"description": "This type represents greenhouse gas emissions per monetary unit, such as emissions intensity",
"examples": [ 1000.5, 25.75, 100 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
16 changes: 16 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/guidance-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 guidanceItemType",
"description": "This type is used to identify guidance elements provided for the benefit of taxonomy users",
"examples": [
"This element represents the total assets",
"Use this for reporting annual revenue",
"Guidance text for taxonomy users"
],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/string-item-type.json"
}
19 changes: 19 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/gyear-list-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 gYearListItemType",
"description": "A list of W3C XML Schema gYear values",
"examples": [
[ "2020", "2021", "2022" ],
[ "1999" ],
[ "-1999", "1000", "2024Z" ]
],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"type": "array",
"items": {
"$ref": "../../../../w3c/xmlschema/2001/g-year.json"
}
}
12 changes: 12 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/insolation-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 insolationItemType",
"description": "This type is used in the solar industry to represent a measure of energy per area over time, sometimes called solar irradiation",
"examples": [ 1500.5, 200.25, 5000 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
12 changes: 12 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/irradiance-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 irradianceItemType",
"description": "This type represents a measurement of power per unit area",
"examples": [ 1000.5, 250.75, 500 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
12 changes: 12 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/length-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 lengthItemType",
"description": "This type represents a measure of distance",
"examples": [ 100.5, 1.75, 1000000 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
12 changes: 12 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/mass-flow-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 massFlowItemType",
"description": "This type represents a measurement of mass flow rate",
"examples": [ 100.5, 25.75, 1000 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
12 changes: 12 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/mass-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 massItemType",
"description": "This type represents the mass of a measurable object",
"examples": [ 75.5, 1000, 0.001 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
12 changes: 12 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/memory-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 memoryItemType",
"description": "This type is used in the IT industry to represent a measurement of memory",
"examples": [ 1024, 512.5, 8192 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
12 changes: 12 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/monetary-per-area-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 monetaryPerAreaItemType",
"description": "This type represents a price or cost per unit area",
"examples": [ 10.5, 25.75, 100 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 monetaryPerDurationItemType",
"description": "This type represents a price or cost per unit duration",
"examples": [ 10.5, 25.75, 100 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 monetaryPerEnergyItemType",
"description": "This type represents a price or cost per unit energy",
"examples": [ 10.5, 25.75, 100 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 monetaryPerLengthItemType",
"description": "This type represents a price or cost per unit length",
"examples": [ 10.5, 25.75, 100 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
12 changes: 12 additions & 0 deletions schemas/xbrl/dtr/type/2024-01-31/monetary-per-mass-item-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 monetaryPerMassItemType",
"description": "This type represents a price or cost per unit mass",
"examples": [ 10.5, 25.75, 100 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "XBRL DTR 2024-01-31 monetaryPerVolumeItemType",
"description": "This type represents a price or cost per unit volume",
"examples": [ 10.5, 25.75, 100 ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [
"https://www.xbrl.org/dtr/dtr.html",
"https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"
],
"$ref": "../../../../xbrl/instance/2003/decimal-item-type.json"
}
Loading