{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pure-storage/json-schema/pure-storage-log-targets-file-systems-get-response-schema.json",
  "title": "LogTargetsFileSystemsGetResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pure-storage-audit-log-target-for-file-systems-api-openapi.yml#/components/schemas/LogTargetsFileSystemsGetResponse",
  "allOf": [
    {
      "$ref": "#/$defs/PageInfo"
    },
    {
      "$ref": "#/$defs/LogTargetsFileSystemsResponse"
    }
  ],
  "$defs": {
    "LogTargetsFileSystems": {
      "allOf": [
        {
          "$ref": "#/$defs/_resource"
        },
        {
          "type": "object",
          "properties": {
            "file_system": {
              "description": "The target filesystem where audit logs will be stored.",
              "title": "Reference",
              "allOf": [
                {
                  "$ref": "#/$defs/_reference"
                }
              ]
            },
            "keep_for": {
              "description": "Specifies the period that audit logs are retained before they are deleted,\nin milliseconds.\nDefault value is `null` which means time based retention does not apply.\nUse 0 to reset the value to `null`.\nAt least one of the `keep_for` or `keep_size` parameters is required,\nand they can be set together.\n",
              "type": "integer",
              "format": "int64",
              "minimum": 86400000
            },
            "keep_size": {
              "description": "Specifies the maximum size of audit logs to be retained.\nMeasured in bytes. When exceeded, older logs will be deleted.\nDefault value is `null` which means size-based retention does not apply.\nUse 0 to reset the value to `null`.\nAt least one of the `keep_for` or `keep_size` parameters is required,\nand they can be set together.\n",
              "type": "integer",
              "format": "int64",
              "minimum": 1000000
            }
          }
        }
      ]
    },
    "LogTargetsFileSystemsResponse": {
      "type": "object",
      "properties": {
        "items": {
          "description": "A list of log target objects.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/LogTargetsFileSystems"
          }
        }
      }
    },
    "PageInfo": {
      "type": "object",
      "properties": {
        "continuation_token": {
          "description": "Continuation token that can be provided in the `continuation_token` query\nparam to get the next page of data.\nIf you use the `continuation_token` to page through data you\nare guaranteed to get all items exactly once regardless of\nhow items are modified. If an item is added or deleted during\nthe pagination then it may or may not be returned.\nThe `continuation_token` is generated if the `limit` is less\nthan the remaining number of items, and the default sort is used\n(no sort is specified).\n",
          "type": "string"
        },
        "total_item_count": {
          "description": "Total number of items after applying `filter` params.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "_reference": {
      "type": "object",
      "properties": {
        "id": {
          "description": "A globally unique, system-generated ID.\nThe ID cannot be modified.\n",
          "type": "string"
        },
        "name": {
          "description": "The resource name,\nsuch as volume name, pod name, snapshot name, and so on.\n",
          "type": "string"
        },
        "resource_type": {
          "description": "Type of the object (full name of the endpoint).\nValid values are `hosts`, `host-groups`, `network-interfaces`, `pods`,\n`ports`, `pod-replica-links`, `subnets`, `volumes`, `volume-snapshots`,\n`volume-groups`, `directories`, `policies/nfs`, `policies/smb`, and\n`policies/snapshot`, etc.\n",
          "type": "string",
          "readOnly": true
        }
      },
      "x-aliases": [
        "_referenceWithFixedType"
      ]
    },
    "_resource": {
      "description": "An ordinary (as opposed to built-in) resource that can be created, named,\nrenamed or deleted by the user. This might be a virtual resource (e.g., a\nfile system), or correspond to something in the environment, like a host or a\nserver.\n",
      "type": "object",
      "properties": {
        "id": {
          "description": "A globally unique, system-generated ID.\nThe ID cannot be modified and cannot refer to another resource.\n",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "description": "A user-specified name.\nThe name must be locally unique and can be changed.\n",
          "type": "string"
        }
      }
    }
  }
}