{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-guardduty/json-schema/amazon-guardduty-create-ipset-request-schema.json",
  "title": "CreateIPSetRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-guardduty-ipset-api-openapi.yml#/components/schemas/CreateIPSetRequest",
  "type": "object",
  "properties": {
    "DetectorId": {
      "type": "string",
      "description": "The unique ID of the detector of the GuardDuty account for which you want to create an IPSet. To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API."
    },
    "Name": {
      "type": "string",
      "description": "The user-friendly name to identify the IPSet. Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_)."
    },
    "Format": {
      "type": "string",
      "enum": [
        "TXT",
        "STIX",
        "OTX_CSV",
        "ALIEN_VAULT",
        "PROOF_POINT",
        "FIRE_EYE"
      ],
      "description": "The format of the file that contains the IPSet."
    },
    "Location": {
      "type": "string",
      "description": "The URI of the file that contains the IPSet."
    },
    "Activate": {
      "type": "boolean",
      "description": "A Boolean value that indicates whether GuardDuty is to start using the uploaded IPSet."
    },
    "ClientToken": {
      "type": "string",
      "description": "The idempotency token for the create request."
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags to be added to a new IP set resource."
    },
    "ExpectedBucketOwner": {
      "type": "string",
      "description": "The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the location parameter."
    }
  },
  "required": [
    "DetectorId",
    "Name",
    "Format",
    "Location",
    "Activate"
  ]
}