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": {
"type": "string", "anyOf": [{
"pattern": "\\d*\\s{1}[A-Z]{3}", "type": "string",
"description": "The ISO 4217 currency code." "pattern": "\\d*\\s{1}[A-Z]{3}",
"description": "The ISO 4217 currency code."
}, {
"type": "string",
"maxLength": 0
}]
}, },
"total_assets": { "total_assets": {
"type": "string", "anyOf": [{
"pattern": "\\d*\\s{1}[A-Z]{3}", "type": "string",
"description": "The ISO 4217 currency code." "pattern": "\\d*\\s{1}[A-Z]{3}",
"description": "The ISO 4217 currency code."
}, {
"type": "string",
"maxLength": 0
}]
}, },
"revenues": { "revenues": {
"type": "string", "anyOf": [{
"pattern": "\\d*\\s{1}[A-Z]{3}", "type": "string",
"description": "The ISO 4217 currency code." "pattern": "\\d*\\s{1}[A-Z]{3}",
"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