Revision control
Copy as Markdown
Other Tools
{
"title": "Test",
"type": "object",
"required": [
"flexible_string",
"frac",
"seconds",
"seconds_u64_strict",
"time_i64"
],
"properties": {
"flexible_string": {
"oneOf": [
{
"writeOnly": true,
"type": "number",
"minimum": 0.0
},
{
"type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?([eE][+-]?[0-9]+)?$"
}
]
},
"frac": {
"oneOf": [
{
"type": "number",
"minimum": 0.0
},
{
"writeOnly": true,
"type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?([eE][+-]?[0-9]+)?$"
}
]
},
"seconds": {
"oneOf": [
{
"type": "number",
"minimum": 0.0
},
{
"writeOnly": true,
"type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?([eE][+-]?[0-9]+)?$"
}
]
},
"seconds_u64_strict": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"time_i64": {
"oneOf": [
{
"type": "number"
},
{
"writeOnly": true,
"type": "string",
"pattern": "^-?[0-9]+(\\.[0-9]+)?([eE][+-]?[0-9]+)?$"
}
]
}
}
}