{
  "name": "Spec11 Report Generation",
  "description": "An Apache Beam batch pipeline that generates Spec11 report for the month, saving it to both SQL and as a JSON file on GCS.",
  "parameters": [
    {
      "name": "registryEnvironment",
      "label": "The Registry environment.",
      "helpText": "The Registry environment.",
      "is_optional": false,
      "regexes": [
        "^PRODUCTION|SANDBOX|CRASH|QA|ALPHA$"
      ]
    },
    {
      "name": "isolationOverride",
      "label": "The desired SQL transaction isolation level.",
      "helpText": "The desired SQL transaction isolation level.",
      "is_optional": true,
      "regexes": [
        "^[0-9A-Z_]+$"
      ]
    },
    {
      "name": "sqlWriteBatchSize",
      "label": "SQL write batch size.",
      "helpText": "The number of entities to write to the SQL database in one operation.",
      "is_optional": true,
      "regexes": [
        "^[1-9][0-9]*$"
      ]
    },
    {
      "name": "date",
      "label": "The date when the pipeline runs",
      "helpText": "The date when the threat scan is performed, in yyyy-MM-dd format.",
      "regexes": [
        "^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$"
      ]
    },
    {
      "name": "safeBrowsingApiKey",
      "label": "API Key used to identify the project with Safe Browsing",
      "helpText": "API key used to authenticate the project with the SafeBrowsing API.",
      "regexes": [
        "^[0-9a-zA-Z_]+[\\n]?$"
      ]
    },
    {
      "name": "reportingBucketUrl",
      "label": "Spec11 report upload dir.",
      "helpText": "The root directory of the report to upload.",
      "regexes": [
        "^gs:\\/\\/[^\\n\\r]+$"
      ]
    }
  ]
}
