Power Curves Data Schema¶
Schema for AWES power curves data with cluster-specific power outputs.
Schema File¶
src/awesio/schemas/power_curves_schema.yml
Example File¶
See: examples/ground_gen/soft_kite_pumping_ground_gen_power_curves.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¶
Power Curves Data Schema¶
power_curves_schema |
||||||||
Schema for AWES power curves data with cluster-specific power outputs. |
||||||||
type |
object |
|||||||
properties |
||||||||
|
type |
object |
||||||
properties |
||||||||
|
type |
string |
||||||
|
type |
string |
||||||
|
type |
string |
||||||
|
type |
string |
||||||
|
type |
string |
||||||
const |
power_curves_schema.yml |
|||||||
|
type |
string |
||||||
|
type |
object |
||||||
properties |
||||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
additionalProperties |
True |
|||||||
|
type |
object |
||||||
properties |
||||||||
|
type |
integer |
||||||
minimum |
1 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
object |
||||||
properties |
||||||||
|
type |
number |
||||||
|
type |
number |
||||||
additionalProperties |
False |
|||||||
|
type |
object |
||||||
|
type |
string |
||||||
additionalProperties |
True |
|||||||
additionalProperties |
True |
|||||||
|
type |
array |
||||||
items |
type |
number |
||||||
|
type |
array |
||||||
items |
type |
number |
||||||
|
type |
array |
||||||
items |
type |
object |
||||||
properties |
||||||||
|
type |
integer |
||||||
minimum |
1 |
|||||||
|
type |
number |
||||||
maximum |
1 |
|||||||
minimum |
0 |
|||||||
|
type |
object |
||||||
properties |
||||||||
|
type |
array |
||||||
items |
type |
number |
||||||
|
type |
array |
||||||
items |
type |
number |
||||||
additionalProperties |
True |
|||||||
|
type |
array |
||||||
items |
type |
object |
||||||
properties |
||||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
boolean |
||||||
|
type |
object |
||||||
properties |
||||||||
|
type |
object |
||||||
properties |
||||||||
|
type |
number |
||||||
|
type |
number |
||||||
|
type |
number |
||||||
additionalProperties |
True |
|||||||
|
type |
object |
||||||
properties |
||||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
number |
||||||
minimum |
0 |
|||||||
additionalProperties |
True |
|||||||
additionalProperties |
True |
|||||||
|
type |
object |
||||||
properties |
||||||||
|
type |
array |
||||||
items |
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
array |
||||||
items |
type |
number |
||||||
|
type |
array |
||||||
items |
type |
number |
||||||
|
type |
array |
||||||
items |
type |
number |
||||||
|
type |
array |
||||||
items |
type |
number |
||||||
|
type |
array |
||||||
items |
type |
number |
||||||
minimum |
0 |
|||||||
|
type |
array |
||||||
items |
type |
number |
||||||
additionalProperties |
True |
|||||||
additionalProperties |
True |
|||||||
additionalProperties |
True |
|||||||
additionalProperties |
True |
|||||||