{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/xn-s7y-xn-3ds443g/json-schema/xn-s7y-xn-3ds443g-non-active-link-created-schema.json",
  "title": "NonActiveLinkCreated",
  "description": "Quarantined or other non-active create outcome. short_url, short_url_ascii, destination, and qr_tracking_url are omitted.",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/xn-s7y-xn-3ds443g-openapi.json#/components/schemas/NonActiveLinkCreated",
  "type": "object",
  "required": [
    "id",
    "state",
    "created_at",
    "status_url",
    "request_id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Short code"
    },
    "state": {
      "type": "string",
      "enum": [
        "quarantined",
        "disabled",
        "blocked",
        "expired"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "status_url": {
      "type": "string",
      "format": "uri",
      "description": "Absolute URL for GET /v1/links/{id}"
    },
    "request_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9._-]{1,128}$",
      "maxLength": 128,
      "description": "Same value as the X-Request-Id response header: the inbound X-Request-Id if it matches [A-Za-z0-9._-]{1,128}, otherwise a fresh server-generated id."
    },
    "error": {
      "type": "string",
      "const": "LINK_QUARANTINED"
    },
    "message": {
      "type": "string"
    }
  }
}