{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/la-poste/main/json-schema/response.json",
  "title": "Response",
  "type": "object",
  "properties": {
    "mediaType": {
      "$ref": "#/components/schemas/MediaType"
    },
    "status": {
      "type": "integer",
      "format": "int32"
    },
    "cookies": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/components/schemas/NewCookie"
      }
    },
    "length": {
      "type": "integer",
      "format": "int32"
    },
    "location": {
      "type": "string",
      "format": "uri"
    },
    "language": {
      "type": "object",
      "properties": {
        "language": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "variant": {
          "type": "string"
        },
        "script": {
          "type": "string"
        },
        "unicodeLocaleAttributes": {
          "uniqueItems": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "unicodeLocaleKeys": {
          "uniqueItems": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "displayLanguage": {
          "type": "string"
        },
        "displayScript": {
          "type": "string"
        },
        "displayCountry": {
          "type": "string"
        },
        "displayVariant": {
          "type": "string"
        },
        "extensionKeys": {
          "uniqueItems": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "iso3Language": {
          "type": "string"
        },
        "iso3Country": {
          "type": "string"
        }
      }
    },
    "date": {
      "type": "string",
      "format": "date-time"
    },
    "lastModified": {
      "type": "string",
      "format": "date-time"
    },
    "closed": {
      "type": "boolean"
    },
    "metadata": {
      "type": "object",
      "properties": {
        "empty": {
          "type": "boolean"
        }
      },
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "object"
        }
      }
    },
    "allowedMethods": {
      "uniqueItems": true,
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "statusInfo": {
      "$ref": "#/components/schemas/StatusType"
    },
    "links": {
      "uniqueItems": true,
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Link"
      }
    },
    "entityTag": {
      "$ref": "#/components/schemas/EntityTag"
    },
    "stringHeaders": {
      "type": "object",
      "properties": {
        "empty": {
          "type": "boolean"
        }
      },
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {
        "empty": {
          "type": "boolean"
        }
      },
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "object"
        }
      }
    },
    "entity": {
      "type": "object"
    }
  }
}