{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://publicschema.org/environment/EnvironmentalFacility.schema.json",
  "title": "EnvironmentalFacility",
  "description": "A place where one or more activities regulated for their effect on the environment are carried out, such as an industrial plant, a large livestock unit or a waste water treatment works. The facility keeps its identity when its operator, permits or reporting duties change. Its operator is recorded as a dated AssetPartyRole and its addresses through AssetAddressAssignment. Where another register, such as an agricultural register, records the same site, each record keeps its own identity and a subject match assertion states that they describe the same site.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The full display name of the record. Depending on the concept, this is a person's or group's name, or the title of a program, instrument, scoring rule, or software product."
    },
    "identifiers": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/Identifier.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "Identifiers carried by this entity, such as national ID numbers, program IDs, or identifiers asserted by an identity document."
      }
    },
    "spatial_geometry": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/SpatialGeometry.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "A geometric representation of the described resource. The type of that resource, not this property, says what the shape belongs to. It is separate from an address or a named administrative area."
      }
    },
    "environmental_activities": {
      "type": "array",
      "items": {
        "$ref": "https://publicschema.org/CodedValue.schema.json",
        "description": "The regulated activities carried out at the facility, such as intensive pig rearing or waste incineration, each taken from a named activity list."
      }
    }
  }
}
