{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/usps/json-schema/usps-enrollment-request-schema.json",
  "title": "Enrollment Request",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/usps-ship-enrollment-openapi.yml#/components/schemas/EnrollmentRequest",
  "type": "object",
  "properties": {
    "MIDs": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^(\\d{6}|\\d{9})$"
      },
      "description": "The Mailer IDs (MIDs) whose enrollment is being checked. Currently only one MID is allowed per request. Multiple MIDs will be supported in a future version.",
      "maxItems": 1,
      "minItems": 1
    }
  },
  "required": [
    "MIDs"
  ]
}