{
  "id": "wkb",
  "kind": "datatype",
  "status": "draft",
  "name": "Well-known binary (WKB) geometry",
  "doc": "Geometry in the well-known binary (WKB) encoding of the OGC Simple Features standard: a byte order flag (0 big-endian, 1 little-endian), a geometry type and the coordinates. GeoParquet and GeoPackage files keep it as bytes; databases and text exports write it as hexadecimal, PostGIS in its extended form (EWKB) with the spatial reference id. The text form is wkt.",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "langs": [
    "common"
  ],
  "regexp": "^(?:00|01)[0-9A-Fa-f]{8}(?:[0-9A-Fa-f]{2})+$",
  "examples": [
    {
      "value": "0101000000000000000000F03F000000000000F03F",
      "description": "POINT (1 1)",
      "valid": true
    },
    {
      "value": "0101000020E6100000000000000000F03F000000000000F03F",
      "description": "EWKB POINT (1 1) with SRID 4326",
      "valid": true
    },
    {
      "value": "POINT (1 1)",
      "description": "WKT: wkt",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry#Well-known_binary"
    }
  ],
  "translations": {
    "ru": {
      "name": "Геометрия WKB"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "wkbbyvalue",
        "type": "data",
        "match": "func",
        "file": "common/geo.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/geo/wkb.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/geo/wkb.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/geo/wkb.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/wkb",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/wkb.json"
  }
}