{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pure-storage/json-schema/pure-storage-test-result-remote-execution-get-schema.json",
  "title": "TestResultRemoteExecutionGet",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pure-storage-active-directory-api-openapi.yml#/components/schemas/TestResultRemoteExecutionGet",
  "allOf": [
    {
      "$ref": "#/$defs/TestResultRemoteExecution"
    },
    {
      "$ref": "#/$defs/_errorContextResponse_2"
    },
    {
      "$ref": "#/$defs/PageInfo_2"
    },
    {
      "type": "object",
      "properties": {
        "total_item_count": {
          "description": "Total number of items after applying `filter` params.",
          "type": "integer",
          "format": "int32"
        }
      }
    }
  ],
  "$defs": {
    "PageInfo_2": {
      "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"
        }
      }
    },
    "TestResultRemoteExecution": {
      "allOf": [
        {
          "$ref": "#/$defs/PageInfo_2"
        },
        {
          "$ref": "#/$defs/_errorContextResponse_2"
        },
        {
          "type": "object",
          "properties": {
            "items": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/TestResultWithContext"
              }
            }
          }
        }
      ]
    },
    "TestResultWithContext": {
      "allOf": [
        {
          "$ref": "#/$defs/TestResult_2"
        },
        {
          "$ref": "#/$defs/_context_2"
        }
      ]
    },
    "TestResult_2": {
      "type": "object",
      "properties": {
        "component_address": {
          "description": "Address of the component running the test.",
          "type": "string"
        },
        "component_name": {
          "description": "Name of the component running the test.",
          "type": "string"
        },
        "description": {
          "description": "What the test is doing.",
          "type": "string"
        },
        "destination": {
          "description": "The URI of the target server being tested.",
          "type": "string"
        },
        "enabled": {
          "description": "Is the service enabled or not?",
          "type": "boolean"
        },
        "resource": {
          "description": "A reference to the object being tested.",
          "title": "FixedReference",
          "allOf": [
            {
              "$ref": "#/$defs/_fixedReference_2"
            }
          ]
        },
        "result_details": {
          "description": "Additional information about the test result.",
          "type": "string"
        },
        "success": {
          "description": "Returns a value of `true` if the specified test succeeded.\nReturns a value of `false` if the specified test failed.\n",
          "type": "boolean"
        },
        "test_type": {
          "description": "Displays the type of test being performed. The returned values are determined\nby the `resource` being tested and its configuration.\n",
          "type": "string"
        }
      }
    },
    "_context_2": {
      "type": "object",
      "properties": {
        "context": {
          "description": "The context in which the operation was performed.\n\nValid values include a reference to any array which is a member of the same fleet\nor to the fleet itself.\n\nOther parameters provided with the request, such as names of volumes or snapshots,\nare resolved relative to the provided `context`.\n",
          "readOnly": true,
          "title": "FixedReference",
          "allOf": [
            {
              "$ref": "#/$defs/_fixedReference_2"
            }
          ]
        }
      }
    },
    "_errorContextResponseErrors": {
      "type": "object",
      "properties": {
        "context": {
          "description": "Contains information relating to the cause of this error,\nor the name of the object that was being processed when the error was encountered.\nThis may be `null` for more general errors.\n",
          "type": "string"
        },
        "location_context": {
          "description": "Contains information relating to the context in which the request was executing\nwhen the error occurred.\nFor example, this may be the name of an array in the same fleet.\nThis may be `null` for more general errors, or if no explicit `context` parameter\nwas provided with the request.\n",
          "title": "FixedReference",
          "allOf": [
            {
              "$ref": "#/$defs/_fixedReference_2"
            }
          ]
        },
        "message": {
          "description": "A description of the error which occurred.",
          "type": "string"
        }
      }
    },
    "_errorContextResponse_2": {
      "type": "object",
      "properties": {
        "errors": {
          "description": "The list of errors encountered when attempting to perform an operation.",
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "#/$defs/_errorContextResponseErrors"
          }
        }
      }
    },
    "_fixedReferenceWithoutType": {
      "type": "object",
      "properties": {
        "id": {
          "description": "A globally unique, system-generated ID.\nThe ID cannot be modified.\n",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "description": "The resource name, such as volume name, file system name,\nsnapshot name, and so on.\n",
          "type": "string",
          "readOnly": true
        }
      },
      "x-readOnly": true
    },
    "_fixedReference_2": {
      "allOf": [
        {
          "$ref": "#/$defs/_fixedReferenceWithoutType"
        },
        {
          "type": "object",
          "properties": {
            "resource_type": {
              "description": "Type of the object (full name of the endpoint).\nValid values are the unique part of the resource's REST endpoint.\nFor example, a reference to a file system would have a\n`resource_type` of `file-systems`.\n",
              "type": "string",
              "readOnly": true
            }
          }
        }
      ]
    }
  }
}