Commit 10acccd3 authored by frequent's avatar frequent

update json schema

parent 56ec9be3
...@@ -172,29 +172,41 @@ ...@@ -172,29 +172,41 @@
"type": "integer" "type": "integer"
}, },
"staff": { "staff": {
"anyOf": [ "anyOf": [{
{
"type": "integer" "type": "integer"
}, }, {
{
"type": "string" "type": "string"
} }]
]
}, },
"earnings": { "earnings": {
"anyOf": [{
"type": "string", "type": "string",
"pattern": "\\d*\\s{1}[A-Z]{3}", "pattern": "\\d*\\s{1}[A-Z]{3}",
"description": "The ISO 4217 currency code." "description": "The ISO 4217 currency code."
}, {
"type": "string",
"maxLength": 0
}]
}, },
"total_assets": { "total_assets": {
"anyOf": [{
"type": "string", "type": "string",
"pattern": "\\d*\\s{1}[A-Z]{3}", "pattern": "\\d*\\s{1}[A-Z]{3}",
"description": "The ISO 4217 currency code." "description": "The ISO 4217 currency code."
}, {
"type": "string",
"maxLength": 0
}]
}, },
"revenues": { "revenues": {
"anyOf": [{
"type": "string", "type": "string",
"pattern": "\\d*\\s{1}[A-Z]{3}", "pattern": "\\d*\\s{1}[A-Z]{3}",
"description": "The ISO 4217 currency code." "description": "The ISO 4217 currency code."
}, {
"type": "string",
"maxLength": 0
}]
}, },
"source_url": { "source_url": {
"anyOf": [{ "anyOf": [{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment