{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-ise/json-schema/cisco-ise-fetch-epg-request-schema.json",
  "title": "FetchEpgRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-ise-aci-data-api-openapi.yml#/components/schemas/FetchEpgRequest",
  "required": [
    "hostname",
    "name",
    "username"
  ],
  "type": "object",
  "properties": {
    "domain": {
      "type": "string",
      "description": "Auth Domain",
      "exampleSetFlag": true
    },
    "hostname": {
      "type": "string",
      "description": "ACI hostname or IP address",
      "exampleSetFlag": true
    },
    "id": {
      "type": "string",
      "description": "ID if connection is already created",
      "exampleSetFlag": true
    },
    "name": {
      "type": "string",
      "description": "ACI name",
      "exampleSetFlag": true
    },
    "nameConversion": {
      "$ref": "#/$defs/NameConversion",
      "exampleSetFlag": true
    },
    "password": {
      "type": "string",
      "description": "Password",
      "exampleSetFlag": true
    },
    "username": {
      "type": "string",
      "description": "Username",
      "exampleSetFlag": true
    },
    "validateCertificate": {
      "type": "boolean",
      "description": "ValidationCertificate",
      "exampleSetFlag": true
    }
  },
  "exampleSetFlag": false,
  "$defs": {
    "AttributeConversion": {
      "title": "AttributeConversion",
      "type": "object",
      "properties": {
        "from": {
          "type": "string",
          "description": "From original value",
          "exampleSetFlag": true
        },
        "to": {
          "type": "string",
          "description": "To new value",
          "exampleSetFlag": true
        },
        "type": {
          "type": "string",
          "exampleSetFlag": true,
          "enum": [
            "AP",
            "CONNECTION_NAME",
            "EPG_TYPE",
            "TN",
            "VN"
          ]
        }
      },
      "description": "Attribute conversion configuration",
      "exampleSetFlag": false
    },
    "NameConversion": {
      "title": "NameConversion",
      "type": "object",
      "properties": {
        "affixType": {
          "type": "string",
          "exampleSetFlag": true,
          "enum": [
            "PREFIX",
            "SUFFIX"
          ]
        },
        "affixValue": {
          "type": "string",
          "description": "Prefix or suffix value",
          "exampleSetFlag": true
        },
        "attributeConversions": {
          "type": "array",
          "exampleSetFlag": true,
          "items": {
            "$ref": "#/$defs/AttributeConversion",
            "exampleSetFlag": false
          }
        },
        "attributeTypes": {
          "type": "array",
          "exampleSetFlag": true,
          "items": {
            "type": "string",
            "exampleSetFlag": false,
            "enum": [
              "AP",
              "CONNECTION_NAME",
              "EPG_TYPE",
              "TN",
              "VN"
            ]
          }
        },
        "method": {
          "type": "string",
          "description": "Name conversion method:   * `ATTRIBUTE` - Use attributeTypes and attributeConversions to convert name   * `AFFIX` - Use affixType and affixValue to convert name ",
          "exampleSetFlag": true,
          "enum": [
            "AFFIX",
            "ATTRIBUTE"
          ]
        }
      },
      "description": "Name conversion configuration",
      "exampleSetFlag": false
    }
  }
}