Wind Resource Data Schema¶
Schema for wind resource data with clustering information.
Schema File¶
src/awesio/schemas/wind_resource_schema.yml
Example File¶
See: examples/wind_resource.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¶
Wind Resource Data Schema¶
wind_resource_schema |
||||||
Schema for wind resource data with clustering information. |
||||||
type |
object |
|||||
properties |
||||||
|
type |
object |
||||
properties |
||||||
|
type |
string |
||||
|
type |
string |
||||
|
type |
string |
||||
|
type |
string |
||||
|
type |
string |
||||
const |
wind_resource_schema.yml |
|||||
|
type |
integer |
||||
minimum |
1 |
|||||
|
type |
integer |
||||
minimum |
1 |
|||||
|
type |
integer |
||||
minimum |
1 |
|||||
|
type |
number |
||||
minimum |
0 |
|||||
|
type |
number |
||||
minimum |
0 |
|||||
|
type |
integer |
||||
minimum |
1 |
|||||
|
type |
array |
||||
maxItems |
2 |
|||||
minItems |
2 |
|||||
|
type |
string |
||||
|
type |
object |
||||
properties |
||||||
|
type |
number |
||||
|
type |
number |
||||
additionalProperties |
False |
|||||
|
type |
object |
||||
properties |
||||||
|
type |
integer |
||||
|
type |
integer |
||||
|
type |
array |
||||
|
type |
string / array |
||||
additionalProperties |
False |
|||||
|
type |
array |
||||
|
type |
string |
||||
additionalProperties |
True |
|||||
|
type |
array |
||||
items |
type |
number |
||||
|
type |
object |
||||
properties |
||||||
|
type |
array |
||||
items |
type |
number |
||||
|
type |
array |
||||
items |
type |
number |
||||
additionalProperties |
False |
|||||
|
type |
object |
||||
properties |
||||||
|
type |
array |
||||
items |
type |
number |
||||
|
type |
array |
||||
items |
type |
number |
||||
additionalProperties |
False |
|||||
|
type |
array |
||||
items |
type |
object |
||||
properties |
||||||
|
type |
integer |
||||
minimum |
1 |
|||||
|
type |
integer |
||||
minimum |
0 |
|||||
|
type |
number |
||||
maximum |
1 |
|||||
minimum |
0 |
|||||
|
type |
number |
||||
minimum |
0 |
|||||
|
type |
number |
||||
minimum |
0 |
|||||
|
type |
number |
||||
|
type |
number |
||||
minimum |
0 |
|||||
|
type |
array |
||||
items |
type |
number |
||||
|
type |
array |
||||
items |
type |
number |
||||
|
type |
array |
||||
items |
type |
number |
||||
|
type |
array |
||||
items |
type |
number |
||||
additionalProperties |
False |
|||||
|
type |
object |
||||
properties |
||||||
|
type |
string |
||||
|
type |
string |
||||
|
type |
array |
||||
items |
type |
array |
||||
items |
type |
array |
||||
items |
type |
number |
||||
additionalProperties |
False |
|||||
additionalProperties |
False |
|||||