{
  "name": "HeadObject",
  "plane": "data",
  "terraformEligible": false,
  "protocol": {
    "kind": "rest",
    "method": "HEAD",
    "path": "/{bucket}/{key}",
    "query": [],
    "headers": [],
    "body": false
  },
  "requestBody": "explicitlyEmpty",
  "responseBody": "explicitlyEmpty",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "properties": {
      "bucket": {
        "type": "string"
      },
      "key": {
        "type": "string"
      }
    },
    "required": [
      "bucket",
      "key"
    ],
    "title": "HeadObjectRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "properties": {
      "contentLength": {
        "format": "uint64",
        "minimum": 0.0,
        "type": "integer"
      },
      "contentType": {
        "type": [
          "string",
          "null"
        ]
      },
      "etag": {
        "type": "string"
      }
    },
    "required": [
      "contentLength",
      "etag"
    ],
    "title": "ObjectMetadata",
    "type": "object"
  }
}
