{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-organizations/json-schema/amazon-organizations-list-children-request-schema.json",
  "title": "ListChildrenRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-organizations-operations-api-openapi.yml#/components/schemas/ListChildrenRequest",
  "type": "object",
  "properties": {
    "ParentId": {
      "type": "string",
      "description": "The unique identifier (ID) for the parent root or OU whose children you want to list. The regex pattern for a parent ID string requires one of the following: Root - A string that begins with \"r-\" followed by from 4 to 32 lowercase letters or digits. Organizational unit (OU) - A string that begins with \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters or digits."
    },
    "ChildType": {
      "type": "string",
      "enum": [
        "ACCOUNT",
        "ORGANIZATIONAL_UNIT"
      ],
      "description": "Filters the output to include only the specified child type."
    },
    "NextToken": {
      "type": "string",
      "description": "The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of items to return in the response. If more results exist than the specified MaxResults value, a token is included in the response so that you can retrieve the remaining results."
    }
  },
  "required": [
    "ParentId",
    "ChildType"
  ]
}