{"activity.byEntity":{"type":"query","method":"GET","path":"/trpc/activity.byEntity","summary":"List activity events for a single subject","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"subjectType":{"type":"string","enum":["rightsholder","file","upload","export","product","mapping","lens","chat","organization","user"]},"subjectId":{"type":"string","minLength":1,"maxLength":64},"cursor":{"type":"string"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100}},"required":["subjectType","subjectId","limit"],"additionalProperties":false}]}},"activity.feed":{"type":"query","method":"GET","path":"/trpc/activity.feed","summary":"List activity events for the organisation"},"activity.trackVisit":{"type":"mutation","method":"POST","path":"/trpc/activity.trackVisit","summary":"Record that the current user opened a subject","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"subjectType":{"type":"string","enum":["rightsholder","file","upload","export","product","mapping","lens","chat","organization","user"]},"subjectId":{"type":"string","minLength":1,"maxLength":64},"subjectLabel":{"type":"string","maxLength":512}},"required":["subjectType","subjectId"],"additionalProperties":false}]}},"clustering.getCluster":{"type":"query","method":"GET","path":"/trpc/clustering.getCluster","summary":"Get a single cluster with its members and products","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"blockId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"clusterId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["blockId","clusterId"],"additionalProperties":false}]}},"clustering.getClustersList":{"type":"query","method":"GET","path":"/trpc/clustering.getClustersList","summary":"Get a summary list of clusters for a block","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"blockId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["blockId"],"additionalProperties":false}]}},"clustering.getTitleClustering":{"type":"query","method":"GET","path":"/trpc/clustering.getTitleClustering","summary":"Get title clustering data for a block","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"blockId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"pagination":{"default":{"page":1,"limit":50},"type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"limit":{"default":20,"type":"integer","minimum":1,"maximum":5000}},"required":["page","limit"],"additionalProperties":false},"sortField":{"default":"entries","type":"string","enum":["entries","titleDisplay","similarity","earnings"]},"sortDirection":{"default":"desc","type":"string","enum":["asc","desc"]}},"required":["blockId","sortField","sortDirection"],"additionalProperties":false}]}},"clustering.getTopClusters":{"type":"query","method":"GET","path":"/trpc/clustering.getTopClusters","summary":"Get top clusters for a block","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"blockId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"wantedMusicalDetails":{"type":"array","items":{"type":"string"}},"wantedClusterIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"limit":{"default":300,"type":"integer","minimum":1,"maximum":300},"threshold":{"default":0.001,"type":"number","minimum":0,"maximum":1}},"required":["blockId"],"additionalProperties":false}]}},"clustering.getTopMdsFromBlock":{"type":"query","method":"GET","path":"/trpc/clustering.getTopMdsFromBlock","summary":"Get top musical details with earnings from a block","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"blockId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"limit":{"default":300,"type":"integer","minimum":1,"maximum":1000},"minEarningsPercentage":{"type":"number","minimum":0,"maximum":100}},"required":["blockId"],"additionalProperties":false}]}},"clustering.updateClustering":{"type":"mutation","method":"POST","path":"/trpc/clustering.updateClustering","summary":"Apply clustering changes to reassign musical details between clusters","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"blockId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"changes":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":64,"maxLength":64},"from":{"type":"string"},"to":{"type":"string"},"isNewCluster":{"type":"boolean"}},"required":["id","from","to","isNewCluster"],"additionalProperties":false}}},"required":["blockId","changes"],"additionalProperties":false}]}},"cube.getSession":{"type":"query","method":"GET","path":"/trpc/cube.getSession","summary":"Get or create an org-scoped Cube Cloud embed session","scope":"cli","inputSchema":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false}},"cube.meta":{"type":"query","method":"GET","path":"/trpc/cube.meta","summary":"Fetch Cube metadata (views, measures, dimensions)","scope":"cli","inputSchema":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false}},"cube.query":{"type":"mutation","method":"POST","path":"/trpc/cube.query","summary":"Execute a Cube REST API query scoped to the organization","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"object","properties":{"measures":{"type":"array","items":{"type":"string"}},"dimensions":{"type":"array","items":{"type":"string"}},"filters":{"type":"array","items":{"type":"object","properties":{"member":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}},"required":["member","operator"],"additionalProperties":false}},"timeDimensions":{"type":"array","items":{"type":"object","properties":{"dimension":{"type":"string"},"granularity":{"type":"string"},"dateRange":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]}},"required":["dimension"],"additionalProperties":false}},"order":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"type":"integer","minimum":1,"maximum":50000},"total":{"default":false,"type":"boolean"}},"required":["total"],"additionalProperties":false},"usePreagg":{"type":"boolean"}},"required":["query"],"additionalProperties":false}]}},"cube.queryAsync":{"type":"mutation","method":"POST","path":"/trpc/cube.queryAsync","summary":"Submit a Cube query and return immediately with status","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"object","properties":{"measures":{"type":"array","items":{"type":"string"}},"dimensions":{"type":"array","items":{"type":"string"}},"filters":{"type":"array","items":{"type":"object","properties":{"member":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}},"required":["member","operator"],"additionalProperties":false}},"timeDimensions":{"type":"array","items":{"type":"object","properties":{"dimension":{"type":"string"},"granularity":{"type":"string"},"dateRange":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]}},"required":["dimension"],"additionalProperties":false}},"order":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"type":"integer","minimum":1,"maximum":50000},"total":{"default":false,"type":"boolean"}},"required":["total"],"additionalProperties":false},"usePreagg":{"type":"boolean"},"noCache":{"type":"boolean"}},"required":["query"],"additionalProperties":false}]}},"cube.queryPoll":{"type":"mutation","method":"POST","path":"/trpc/cube.queryPoll","summary":"Poll for a previously submitted Cube query result","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"object","properties":{"measures":{"type":"array","items":{"type":"string"}},"dimensions":{"type":"array","items":{"type":"string"}},"filters":{"type":"array","items":{"type":"object","properties":{"member":{"type":"string"},"operator":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}},"required":["member","operator"],"additionalProperties":false}},"timeDimensions":{"type":"array","items":{"type":"object","properties":{"dimension":{"type":"string"},"granularity":{"type":"string"},"dateRange":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]}},"required":["dimension"],"additionalProperties":false}},"order":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","enum":["asc","desc"]}},"limit":{"type":"integer","minimum":1,"maximum":50000},"total":{"default":false,"type":"boolean"}},"required":["total"],"additionalProperties":false},"usePreagg":{"type":"boolean"}},"required":["query"],"additionalProperties":false}]}},"cube.sqlQuery":{"type":"mutation","method":"POST","path":"/trpc/cube.sqlQuery","summary":"Execute a SQL query against the Cube SQL API","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"sql":{"type":"string","minLength":1,"maxLength":10000}},"required":["sql"],"additionalProperties":false}]}},"cube.sqlQueryAsync":{"type":"mutation","method":"POST","path":"/trpc/cube.sqlQueryAsync","summary":"Submit a Cube SQL query and return immediately with status","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"sql":{"type":"string","minLength":1,"maxLength":10000}},"required":["sql"],"additionalProperties":false}]}},"cube.sqlQueryPoll":{"type":"mutation","method":"POST","path":"/trpc/cube.sqlQueryPoll","summary":"Poll for a previously submitted Cube SQL query result","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"sql":{"type":"string","minLength":1,"maxLength":10000}},"required":["sql"],"additionalProperties":false}]}},"dataFreshness.checkEarnings":{"type":"query","method":"GET","path":"/trpc/dataFreshness.checkEarnings","summary":"Check earnings data freshness for selected rightsholders","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"rightsholderIds":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["rightsholderIds"],"additionalProperties":false}]}},"dataFreshness.checkProducts":{"type":"query","method":"GET","path":"/trpc/dataFreshness.checkProducts","summary":"Check products data freshness for selected rightsholders","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"rightsholderIds":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["rightsholderIds"],"additionalProperties":false}]}},"dataFreshness.ingestionStats":{"type":"query","method":"GET","path":"/trpc/dataFreshness.ingestionStats","summary":"Full aggregated preview stats from DynamoDB for selected rightsholders","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"rightsholderIds":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["rightsholderIds"],"additionalProperties":false}]}},"dataFreshness.isReady":{"type":"query","method":"GET","path":"/trpc/dataFreshness.isReady","summary":"Readiness check using DynamoDB status categories + RDS warehoused status","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"rightsholderIds":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["rightsholderIds"],"additionalProperties":false}]}},"distributor.create":{"type":"mutation","method":"POST","path":"/trpc/distributor.create","summary":"Create a new distributor","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255}},"required":["name"],"additionalProperties":false}]}},"distributor.deleteById":{"type":"mutation","method":"POST","path":"/trpc/distributor.deleteById","summary":"Delete a distributor by ID","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}]}},"distributor.getById":{"type":"query","method":"GET","path":"/trpc/distributor.getById","summary":"Get a distributor by ID","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}]}},"distributor.list":{"type":"query","method":"GET","path":"/trpc/distributor.list","summary":"List distributors with their mappings","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"pagination":{"default":{"page":1,"limit":300,"sortBy":"name","sortOrder":"asc"},"type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"limit":{"default":200,"type":"integer","minimum":1,"maximum":5000},"sortBy":{"type":"string"},"sortOrder":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["page","limit","sortOrder"],"additionalProperties":false},"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["pagination"],"additionalProperties":false}]}},"distributor.updateById":{"type":"mutation","method":"POST","path":"/trpc/distributor.updateById","summary":"Update a distributor by ID","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255}},"additionalProperties":false}]}},"exchangeRates.get":{"type":"query","method":"GET","path":"/trpc/exchangeRates.get","summary":"Get exchange rates for a given date","scope":"cli","inputSchema":{"type":"object","properties":{"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},"additionalProperties":false}},"fetching.getFetchingCoverageByRightsholders":{"type":"query","method":"GET","path":"/trpc/fetching.getFetchingCoverageByRightsholders","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"rightsholderIds":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["rightsholderIds"],"additionalProperties":false}]}},"fetching.inQueueCount":{"type":"query","method":"GET","path":"/trpc/fetching.inQueueCount","summary":"Get the number of musical details currently in the processing queue","scope":"cli","inputSchema":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false}},"fetching.list":{"type":"query","method":"GET","path":"/trpc/fetching.list","summary":"List blocks with musical detail fetching status","scope":"admin","inputSchema":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"search":{"type":"string","minLength":1,"maxLength":200},"pagination":{"default":{"page":1,"limit":10},"type":"object","properties":{"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"limit":{"default":10,"type":"integer","exclusiveMinimum":0,"maximum":100}},"required":["page","limit"],"additionalProperties":false}},"required":["pagination"],"additionalProperties":false}},"fetching.refetchByBlock":{"type":"mutation","method":"POST","path":"/trpc/fetching.refetchByBlock","summary":"Re-fetch terminal musical details for a block","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"blockId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["blockId"],"additionalProperties":false}]}},"fetching.reprocessSkippedByBlock":{"type":"mutation","method":"POST","path":"/trpc/fetching.reprocessSkippedByBlock","summary":"Reprocess skipped musical details for a block","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"blockId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["blockId"],"additionalProperties":false}]}},"fetching.stopFetchingByBlock":{"type":"mutation","method":"POST","path":"/trpc/fetching.stopFetchingByBlock","summary":"Stop fetching for a block by skipping pending items","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"blockId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["blockId"],"additionalProperties":false}]}},"file.deleteFilesByIds":{"type":"mutation","method":"POST","path":"/trpc/file.deleteFilesByIds","summary":"Delete specific files from an upload by their IDs","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"fileIds":{"type":"array","items":{"type":"string","minLength":64,"maxLength":64}},"uploadId":{"type":"string"}},"required":["fileIds","uploadId"],"additionalProperties":false}]}},"file.getFilesDeleteInfo":{"type":"query","method":"GET","path":"/trpc/file.getFilesDeleteInfo","summary":"Get deletion impact info for a set of files (blocks and catalogs affected)","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"fileIds":{"type":"array","items":{"type":"string","minLength":64,"maxLength":64}},"uploadId":{"type":"string"}},"required":["fileIds","uploadId"],"additionalProperties":false}]}},"file.list":{"type":"query","method":"GET","path":"/trpc/file.list","summary":"List files for the current organization with optional filters","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"pagination":{"default":{"page":1,"limit":300,"sortBy":"name","sortOrder":"asc"},"type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"limit":{"default":200,"type":"integer","minimum":1,"maximum":5000},"sortBy":{"type":"string"},"sortOrder":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["page","limit","sortOrder"],"additionalProperties":false},"filters":{"type":"object","properties":{"fileId":{"type":"array","items":{"type":"string","minLength":64,"maxLength":64}},"dateStart":{"type":"string"},"dateEnd":{"type":"string"},"rightsholderId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"distributorId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"customName":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false}},"required":["pagination"],"additionalProperties":false}]}},"fileStorage.downloadStatementFile":{"type":"mutation","method":"POST","path":"/trpc/fileStorage.downloadStatementFile","summary":"Generate a presigned URL to download a statement file from S3","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["normalized","trimmed","original","single","removed","standardized","original-excel"]},"file":{"type":"string"},"fileName":{"type":"string"},"originalExcelFile":{"type":"string"}},"required":["type","file"],"additionalProperties":false}]}},"fileStorage.getSample":{"type":"query","method":"GET","path":"/trpc/fileStorage.getSample","summary":"Get a paginated sample of rows from a statement CSV file","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["normalized","trimmed","original","single","removed","standardized"]},"file":{"type":"string"},"startRow":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"endRow":{"default":200,"type":"integer","exclusiveMinimum":0,"maximum":1000}},"required":["type","file","startRow","endRow"],"additionalProperties":false}]}},"health":{"type":"query","method":"GET","path":"/trpc/health"},"insights.getDefaultFxDate":{"type":"query","method":"GET","path":"/trpc/insights.getDefaultFxDate","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"rightsholderIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["rightsholderIds"],"additionalProperties":false}]}},"insights.getDefaultFxRates":{"type":"query","method":"GET","path":"/trpc/insights.getDefaultFxRates","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"rightsholderIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["rightsholderIds"],"additionalProperties":false}]}},"lens.create":{"type":"mutation","method":"POST","path":"/trpc/lens.create","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"scope":{"default":"organization","type":"string","enum":["personal","organization"]},"tags":{"default":[],"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":32}},"kind":{"type":"string","enum":["query","pivot","funnel","flow","retention","drill_down","valuation"]},"viewName":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"payload":{}},"required":["name","scope","tags","kind","payload"],"additionalProperties":false}]}},"lens.delete":{"type":"mutation","method":"POST","path":"/trpc/lens.delete","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}]}},"lens.duplicate":{"type":"mutation","method":"POST","path":"/trpc/lens.duplicate","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":80},"scope":{"type":"string","enum":["personal","organization"]}},"required":["id"],"additionalProperties":false}]}},"lens.get":{"type":"query","method":"GET","path":"/trpc/lens.get","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}]}},"lens.list":{"type":"query","method":"GET","path":"/trpc/lens.list","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["query","pivot","funnel","flow","retention","drill_down","valuation"]},"viewName":{"type":"string","maxLength":64},"scope":{"type":"string","enum":["personal","organization"]},"tag":{"type":"string","maxLength":32},"ownerUserId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"search":{"type":"string","maxLength":128},"pinnedOnly":{"type":"boolean"},"recentOnly":{"type":"boolean"},"sort":{"type":"string","enum":["updated_desc","created_desc","name_asc","last_opened_desc"]},"cursor":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}]},"limit":{"default":50,"type":"integer","minimum":1,"maximum":1000}},"required":["limit"],"additionalProperties":false}]}},"lens.listTags":{"type":"query","method":"GET","path":"/trpc/lens.listTags","inputSchema":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false}},"lens.recordOpened":{"type":"mutation","method":"POST","path":"/trpc/lens.recordOpened","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}]}},"lens.setPinned":{"type":"mutation","method":"POST","path":"/trpc/lens.setPinned","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"pinned":{"type":"boolean"}},"required":["id","pinned"],"additionalProperties":false}]}},"lens.update":{"type":"mutation","method":"POST","path":"/trpc/lens.update","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"scope":{"type":"string","enum":["personal","organization"]},"tags":{"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":32}},"payload":{},"viewName":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]}},"required":["id"],"additionalProperties":false}]}},"lookupSalesType.batchResolveWithAI":{"type":"mutation","method":"POST","path":"/trpc/lookupSalesType.batchResolveWithAI","summary":"Batch resolve multiple sales type strings using AI (max 10)","scope":"admin","inputSchema":{"type":"object","properties":{"salesTypes":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1}},"saveToDb":{"default":false,"type":"boolean"}},"required":["salesTypes","saveToDb"],"additionalProperties":false}},"lookupSalesType.create":{"type":"mutation","method":"POST","path":"/trpc/lookupSalesType.create","summary":"Create or upsert a sales type lookup entry","scope":"admin","inputSchema":{"type":"object","properties":{"original":{"type":"string","minLength":1},"cleansed":{"type":"string","minLength":1},"status":{"type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["original","cleansed"],"additionalProperties":false}},"lookupSalesType.delete":{"type":"mutation","method":"POST","path":"/trpc/lookupSalesType.delete","summary":"Delete a sales type lookup entry by id","scope":"admin","inputSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}},"lookupSalesType.getSalesTypeLookup":{"type":"query","method":"GET","path":"/trpc/lookupSalesType.getSalesTypeLookup","summary":"Get a single sales type lookup entry by id or original value","scope":"admin","inputSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"original":{"type":"string","minLength":1}},"additionalProperties":false}},"lookupSalesType.list":{"type":"query","method":"GET","path":"/trpc/lookupSalesType.list","summary":"List sales type lookup entries with optional search and status filter","scope":"admin","inputSchema":{"type":"object","properties":{"pagination":{"default":{"page":1,"limit":300,"sortBy":"name","sortOrder":"asc"},"type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"limit":{"default":200,"type":"integer","minimum":1,"maximum":5000},"sortBy":{"type":"string"},"sortOrder":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["page","limit","sortOrder"],"additionalProperties":false},"search":{"type":"string"},"status":{"type":"string"}},"required":["pagination"],"additionalProperties":false}},"lookupSalesType.missingSalesTypes":{"type":"query","method":"GET","path":"/trpc/lookupSalesType.missingSalesTypes","summary":"List sales types that are present in data but have no lookup mapping","scope":"admin","inputSchema":{"type":"object","properties":{"pagination":{"default":{"page":1,"limit":300,"sortBy":"name","sortOrder":"asc"},"type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"limit":{"default":200,"type":"integer","minimum":1,"maximum":5000},"sortBy":{"type":"string"},"sortOrder":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["page","limit","sortOrder"],"additionalProperties":false}},"required":["pagination"],"additionalProperties":false}},"lookupSalesType.resolveWithAI":{"type":"mutation","method":"POST","path":"/trpc/lookupSalesType.resolveWithAI","summary":"Resolve a sales type string using AI classification","scope":"admin","inputSchema":{"type":"object","properties":{"original":{"type":"string","minLength":1},"saveToDb":{"default":false,"type":"boolean"}},"required":["original","saveToDb"],"additionalProperties":false}},"lookupSalesType.update":{"type":"mutation","method":"POST","path":"/trpc/lookupSalesType.update","summary":"Update a sales type lookup entry by id","scope":"admin","inputSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"cleansed":{"type":"string"},"primarySalesType":{"anyOf":[{"type":"string"},{"type":"null"}]},"secondarySalesType":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id"],"additionalProperties":false}},"lookupSource.batchResolveWithAI":{"type":"mutation","method":"POST","path":"/trpc/lookupSource.batchResolveWithAI","summary":"Batch resolve multiple source strings using AI (max 10)","scope":"admin","inputSchema":{"type":"object","properties":{"sources":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1}},"saveToDb":{"default":false,"type":"boolean"}},"required":["sources","saveToDb"],"additionalProperties":false}},"lookupSource.create":{"type":"mutation","method":"POST","path":"/trpc/lookupSource.create","summary":"Create or upsert a source lookup entry","scope":"admin","inputSchema":{"type":"object","properties":{"original":{"type":"string","minLength":1},"collectionSource":{"anyOf":[{"type":"string"},{"type":"null"}]},"earningsSource":{"anyOf":[{"type":"string"},{"type":"null"}]},"earningsCategory":{"anyOf":[{"type":"string"},{"type":"null"}]},"earningsParentCompany":{"anyOf":[{"type":"string"},{"type":"null"}]},"publisherSource":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","minLength":1},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["original","status"],"additionalProperties":false}},"lookupSource.delete":{"type":"mutation","method":"POST","path":"/trpc/lookupSource.delete","summary":"Delete a source lookup entry by id","scope":"admin","inputSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}},"lookupSource.getSourceLookup":{"type":"query","method":"GET","path":"/trpc/lookupSource.getSourceLookup","summary":"Get a single source lookup entry by id or original value","scope":"admin","inputSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"original":{"type":"string","minLength":1}},"additionalProperties":false}},"lookupSource.list":{"type":"query","method":"GET","path":"/trpc/lookupSource.list","summary":"List source lookup entries with optional search and status filter","scope":"admin","inputSchema":{"type":"object","properties":{"pagination":{"default":{"page":1,"limit":300,"sortBy":"name","sortOrder":"asc"},"type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"limit":{"default":200,"type":"integer","minimum":1,"maximum":5000},"sortBy":{"type":"string"},"sortOrder":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["page","limit","sortOrder"],"additionalProperties":false},"search":{"type":"string"},"status":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]}},"required":["pagination"],"additionalProperties":false}},"lookupSource.missingSources":{"type":"query","method":"GET","path":"/trpc/lookupSource.missingSources","summary":"List sources that are present in data but have no lookup mapping","scope":"admin","inputSchema":{"type":"object","properties":{"pagination":{"default":{"page":1,"limit":300,"sortBy":"name","sortOrder":"asc"},"type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"limit":{"default":200,"type":"integer","minimum":1,"maximum":5000},"sortBy":{"type":"string"},"sortOrder":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["page","limit","sortOrder"],"additionalProperties":false}},"required":["pagination"],"additionalProperties":false}},"lookupSource.ragCreate":{"type":"mutation","method":"POST","path":"/trpc/lookupSource.ragCreate","summary":"Add a new RAG source vector with auto-generated embedding","scope":"admin","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"category":{"type":"string","minLength":1}},"required":["name","category"],"additionalProperties":false}},"lookupSource.ragDelete":{"type":"mutation","method":"POST","path":"/trpc/lookupSource.ragDelete","summary":"Delete a RAG source vector by id","scope":"admin","inputSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}},"lookupSource.ragList":{"type":"query","method":"GET","path":"/trpc/lookupSource.ragList","summary":"List all RAG source vectors used for AI resolution","scope":"admin"},"lookupSource.ragUpdate":{"type":"mutation","method":"POST","path":"/trpc/lookupSource.ragUpdate","summary":"Update a RAG source vector and regenerate its embedding","scope":"admin","inputSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"category":{"type":"string","minLength":1}},"required":["id","name","category"],"additionalProperties":false}},"lookupSource.resolveWithAI":{"type":"mutation","method":"POST","path":"/trpc/lookupSource.resolveWithAI","summary":"Resolve a source string using AI classification","scope":"admin"},"lookupSource.update":{"type":"mutation","method":"POST","path":"/trpc/lookupSource.update","summary":"Update a source lookup entry by id","scope":"admin","inputSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"collectionSource":{"anyOf":[{"type":"string"},{"type":"null"}]},"earningsSource":{"anyOf":[{"type":"string"},{"type":"null"}]},"earningsCategory":{"anyOf":[{"type":"string"},{"type":"null"}]},"earningsParentCompany":{"anyOf":[{"type":"string"},{"type":"null"}]},"publisherSource":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","minLength":1},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id"],"additionalProperties":false}},"mapping.batchUpdate":{"type":"mutation","method":"POST","path":"/trpc/mapping.batchUpdate","summary":"Batch update multiple mappings in a single transaction","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"updates":{"minItems":1,"type":"array","items":{"allOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"headers":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"fields":{"type":"object","properties":{"stmtYear":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"stmtPeriod":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"stmtCadence":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"currency":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"royaltyEarnings":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"grossRoyaltyEarnings":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"salesPeriodStart":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"salesPeriodEnd":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"salesType":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"subSalesType":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"source":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"subSource":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"units":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"country":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"typeOfRight":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"accountNumber":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"accountName":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"legalVendor":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"territoryDeduction":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"taxDeduction":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"royaltyRate":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"otherAdjustments":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"rawTitle":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"rawArtist":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"rawReleaseTitle":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"rawReleaseArtist":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"composers":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"isrc":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"upc":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"iswc":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"otherIdentifier":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"payor":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false}},"additionalProperties":false},"fileCategories":{"anyOf":[{"type":"array","items":{"type":"string","enum":["detailed","summary","summary_structured","summary_unstructured","invalid","track_list","contextual","cost_file"]}},{"type":"null"}]}},"additionalProperties":false}]}}},"required":["updates"],"additionalProperties":false}]}},"mapping.create":{"type":"mutation","method":"POST","path":"/trpc/mapping.create","summary":"Create a new column mapping","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"headers":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"fields":{"type":"object","properties":{"stmtYear":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"stmtPeriod":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"stmtCadence":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"currency":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"royaltyEarnings":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"grossRoyaltyEarnings":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"salesPeriodStart":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"salesPeriodEnd":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"salesType":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"subSalesType":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"source":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"subSource":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"units":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"country":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"typeOfRight":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"accountNumber":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"accountName":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"legalVendor":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"territoryDeduction":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"taxDeduction":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"royaltyRate":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"otherAdjustments":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"rawTitle":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"rawArtist":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"rawReleaseTitle":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"rawReleaseArtist":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"composers":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"isrc":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"upc":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"iswc":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"otherIdentifier":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"payor":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false}},"required":["stmtYear","stmtPeriod","stmtCadence","currency","royaltyEarnings"],"additionalProperties":false},"headerHash":{"type":"string","minLength":64,"maxLength":64}},"required":["headers","headerHash"],"additionalProperties":false}]}},"mapping.deleteById":{"type":"mutation","method":"POST","path":"/trpc/mapping.deleteById","summary":"Delete a mapping by id (admin/owner only)","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}]}},"mapping.getByDistributor":{"type":"query","method":"GET","path":"/trpc/mapping.getByDistributor","summary":"Get mappings associated with a specific distributor","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"distributorId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"pagination":{"default":{"page":1,"limit":300,"sortBy":"name","sortOrder":"asc"},"type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"limit":{"default":200,"type":"integer","minimum":1,"maximum":5000},"sortBy":{"type":"string"},"sortOrder":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["page","limit","sortOrder"],"additionalProperties":false}},"required":["distributorId","pagination"],"additionalProperties":false}]}},"mapping.getById":{"type":"query","method":"GET","path":"/trpc/mapping.getById","summary":"Get a mapping by id (deprecated: use getMapping instead)","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}]}},"mapping.getMapping":{"type":"query","method":"GET","path":"/trpc/mapping.getMapping","summary":"Get a mapping by id or header hash","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"headerHash":{"type":"string"}},"additionalProperties":false}]}},"mapping.list":{"type":"query","method":"GET","path":"/trpc/mapping.list","summary":"List mappings for the current organization","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"pagination":{"default":{"page":1,"limit":300,"sortBy":"name","sortOrder":"asc"},"type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"limit":{"default":200,"type":"integer","minimum":1,"maximum":5000},"sortBy":{"type":"string"},"sortOrder":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["page","limit","sortOrder"],"additionalProperties":false},"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"ids":{"maxItems":1000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["pagination"],"additionalProperties":false}]}},"mapping.processSample":{"type":"mutation","method":"POST","path":"/trpc/mapping.processSample","summary":"Process a sample of rows using a field mapping to preview transformations","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"statementId":{"type":"string"},"startRow":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"endRow":{"default":5,"type":"integer","minimum":1,"maximum":9007199254740991},"mappingId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"mapping":{"type":"object","properties":{"stmtYear":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"stmtPeriod":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"stmtCadence":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"currency":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"royaltyEarnings":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"grossRoyaltyEarnings":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"salesPeriodStart":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"salesPeriodEnd":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"salesType":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"subSalesType":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"source":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"subSource":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"units":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"country":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"typeOfRight":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"accountNumber":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"accountName":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"legalVendor":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"territoryDeduction":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"taxDeduction":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"royaltyRate":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"otherAdjustments":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"rawTitle":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"rawArtist":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"rawReleaseTitle":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"rawReleaseArtist":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"composers":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"isrc":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"upc":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"iswc":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"otherIdentifier":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"payor":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false}},"required":["stmtYear","stmtPeriod","stmtCadence","currency","royaltyEarnings"],"additionalProperties":false},"variables":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fileName":{"default":"","type":"string"}},"required":["statementId","startRow","endRow","mappingId","mapping","fileName"],"additionalProperties":false}]}},"mapping.redrivePreview":{"type":"query","method":"GET","path":"/trpc/mapping.redrivePreview","summary":"Preview which files and organizations would be affected by a mapping redrive","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"mappingId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["mappingId"],"additionalProperties":false}]}},"mapping.revision.listByMapping":{"type":"query","method":"GET","path":"/trpc/mapping.revision.listByMapping","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"mappingId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["mappingId"],"additionalProperties":false}]}},"mapping.updateById":{"type":"mutation","method":"POST","path":"/trpc/mapping.updateById","summary":"Update a mapping by id, optionally reassigning distributors","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"distributorId":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"verify":{"type":"boolean"},"redriveFileIds":{"type":"array","items":{"type":"string"}}},"required":["id"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"headers":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"fields":{"type":"object","properties":{"stmtYear":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"stmtPeriod":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"stmtCadence":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"currency":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"royaltyEarnings":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"grossRoyaltyEarnings":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"salesPeriodStart":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"salesPeriodEnd":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"salesType":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"subSalesType":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"source":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"subSource":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"units":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"country":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"typeOfRight":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"accountNumber":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"accountName":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"legalVendor":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"territoryDeduction":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"taxDeduction":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"royaltyRate":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"otherAdjustments":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"rawTitle":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"rawArtist":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"rawReleaseTitle":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"rawReleaseArtist":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"composers":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"isrc":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"upc":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"iswc":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"otherIdentifier":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false},"payor":{"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["fields"],"additionalProperties":false}},"additionalProperties":false},"fileCategories":{"anyOf":[{"type":"array","items":{"type":"string","enum":["detailed","summary","summary_structured","summary_unstructured","invalid","track_list","contextual","cost_file"]}},{"type":"null"}]}},"additionalProperties":false}]}},"market.getHistory":{"type":"query","method":"GET","path":"/trpc/market.getHistory","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"ticker":{"type":"string","minLength":1,"maxLength":20}},"required":["ticker"],"additionalProperties":false}]}},"market.getQuotes":{"type":"query","method":"GET","path":"/trpc/market.getQuotes","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"symbols":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string"}}},"required":["symbols"],"additionalProperties":false}]}},"market.getTreasuryYields":{"type":"query","method":"GET","path":"/trpc/market.getTreasuryYields","inputSchema":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false}},"musicalDetails.bulkOverride":{"type":"mutation","method":"POST","path":"/trpc/musicalDetails.bulkOverride","summary":"Bulk override musical detail results","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"blockId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"overrides":{"minItems":1,"type":"array","items":{"type":"object","properties":{"ids":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"rightsholderId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"title":{"type":"string","minLength":1},"artist":{"type":"string","minLength":1},"assetImageUrl":{"type":"string"},"releaseDate":{"type":"string","minLength":1}},"required":["ids","rightsholderId","title","artist","releaseDate"],"additionalProperties":false}}},"required":["overrides"],"additionalProperties":false}]}},"musicalDetails.executeQuery":{"type":"query","method":"GET","path":"/trpc/musicalDetails.executeQuery","summary":"Execute a filter query on musical details","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"query":{"$ref":"#/$defs/__schema0"},"hasBlockRule":{"default":false,"type":"boolean"},"hasRightsholderRule":{"default":false,"type":"boolean"}},"required":["query","hasBlockRule","hasRightsholderRule"],"additionalProperties":false}],"$defs":{"__schema0":{"type":"object","properties":{"combinator":{"type":"string","enum":["and","or"]},"not":{"type":"boolean"},"rules":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"field":{"type":"string"},"operator":{"type":"string"},"value":{},"valueSource":{"type":"string"}},"required":["field","operator","value"],"additionalProperties":false},{"$ref":"#/$defs/__schema0"}]}}},"required":["combinator","rules"],"additionalProperties":false}}}},"musicalDetails.getDistinctTargetProviders":{"type":"query","method":"GET","path":"/trpc/musicalDetails.getDistinctTargetProviders","summary":"Get distinct target providers for musical details","scope":"admin","inputSchema":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false}},"musicalDetails.getDistinctTargetTypes":{"type":"query","method":"GET","path":"/trpc/musicalDetails.getDistinctTargetTypes","summary":"Get distinct target types for musical details","scope":"admin","inputSchema":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false}},"musicalDetails.getMusicalDetails":{"type":"query","method":"GET","path":"/trpc/musicalDetails.getMusicalDetails","summary":"Get paginated musical details with filter","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"query":{"$ref":"#/$defs/__schema0"},"hasBlockRule":{"default":false,"type":"boolean"},"hasRightsholderRule":{"default":false,"type":"boolean"},"includeTrail":{"default":false,"type":"boolean"},"pagination":{"default":{"page":1,"pageSize":100},"type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"pageSize":{"default":100,"type":"integer","minimum":1,"maximum":1000}},"required":["page","pageSize"],"additionalProperties":false}},"required":["query","hasBlockRule","hasRightsholderRule","includeTrail","pagination"],"additionalProperties":false}],"$defs":{"__schema0":{"type":"object","properties":{"combinator":{"type":"string","enum":["and","or"]},"not":{"type":"boolean"},"rules":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"field":{"type":"string"},"operator":{"type":"string"},"value":{},"valueSource":{"type":"string"}},"required":["field","operator","value"],"additionalProperties":false},{"$ref":"#/$defs/__schema0"}]}}},"required":["combinator","rules"],"additionalProperties":false}}}},"musicalDetails.ignoreTitles":{"type":"mutation","method":"POST","path":"/trpc/musicalDetails.ignoreTitles","summary":"Mark musical detail titles as ignored","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"titles":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}}},"required":["titles"],"additionalProperties":false}]}},"musicalDetails.updateResults":{"type":"mutation","method":"POST","path":"/trpc/musicalDetails.updateResults","summary":"Update musical detail results with override values","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"resultIds":{"minItems":1,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"overrideValues":{"type":"object","properties":{"title":{"type":"string","minLength":1},"artist":{"type":"string","minLength":1},"releaseDate":{"type":"string","minLength":1},"imageUrl":{"type":"string"},"genres":{"type":"array","items":{"type":"object","properties":{"genre":{"type":"string"}},"required":["genre"],"additionalProperties":false}},"albums":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"upc":{"type":"string"},"release_date":{"type":"string"},"label":{"type":"string"},"image_url":{"type":"string"},"popularity":{"type":"number"}},"required":["id","name","upc","release_date","label","image_url","popularity"],"additionalProperties":false}},"songWriters":{"type":"array","items":{"type":"object","properties":{"songwriter":{"type":"string"}},"required":["songwriter"],"additionalProperties":false}},"fetchedComposers":{"type":"array","items":{"type":"object","properties":{"composer":{"type":"string"}},"required":["composer"],"additionalProperties":false}}},"required":["title","artist","releaseDate"],"additionalProperties":false}},"required":["resultIds","overrideValues"],"additionalProperties":false}]}},"musicEnrichment.query":{"type":"query","method":"GET","path":"/trpc/musicEnrichment.query","summary":"Execute a Chartmetric data query for music enrichment","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"track.getByISRC"},"params":{"type":"object","properties":{"isrc":{"type":"string"}},"required":["isrc"],"additionalProperties":false}},"required":["type","params"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"track.getById"},"params":{"type":"object","properties":{"id":{"type":"number"}},"required":["id"],"additionalProperties":false}},"required":["type","params"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"track.getBySpotifyId"},"params":{"type":"object","properties":{"spotifyId":{"type":"string"}},"required":["spotifyId"],"additionalProperties":false}},"required":["type","params"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"track.getMetadata"},"params":{"type":"object","properties":{"id":{"type":"number"}},"required":["id"],"additionalProperties":false}},"required":["type","params"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"album.getByUPC"},"params":{"type":"object","properties":{"upc":{"type":"string"}},"required":["upc"],"additionalProperties":false}},"required":["type","params"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"album.getById"},"params":{"type":"object","properties":{"id":{"type":"number"}},"required":["id"],"additionalProperties":false}},"required":["type","params"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"album.getTracks"},"params":{"type":"object","properties":{"id":{"type":"number"}},"required":["id"],"additionalProperties":false}},"required":["type","params"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"artist.getById"},"params":{"type":"object","properties":{"id":{"type":"number"}},"required":["id"],"additionalProperties":false}},"required":["type","params"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"artist.getRelatedArtists"},"params":{"type":"object","properties":{"id":{"type":"number"}},"required":["id"],"additionalProperties":false}},"required":["type","params"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"artist.getTopTracks"},"params":{"type":"object","properties":{"id":{"type":"number"},"platform":{"type":"string","enum":["tiktok"]},"limit":{"type":"number"}},"required":["id","platform"],"additionalProperties":false}},"required":["type","params"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"artist.getSocialUrls"},"params":{"type":"object","properties":{"id":{"type":"number"}},"required":["id"],"additionalProperties":false}},"required":["type","params"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"charts.spotify.artists"},"params":{"type":"object","properties":{"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"type":{"type":"string","enum":["monthly_listeners","popularity","followers","playlist_count","playlist_reach"]},"interval":{"type":"string","enum":["daily","weekly","monthly"]},"offset":{"type":"number"},"latest":{"type":"boolean"}},"required":["date","type","interval"],"additionalProperties":false}},"required":["type","params"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"charts.spotify.tracks"},"params":{"type":"object","properties":{"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"country_code":{"type":"string"},"type":{"type":"string","enum":["regional","viral"]},"interval":{"type":"string","enum":["daily","weekly"]},"offset":{"type":"number"},"latest":{"type":"boolean"}},"required":["date","country_code","type","interval"],"additionalProperties":false}},"required":["type","params"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"charts.appleMusic"},"params":{"type":"object","properties":{"chartType":{"default":"tracks","type":"string","enum":["tracks","albums","videos"]},"type":{"type":"string","enum":["top","daily"]},"country_code":{"type":"string"},"city_id":{"type":"number"},"date":{"type":"string"},"genre":{"type":"string","enum":["All Genres","Pop","Rock","Dance","Latino","K-Pop","Singer/Songwriter","Hip-Hop/Rap","Jazz","Electronic","R&B/Soul","Blues","Country","Reggae","Classical","Alternative","World","Disney","J-Pop","Christian & Gospel","Easy Listening","Children's Music","Fitness & Workout","Soundtrack"]},"offset":{"type":"number"},"latest":{"type":"boolean"}},"required":["chartType","country_code","date"],"additionalProperties":false}},"required":["type","params"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"charts.shazam"},"params":{"type":"object","properties":{"date":{"type":"string"},"country_code":{"type":"string"},"city":{"type":"string"},"offset":{"type":"number"},"latest":{"type":"boolean"},"genre":{"type":"string"}},"required":["date","country_code"],"additionalProperties":false}},"required":["type","params"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"charts.tiktok"},"params":{"type":"object","properties":{"chartType":{"default":"tracks","type":"string","enum":["tracks","videos","users"]},"date":{"type":"string"},"interval":{"type":"string","enum":["daily","weekly","all_time"]},"type":{"type":"string","enum":["likes","followers"]},"limit":{"type":"number"},"offset":{"type":"number"},"latest":{"type":"boolean"},"countryChart":{"type":"boolean"},"code2":{"type":"string"}},"required":["chartType","date"],"additionalProperties":false}},"required":["type","params"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"search.artist"},"params":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"number"},"beta":{"type":"boolean"},"platforms":{"type":"array","items":{"type":"string"}}},"required":["query"],"additionalProperties":false}},"required":["type","params"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"search.track"},"params":{"type":"object","properties":{"query":{"type":"string"},"limit":{"type":"number"},"beta":{"type":"boolean"},"platforms":{"type":"array","items":{"type":"string"}}},"required":["query"],"additionalProperties":false}},"required":["type","params"],"additionalProperties":false}]}]}},"organization.addUser":{"type":"mutation","method":"POST","path":"/trpc/organization.addUser","summary":"Invite a user to the organization"},"organization.create":{"type":"mutation","method":"POST","path":"/trpc/organization.create","summary":"Create a new organization","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255}},"required":["name"],"additionalProperties":false}},"organization.delete":{"type":"mutation","method":"POST","path":"/trpc/organization.delete","summary":"Soft delete the organization","inputSchema":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false}},"organization.getById":{"type":"query","method":"GET","path":"/trpc/organization.getById","summary":"Get the current organization by ID","inputSchema":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false}},"organization.getInvitationLink":{"type":"mutation","method":"POST","path":"/trpc/organization.getInvitationLink","summary":"Get the acceptance link for a pending invitation","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"invitationId":{"type":"string","minLength":1}},"required":["invitationId"],"additionalProperties":false}]}},"organization.list":{"type":"query","method":"GET","path":"/trpc/organization.list","summary":"List organizations for the current user","scope":"admin","inputSchema":{"type":"object","properties":{"pagination":{"default":{"page":1,"limit":300,"sortBy":"name","sortOrder":"asc"},"type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"limit":{"default":200,"type":"integer","minimum":1,"maximum":5000},"sortBy":{"type":"string"},"sortOrder":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["page","limit","sortOrder"],"additionalProperties":false}},"required":["pagination"],"additionalProperties":false}},"organization.listInvitations":{"type":"query","method":"GET","path":"/trpc/organization.listInvitations","summary":"List pending invitations in the organization","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"status":{"default":["pending"],"type":"array","items":{"type":"string","enum":["pending","accepted","revoked","expired"]}}},"required":["status"],"additionalProperties":false}]}},"organization.listRightsholderMdPriorities":{"type":"query","method":"GET","path":"/trpc/organization.listRightsholderMdPriorities","summary":"List rightsholder MD fetch priorities for the organization","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"search":{"type":"string","minLength":1,"maxLength":200}},"additionalProperties":false}]}},"organization.listUsers":{"type":"query","method":"GET","path":"/trpc/organization.listUsers","summary":"List users in the organization","scope":"admin","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"pagination":{"default":{"page":1,"limit":300,"sortBy":"name","sortOrder":"asc"},"type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"limit":{"default":200,"type":"integer","minimum":1,"maximum":5000},"sortBy":{"type":"string"},"sortOrder":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["page","limit","sortOrder"],"additionalProperties":false}},"required":["pagination"],"additionalProperties":false}]}},"organization.removeUser":{"type":"mutation","method":"POST","path":"/trpc/organization.removeUser","summary":"Remove a user from the organization","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"userId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["userId"],"additionalProperties":false}]}},"organization.resendInvitation":{"type":"mutation","method":"POST","path":"/trpc/organization.resendInvitation","summary":"Resend a pending invitation by revoking and re-creating it","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"invitationId":{"type":"string","minLength":1}},"required":["invitationId"],"additionalProperties":false}]}},"organization.revokeInvitation":{"type":"mutation","method":"POST","path":"/trpc/organization.revokeInvitation","summary":"Revoke a pending invitation","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"invitationId":{"type":"string","minLength":1}},"required":["invitationId"],"additionalProperties":false}]}},"organization.setRightsholderMdPriorities":{"type":"mutation","method":"POST","path":"/trpc/organization.setRightsholderMdPriorities","summary":"Replace the full rightsholder MD fetch priority ordering","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"rightsholderIds":{"default":[],"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["rightsholderIds"],"additionalProperties":false}]}},"organization.update":{"type":"mutation","method":"POST","path":"/trpc/organization.update","summary":"Update organization details","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255}},"required":["name"],"additionalProperties":false}]}},"organization.updateMdFetchSettings":{"type":"mutation","method":"POST","path":"/trpc/organization.updateMdFetchSettings","summary":"Update musical detail fetch settings for the organization","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"mdFetchMultiplier":{"type":"integer","minimum":0,"maximum":10000},"mdFetchFocus":{"type":"boolean"}},"additionalProperties":false}]}},"organization.updateRole":{"type":"mutation","method":"POST","path":"/trpc/organization.updateRole","summary":"Update a user","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"userId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"role":{"type":"string","enum":["member","reader","writer","admin","c2_customer_support","owner","c2_superadmin"]}},"required":["userId","role"],"additionalProperties":false}]}},"payor.listGlobal":{"type":"query","method":"GET","path":"/trpc/payor.listGlobal","summary":"List globally-known payors (for autocomplete)","inputSchema":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false}},"product.getAllMusicalDetailsForProduct":{"type":"query","method":"GET","path":"/trpc/product.getAllMusicalDetailsForProduct","summary":"Get all musical details for a product in a block","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"productId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"blockId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["productId","blockId"],"additionalProperties":false}]}},"product.getByBlock":{"type":"query","method":"GET","path":"/trpc/product.getByBlock","summary":"Get products for a specific block","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"blockId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"pagination":{"default":{"page":1,"limit":300,"sortBy":"name","sortOrder":"asc"},"type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"limit":{"default":20,"type":"integer","minimum":1,"maximum":200},"sortBy":{"type":"string"},"sortOrder":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["page","limit","sortOrder"],"additionalProperties":false},"searchQuery":{"type":"string"}},"required":["blockId","pagination"],"additionalProperties":false}]}},"product.getById":{"type":"query","method":"GET","path":"/trpc/product.getById","summary":"Get a product by ID","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"productId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["productId"],"additionalProperties":false}]}},"product.getMusicalDetailsBatch":{"type":"query","method":"GET","path":"/trpc/product.getMusicalDetailsBatch","summary":"Get musical details for multiple products in a block","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"productIds":{"minItems":1,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"blockId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["productIds","blockId"],"additionalProperties":false}]}},"product.getMusicalDetailsByBlock":{"type":"query","method":"GET","path":"/trpc/product.getMusicalDetailsByBlock","summary":"Get musical details for a product within a block","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"blockId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"productId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"pagination":{"type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"limit":{"default":5000,"type":"integer","minimum":1,"maximum":10000},"sortBy":{"type":"string"},"sortOrder":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["page","limit","sortOrder"],"additionalProperties":false}},"required":["blockId","productId"],"additionalProperties":false}]}},"product.getProductsByIds":{"type":"query","method":"GET","path":"/trpc/product.getProductsByIds","summary":"Get multiple products by their IDs","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"productIds":{"minItems":1,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["productIds"],"additionalProperties":false}]}},"product.updateById":{"type":"mutation","method":"POST","path":"/trpc/product.updateById","summary":"Update a product by ID","scope":"cli"},"product.updateProductMusicalDetailsRelationships":{"type":"mutation","method":"POST","path":"/trpc/product.updateProductMusicalDetailsRelationships","summary":"Create, update, and delete product to musical detail relationships"},"rightsholder.batchUpdate":{"type":"mutation","method":"POST","path":"/trpc/rightsholder.batchUpdate","summary":"Batch update multiple rightsholders","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"updates":{"minItems":1,"type":"array","items":{"allOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"legalName":{"type":"string"},"aliases":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}]},{"type":"null"}]},"musoIds":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}]},{"type":"null"}]},"spotifyIds":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}]},{"type":"null"}]},"mlcPartyIds":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}]},{"type":"null"}]},"ipiNameNumbers":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}]},{"type":"null"}]},"isnis":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}]},{"type":"null"}]},"isUmpg":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"isDeleted":{"type":"boolean"},"lastUpdatedById":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["name"],"additionalProperties":false}]}}},"required":["updates"],"additionalProperties":false}]}},"rightsholder.create":{"type":"mutation","method":"POST","path":"/trpc/rightsholder.create","summary":"Create a new rightsholder","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255}},"required":["name"],"additionalProperties":false}]}},"rightsholder.deleteById":{"type":"mutation","method":"POST","path":"/trpc/rightsholder.deleteById","summary":"Delete a rightsholder by ID","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}]}},"rightsholder.getById":{"type":"query","method":"GET","path":"/trpc/rightsholder.getById","summary":"Get a rightsholder by ID","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}]}},"rightsholder.list":{"type":"query","method":"GET","path":"/trpc/rightsholder.list","summary":"List rightsholders for the organization","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"pagination":{"default":{"page":1,"limit":300,"sortBy":"name","sortOrder":"asc"},"type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"limit":{"default":200,"type":"integer","minimum":1,"maximum":5000},"sortBy":{"type":"string"},"sortOrder":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["page","limit","sortOrder"],"additionalProperties":false}},"required":["pagination"],"additionalProperties":false}]}},"rightsholder.trackOpen":{"type":"mutation","method":"POST","path":"/trpc/rightsholder.trackOpen","summary":"DEPRECATED: use activity.trackVisit","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}]}},"rightsholder.updateById":{"type":"mutation","method":"POST","path":"/trpc/rightsholder.updateById","summary":"Update a rightsholder by ID","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"legalName":{"type":"string"},"aliases":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}]},{"type":"null"}]},"musoIds":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}]},{"type":"null"}]},"spotifyIds":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}]},{"type":"null"}]},"mlcPartyIds":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}]},{"type":"null"}]},"ipiNameNumbers":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}]},{"type":"null"}]},"isnis":{"anyOf":[{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"array","items":{}}]},{"type":"null"}]},"isUmpg":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"isDeleted":{"type":"boolean"},"lastUpdatedById":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["name"],"additionalProperties":false}]}},"sourceGoldData.delete":{"type":"mutation","method":"POST","path":"/trpc/sourceGoldData.delete","summary":"Delete a source_gold_data row","inputSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false}},"sourceGoldData.list":{"type":"query","method":"GET","path":"/trpc/sourceGoldData.list","summary":"List source_gold_data rows with optional search","inputSchema":{"type":"object","properties":{"pagination":{"default":{"page":1,"limit":300,"sortBy":"name","sortOrder":"asc"},"type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"limit":{"default":200,"type":"integer","minimum":1,"maximum":5000},"sortBy":{"type":"string"},"sortOrder":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["page","limit","sortOrder"],"additionalProperties":false},"search":{"type":"string","maxLength":255}},"required":["pagination"],"additionalProperties":false}},"sourceGoldData.upsert":{"type":"mutation","method":"POST","path":"/trpc/sourceGoldData.upsert","summary":"Create or update a source_gold_data row","inputSchema":{"type":"object","properties":{"rawValue":{"type":"string","minLength":1},"earningsSource":{"anyOf":[{"type":"string"},{"type":"null"}]},"earningsCategory":{"anyOf":[{"type":"string"},{"type":"null"}]},"parentCompany":{"anyOf":[{"type":"string"},{"type":"null"}]},"collectionSource":{"anyOf":[{"type":"string"},{"type":"null"}]},"publisherSource":{"anyOf":[{"type":"string"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["rawValue"],"additionalProperties":false}},"upload.aborted":{"type":"mutation","method":"POST","path":"/trpc/upload.aborted","summary":"Signal that a direct upload was aborted client-side","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"statementId":{"type":"string","minLength":64,"maxLength":64},"reason":{"type":"string","maxLength":200}},"required":["organizationId","statementId"],"additionalProperties":false}]}},"upload.callback":{"type":"mutation","method":"POST","path":"/trpc/upload.callback","summary":"Submit a mapping callback for statement processing","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"callback"},"mapping_id":{"type":"string"},"file_id":{"type":"string"},"upload_id":{"type":"string"},"action":{"type":"string","enum":["skip","bad"]},"distributor_id":{"type":"string"}},"required":["type","mapping_id"],"additionalProperties":false}]}},"upload.heartbeat":{"type":"mutation","method":"POST","path":"/trpc/upload.heartbeat","summary":"Extend the TTL on in-progress direct uploads","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"statementIds":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":64,"maxLength":64}}},"required":["organizationId","statementIds"],"additionalProperties":false}]}},"upload.list":{"type":"query","method":"GET","path":"/trpc/upload.list","summary":"List uploads for the organization","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"pagination":{"default":{"page":1,"limit":300,"sortBy":"name","sortOrder":"asc"},"type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"limit":{"default":200,"type":"integer","minimum":1,"maximum":5000},"sortBy":{"type":"string"},"sortOrder":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["page","limit","sortOrder"],"additionalProperties":false},"filter":{"type":"object","properties":{"search":{"type":"string"},"date_start":{"type":"string"},"date_end":{"type":"string"}},"additionalProperties":false}},"required":["pagination"],"additionalProperties":false}]}},"upload.resolveAllFlags":{"type":"mutation","method":"POST","path":"/trpc/upload.resolveAllFlags","summary":"Resolve all unresolved flags on a statement","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"uploadId":{"type":"string"},"statementId":{"type":"string"}},"required":["organizationId","uploadId","statementId"],"additionalProperties":false}]}},"upload.resolveFlag":{"type":"mutation","method":"POST","path":"/trpc/upload.resolveFlag","summary":"Resolve a single flag on a statement","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"uploadId":{"type":"string"},"statementId":{"type":"string"},"flagId":{"type":"string"}},"required":["organizationId","uploadId","statementId","flagId"],"additionalProperties":false}]}},"upload.setFlagShown":{"type":"mutation","method":"POST","path":"/trpc/upload.setFlagShown","summary":"Set the shown/seen state of a flag on a statement","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"uploadId":{"type":"string"},"statementId":{"type":"string"},"flagId":{"type":"string"},"shown":{"type":"boolean"}},"required":["organizationId","uploadId","statementId","flagId","shown"],"additionalProperties":false}]}},"upload.statements":{"type":"mutation","method":"POST","path":"/trpc/upload.statements","summary":"List statements for an organization or upload","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"rightsholderId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"customName":{"type":"string"},"pagination":{"default":{"page":1,"limit":300,"sortBy":"name","sortOrder":"asc"},"type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"limit":{"default":200,"type":"integer","minimum":1,"maximum":5000},"sortBy":{"type":"string"},"sortOrder":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["page","limit","sortOrder"],"additionalProperties":false},"filter":{"type":"object","properties":{"statementStatus":{"type":"array","items":{"type":"string"}},"statementIds":{"type":"array","items":{"type":"string"}},"includeDeleted":{"default":false,"type":"boolean"},"fileName":{"description":"Case-insensitive substring match on the uploaded file name","type":"string"}},"required":["includeDeleted"],"additionalProperties":false}},"required":["organizationId","pagination"],"additionalProperties":false}]}},"upload.uploadAction":{"type":"mutation","method":"POST","path":"/trpc/upload.uploadAction","summary":"Execute an action on an upload or statement","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"action":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"redrive"},"prepareExecutionId":{"type":"string"},"processExecutionId":{"type":"string"},"cancelOnly":{"default":false,"type":"boolean"},"statement_id":{"type":"string"}},"required":["type","cancelOnly"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"select-distributor"},"upload_id":{"type":"string"},"statement_id":{"type":"string"},"distributorId":{"type":"string"}},"required":["type","upload_id","statement_id","distributorId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"file-skip"},"upload_id":{"type":"string"},"statement_id":{"type":"string"},"classify":{"type":"string","const":"bad"}},"required":["type","upload_id","statement_id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"human-input"},"upload_id":{"type":"string"},"statement_id":{"type":"string"},"values":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"field":{"type":"string","minLength":1,"maxLength":255},"value":{"type":"string","maxLength":255}},"required":["field","value"],"additionalProperties":false}}},"required":["type","upload_id","statement_id","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"add-statement-overrides"},"upload_id":{"type":"string"},"statement_id":{"type":"string"},"overrides":{"type":"object","propertyNames":{"type":"string","enum":["stmtYear","stmtPeriod","stmtCadence","currency","royaltyEarnings","grossRoyaltyEarnings","salesPeriodStart","salesPeriodEnd","salesType","subSalesType","source","subSource","units","country","typeOfRight","accountNumber","accountName","legalVendor","territoryDeduction","taxDeduction","royaltyRate","otherAdjustments","rawTitle","rawArtist","rawReleaseTitle","rawReleaseArtist","composers","isrc","upc","iswc","otherIdentifier","payor"]},"additionalProperties":{"type":"object","properties":{"field_mapping":{"type":"string"},"mapping_value":{"type":"string"},"compute":{"type":"string"},"derive_from_data":{"anyOf":[{"type":"object","properties":{"aggregate":{"type":"object","properties":{"method":{"type":"string","enum":["unique","most_common","max","min","first"]},"column":{"type":"string"},"filters":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"not_null"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_month_in"},"months":{"type":"array","items":{"type":"number"}}},"required":["type","months"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"min_row_pct"},"value":{"type":"number"}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_not_match"},"pattern":{"type":"string"},"flags":{"type":"string"}},"required":["type","pattern"],"additionalProperties":false}]}},"row_rules":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"output":{"type":"string"}},"required":["pattern","output"],"additionalProperties":false}},"row_default":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["method","column"],"additionalProperties":false},"transforms":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"extract_date_part"},"part":{"type":"string","enum":["year","quarter","month","day"]}},"required":["type","part"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"date_offset"},"quarters":{"type":"number"},"months":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"value_map"},"map":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"fallback":{"type":"string"}},"required":["type","map"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"regex_extract"},"pattern":{"type":"string"},"group":{"type":"number"}},"required":["type","pattern"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_upper"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"to_lower"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"trim"}},"required":["type"],"additionalProperties":false}]}},"date_format":{"type":"string"},"fallback":{"type":"string"}},"required":["aggregate"],"additionalProperties":false},{"type":"object","properties":{"rules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"conditions":{"minItems":1,"type":"array","items":{"anyOf":[{"type":"object","properties":{"op":{"type":"string","const":"regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_regex"},"column":{"type":"string"},"pattern":{"type":"string"},"flags":{"type":"string","pattern":"^[gimsuy]*$"}},"required":["op","column","pattern"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"eq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"neq"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_upper"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_gt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"length_lt"},"column":{"type":"string"},"value":{"type":"number"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"not_contains"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"starts_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"ends_with"},"column":{"type":"string"},"value":{"type":"string"}},"required":["op","column","value"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"is_not_empty"},"column":{"type":"string"}},"required":["op","column"],"additionalProperties":false}]}},"output":{"type":"string"}},"required":["conditions","output"],"additionalProperties":false}},"fallback":{"type":"string"}},"required":["rules"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","minLength":1},"fallback":{"type":"string"}},"required":["query"],"additionalProperties":false}]},"options":{"type":"object","properties":{"percentage":{"type":"boolean"},"numberFormat":{"type":"string","enum":["period_decimal_comma_thousands","comma_decimal_period_thousands","comma_decimal_space_thousands","thousand_lakh_crore"]},"skipComputeEvaluate":{"type":"boolean"},"customPatterns":{"type":"string"},"dateFormat":{"type":"string"}},"additionalProperties":false},"human_input":{"type":"boolean"},"human_input_options":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"additionalProperties":false}}},"required":["type","upload_id","statement_id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"edit-trimming"},"upload_id":{"type":"string"},"statement_id":{"type":"string"},"trimming":{"type":"object","properties":{"header_rows":{"type":"string"},"content_rows":{"type":"string"}},"required":["header_rows","content_rows"],"additionalProperties":false}},"required":["type","upload_id","statement_id","trimming"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"re-inngest-deleted-file"},"upload_id":{"type":"string"},"statement_id":{"type":"string"}},"required":["type","upload_id","statement_id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"ignore-classification"},"upload_id":{"type":"string"},"statement_id":{"type":"string"}},"required":["type","upload_id","statement_id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"change-distributor"},"upload_id":{"type":"string"},"statement_id":{"type":"string"},"distributorId":{"type":"string"}},"required":["type","upload_id","statement_id","distributorId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"reset-statement-overrides"},"upload_id":{"type":"string"},"statement_id":{"type":"string"}},"required":["type","upload_id","statement_id"],"additionalProperties":false}]}},"required":["action"],"additionalProperties":false}]}},"upload.uploadFile":{"type":"mutation","method":"POST","path":"/trpc/upload.uploadFile","summary":"Generate a presigned URL and initiate a file upload","scope":"cli","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"rightsholderId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fileName":{"type":"string","minLength":1},"customName":{"type":"string"},"ignoreClassification":{"default":false,"type":"boolean"},"ignoreTrim":{"default":false,"type":"boolean"},"directUpload":{"type":"boolean","const":false}},"required":["organizationId","rightsholderId","fileName","ignoreClassification","ignoreTrim","directUpload"],"additionalProperties":false},{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"rightsholderId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fileName":{"type":"string","minLength":1},"customName":{"type":"string"},"ignoreClassification":{"default":false,"type":"boolean"},"ignoreTrim":{"default":false,"type":"boolean"},"directUpload":{"type":"boolean","const":true},"fileId":{"type":"string","minLength":64,"maxLength":64},"contentType":{"type":"string","minLength":1},"fileSize":{"default":0,"type":"number","minimum":0}},"required":["organizationId","rightsholderId","fileName","ignoreClassification","ignoreTrim","directUpload","fileId","contentType","fileSize"],"additionalProperties":false}]}]}},"user.currentUser":{"type":"query","method":"GET","path":"/trpc/user.currentUser","summary":"Get the currently authenticated user","scope":"cli"},"user.preferences":{"type":"query","method":"GET","path":"/trpc/user.preferences","summary":"Get the current user\\u2019s per-organisation preferences","inputSchema":{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false}},"user.setDataAccessRole":{"type":"mutation","method":"POST","path":"/trpc/user.setDataAccessRole","summary":"Set the data access role for a user","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"userId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"role":{"anyOf":[{"type":"string","enum":["analyst","admin-data"]},{"type":"null"}]}},"required":["userId","role"],"additionalProperties":false}]}},"user.setRightsholderSort":{"type":"mutation","method":"POST","path":"/trpc/user.setRightsholderSort","summary":"Persist the home-page rightsholder sort selection","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"sort":{"type":"string","enum":["last_updated","alphabetical","recently_created"]}},"required":["sort"],"additionalProperties":false}]}},"user.updateOrganizationUserStatus":{"type":"mutation","method":"POST","path":"/trpc/user.updateOrganizationUserStatus","summary":"Update a user","inputSchema":{"allOf":[{"type":"object","properties":{"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organizationId"],"additionalProperties":false},{"type":"object","properties":{"userId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["active","disabled"]}},"required":["userId","status"],"additionalProperties":false}]}}}