{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-xdr/json-schema/cisco-xdr-tenant-schema.json",
  "title": "Tenant ...",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-xdr-tenants-api-openapi.yml#/components/schemas/Tenant",
  "type": "object",
  "properties": {
    "available_version": {
      "type": "string",
      "x-go-name": "AvailableVersion"
    },
    "created_by": {
      "type": "string",
      "x-go-name": "CreatedBy"
    },
    "created_on": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "CreatedOn"
    },
    "deleted": {
      "type": "boolean",
      "x-go-name": "Deleted"
    },
    "description": {
      "type": "string",
      "x-go-name": "Description"
    },
    "disable_auto_upgrade": {
      "type": "boolean",
      "x-go-name": "DisableAutoUpgrade"
    },
    "enabled": {
      "type": "boolean",
      "x-go-name": "Enabled"
    },
    "entitlement_summary": {
      "$ref": "#/$defs/EntitlementSummary"
    },
    "externalId": {
      "type": "string",
      "x-go-name": "ExternalID"
    },
    "features": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "x-go-name": "Features"
    },
    "id": {
      "type": "string",
      "x-go-name": "TenantID"
    },
    "is_xdr_enabled": {
      "type": "boolean",
      "x-go-name": "IsXDREnabled"
    },
    "name": {
      "type": "string",
      "x-go-name": "Name"
    },
    "parent_id": {
      "type": "string",
      "x-go-name": "ParentID"
    },
    "status": {
      "$ref": "#/$defs/Status"
    },
    "tenant_name": {
      "type": "string",
      "x-go-name": "TenantName"
    },
    "unique_name": {
      "type": "string",
      "x-go-name": "UniqueName"
    },
    "updated_by": {
      "type": "string",
      "x-go-name": "UpdatedBy"
    },
    "updated_on": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "UpdatedOn"
    },
    "version": {
      "type": "string",
      "x-go-name": "Version"
    }
  },
  "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/be-console/models",
  "$defs": {
    "EntitlementSummary": {
      "type": "object",
      "properties": {
        "techvals": {
          "$ref": "#/$defs/TechVals"
        },
        "tier": {
          "$ref": "#/$defs/Tier"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "State": {
      "type": "string",
      "description": "DefinitionState",
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "Status": {
      "title": "Status ...",
      "type": "object",
      "properties": {
        "details": {
          "$ref": "#/$defs/StatusDetails"
        },
        "prev_state": {
          "$ref": "#/$defs/State"
        },
        "state": {
          "$ref": "#/$defs/State"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "StatusDetails": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "x-go-name": "Code"
        },
        "description": {
          "type": "string",
          "x-go-name": "Description"
        },
        "message": {
          "type": "string",
          "x-go-name": "Message"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "TechVals": {
      "type": "object",
      "properties": {
        "data-maximal-size-in-GB": {
          "type": "integer",
          "format": "uint64",
          "x-go-name": "DataMaximalSizeInGB"
        },
        "data-retention-in-days": {
          "type": "integer",
          "format": "uint64",
          "x-go-name": "DataRetentionInDays"
        },
        "modules": {
          "$ref": "#/$defs/TechValsModules"
        }
      },
      "description": "TechVals organization or tenant data retention information",
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "TechValsModules": {
      "title": "TechValsModules ...",
      "type": "string",
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "Tier": {
      "type": "object",
      "properties": {
        "enforce?": {
          "type": "boolean",
          "x-go-name": "Enforce"
        },
        "quantity": {
          "type": "integer",
          "format": "uint64",
          "x-go-name": "Quantity"
        },
        "title": {
          "$ref": "#/$defs/TierName"
        },
        "unit": {
          "type": "string",
          "x-go-name": "Unit"
        }
      },
      "description": "Tier organization or tenant tier level information",
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "TierName": {
      "title": "TierName ...",
      "type": "string",
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    }
  }
}