BillingData: Implement elwig json format parsing

This commit is contained in:
2024-01-06 14:45:18 +01:00
parent d67e434fed
commit 1e751c473a
3 changed files with 491 additions and 10 deletions

View File

@ -19,7 +19,7 @@
}
},
"patternProperties": {
"^[A-Z]+$": {
"^([A-Z]{2})?(\/[A-Z]*)?$": {
"type": ["number", "string"],
"pattern": "^curve:[0-9]+$"
}
@ -40,7 +40,7 @@
}
},
"patternProperties": {
"^[A-Z]+$": {
"^([A-Z]{2})?(\/[A-Z]*)?$": {
"type": ["number", "string"],
"pattern": "^curve:[0-9]+$"
}
@ -128,7 +128,7 @@
"additionalProperties": false,
"minProperties": 1,
"patternProperties": {
"^([0-9]+(\\.[0-9]+)?)(oe|kmw)$": {"type": "number"}
"^[<>]?([0-9]+(\\.[0-9]+)?)(oe|kmw)$": {"type": "number"}
}
}
}