{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/artashippinginc/json-schema/artashippinginc-collection-tag-rule-schema.json",
  "title": "CollectionTagRule",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/artashippinginc-collection-tag-rules-api-openapi.yml#/components/schemas/CollectionTagRule",
  "properties": {
    "created_at": {
      "description": "A NaiveDatetime-formatted timestamp describing when the resource was created with microsecond precision",
      "format": "date-time",
      "type": "string",
      "x-struct": null,
      "x-validate": null
    },
    "id": {
      "description": "The ID of the collection tag rule in UUID format",
      "format": "uuid",
      "type": "string",
      "x-struct": null,
      "x-validate": null
    },
    "pattern": {
      "description": "The pattern to match against shipment tags. For exact match, this should be the exact tag name. For pattern_match, supports * wildcard.",
      "maxLength": 100,
      "type": "string",
      "x-struct": null,
      "x-validate": null
    },
    "tag_id": {
      "description": "The ID of the Tag this rule applies to. If provided, the rule will only apply to shipments with this tag.",
      "type": "uuid",
      "x-struct": null,
      "x-validate": null
    },
    "updated_at": {
      "description": "A NaiveDatetime-formatted timestamp describing when the resource was last updated with microsecond precision",
      "format": "date-time",
      "type": "string",
      "x-struct": null,
      "x-validate": null
    }
  },
  "type": "object",
  "x-struct": "Elixir.DocsWeb.Schemas.Response.CollectionTagRule",
  "x-validate": null
}