{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "EMODnet windfarm feature",
  "description": "GeoJSON representation of the EMODnet Human Activities windfarms feature type, as a single Feature or a FeatureCollection such as a WFS response. Property names, optionality, nullability, and value types follow the service's published windfarms XSD.\n",
  "anyOf": [
    {
      "$ref": "#/$defs/Windfarm"
    },
    {
      "$ref": "#/$defs/WindfarmCollection"
    }
  ],
  "$defs": {
    "WindfarmCollection": {
      "allOf": [
        {
          "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema.json"
        },
        {
          "type": "object",
          "required": [
            "features"
          ],
          "properties": {
            "features": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/Windfarm"
              }
            }
          }
        }
      ]
    },
    "Windfarm": {
      "allOf": [
        {
          "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema.json"
        },
        {
          "type": "object",
          "required": [
            "properties"
          ],
          "properties": {
            "properties": {
              "type": "object",
              "properties": {
                "country": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Country name as published by EMODnet; the XSD type is nullable xsd:string.",
                  "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/windfarm/country",
                  "x-jsonld-type": "@vocab",
                  "x-jsonld-vocab": "https://w3id.org/ogc/hosted/seadots/emodnet/"
                },
                "n_turbines": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm/nTurbines"
                },
                "power_mw": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm/powerMW"
                },
                "status": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Status text as published by EMODnet (nullable xsd:string).",
                  "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet/",
                  "x-jsonld-type": "@vocab"
                },
                "type_inst": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/windfarm/installationType"
                },
                "updateyear": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm/updateYear"
                },
                "year": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm/year"
                },
                "dist_coast": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm/distanceToCoast"
                },
                "notes": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "x-jsonld-id": "http://purl.org/dc/terms/description"
                },
                "shape_leng": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "shape_area": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "area_sqkm": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              "x-jsonld-id": "https://purl.org/geojson/vocab#properties"
            },
            "additionalProperties": {}
          }
        }
      ]
    }
  },
  "x-jsonld-extra-terms": {
    "id": "@id",
    "type": "@type",
    "Feature": "https://purl.org/geojson/vocab#Feature",
    "Point": "https://purl.org/geojson/vocab#Point",
    "Polygon": "https://purl.org/geojson/vocab#Polygon",
    "MultiPolygon": "https://purl.org/geojson/vocab#MultiPolygon",
    "geometry": "https://purl.org/geojson/vocab#geometry",
    "coordinates": {
      "x-jsonld-id": "https://purl.org/geojson/vocab#coordinates",
      "x-jsonld-container": "@list"
    }
  },
  "x-jsonld-vocab": "https://w3id.org/ogc/hosted/seadots/emodnet/",
  "x-jsonld-prefixes": {
    "geojson": "https://purl.org/geojson/vocab#",
    "owf": "https://w3id.org/ogc/hosted/seadots/windfarm/",
    "seadots": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm/",
    "dcterms": "http://purl.org/dc/terms/",
    "seadots-emodnet": "https://w3id.org/ogc/hosted/seadots/emodnet/",
    "inspire-cofv": "http://inspire.ec.europa.eu/codelist/ConditionOfFacilityValue/"
  },
  "x-bblocks-metadata": {
    "itemIdentifier": "ogc.hosted.seadots.windfarms.windfarm-designated-area-emodnet",
    "register": "https://ogcincubator.github.io/bblocks-seadots/build/register.json",
    "version": "0.1",
    "dateOfLastChange": "2026-07-24"
  }
}