{
  "openapi": "3.1.0",
  "info": {
    "title": "Planning Department — Raster Grids on Land Utilization",
    "version": "csdi-native-readonly-v1",
    "description": "Deterministic derivative of retained native CSDI metadata. Read-only GET operations are selected only where native capabilities and protocol documentation support them. Publisher originals remain separate. Successful metadata retrieval does not prove current data-query success, complete response fields or all layer combinations."
  },
  "paths": {
    "/server/services/common/pland_rcd_1754559265139_25057/MapServer/WMSServer": {
      "get": {
        "operationId": "WmsMapServerGetMap",
        "tags": [
          "WMS"
        ],
        "summary": "Render a map image",
        "description": "Map rendering returns its advertised native image/document representation. It does not return a feature JSON collection. Layer CRS, style and bounding-box choices are retained; no data observation is implied by metadata availability.",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "required": true,
            "description": "OGC service identifier.",
            "schema": {
              "type": "string",
              "enum": [
                "WMS"
              ]
            },
            "example": "WMS"
          },
          {
            "name": "version",
            "in": "query",
            "required": true,
            "description": "Exact advertised WMS version.",
            "schema": {
              "type": "string",
              "enum": [
                "1.3.0"
              ]
            },
            "example": "1.3.0"
          },
          {
            "name": "request",
            "in": "query",
            "required": true,
            "description": "Read-only GetMap operation.",
            "schema": {
              "type": "string",
              "enum": [
                "GetMap"
              ]
            },
            "example": "GetMap"
          },
          {
            "name": "layers",
            "in": "query",
            "required": true,
            "description": "Comma-separated published map layer names. Values are publisher identifiers; examples are choices, not a closed enumeration. The full ID/title directory is in x-csdi-layer-choices.",
            "schema": {
              "type": "string"
            },
            "examples": {
              "choice1": {
                "summary": "BLU",
                "value": "BLU"
              }
            },
            "x-choice-count": 1
          },
          {
            "name": "styles",
            "in": "query",
            "required": true,
            "description": "Comma-separated style names; an empty string selects the standard default style.",
            "schema": {
              "type": "string"
            },
            "example": "",
            "allowEmptyValue": true
          },
          {
            "name": "format",
            "in": "query",
            "required": true,
            "description": "Advertised GetMap representation.",
            "schema": {
              "type": "string",
              "enum": [
                "image/bmp",
                "image/jpeg",
                "image/tiff",
                "image/png",
                "image/png8",
                "image/png24",
                "image/png32",
                "image/gif",
                "image/svg+xml"
              ]
            },
            "example": "image/png"
          },
          {
            "name": "width",
            "in": "query",
            "required": true,
            "description": "Requested image width in pixels; no invented maximum.",
            "schema": {
              "type": "integer"
            },
            "example": 256
          },
          {
            "name": "height",
            "in": "query",
            "required": true,
            "description": "Requested image height in pixels; no invented maximum.",
            "schema": {
              "type": "integer"
            },
            "example": 256
          },
          {
            "name": "crs",
            "in": "query",
            "required": true,
            "description": "Advertised coordinate reference system; support depends on selected layer. Observe the WMS version and CRS axis order.",
            "schema": {
              "type": "string"
            },
            "example": "CRS:84"
          },
          {
            "name": "bbox",
            "in": "query",
            "required": true,
            "description": "minx,miny,maxx,maxy in the chosen CRS and its specified axis order. Example, when present, is an actual advertised bounding box.",
            "schema": {
              "type": "string"
            },
            "example": "113.821772,22.139535,114.441627,22.573382"
          }
        ],
        "responses": {
          "200": {
            "description": "Native publisher response; protocol or business errors may also be returned. Metadata connection and actual data-query success are separate.",
            "content": {
              "image/bmp": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "image/jpeg": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "image/tiff": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "image/png": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "image/png8": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "image/png24": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "image/png32": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "image/gif": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "image/svg+xml": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://portal.csdi.gov.hk/csdi-webpage/doc/GeoSpatialServices"
        },
        "x-advertised-crss": [
          "CRS:84",
          "EPSG:4326",
          "EPSG:2326",
          "EPSG:102140"
        ],
        "servers": [
          {
            "url": "https://portal.csdi.gov.hk"
          }
        ],
        "x-native-source-evidence": [
          {
            "url": "https://portal.csdi.gov.hk/server/services/common/pland_rcd_1754559265139_25057/MapServer/WMSServer?service=wms&request=GetCapabilities",
            "sha256": "4d38d03111086742369fb4372072c13d6cf2759093fe187aed76c729a5c14026",
            "httpStatus": 200,
            "contentType": "text/xml",
            "role": "wms-capabilities",
            "parseStatus": "pass",
            "kind": "wms-capabilities"
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {}
  },
  "externalDocs": {
    "url": "https://portal.csdi.gov.hk/csdi-webpage/doc/GeoSpatialServices"
  },
  "x-csdi-layer-choices": [
    {
      "id": "BLU",
      "title": "BLU",
      "protocol": "wms",
      "crss": [
        "CRS:84",
        "EPSG:4326",
        "EPSG:2326",
        "EPSG:102140"
      ],
      "bounds": [
        {
          "CRS": "CRS:84",
          "minx": "113.821772",
          "miny": "22.139535",
          "maxx": "114.441627",
          "maxy": "22.573382"
        },
        {
          "CRS": "EPSG:4326",
          "minx": "22.139535",
          "miny": "113.821772",
          "maxx": "22.573382",
          "maxy": "114.441627"
        },
        {
          "CRS": "EPSG:2326",
          "minx": "800000.000000",
          "miny": "800000.000000",
          "maxx": "848000.000000",
          "maxy": "863750.000000"
        },
        {
          "CRS": "EPSG:102140",
          "minx": "800000.000000",
          "miny": "800000.000000",
          "maxx": "848000.000000",
          "maxy": "863750.000000"
        },
        {
          "CRS": "CRS:84",
          "minx": "113.821772",
          "miny": "22.139535",
          "maxx": "114.441627",
          "maxy": "22.573382"
        },
        {
          "CRS": "EPSG:4326",
          "minx": "22.139535",
          "miny": "113.821772",
          "maxx": "22.573382",
          "maxy": "114.441627"
        },
        {
          "CRS": "EPSG:2326",
          "minx": "800000.000000",
          "miny": "800000.000000",
          "maxx": "848000.000000",
          "maxy": "863750.000000"
        },
        {
          "CRS": "EPSG:102140",
          "minx": "800000.000000",
          "miny": "800000.000000",
          "maxx": "848000.000000",
          "maxy": "863750.000000"
        }
      ],
      "styles": [
        {
          "id": "default",
          "title": "BLU"
        }
      ]
    }
  ],
  "x-csdi-source-evidence": [
    {
      "url": "https://portal.csdi.gov.hk/geoportal/csw?service=CSW&version=2.0.2&request=GetRecordById&elementSetName=full&id=pland_rcd_1754559265139_25057",
      "sha256": "c5a3293b12b6273b62d6ca1cade9b1c266f6579cf3bd13552f495533560ba29e",
      "httpStatus": 200,
      "contentType": "application/xml;charset=UTF-8",
      "role": "csw-record",
      "parseStatus": "pass",
      "kind": "csw-record"
    },
    {
      "url": "https://portal.csdi.gov.hk/server/services/common/pland_rcd_1754559265139_25057/MapServer/WMSServer?service=wms&request=GetCapabilities",
      "sha256": "4d38d03111086742369fb4372072c13d6cf2759093fe187aed76c729a5c14026",
      "httpStatus": 200,
      "contentType": "text/xml",
      "role": "wms-capabilities",
      "parseStatus": "pass",
      "kind": "wms-capabilities"
    }
  ],
  "x-csdi-source-scope": {
    "partialProtocols": [],
    "nativeMetadataStatus": {
      "status": "http_200_retained",
      "http200Sources": 2
    },
    "fullSourceCompleteness": "not_established",
    "actualDataQueriesByConversion": 0
  }
}
