{
  "openapi": "3.0.1",
  "info": {
    "title": "Localization Release QA",
    "description": "Check supplied locale JSON for missing keys, empty text, type changes, interpolation errors and declared i18next plural categories. Download translator CSV, JSON and HTML.",
    "version": "0.1",
    "x-build-id": "6olcZ80dX5AjTHCFE"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/h_murdock~localization-release-qa/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-h_murdock-localization-release-qa",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/h_murdock~localization-release-qa/runs": {
      "post": {
        "operationId": "runs-sync-h_murdock-localization-release-qa",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/h_murdock~localization-release-qa/run-sync": {
      "post": {
        "operationId": "run-sync-h_murdock-localization-release-qa",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "baseLocale",
          "locales",
          "syntax"
        ],
        "properties": {
          "baseLocale": {
            "title": "Base locale",
            "minLength": 2,
            "maxLength": 64,
            "type": "string",
            "description": "BCP 47 locale supported by Node Intl. Locale identifiers must be unique after canonicalization."
          },
          "base": {
            "title": "Base translation object",
            "type": "object",
            "description": "Base resource. Use either this object or baseJson. Preserve literal dots, arrays, leading-zero strings and original values."
          },
          "baseJson": {
            "title": "Pasted base JSON text",
            "maxLength": 2000000,
            "type": "string",
            "description": "Alternative to base. Pasted JSON is checked for duplicate member names before parsing. Omit base when using this."
          },
          "locales": {
            "title": "Target locales",
            "minItems": 1,
            "maxItems": 19,
            "type": "array",
            "description": "1–19 entries: locale plus exactly one translations object or translationsJson pasted JSON text. Canonical locale tags must be unique.",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "locale"
              ],
              "properties": {
                "locale": {
                  "type": "string",
                  "minLength": 2,
                  "maxLength": 64,
                  "title": "Locale tag",
                  "description": "Target locale.",
                  "editor": "textfield"
                },
                "translations": {
                  "title": "Translation resource object",
                  "description": "Use this object or translationsJson text, not both.",
                  "type": "object",
                  "editor": "json"
                },
                "translationsJson": {
                  "title": "Pasted translation JSON",
                  "description": "Alternative to translations. Duplicate JSON member names are rejected.",
                  "type": "string",
                  "editor": "textarea",
                  "maxLength": 2000000
                }
              }
            }
          },
          "syntax": {
            "title": "Syntax policy",
            "enum": [
              "plain",
              "i18next-v4"
            ],
            "type": "string",
            "description": "plain treats suffix keys as ordinary keys and flags interpolation. i18next-v4 supports default simple {{name}}, {{author.name}} and {{- name}}; declared cardinal families only."
          },
          "pluralFamilies": {
            "title": "Declared cardinal plural families",
            "maxItems": 500,
            "type": "array",
            "description": "Exact JSON Pointer stems, e.g. /cart/items for items_one/items_other. Up to 500. Base parent must be an object with a known category. No patterns. Plain mode requires an empty list.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 512,
              "pattern": "^/(?:[^~]|~[01])*$"
            },
            "default": []
          },
          "ignorePaths": {
            "title": "Ignored subtrees",
            "maxItems": 200,
            "type": "array",
            "description": "Up to 200 exact JSON Pointers. Each path must exist in some locale; the named node and descendants are excluded. No wildcards or regex. Cannot ignore declared plural families/categories.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 512,
              "pattern": "^/(?:[^~]|~[01])*$"
            },
            "default": []
          },
          "treatEmptyAsMissing": {
            "title": "Treat empty text as missing",
            "type": "boolean",
            "description": "Whitespace-only text is always reported. True makes it an error; false makes it a review warning.",
            "default": true
          },
          "unsupportedFeatures": {
            "title": "Known unsupported features",
            "maxItems": 7,
            "type": "array",
            "description": "Declare syntax used by your app that this engine cannot parse. Each declaration forces review; automatic detection alone cannot discover arbitrary custom delimiters. Allowed values: icu, sprintf, nesting, custom-delimiters, formatting, ordinal, interval. Other values are rejected.",
            "items": {
              "type": "string"
            },
            "default": []
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}