{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/asendia/main/json-schema/asendia-post-receptacle-api-model-schema.json",
  "title": "PostReceptacleApiModel",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asendia-a1-receptacle-openapi.yml#/components/schemas/PostReceptacleApiModel",
  "required": [
    "mdmServiceId",
    "originSender",
    "postalFormat",
    "receptacleNumber",
    "receptacleType",
    "receptacleWeight"
  ],
  "type": "object",
  "properties": {
    "receptacleNumber": {
      "minLength": 0,
      "type": "string"
    },
    "receptacleWeight": {
      "maximum": 10000000000,
      "minimum": 0.01,
      "type": "number",
      "format": "double"
    },
    "originSender": {
      "maxLength": 6,
      "type": "string"
    },
    "internalServiceNote": {
      "type": [
        "string",
        "null"
      ]
    },
    "mdmServiceId": {
      "minLength": 0,
      "type": "string"
    },
    "receptacleType": {
      "type": "integer",
      "format": "int32"
    },
    "postalFormat": {
      "type": "string"
    },
    "itemIds": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": false
}