currency, settings.yaml and default currency
This commit is contained in:
parent
21e68445e7
commit
3d49bc044d
5 changed files with 72 additions and 13 deletions
|
@ -20,7 +20,8 @@
|
|||
"properties": {
|
||||
"price": { "type": "number" },
|
||||
"amount": { "type": "integer" },
|
||||
"unit": { "type": "string" }
|
||||
"unit": { "type": "string" },
|
||||
"currency": { "type": "string" }
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
11
schemas/settings.json
Normal file
11
schemas/settings.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://example.com/settings.json",
|
||||
"title": "Settings",
|
||||
"description": "Settings",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"default_currency": { "type": "string" }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue