{
  "id": "gb_brownfield_ownership_status",
  "kind": "datatype",
  "status": "draft",
  "name": "Ownership status of a brownfield land register site",
  "doc": "Ownership of a site in a brownfield land register of an English local planning authority, the OwnershipStatus field of the data standard for these registers. It takes one of four phrases, owned by a public authority, not owned by a public authority, mixed ownership or unknown ownership. Registers write them in lower case or with capitals.",
  "parent": "category",
  "is_pii": false,
  "categories": [
    "realestate",
    "government"
  ],
  "country": [
    "GB"
  ],
  "langs": [
    "en"
  ],
  "classification": "categorical",
  "regexp": "^(?i:owned by a public authority|not owned by a public authority|mixed ownership|unknown ownership)$",
  "examples": [
    {
      "value": "not owned by a public authority",
      "description": "The commonest value of the registers",
      "valid": true
    },
    {
      "value": "owned by a public authority",
      "description": "A site of a council or another public body",
      "valid": true
    },
    {
      "value": "mixed ownership",
      "description": "Public and private owners",
      "valid": true
    },
    {
      "value": "unknown ownership",
      "description": "The owner is unknown or partly unknown",
      "valid": true
    },
    {
      "value": "Private",
      "description": "Not a phrase of the standard",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.gov.uk/government/publications/brownfield-land-registers-data-standard/publish-your-brownfield-land-data"
    }
  ],
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "gbbrownfieldownershipstatusbyname",
        "type": "field",
        "match": "regex",
        "file": "gb/gb_realestate.yaml"
      },
      {
        "rule": "gbbrownfieldownershipstatusvalue",
        "type": "data",
        "match": "text",
        "file": "gb/gb_realestate.yaml"
      }
    ]
  },
  "quality": {
    "score": 85,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/GB/realestate/gb_brownfield_ownership_status.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/GB/realestate/gb_brownfield_ownership_status.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/realestate/gb_brownfield_ownership_status.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/gb_brownfield_ownership_status",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/gb_brownfield_ownership_status.json"
  }
}