{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Polish windfarm extension for EMODnet",
  "description": "A Polish harmonized GeoJSON Feature using the EMODnet windfarm property vocabulary, augmented with generic project, reporting-time, year-semantics, and provenance fields. It accepts complete base-block features and sparse national pipeline records with null geometry. It depends on the base block rather than being a strict profile because national records may not provide the base attributes.",
  "anyOf": [
    {
      "$ref": "https://ogcincubator.github.io/bblocks-seadots/build/annotated/hosted/seadots/emodnet-compliant-windfarm/schema.json"
    },
    {
      "$ref": "#/$defs/sparseFeature"
    }
  ],
  "$defs": {
    "sparseFeature": {
      "type": "object",
      "required": [
        "id",
        "type",
        "geometry",
        "properties"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uri",
          "x-jsonld-id": "@id"
        },
        "type": {
          "const": "Feature",
          "x-jsonld-id": "@type"
        },
        "geometry": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "type": "object",
              "required": [
                "type",
                "coordinates"
              ],
              "properties": {
                "type": {
                  "enum": [
                    "Point",
                    "Polygon",
                    "MultiPolygon"
                  ],
                  "x-jsonld-id": "@type"
                },
                "coordinates": {}
              },
              "additionalProperties": true
            }
          ],
          "x-jsonld-id": "https://purl.org/geojson/vocab#geometry"
        },
        "properties": {
          "type": "object",
          "required": [
            "name",
            "country",
            "power_mw",
            "status",
            "source_type",
            "source_dataset",
            "source_reference",
            "source_snapshot_date",
            "location_status"
          ],
          "properties": {
            "name": {
              "type": "string",
              "x-jsonld-id": "https://schema.org/name"
            },
            "country": {
              "type": "string",
              "x-jsonld-id": "https://schema.org/addressCountry",
              "x-jsonld-type": "@vocab"
            },
            "n_turbines": {
              "type": [
                "number",
                "null"
              ],
              "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm#nTurbines"
            },
            "power_mw": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm#powerMW"
            },
            "status": {
              "oneOf": [
                {
                  "type": "string",
                  "enum": [
                    "Planned",
                    "Production",
                    "Dismantled",
                    "Approved",
                    "Construction"
                  ]
                },
                {
                  "type": "null"
                }
              ],
              "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet/",
              "x-jsonld-type": "@vocab"
            },
            "type_inst": {
              "type": [
                "string",
                "null"
              ],
              "x-jsonld-id": "https://schema.org/additionalType"
            },
            "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"
              ],
              "minimum": 0,
              "description": "Distance to coast in metres",
              "as in the EMODnet source field.": 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"
            },
            "developer": {
              "type": [
                "string",
                "null"
              ],
              "x-jsonld-id": "https://schema.org/creator"
            },
            "status_detail": {
              "type": [
                "string",
                "null"
              ],
              "description": "Source-reported status text before normalization.",
              "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#statusDetail"
            },
            "status_as_of": {
              "type": [
                "string",
                "null"
              ],
              "format": "date",
              "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#statusAsOf",
              "x-jsonld-type": "http://www.w3.org/2001/XMLSchema#date"
            },
            "year_semantics": {
              "type": [
                "string",
                "null"
              ],
              "description": "Meaning of the year value",
              "such as reported year or planned first-power/completion year.": null,
              "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#yearSemantics"
            },
            "year_is_assumed": {
              "type": [
                "boolean",
                "null"
              ],
              "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#yearIsAssumed",
              "x-jsonld-type": "http://www.w3.org/2001/XMLSchema#boolean"
            },
            "source_type": {
              "type": "string",
              "enum": [
                "national",
                "emodnet"
              ],
              "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#sourceType"
            },
            "source_dataset": {
              "type": "string",
              "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#sourceDataset"
            },
            "source_reference": {
              "type": "string",
              "format": "uri",
              "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#sourceReference",
              "x-jsonld-type": "@id"
            },
            "source_snapshot_date": {
              "type": "string",
              "format": "date",
              "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#sourceSnapshotDate",
              "x-jsonld-type": "http://www.w3.org/2001/XMLSchema#date"
            },
            "source_record_id": {
              "type": [
                "string",
                "null"
              ],
              "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#sourceRecordId"
            },
            "location_status": {
              "type": "string",
              "enum": [
                "source-provided",
                "mapped",
                "anticipated",
                "unmatched"
              ],
              "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#locationStatus"
            },
            "location_method": {
              "type": [
                "string",
                "null"
              ],
              "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#locationMethod"
            },
            "location_reference": {
              "type": [
                "string",
                "null"
              ],
              "format": "uri",
              "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#locationReference",
              "x-jsonld-type": "@id"
            },
            "location_emodnet_ids": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#locationEmodnetIds",
              "x-jsonld-container": "@set"
            }
          },
          "additionalProperties": false,
          "x-jsonld-id": "https://purl.org/geojson/vocab#properties"
        }
      },
      "additionalProperties": false
    }
  },
  "x-jsonld-extra-terms": {
    "Feature": "https://purl.org/geojson/vocab#Feature",
    "FeatureCollection": "https://purl.org/geojson/vocab#FeatureCollection",
    "features": {
      "x-jsonld-id": "https://purl.org/geojson/vocab#features",
      "x-jsonld-container": "@set"
    },
    "Poland": "http://publications.europa.eu/resource/authority/country/POL",
    "MatchCandidate": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#MatchCandidate",
    "source_record": {
      "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#sourceRecord",
      "x-jsonld-type": "@id"
    },
    "target_record": {
      "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#targetRecord",
      "x-jsonld-type": "@id"
    },
    "match_method": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#matchMethod",
    "name_score": {
      "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#nameSimilarity",
      "x-jsonld-type": "http://www.w3.org/2001/XMLSchema#decimal"
    },
    "property_score": {
      "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#propertyAgreement",
      "x-jsonld-type": "http://www.w3.org/2001/XMLSchema#decimal"
    },
    "candidate_rank_score": {
      "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#candidateRankScore",
      "x-jsonld-type": "http://www.w3.org/2001/XMLSchema#decimal"
    },
    "capacity_similarity": {
      "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#capacitySimilarity",
      "x-jsonld-type": "http://www.w3.org/2001/XMLSchema#decimal"
    },
    "capacity_delta_mw": {
      "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#capacityDifferenceMW",
      "x-jsonld-type": "http://www.w3.org/2001/XMLSchema#decimal"
    },
    "status_match": {
      "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#statusMatch",
      "x-jsonld-type": "http://www.w3.org/2001/XMLSchema#boolean"
    },
    "year_match": {
      "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#yearMatch",
      "x-jsonld-type": "http://www.w3.org/2001/XMLSchema#boolean"
    },
    "distance_km": {
      "x-jsonld-id": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#distanceKm",
      "x-jsonld-type": "http://www.w3.org/2001/XMLSchema#decimal"
    }
  },
  "x-jsonld-vocab": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#",
  "x-jsonld-prefixes": {
    "geojson": "https://purl.org/geojson/vocab#",
    "schema": "https://schema.org/",
    "em": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm#",
    "dcterms": "http://purl.org/dc/terms/",
    "ses": "https://w3id.org/ogc/hosted/seadots/emodnet-compliant-windfarm-pl#",
    "seadots-emodnet": "https://w3id.org/ogc/hosted/seadots/emodnet/"
  },
  "x-bblocks-metadata": {
    "itemIdentifier": "ogc.hosted.seadots.emodnet-compliant-windfarm-pl",
    "register": "https://ogcincubator.github.io/bblocks-seadots/build/register.json",
    "version": "0.1",
    "dateOfLastChange": "2026-10-27"
  }
}