Skip to content

Commit 499109f

Browse files
committed
FEA: Allow additional data and documentation
1 parent 73643de commit 499109f

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

power-curve-schema/schema.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1592,7 +1592,30 @@
15921592
}
15931593
}
15941594
}
1595+
},
1596+
"additional": {
1597+
"title": "Additional",
1598+
"type": "object",
1599+
"properties": {
1600+
"reference": {
1601+
"type":"string",
1602+
"title": "Reference",
1603+
"description": "An optional url reference to documentation describing contents of the additional.data property."
1604+
},
1605+
"schema": {
1606+
"type":"string",
1607+
"title": "Schema",
1608+
"description": "An optional url reference to a schema describing contents of additional.data property."
1609+
},
1610+
"data": {
1611+
"title": "Additional",
1612+
"type": "object",
1613+
"description": "Add extra (e.g. manufacturer-specific) data to this field.",
1614+
"additionalProperties": true
1615+
}
1616+
},
1617+
"additionalProperties": false
15951618
}
15961619
},
1597-
"additionalProperties": true
1620+
"additionalProperties": false
15981621
}

0 commit comments

Comments
 (0)