La Poste · Schema

NewCookie

PostalParcel TrackingAddress ValidationGeolocationShippingOpen DataFrance

Properties

Name Type Description
name string
value string
version integer
path string
domain string
comment string
maxAge integer
expiry string
secure boolean
httpOnly boolean
sameSite string
View JSON Schema on GitHub

JSON Schema

newcookie.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/la-poste/main/json-schema/newcookie.json",
  "title": "NewCookie",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "value": {
      "type": "string"
    },
    "version": {
      "type": "integer",
      "format": "int32"
    },
    "path": {
      "type": "string"
    },
    "domain": {
      "type": "string"
    },
    "comment": {
      "type": "string"
    },
    "maxAge": {
      "type": "integer",
      "format": "int32"
    },
    "expiry": {
      "type": "string",
      "format": "date-time"
    },
    "secure": {
      "type": "boolean"
    },
    "httpOnly": {
      "type": "boolean"
    },
    "sameSite": {
      "type": "string",
      "enum": [
        "NONE",
        "LAX",
        "STRICT"
      ]
    }
  }
}