Operational Constraints Schema¶
Schema for AWES operational constraints with terrain-based azimuth zones. Supports type-specific constraints for different system types.
Schema File¶
src/awesio/schemas/operational_constraints_schema.yml
Example File¶
See: examples/ground_gen/soft_kite_pumping_ground_gen_operational_constraints.yml
Validation¶
To validate a file against this schema:
from awesio.validator import validate
# Auto-detects schema from file metadata
data = validate("your_file.yml")
The validator automatically detects the schema type from the metadata.schema field in your YAML file.
Schema Structure¶
Operational Constraints Schema¶
operational_constraints_schema |
||||||||
Schema for AWES operational constraints with terrain-based azimuth zones. Supports type-specific constraints for different system types. |
||||||||
type |
object |
|||||||
properties |
||||||||
|
type |
object |
||||||
properties |
||||||||
|
type |
string |
||||||
|
type |
string |
||||||
|
type |
string |
||||||
|
type |
string |
||||||
|
type |
string |
||||||
const |
operational_constraints_schema.yml |
|||||||
|
type |
string |
||||||
enum |
pumping_ground_gen, rotary_ground_gen, fly_gen |
|||||||
additionalProperties |
False |
|||||||
|
type |
object |
||||||
properties |
||||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
maximum |
1 |
|||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
additionalProperties |
False |
|||||||
|
type |
object |
||||||
properties |
||||||||
|
type |
object |
||||||
|
type |
object |
||||||
|
type |
object |
||||||
|
type |
object |
||||||
|
type |
number |
||||||
|
type |
number |
||||||
|
type |
number |
||||||
additionalProperties |
False |
|||||||
|
type |
object |
||||||
properties |
||||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
object |
||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
additionalProperties |
False |
|||||||
|
type |
object |
||||||
properties |
||||||||
|
type |
object |
||||||
|
type |
object |
||||||
|
type |
object |
||||||
|
type |
object |
||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
object |
||||||
additionalProperties |
False |
|||||||
|
type |
object |
||||||
properties |
||||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
additionalProperties |
False |
|||||||
|
type |
object |
||||||
properties |
||||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
additionalProperties |
False |
|||||||
|
type |
object |
||||||
properties |
||||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
additionalProperties |
False |
|||||||
|
type |
object |
||||||
properties |
||||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
array |
||||||
items |
type |
object |
||||||
additionalProperties |
False |
|||||||
|
type |
object |
||||||
properties |
||||||||
|
type |
string |
||||||
|
type |
string |
||||||
|
type |
string |
||||||
|
type |
array |
||||||
items |
type |
object |
||||||
properties |
||||||||
|
type |
array |
||||||
items |
type |
number |
||||||
maximum |
360 |
|||||||
minimum |
0 |
|||||||
maxItems |
2 |
|||||||
minItems |
2 |
|||||||
|
type |
boolean |
||||||
|
type |
array |
||||||
items |
type |
object |
||||||
properties |
||||||||
|
type |
array |
||||||
items |
type |
number |
||||||
minimum |
0 |
|||||||
maxItems |
2 |
|||||||
minItems |
2 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
additionalProperties |
False |
|||||||
additionalProperties |
False |
|||||||
additionalProperties |
False |
|||||||
additionalProperties |
False |
|||||||