{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-healthomics/json-schema/amazon-healthomics-list-shares-response-schema.json",
  "title": "ListSharesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-healthomics-operations-api-openapi.yml#/components/schemas/ListSharesResponse",
  "type": "object",
  "properties": {
    "shares": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ShareDetails"
      },
      "description": "The shares available and their metadata details."
    },
    "nextToken": {
      "type": "string",
      "description": "Next token returned in the response of a previous ListSharesResponse call. Used to get the next page of results."
    }
  },
  "required": [
    "shares"
  ],
  "$defs": {
    "ShareDetails": {
      "type": "object",
      "properties": {
        "shareId": {
          "type": "string",
          "description": "The ID of the resource share."
        },
        "resourceArn": {
          "type": "string",
          "description": "The Arn of the shared resource."
        },
        "resourceId": {
          "type": "string",
          "description": "The ID of the shared resource."
        },
        "principalSubscriber": {
          "type": "string",
          "description": "The principal subscriber is the account that is sharing the resource."
        },
        "ownerId": {
          "type": "string",
          "description": "The account ID for the data owner. The owner creates the resource share."
        },
        "status": {
          "type": "string",
          "description": "The status of the share."
        },
        "statusMessage": {
          "type": "string",
          "description": "The status message for a resource share. It provides additional details about the share status."
        },
        "shareName": {
          "type": "string",
          "description": "The name of the resource share."
        },
        "creationTime": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp of when the resource share was created."
        },
        "updateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp of the resource share update."
        }
      }
    }
  }
}